Compiled and installed new 2.4.22 kernel.Now I cannot shutdown pc. Usual way is to uncomment apm in rc.modules. Seems knoppix does not use that file? How to solve this?
Compiled and installed new 2.4.22 kernel.Now I cannot shutdown pc. Usual way is to uncomment apm in rc.modules. Seems knoppix does not use that file? How to solve this?
--I believe it's /etc/modules, which has ' apm power_off=1 '.
--BTW, if you say "I can't shutdown" it leads me to think there's something wrong with the shutdown scripts, system hangs without umounting all the drives, you're getting fsck errs on bootup, etc. In this case, I'm hoping everything is shutting down normally, it's just the PC doesn't power off on its own.
Originally Posted by bongski55
It shuts down on 2.4.21(and the orig 2.4.20-xfs) so no reason to alter that .Originally Posted by Dave_Bechtel
Yes it does unmount.etc. It just gets into the 'power down' message but the pc is still on. It does not matter if I am root or non root.--BTW, if you say "I can't shutdown" it leads me to think there's something wrong with the shutdown scripts, system hangs without umounting all the drives, you're getting fsck errs on bootup, etc. In this case, I'm hoping everything is shutting down normally, it's just the PC doesn't power off on its own.
Why am I getting this strange things?
edit /etc/lilo.conf and add the following line
append="apm=on"
the run
lilo -v
The commands for powering off are
halt -p
poweroff
Have you compiled the apm as a module along with the new kernel?Originally Posted by bongski55
Oscar,
These things already in grub(I don't use lilo) so I do not have to put anything in. Everything works in 2.4.20-xfs.
thanks.
Stephen,
Yes I compiled apm as module. In fact the apm.o file is there in lib/modules/2.4.22-I just checked it. Also if I 'lsmod' apm is listed.
Anyway I think I will just get back to previous kernel. I do not want to go through another kernel compile-took me more than 3 hours on this one.
thanks.
I think I figured out the problem I compiled 2.4.22 tonight and had the same problem. I had to go into the General Setup then the ACPI Support and turn it off (this in Xconfig) I noticed an error when it was booting say that the ACPI was over-riding the APM BIOS and sure enough it would power down and not shut off once it (ACPI) was disabled it shut off like normal. So if you feel like another compile you may want to give it a try BTW how fast is the machine you are running it only took me about 25 minutes on an Athlon 1333.Originally Posted by bongski55
Its an antique celeron 433 I use for linux.
Okay I've done another kernel config.Followed Stephen's suggestion-comment the acpi line in the .config and not the pc shutsdown.
Seems another kernel bug?
--It takes me ~45 minutes on an ancient P233MMX.
--Try this:
' alias make=make -s -j 3 ' and then do your compile. This will make only error msgs display and do 3 compile jobs at a time.
Originally Posted by bongski55
Western Digital 1TB WD Blue PC Desktop 3.5'' Internal CMR Hard Drive - WD10EARZ
$44.99
Western Digital 1TB WD Blue SA510 SATA SSD Internal 2.5”/7mm Cased - WDS100T3B0A
$79.99
Western Digital 1TB WD Gold Enterprise Class SATA Internal HDD - WD1005FBYZ
$84.99
Dell PowerEdge R640 Server | 2x Gold 6132 28 Cores | H730p | Choose RAM / DRIVES
$2710.00
Samsung - 980 PRO 1TB Internal Gaming SSD PCIe Gen 4 x4 NVMe
$109.99
Patriot P210 128GB 256GB 512GB 1TB 2TB 2.5" SATA 3 6GB/s Internal SSD PC/MAC Lot
$19.99
Samsung - Geek Squad Certified Refurbished 870 EVO 1TB SATA Solid State Drive
$67.99
2 PACK Seagate ST1000LM035 Mobile HDD 1TB 2.5" SATA III Laptop Hard Drive
$26.89
1TB/2TB USB 3.0 Flash Drive Thumb U Disk Memory Stick Pen PC Laptop Storage lot
$580.99
Apple 1TB Solid State Drive for Apple MacBook Pro
$80.00