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
  •  


For Lenovo ideapad 5 15IIL05 15ARE05 15ITL05 15ALC05 Lcd Back Cover Rear Lid NEW picture

For Lenovo ideapad 5 15IIL05 15ARE05 15ITL05 15ALC05 Lcd Back Cover Rear Lid NEW

$49.98



Lenovo 500w Gen 3 Laptop, 11.6

Lenovo 500w Gen 3 Laptop, 11.6" IPS Glass, N6000, 8GB, 128GB SSD, Win 11 Home

$186.99



Lenovo ThinkPad T440S Intel Core i5-4300U 1.9GHz 8GB RAM 256GB SSD Win 10 Pro picture

Lenovo ThinkPad T440S Intel Core i5-4300U 1.9GHz 8GB RAM 256GB SSD Win 10 Pro

$65.00



Lenovo Ideapad 1i 15.6

Lenovo Ideapad 1i 15.6" FHD Notebook Intel Core i5-1235U 8GB RAM 256GB SSD

$339.99



Lenovo ThinkPad Yoga 11e 11.6

Lenovo ThinkPad Yoga 11e 11.6" 2in1 Touch Intel Core i3 4GB RAM 128GB SSD Win10

$60.00



Lenovo IdeaPad Gaming 3 15

Lenovo IdeaPad Gaming 3 15" AMD Ryzen 5600H NVIDIA GeForce GTX 1650 8GB 512 SSD

$390.00



~10th Gen~ 14

~10th Gen~ 14" Lenovo i7 Quad Core Laptop: 16GB RAM 512GB SSD Windows 11 Pro

$359.99



Lenovo IdeaPad Flex 5 Chrome 14IAU7 i3-1215U 8GB 256GB SSD Chrome OS picture

Lenovo IdeaPad Flex 5 Chrome 14IAU7 i3-1215U 8GB 256GB SSD Chrome OS

$199.99