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
Asus H110M-C Rev 1.03 mATX Desktop Motherboard LGA 1151/Socket H4 DDR4 SDRAM
$26.99
Gigabyte Z370P D3 ATX Z370 LGA1151 Motherboard (Support Intel 6/7th 8th 9th)
$59.99
Asus Prime Q370M-C mATX Socket LGA 1151 DDR4 HDMI Desktop Motherboard w/IO
$37.95
ASRock B550M Pro SE AM4 DDR4 SATA 6Gb/s 1 PCIe 4.0 x16 Micro ATX Motherboard
$84.99
Asus H81M-C Intel LGA1150 DDR3 Desktop Motherboard MicroATX Socket H3
$23.99
ASUS H110M-R Motherboard Intel 6th/7th Gen LGA1151 DDR4 Micro-ATX i/o shield
$42.00
Asus Prime H310M-A R2.0 Intel LGA 1151 DDR4 Desktop Motherboard
$54.99
MSI Z390-A PRO LGA 1151 ATX Intel Motherboard - Motherboard Only, No I/O Shield
$75.00
Gigabyte M-ATX motherboard with Intel Core i3 8100 CPU and 8GB DDR4 RAM
$84.00
ASUS B85M-E Motherboard Intel B85 (4th Gen) LGA1150 DDR3 microATX
$39.99