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
  •  


TF330: an Amiga CD32 expansion set with 68030, 128MB RAM, IDE interface, CF card picture

TF330: an Amiga CD32 expansion set with 68030, 128MB RAM, IDE interface, CF card

$188.81



Mini External OLED AMIGA Gotek Floppy Drive Emulator For Amiga 500/500+/600/1200 picture

Mini External OLED AMIGA Gotek Floppy Drive Emulator For Amiga 500/500+/600/1200

$40.46



Commodore Amiga Stereo Sound Sampler Techno Sound Turbo Rare Limited US Seller picture

Commodore Amiga Stereo Sound Sampler Techno Sound Turbo Rare Limited US Seller

$50.99



TF536: an Amiga 500 accelerator with 68030/50, 64MB RAM, IDE interface+CF card picture

TF536: an Amiga 500 accelerator with 68030/50, 64MB RAM, IDE interface+CF card

$209.87



TF1230: an Amiga 1200 accelerator with 68030/50, 128MB RAM + extra IDE interface picture

TF1230: an Amiga 1200 accelerator with 68030/50, 128MB RAM + extra IDE interface

$175.00



M-Tec 68020i 68020@14Mhz CPU & FPU 4MB RAM Accelerator for Amiga 500 2000 2000HD picture

M-Tec 68020i 68020@14Mhz CPU & FPU 4MB RAM Accelerator for Amiga 500 2000 2000HD

$179.98



COMMODORE AMIGA - EXTRAS 2.05 picture

COMMODORE AMIGA - EXTRAS 2.05

$4.95



Commodore Amiga 3000 030 25Mhz + Keyboard + Mouse - Amiga OS 3.2 - WORKS 100% picture

Commodore Amiga 3000 030 25Mhz + Keyboard + Mouse - Amiga OS 3.2 - WORKS 100%

$1699.99



AMIGA 500 COMPUTER COMMODORE Complete in Box Powers/untested Good Condition picture

AMIGA 500 COMPUTER COMMODORE Complete in Box Powers/untested Good Condition

$380.00



Raemixx500 Commodore Amiga500+ V2 Remake PCB Gold Plated picture

Raemixx500 Commodore Amiga500+ V2 Remake PCB Gold Plated

$35.06