Page 1 of 2 12 LastLast
Results 1 to 10 of 12

Thread: New kernel installed: Cannot Shutdown

  1. #1
    Senior Member registered user
    Join Date
    Apr 2003
    Location
    Muscat.Oman
    Posts
    262

    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?

  2. #2
    Senior Member registered user
    Join Date
    Nov 2002
    Location
    USA, IL
    Posts
    1,041

    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.

    Quote 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?

  3. #3
    Senior Member registered user
    Join Date
    Apr 2003
    Location
    Muscat.Oman
    Posts
    262

    Re: New kernel installed: Cannot Shutdown

    Quote 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?

  4. #4
    Senior Member registered user
    Join Date
    Feb 2003
    Posts
    202
    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

  5. #5
    Senior Member registered user
    Join Date
    Feb 2003
    Location
    Nova Scotia, Canada
    Posts
    2,479

    Re: New kernel installed: Cannot Shutdown

    Quote 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?

  6. #6
    Senior Member registered user
    Join Date
    Apr 2003
    Location
    Muscat.Oman
    Posts
    262
    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.

  7. #7
    Senior Member registered user
    Join Date
    Feb 2003
    Location
    Nova Scotia, Canada
    Posts
    2,479
    Quote 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.

  8. #8
    Senior Member registered user
    Join Date
    Apr 2003
    Location
    Muscat.Oman
    Posts
    262
    Its an antique celeron 433 I use for linux.

  9. #9
    Senior Member registered user
    Join Date
    Apr 2003
    Location
    Muscat.Oman
    Posts
    262

    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?

  10. #10
    Senior Member registered user
    Join Date
    Nov 2002
    Location
    USA, IL
    Posts
    1,041
    --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.

    Quote Originally Posted by bongski55
    Its an antique celeron 433 I use for linux.

Page 1 of 2 12 LastLast

Similar Threads

  1. Script:animated boot and shutdown splash w/o kernel patch
    By probono in forum Tips and Tricks
    Replies: 9
    Last Post: 07-10-2009, 04:54 PM
  2. Where is 2.6.7 Kernel Directory in HD installed 3.4
    By rusty in forum Hdd Install / Debian / Apt
    Replies: 1
    Last Post: 12-18-2004, 02:36 AM
  3. installed 3.4/recompile kernel problems
    By keyvisuals in forum Hdd Install / Debian / Apt
    Replies: 4
    Last Post: 05-17-2004, 04:38 PM
  4. Can kernel V2.4.21 be installed to HD from V2003-07-24?
    By Loper in forum Hdd Install / Debian / Apt
    Replies: 5
    Last Post: 07-27-2003, 07:57 AM
  5. knoppix installed on hd, need kernel source headers
    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
  •  


Seagate Exos X16 ST14000NM001G 14TB 512E SATA 6Gb/s 3.5

Seagate Exos X16 ST14000NM001G 14TB 512E SATA 6Gb/s 3.5" Enterprise Hard Drive

$169.99



WD 2TB Certified Refurbished Elements, External Hard Drive - RWDBU6Y0020BBK-WESN picture

WD 2TB Certified Refurbished Elements, External Hard Drive - RWDBU6Y0020BBK-WESN

$49.99



WD Green SATA HDD - 3TB picture

WD Green SATA HDD - 3TB

$59.99



Seagate Exos X22 ST20000NM004E 20TB 512E SATA 6Gb/s 3.5

Seagate Exos X22 ST20000NM004E 20TB 512E SATA 6Gb/s 3.5" Enterprise Hard Drive

$268.99



HGST Ultrastar DC HC520 12TB SATA 6Gb 256MB 3.5

HGST Ultrastar DC HC520 12TB SATA 6Gb 256MB 3.5" Enterprise HDD- HUH721212ALE601

$99.99



Seagate Exos 7E10 ST2000NM000B 2TB 7200RPM SATA 6.0Gb/s 3.5

Seagate Exos 7E10 ST2000NM000B 2TB 7200RPM SATA 6.0Gb/s 3.5" Internal Hard Drive

$29.99



HGST Ultrastar HE10 HUH721010ALE600 10TB SATA 6Gb/s 7200RPM 3.5

HGST Ultrastar HE10 HUH721010ALE600 10TB SATA 6Gb/s 7200RPM 3.5" Enterprise HDD

$69.99



HGST HUS724040ALS640 4TB 7200RPM 64MB Cache 6Gbps SAS 3.5

HGST HUS724040ALS640 4TB 7200RPM 64MB Cache 6Gbps SAS 3.5" Hard Drive HDD SERVER

$19.99



Seagate ST12000NM0538 Exos X14 12TB 3.5

Seagate ST12000NM0538 Exos X14 12TB 3.5" SATA 6Gbps 3.5" Enterprise Hard Drive

$45.79



Seagate Enterprise Capacity v7 ST12000NM0127 12TB 7.2K RPM SATA 6Gb/s 512e HDD picture

Seagate Enterprise Capacity v7 ST12000NM0127 12TB 7.2K RPM SATA 6Gb/s 512e HDD

$39.97