Kernel errors/ general protection errors, etc

Thomas Tongue (ttongue@proteus.imagiware.com)
Fri, 11 Sep 1998 13:35:21 -0500 (CDT)


I'm having some trouble with 2.0.34/2.0.35 kernels on our PII-300 machine.
About once or twice per day, we get a major kernel error (either a general
protection error, or something similar). Here is one from yesterday (taken
from the syslog courtesy of klogd):

Sep 10 21:41:43 frodo kernel: kfree of non-kmalloced memory: 001ff30c, next= 00000000, order=0
Sep 10 21:41:44 frodo kernel: invalid operand: 0000
Sep 10 21:41:44 frodo kernel: CPU: 0
Sep 10 21:41:44 frodo kernel: EIP: 0010:[sound:snd_ioctl_return+-124004330/1112]
Sep 10 21:41:44 frodo kernel: EFLAGS: 00010213
Sep 10 21:41:44 frodo kernel: eax: 00008668 ebx: 04efb414 ecx: 001d022c edx: 077f4810
Sep 10 21:41:44 frodo kernel: esi: 0013c198 edi: 00000005 ebp: 001ce3b9 esp: 001ce38c
Sep 10 21:41:44 frodo kernel: ds: 0018 es: 0018 fs: 002b gs: 0018 ss: 0018
Sep 10 21:41:44 frodo kernel: Process swapper (pid: 0, process nr: 0, stackpage=001cc480)
Sep 10 21:41:44 frodo kernel: Stack: 001ff30c 0013d1c1 04fff71c 04efb615 00192e65 04efb414 00000001 ffffffff
Sep 10 21:41:44 frodo kernel: 00000001 00000001 001ce3d4 001f3870 0011813f 001ce3d4 001ce45c 00000000
Sep 10 21:41:44 frodo kernel: 00009000 0010a667 009db1cf fffffc18 001cec34 001ce45c 00000000 00009000
Sep 10 21:41:44 frodo kernel: Call Trace: [unix_sendmsg+333/988] [n_tty_ioctl+905/1252] [do_bottom_half+59/96] [handle_bottom_half+11/24] [sys_idle+92/112] [system_call+85/124] [init+0/612]
Sep 10 21:41:44 frodo kernel: [requeue_sd_request+1524/3568] [start_kernel+429/440] [it_real_fn+0/72] [schedule+564/652]
Sep 10 21:41:44 frodo kernel: Code: ff bf 00 00 00 00 73 00 00 00 20 00 00 00 ff ff ff ff e0 ff
Sep 10 21:41:44 frodo kernel: Aiee, killing interrupt handler
Sep 10 21:41:44 frodo kernel: kfree of non-kmalloced memory: 001ce4c8, next= 001ff2a8, order=1000
Sep 10 21:41:44 frodo kernel: kfree of non-kmalloced memory: 001ce4b8, next= 001ff2a8, order=1000
Sep 10 21:41:44 frodo kernel: kfree of non-kmalloced memory: 001ce9cc, next= 001ff2a8, order=1000
Sep 10 21:41:44 frodo kernel: idle task may not sleep
Sep 10 21:41:44 frodo last message repeated 4 times

Since this mentioned the sound section of the kernel, I recompiled the
kernel without sound support to see if it would eliminate the problem
(even though sound works fine when I test it). Unfortunately, it didn't.
This is the one that occurred this morning:

Sep 11 12:55:28 frodo kernel: general protection: 0000
Sep 11 12:55:28 frodo kernel: CPU: 0
Sep 11 12:55:28 frodo kernel: EIP: 0010:[tcp_prot+0/148]
Sep 11 12:55:28 frodo kernel: EFLAGS: 00010206
Sep 11 12:55:28 frodo kernel: eax: 0011c620 ebx: 06edfcd8 ecx: 001f005c edx: 6bb60000
Sep 11 12:55:28 frodo kernel: esi: 07b69877 edi: 00001000 ebp: edd90064 esp: 05fe9f5c
Sep 11 12:55:28 frodo kernel: ds: 0018 es: 0018 fs: 002b gs: 002b ss: 00 18
Sep 11 12:55:28 frodo kernel: Process lawguru.cgi (pid: 10628, process nr: 65, stackpage=05fe9000)
Sep 11 12:55:28 frodo kernel: Stack: 001f0008 06fac36c 062d003c 00000000 00000000 00000001 00000101 001f3806
Sep 11 12:55:28 frodo kernel: afd3d7ce 00000246 00139b24 06fac36c 07014a04 001d24e8 00000100 ffffff00
Sep 11 12:55:28 frodo kernel: 00000100 001f3890 0011813f 05fe9fbc bfffdcab 081fa9e8 bffffab0 0010a667
Sep 11 12:55:28 frodo kernel: Call Trace: [net_bh+252/284] [do_bottom_half+59/96] [<081fa9e8>] [handle_bottom_half+11/24] [<080b78a0>] [<081fa9e8>] [<080b002b>]
Sep 11 12:55:28 frodo kernel: [<080863ad>]
Sep 11 12:55:28 frodo kernel: Code: 18 b0 fe 05 0c ec 61 07 54 66 14 00 64 2e 14 00 5c 6a 14 00
Sep 11 12:55:28 frodo kernel: Aiee, killing interrupt handler

Any suggestions on how to proceed from here? These general protection
errors come from all sorts of processes, which seem to have no (obvious)
relationship to each other. The error above actually caused the machine to
reboot (no watchdog in use right now...)!

Thanks for your help!

Thomas Tongue
ttongue@imagiware.com
http://imagiware.com/

-
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/faq.html