-
Senior Member
registered user
New kernel installed: Cannot Shutdown
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?
-
Senior Member
registered user
Re: New kernel installed: Cannot Shutdown
--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
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?
-
Senior Member
registered user
Re: New kernel installed: Cannot Shutdown
Originally Posted by
Dave_Bechtel
--I believe it's /etc/modules, which has ' apm power_off=1 '.
It shuts down on 2.4.21(and the orig 2.4.20-xfs) so no reason to alter that .
--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.
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.
Why am I getting this strange things?
-
Senior Member
registered user
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
-
Senior Member
registered user
Re: New kernel installed: Cannot Shutdown
Originally Posted by
bongski55
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.
Why am I getting this strange things?
Have you compiled the apm as a module along with the new kernel?
-
Senior Member
registered user
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.
-
Senior Member
registered user
Originally Posted by
bongski55
Oscar,
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.
-
Senior Member
registered user
Its an antique celeron 433 I use for linux.
-
Senior Member
registered user
It's Okay Now!
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?
-
Senior Member
registered user
--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
Its an antique celeron 433 I use for linux.
Similar Threads
-
By probono in forum Tips and Tricks
Replies: 9
Last Post: 07-10-2009, 04:54 PM
-
By rusty in forum Hdd Install / Debian / Apt
Replies: 1
Last Post: 12-18-2004, 02:36 AM
-
By keyvisuals in forum Hdd Install / Debian / Apt
Replies: 4
Last Post: 05-17-2004, 04:38 PM
-
By Loper in forum Hdd Install / Debian / Apt
Replies: 5
Last Post: 07-27-2003, 07:57 AM
-
By sufi in forum Hdd Install / Debian / Apt
Replies: 1
Last Post: 01-24-2003, 10:43 AM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
1U BareMetal pfsense opnsense Router Firewall DNS Server 6x 10GB Ethernet Ports
$149.00
Australia Linux Server- 32 GB RAM + 500 HDD + 6 Core processor
$66.59
SQL Server 2022 Standard Unlimited Cores
$511.07
Canonical Ubuntu Linux - DVD / USB Drive - 24.04 LTS / 23.10 / 22.04 / 18 / 16
$9.99
IBM Power8 S822L 20-Core 3.42GHz 256Gb 1.2Tb 40G Elastic Storage Server 5148-22L
$599.95
The Complete Redhat Linux 5.2 Operating System Deluxe Secure Server New Sealed
$25.00
1U 10 SFF Bay Supermicro Server X10DRW-iT 2x Xeon E5-2690 V4 128GB DDR4 RAM
$428.00
IBM E850 Power8 2x 12C 3.02GHz 512Gb 1.8Tb SAS 10GbE 16Gb Linux Server 8408-E8E
$899.95
VPS Windows / Linux Server - 12GB RAM, 4 Core, 1 TB HD, Unltd. bandwidth 1 Year
$279.70
POGO Linux WEBWARE 1150 Rack-Mount Server Pentium 4 2.8GHz 512MB - No Drives
$179.99