How to find out what causes a kernel panic

Rainer Dorsch (rainer.dorsch@informatik.uni-stuttgart.de)
12 May 1997 17:12:59 +0200


Booting a Debian 1.2.14 system (kernal 2.0.27) on a SNI Laptop
produces a kernel panic, but there is no obvious problem after the
register dump.

How can I find out what is wrong with the kernel?

The message log file contains the (hopefully relevant) data:

May 9 18:57:07 ragout syslogd 1.3-0#13: restart.
May 9 18:57:07 ragout kernel: klogd 1.3-0#13, log source = /proc/kmsg started.
May 9 18:57:07 ragout kernel: Loaded 5215 symbols from /System.map.
May 9 18:57:07 ragout kernel: Symbols match kernel version.
May 9 18:57:07 ragout kernel: ease read include/linux/pci.h
May 9 18:57:07 ragout kernel: Warning : Unknown PCI device (102c:e0). Please read include/linux/pci.h
May 9 18:57:07 ragout kernel: Calibrating delay loop.. ok - 53.04 BogoMIPS
May 9 18:57:07 ragout kernel: Memory: 47188k/49152k available (636k kernel code, 384k reserved, 944k data)
May 9 18:57:07 ragout kernel: Swansea University Computer Society NET3.035 for Linux 2.0
May 9 18:57:07 ragout kernel: NET3: Unix domain sockets 0.13 for Linux NET3.035.
May 9 18:57:07 ragout kernel: Swansea University Computer Society TCP/IP for NET3.034
May 9 18:57:07 ragout kernel: IP Protocols: ICMP, UDP, TCP
May 9 18:57:07 ragout kernel: Checking 386/387 coupling... Ok, fpu using exception 16 error reporting.
May 9 18:57:07 ragout kernel: Checking 'hlt' instruction... Ok.
May 9 18:57:07 ragout kernel: Linux version 2.0.27 (root@ragout) (gcc version 2.7.2.1) #2 Fri May 9 11:40:35 MET DST 1997
May 9 18:57:07 ragout kernel: Serial driver version 4.13 with no serial options enabled
May 9 18:57:07 ragout kernel: tty00 at 0x03f8 (irq = 4) is a 16550A
May 9 18:57:07 ragout kernel: tty01 at 0x02f8 (irq = 3) is a 16550A
May 9 18:57:07 ragout kernel: PS/2 auxiliary pointing device detected -- driver installed.
May 9 18:57:07 ragout kernel: hda: IBM-DTNA-22160, 2067MB w/96kB Cache, LBA, CHS=525/128/63
May 9 18:57:07 ragout kernel: ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
May 9 18:57:07 ragout kernel: Floppy drive(s): fd0 is 1.44M
May 9 18:57:07 ragout kernel: Started kswapd v 1.4.2.2
May 9 18:57:07 ragout kernel: FDC 0 is a National Semiconductor PC87306
May 9 18:57:07 ragout kernel: PPP: version 2.2.0 (dynamic channel allocation)
May 9 18:57:07 ragout kernel: TCP compression code copyright 1989 Regents of the University of California
May 9 18:57:07 ragout kernel: PPP Dynamic channel allocation code copyright 1995 Caldera, Inc.
May 9 18:57:07 ragout kernel: PPP line discipline registered.
May 9 18:57:07 ragout kernel: Partition check:
May 9 18:57:07 ragout kernel: hda: hda1 hda2 < hda5 hda6 hda7 hda8 hda9 hda10 >
May 9 18:57:07 ragout kernel: VFS: Mounted root (ext2 filesystem) readonly.
May 9 18:57:07 ragout kernel: Adding Swap: 52380k swap-space
May 9 18:57:07 ragout kernel: PS/2 auxiliary pointing device detected -- driver installed.
May 9 18:57:07 ragout kernel: Serial driver version 4.13 with no serial options enabled
May 9 18:57:07 ragout kernel: tty00 at 0x03f8 (irq = 4) is a 16550A
May 9 18:57:07 ragout kernel: tty01 at 0x02f8 (irq = 3) is a 16550A
May 9 18:57:07 ragout kernel: Unable to handle kernel paging request at virtual address c3833567
May 9 18:57:07 ragout kernel: current->tss.cr3 = 02df7000, Lr3 = 02df7000
May 9 18:57:07 ragout kernel: *pde = 0009e067
May 9 18:57:07 ragout kernel: *pte = 00000000
May 9 18:57:07 ragout kernel: Oops: 0000
May 9 18:57:07 ragout kernel: CPU: 0
May 9 18:57:07 ragout kernel: EIP: 0010:[<03833567>]
May 9 18:57:07 ragout kernel: EFLAGS: 00010246
May 9 18:57:07 ragout kernel: eax: 00000000 ebx: 00000100 ecx: 038334ec edx: 00000000
May 9 18:57:07 ragout kernel: esi: 02decf24 edi: 0000002b ebp: 00296718 esp: 02dceff8
May 9 18:57:07 ragout kernel: ds: 0018 es: 0018 fs: 002b gs: 002b ss: 0018
May 9 18:57:07 ragout kernel: Process insmod (pid: 208, process nr: 15, stackpage=02dce000)
May 9 18:57:07 ragout kernel: Stack: 038334ec 02dcf018
May 9 18:57:07 ragout kernel: Call Trace: [<038334ec>]
May 9 18:57:07 ragout kernel: Code: <1>Unable to handle kernel paging request at virtual address c3833567
May 9 18:57:07 ragout kernel: current->tss.cr3 = 02df7000, Lr3 = 02df7000
May 9 18:57:07 ragout kernel: *pde = 0009e067
May 9 18:57:07 ragout kernel: *pte = 00000000
May 9 18:57:07 ragout kernel: Oops: 0000
May 9 18:57:07 ragout kernel: CPU: 0
May 9 18:57:07 ragout kernel: EIP: 0010:[die_if_kernel+160/680]
May 9 18:57:07 ragout kernel: EFLAGS: 00010202
May 9 18:57:07 ragout kernel: eax: 00000010 ebx: 02dcf018 ecx: 03833567 edx: 0000ea60
May 9 18:57:07 ragout kernel: esi: 00000000 edi: 02dcf000 ebp: 02dcefbc esp: 02dcef60
May 9 18:57:07 ragout kernel: ds: 0018 es: 0018 fs: 0010 gs: 002b ss: 0018
May 9 18:57:07 ragout kernel: Process insmod (pid: 208, process nr: 15, stackpage=02dce000)
May 9 18:57:07 ragout kernel: Stack: 0000002b 00000000 00033000 02dcefbc 02e37414 03800000 04000000 03800000
May 9 18:57:07 ragout kernel: 02e30018 0011003a 0019d995 02dcefbc 00000000 0010fd80 02decf24 0000002b
May 9 18:57:07 ragout kernel: 00296718 00000002 00296518 400576d8 0010a7c0 02dcefbc 00000000 00000100
May 9 18:57:07 ragout kernel: Call Trace: [<03800000>] [<04000000>] [<03800000>] [do_page_fault+642/712] [si_meminfo+64/120] [reschedule+0/16] [<038334ec>]
May 9 18:57:07 ragout kernel: [<03833567>] [<038334ec>]
May 9 18:57:07 ragout kernel: Code: 64 8a 04 0e 0f a1 88 c2 81 e2 ff 00 00 00 89 54 24 10 52 68
May 9 18:57:07 ragout kernel: Unable to handle kernel paging request at virtual address c383357e
May 9 18:57:07 ragout kernel: current->tss.cr3 = 02df7000, Lr3 = 02df7000
May 9 18:57:07 ragout kernel: *pde = 0009e067
May 9 18:57:07 ragout kernel: *pte = 00000000
May 9 18:57:07 ragout kernel: Oops: 0000
May 9 18:57:07 ragout kernel: CPU: 0
May 9 18:57:07 ragout kernel: EIP: 0010:[<0383357e>]
May 9 18:57:07 ragout kernel: EFLAGS: 00010246
May 9 18:57:07 ragout kernel: eax: 00000000 ebx: 00000100 ecx: 038334ec edx: 00000000
May 9 18:57:07 ragout kernel: esi: 02decf24 edi: 0000002b ebp: 00296718 esp: 02dcdff8
May 9 18:57:07 ragout kernel: ds: 0018 es: 0018 fs: 002b gs: 002b ss: 0018
May 9 18:57:07 ragout kernel: Process insmod (pid: 209, process nr: 16, stackpage=02dcd000)
May 9 18:57:07 ragout kernel: Stack: 038334ec 02dcf018
May 9 18:57:07 ragout kernel: Call Trace: [<038334ec>]
May 9 18:57:07 ragout kernel: Code: <1>Unable to handle kernel paging request at virtual address c383357e
May 9 18:57:07 ragout kernel: current->tss.cr3 = 02df7000, Lr3 = 02df7000
May 9 18:57:07 ragout kernel: *pde = 0009e067
May 9 18:57:07 ragout kernel: *pte = 00000000
May 9 18:57:07 ragout kernel: Oops: 0000
May 9 18:57:07 ragout kernel: CPU: 0
May 9 18:57:07 ragout kernel: EIP: 0010:[die_if_kernel+160/680]
May 9 18:57:07 ragout kernel: EFLAGS: 00010202
May 9 18:57:07 ragout kernel: eax: 00000010 ebx: 02dcf018 ecx: 0383357e edx: 0000ea60
May 9 18:57:07 ragout kernel: esi: 00000000 edi: 02dce000 ebp: 02dcdfbc esp: 02dcdf60
May 9 18:57:07 ragout kernel: ds: 0018 es: 0018 fs: 0010 gs: 002b ss: 0018
May 9 18:57:07 ragout kernel: Process insmod (pid: 209, process nr: 16, stackpage=02dcd000)
May 9 18:57:07 ragout kernel: Stack: 0000002b 00000000 00033000 02dcdfbc 02e37c0c 03800000 04000000 03800000
May 9 18:57:07 ragout kernel: 02e30018 0011003a 0019d995 02dcdfbc 00000000 0010fd80 02decf24 0000002b
May 9 18:57:07 ragout kernel: 00296718 01b70028 00296518 00000000 0010a7c0 02dcdfbc 00000000 00000100
May 9 18:57:07 ragout kernel: Call Trace: [<03800000>] [<04000000>] [<03800000>] [do_page_fault+642/712] [si_meminfo+64/120] [reschedule+0/16] [<038334ec>]
May 9 18:57:07 ragout kernel: [<0383357e>] [<038334ec>]
May 9 18:57:07 ragout kernel: Code: 64 8a 04 0e 0f a1 88 c2 81 e2 ff 00 00 00 89 54 24 10 52 68
May 9 18:57:07 ragout kernel: Unable to handle kernel paging request at virtual address c3833595
May 9 18:57:07 ragout kernel: current->tss.cr3 = 02df7000, Lr3 = 02df7000
May 9 18:57:07 ragout kernel: *pde = 0009e067
May 9 18:57:07 ragout kernel: *pte = 00000000
May 9 18:57:07 ragout kernel: Oops: 0000
May 9 18:57:07 ragout kernel: CPU: 0
May 9 18:57:07 ragout kernel: EIP: 0010:[<03833595>]
May 9 18:57:07 ragout kernel: EFLAGS: 00010246
May 9 18:57:07 ragout kernel: eax: 00000000 ebx: 00000100 ecx: 038334ec edx: 00000000
May 9 18:57:07 ragout kernel: esi: 02decf24 edi: 0000002b ebp: 00296718 esp: 02dcaff8
May 9 18:57:07 ragout kernel: ds: 0018 es: 0018 fs: 002b gs: 002b ss: 0018
May 9 18:57:07 ragout kernel: Process insmod (pid: 210, process nr: 17, stackpage=02dca000)
May 9 18:57:07 ragout kernel: Stack: 038334ec 02dcf018
May 9 18:57:07 ragout kernel: Call Trace: [<038334ec>]
May 9 18:57:07 ragout kernel: Code: <1>Unable to handle kernel paging request at virtual address c3833595
May 9 18:57:07 ragout kernel: current->tss.cr3 = 02df7000, Lr3 = 02df7000
May 9 18:57:07 ragout kernel: *pde = 0009e067
May 9 18:57:07 ragout kernel: *pte = 00000000
May 9 18:57:07 ragout kernel: Oops: 0000
May 9 18:57:07 ragout kernel: CPU: 0
May 9 18:57:07 ragout kernel: EIP: 0010:[die_if_kernel+160/680]
May 9 18:57:07 ragout kernel: EFLAGS: 00010202
May 9 18:57:07 ragout kernel: eax: 00000010 ebx: 02dcf018 ecx: 03833595 edx: 0000ea60
May 9 18:57:07 ragout kernel: esi: 00000000 edi: 02dcb000 ebp: 02dcafbc esp: 02dcaf60
May 9 18:57:07 ragout kernel: ds: 0018 es: 0018 fs: 0010 gs: 002b ss: 0018
May 9 18:57:07 ragout kernel: Process insmod (pid: 210, process nr: 17, stackpage=02dca000)
May 9 18:57:07 ragout kernel: Stack: 0000002b 00000000 00033000 02dcafbc 02dcb414 03800000 04000000 03800000
May 9 18:57:07 ragout kernel: 02dc0018 0011003a 0019d995 02dcafbc 00000000 0010fd80 02decf24 0000002b
May 9 18:57:07 ragout kernel: 00296718 00000000 00296518 00000000 0010a7c0 02dcafbc 00000000 00000100
May 9 18:57:07 ragout kernel: Call Trace: [<03800000>] [<04000000>] [<03800000>] [do_page_fault+642/712] [si_meminfo+64/120] [reschedule+0/16] [<038334ec>]
May 9 18:57:07 ragout kernel: [<03833595>] [<038334ec>]
May 9 18:57:07 ragout kernel: Code: 64 8a 04 0e 0f a1 88 c2 81 e2 ff 00 00 00 89 54 24 10 52 68
May 9 18:57:07 ragout kernel: Unable to handle kernel paging request at virtual address c38335ac
May 9 18:57:07 ragout kernel: current->tss.cr3 = 02df7000, Lr3 = 02df7000
May 9 18:57:07 ragout kernel: *pde = 0009e067
May 9 18:57:07 ragout kernel: *pte = 00000000
May 9 18:57:07 ragout kernel: Oops: 0000
May 9 18:57:07 ragout kernel: CPU: 0
May 9 18:57:07 ragout kernel: EIP: 0010:[<038335ac>]
May 9 18:57:07 ragout kernel: EFLAGS: 00010246
May 9 18:57:07 ragout kernel: eax: 00000000 ebx: 00000100 ecx: 038334ec edx: 00000000
May 9 18:57:07 ragout kernel: esi: 02decf24 edi: 0000002b ebp: 00296718 esp: 02dc9ff8
May 9 18:57:07 ragout kernel: ds: 0018 es: 0018 fs: 002b gs: 002b ss: 0018
May 9 18:57:07 ragout kernel: Process insmod (pid: 211, process nr: 18, stackpage=02dc9000)
May 9 18:57:07 ragout kernel: Stack: 038334ec 02dcf018
May 9 18:57:07 ragout kernel: Call Trace: [<038334ec>]
May 9 18:57:07 ragout kernel: Code: <1>Unable to handle kernel paging request at virtual address c38335ac
May 9 18:57:07 ragout kernel: current->tss.cr3 = 02df7000, Lr3 = 02df7000
May 9 18:57:07 ragout kernel: *pde = 0009e067
May 9 18:57:07 ragout kernel: *pte = 00000000
May 9 18:57:07 ragout kernel: Oops: 0000
May 9 18:57:07 ragout kernel: CPU: 0
May 9 18:57:07 ragout kernel: EIP: 0010:[die_if_kernel+160/680]
May 9 18:57:07 ragout kernel: EFLAGS: 00010202
May 9 18:57:07 ragout kernel: eax: 00000010 ebx: 02dcf018 ecx: 038335ac edx: 0000ea60
May 9 18:57:07 ragout kernel: esi: 00000000 edi: 02dca000 ebp: 02dc9fbc esp: 02dc9f60
May 9 18:57:07 ragout kernel: ds: 0018 es: 0018 fs: 0010 gs: 002b ss: 0018
May 9 18:57:07 ragout kernel: Process insmod (pid: 211, process nr: 18, stackpage=02dc9000)
May 9 18:57:07 ragout kernel: Stack: 0000002b 00000000 00033000 02dc9fbc 02dcbc0c 03800000 04000000 03800000
May 9 18:57:07 ragout kernel: 02dc0018 0011003a 0019d995 02dc9fbc 00000000 0010fd80 02decf24 0000002b
May 9 18:57:07 ragout kernel: 00296718 00000000 00296518 00000000 0010a7c0 02dc9fbc 00000000 00000100
May 9 18:57:07 ragout kernel: Call Trace: [<03800000>] [<04000000>] [<03800000>] [do_page_fault+642/712] [si_meminfo+64/120] [reschedule+0/16] [<038334ec>]
May 9 18:57:07 ragout kernel: [<038335ac>] [<038334ec>]
May 9 18:57:07 ragout kernel: Code: 64 8a 04 0e 0f a1 88 c2 81 e2 ff 00 00 00 89 54 24 10 52 68
May 9 18:57:07 ragout kernel: Module inserted $Id: cdrom.c,v 0.8 1996/08/10 10:52:11 david Exp $
May 9 18:57:07 ragout kernel: XD: Loaded as a module.
May 9 18:57:07 ragout kernel: Linux PCMCIA Card Services 2.9.1
May 9 18:57:07 ragout kernel: Intel PCIC probe:
May 9 18:57:07 ragout kernel: Cirrus PD6729 PCI at 0xfcfc, 2 sockets
May 9 18:57:07 ragout kernel: irq mask (Cirrus) = 0x4eb8, status change on irq 11
May 9 18:57:07 ragout kernel: PCMCIA IO port probe: excluding 0x200-0x207 0x220-0x22f 0x300-0x307 0x370-0x37f 0x388-0x38f 0x398-0x39f
May 9 18:57:07 ragout kernel: PCMCIA IO port probe: clean.
May 9 18:57:07 ragout kernel: loading device 'eth0'...
May 9 18:57:07 ragout kernel: eth0: 3Com 3c589, port 0x310, irq 3, 10baseT port, 00 60 97 88 69 18
May 9 18:57:08 ragout syslogd 1.3-0#13: restart.

-- 
Rainer Dorsch
Abt. Rechnerarchitektur  e-mail:rainer.dorsch@informatik.uni-stuttgart.de
Universitšt Stuttgart    Tel.: 0711-7816-215