Bug 9785 - APMD kills kernel on shutdown.
Summary: APMD kills kernel on shutdown.
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: kernel
Version: 6.2
Hardware: i386
OS: Linux
medium
high
Target Milestone: ---
Assignee: Bernhard Rosenkraenzer
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2000-02-25 18:09 UTC by David D.W. Downey
Modified: 2008-05-01 15:37 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2000-02-25 18:26:15 UTC
Embargoed:


Attachments (Terms of Use)

Description David D.W. Downey 2000-02-25 18:09:21 UTC
** KERNEL CRASH ON SHUTDOWN! **   Ran simple 'halt' and kernel died
horrbily! Got following error dump (some cut out like register info)

        Code <1> Unable to handle kernel paging request at virtual address
        00008875
        current->tss.cr3 = 089ad00, %cr3= 089ad000
        *pde = 00000000
        Ooops: 0000
        CPU: 0
        <snip register contents>
        Process halt (pid 1119, process nr=46, STACKpage=c89dd000)
        <snip remaining register dumps and Code:
dump>


The halt (or even shutdown -h now) command, the death takes place exactly
as it says it's stopping al md devices. It pauses for a second and then
blows up. APM is off in the BIOS, APM was turned off via chkconfig and
service stopped prior to shut down.

Comment 1 Bernhard Rosenkraenzer 2000-02-25 18:26:59 UTC
This is a bug in your BIOS, not in apmd (which isn't even running at that point)
or the kernel.
What happens is the following:
- You tell the computer to shutdown.
- SysVInit kills all running processes (including APMD)
- the kernel shuts down, and tells the APM BIOS to turn off power
- your APM BIOS is buggy, can't execute the request and doesn't return an
  error code either, so it crashes.
  This is normally related to the APM BIOS not handling 32-bit mode calls
  (that's why the problem doesn't occur with Windows).
Turning APM off in the CMOS setup has nothing to do with this: it only turns off
stuff like disk spindown.

It is nothing to really worry about though: Since everything has been stopped,
the crash is harmless. Consider it a fancy version of saying "It is safe to turn
off your computer now". ;)


Note You need to log in before you can comment on or make changes to this bug.