GPF + Oops in 2.2.0-pre4

Kurt Huwig (kurt@huwig.de)
Mon, 4 Jan 1999 00:29:32 +0100


This happens when I want to switch off my computer by APM. I pressed
Alt+SysReq+O (after using "poweroff" which did nothing). It is 100%
reproducible.

With Win95, it works, so what's wrong?

I typed the following by hand, so there may be mistakes

c0107120 t apm_bios_call_simple
c0107230 t set_power_state
c0107268 t apm_set_power_state
c010727c T apm_power_off
c0198680 T handle_sysrq
c010997c t show_registers
c0109c18 T die
c01a02c4 r error_table
c0109840 t error_code

System is K6-2-300MHz, 128 MB RAM, SuSE 6.0 German, glibc, Gigabyte GA 5AX
board with BIOS v1.08

general protection fault: 0000
CPU: 0
EIP: 0050:[<00008931>]
EFLAGS: 00010046
eax: 00000000 ebx: 00000001 ecx: 00000003 edx: 00000000
esi: 00008136 edi: 00000000 ebp: 67890000 esp: c01cddd4
ds: 0000 es: 0000 ss: 0018
Process swapper (pid: 0, process nr: 0, stackpage=c01cd000)
Stack: dde00000 00000001 53800003 000082df 81360000 00000000 de026789 0001c01c
00000000 00030000 53070000 00000000 00000000 81250058 80fa006f 000080cd
00160000 00488036 00000007 c0107159 00000010 00000007 00000000 00000018
Call Trace: [<c0107159>] [<c010724c>] [<c0107275>] [<c010728c>] [<c019884f>] [<c01acf63>] [<c019717e>]
[<c019808e>] [<c010a6e5>] [<c010a7ff>] [<c010a8e7>] [<c0109804>] [<c0107173>] [<c01078ad>] [<c0107f2b>]
[<c0107f93>] [<c0106000>] [<c0107fd4>] [<c0109768>] [<c0106000>] [<c010607b>] [<c0106000>] [<c0100176>]
Code: <1>Unable to handle kernel paging request at virtual address 00008931
current->tss.cr3 = 00101000, %cr3 = 00101000
*pde = 00000000
Oops: 0000
CPU: 0
EIP: 0010:[<c0109be7>]
EFLAGS: 00010082
eax: 00008931 ebc: 00000000 ecx: 00000009 edx: 00000001
esi: c0100176 edi: c01ce000 ebp: c8800000 esp: c01cdd24
ds: 0018 es: 0018 ss: 0018
Process swapper (pid: 0, process nr: 0, stackpage=c01cd000)
Stack: 00000000 67890000 c01d8d16 00008136 00000000 67890000 00000000 00000001
00000003 00000000 00008931 00010046 c8800000 c9000000 c0109c48 c01cdd98
c01a0a10 c01a0ae5 00000000 c01cdd98 c010a158 c01a0ae5 c01cdd98 00000000
Call Trace: [<c8800000>] [<c9000000>] [<c0109c48>] [<c01a0a10>] [<c01a0ae5>] [<c010a158>] [<c01a0ae5>]
[<c010986d>] [<c0107159>] [<c010724c>] [<c0107275>] [<c010728c>] [<c019884f>] [<c01acf63>] [<c019717e>]
[<c019808e>] [<c010a6e5>] [<c010a7ff>] [<c010a8e7>] [<c0109804>] [<c0107173>] [<c01078ad>] [<c0100176>]
[<c0107f93>] [<c0106000>] [<c0107fd4>] [<c0109768>] [<c0106000>] [<c0106000>] [<c0106000>] [<c0100176>]
Code: 0f b6 0c 03 89 4c 24 38 51 68 08 0a 1a c0 e8 6e 94 00 00 83
Aiee, killing interrupt handler
Kernel panic: Attempted to kill the idle task!
In swapper task - not syncing

Using `/System.map' to map addresses to symbols.

>>EIP: c0109be7 <show_registers+26b/29c>

Code: c0109be7 <show_registers+26b/29c>
Code: c0109be7 <show_registers+26b/29c> 0f b6 0c 03 movzbl (%ebx,%eax,1),%ecx
Code: c0109beb <show_registers+26f/29c> 89 4c 24 38 movl %ecx,0x38(%esp,1)
Code: c0109bef <show_registers+273/29c> 51 pushl %ecx
Code: c0109bf0 <show_registers+274/29c> 68 08 0a 1a c0 pushl $0xc01a0a08
Code: c0109bfb <show_registers+27f/29c> e8 6e 94 00 00 call c0113068 <printk>
Code: c0109c00 <show_registers+284/29c> 83 00 90 addl $0xffffff90,(%eax)
Code: c0109c09 <show_registers+28d/29c> 90 nop
Code: c0109c0a <show_registers+28e/29c> 90 nop

---------------------------------------------------------------
Win95 is an ideal OS for games. In fact it is a game.
The problem is: You say 'win' to the computer and so you lose.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/