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
  •  


SanDisk 512GB Ultra Drive Dual Go USB Type-C Flash Drive Green SDDDC3-512G-G46G picture

SanDisk 512GB Ultra Drive Dual Go USB Type-C Flash Drive Green SDDDC3-512G-G46G

$49.99



512GB  USB Flash Drive External Storage Memory Stick For iPhone iPad Android picture

512GB USB Flash Drive External Storage Memory Stick For iPhone iPad Android

$17.59



SanDisk 128GB Ultra Fit USB 3.2 Flash Drive, Black - SDCZ430-128G-G46 picture

SanDisk 128GB Ultra Fit USB 3.2 Flash Drive, Black - SDCZ430-128G-G46

$11.99



SanDisk 512GB Ultra Luxe USB 3.2 Gen 1 Flash Drive - SDCZ74-512G-G46 picture

SanDisk 512GB Ultra Luxe USB 3.2 Gen 1 Flash Drive - SDCZ74-512G-G46

$35.99



Lenovo USB 16TB 3.0 USB Flash Drive Thumb Disk Silver Transfer Metal Memory picture

Lenovo USB 16TB 3.0 USB Flash Drive Thumb Disk Silver Transfer Metal Memory

$24.99



Mechanical Style Flash Drive USB 3.0 High Speed 16TB Large Capacity Waterproof  picture

Mechanical Style Flash Drive USB 3.0 High Speed 16TB Large Capacity Waterproof

$8.37



Sandisk 16GB 32GB 64GB 128GB Cruzer Blade Flash Drive Memory Stick USB Lot Pack picture

Sandisk 16GB 32GB 64GB 128GB Cruzer Blade Flash Drive Memory Stick USB Lot Pack

$4.99



2TB USB 3.0 Flash Drive Memory Photo Stick for iPhone Android iPad Type C 3 IN1 picture

2TB USB 3.0 Flash Drive Memory Photo Stick for iPhone Android iPad Type C 3 IN1

$13.00



1TB/2TB USB 3.0 Flash Drive Thumb U Disk Memory Stick Pen PC Laptop Storage lot picture

1TB/2TB USB 3.0 Flash Drive Thumb U Disk Memory Stick Pen PC Laptop Storage lot

$388.39



USB 3.0 Flash Drive 32GB 64GB 128GB Memory Stick Thumb Stick Lot Pack picture

USB 3.0 Flash Drive 32GB 64GB 128GB Memory Stick Thumb Stick Lot Pack

$399.99