INPCB panic....

From: Larry Rosenman <ler_at_lerctr.org>
Date: Mon, 10 Nov 2003 13:37:23 -0600
I removed my wi0 card (with DHCLIENT running), and got the following panic 
on a -CURRENT from yesterday:

Script started on Mon Nov 10 13:23:10 2003
lerlaptop-red# k??[K??

lerlaptop-red# gdb -k kernel.0 vmcore.0

GNU gdb 5.2.1 (FreeBSD)
Copyright 2002 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain 
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i386-undermydesk-freebsd"...
panic: from debugger
panic messages:
---
Fatal trap 12: page fault while in kernel mode
fault virtual address	= 0xc5157040
fault code		= supervisor read, page not present
instruction pointer	= 0x8:0xc06165ba
stack pointer	        = 0x10:0xe1831af4
frame pointer	        = 0x10:0xe1831b38
code segment		= base 0x0, limit 0xfffff, type 0x1b
			= DPL 0, pres 1, def32 1, gran 1
processor eflags	= interrupt enabled, resume, IOPL = 0
current process		= 1278 (dhclient)


Fatal trap 12: page fault while in kernel mode
fault virtual address	= 0xc5157040
fault code		= supervisor read, page not present
instruction pointer	= 0x8:0xc06165ba
stack pointer	        = 0x10:0xe1831af4
frame pointer	        = 0x10:0xe1831b38
code segment		= base 0x0, limit 0xfffff, type 0x1b
			= DPL 0, pres 1, def32 1, gran 1
processor eflags	= interrupt enabled, resume, IOPL = 0
current process		= 1278 (dhclient)


Fatal trap 12: page fault while in kernel mode
fault virtual address	= 0xc5157040
fault code		= supervisor read, page not present
instruction pointer	= 0x8:0xc06165ba
stack pointer	        = 0x10:0xe1831af4
frame pointer	        = 0x10:0xe1831b38
code segment		= base 0x0, limit 0xfffff, type 0x1b
			= DPL 0, pres 1, def32 1, gran 1
processor eflags	= interrupt enabled, resume, IOPL = 0
current process		= 1278 (dhclient)


Fatal trap 12: page fault while in kernel mode
fault virtual address	= 0xc5157040
fault code		= supervisor read, page not present
instruction pointer	= 0x8:0xc06165ba
stack pointer	        = 0x10:0xe1831af4
frame pointer	        = 0x10:0xe1831b38
code segment		= base 0x0, limit 0xfffff, type 0x1b
			= DPL 0, pres 1, def32 1, gran 1
processor eflags	= interrupt enabled, resume, IOPL = 0
current process		= 1278 (dhclient)


Fatal trap 12: page fault while in kernel mode
fault virtual address	= 0xc5157040
fault code		= supervisor read, page not present
instruction pointer	= 0x8:0xc06165ba
stack pointer	        = 0x10:0xe1831af4
frame pointer	        = 0x10:0xe1831b38
code segment		= base 0x0, limit 0xfffff, type 0x1b
			= DPL 0, pres 1, def32 1, gran 1
processor eflags	= interrupt enabled, resume, IOPL = 0
current process		= 1278 (dhclient)


Fatal trap 12: page fault while in kernel mode
fault virtual address	= 0xc5157040
fault code		= supervisor read, page not present
instruction pointer	= 0x8:0xc06165ba
stack pointer	        = 0x10:0xe1831af4
frame pointer	        = 0x10:0xe1831b38
code segment		= base 0x0, limit 0xfffff, type 0x1b
			= DPL 0, pres 1, def32 1, gran 1
processor eflags	= interrupt enabled, resume, IOPL = 0
current process		= 1278 (dhclient)
panic: from debugger


Fatal trap 3: breakpoint instruction fault while in kernel mode
instruction pointer	= 0x8:0xc06e4d34
stack pointer	        = 0x10:0xe1831874
frame pointer	        = 0x10:0xe1831880
code segment		= base 0x0, limit 0xfffff, type 0x1b
			= DPL 0, pres 1, def32 1, gran 1
processor eflags	= IOPL = 0
current process		= 1278 (dhclient)
panic: from debugger
Uptime: 4h10m1s
Dumping 503 MB
 16 32 48 64 80 96 112 128 144 160 176 192 208 224 240 256 272 288 304 320 
336 352 368 384 400 416 432 448 464 480 496
---
Reading symbols from 
/usr/obj/usr/src/sys/LERLAPTOP/modules/usr/src/sys/modules/linux/linux.ko.d
ebug...done.
Loaded symbols for 
/usr/obj/usr/src/sys/LERLAPTOP/modules/usr/src/sys/modules/linux/linux.ko.d
ebug
#0  doadump () at /usr/src/sys/kern/kern_shutdown.c:240
240		dumping++;
(kgdb) bt
#0  doadump () at /usr/src/sys/kern/kern_shutdown.c:240
#1  0xc0588f02 in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:372
#2  0xc0589237 in panic () at /usr/src/sys/kern/kern_shutdown.c:550
#3  0xc04720a2 in db_panic () at /usr/src/sys/ddb/db_command.c:450
#4  0xc0472002 in db_command (last_cmdp=0xc07ae580, cmd_table=0x0,
    aux_cmd_tablep=0xc075e58c, aux_cmd_tablep_end=0xc075e590)
    at /usr/src/sys/ddb/db_command.c:346
#5  0xc0472145 in db_command_loop () at /usr/src/sys/ddb/db_command.c:472
#6  0xc0475145 in db_trap (type=12, code=0) at /usr/src/sys/ddb/db_trap.c:73
#7  0xc06e4a7c in kdb_trap (type=12, code=0, regs=0xe1831ab4)
    at /usr/src/sys/i386/i386/db_interface.c:171
#8  0xc06f7b86 in trap_fatal (frame=0xe1831ab4, eva=0)
    at /usr/src/sys/i386/i386/trap.c:816
#9  0xc06f7852 in trap_pfault (frame=0xe1831ab4, usermode=0, eva=3306516544)
    at /usr/src/sys/i386/i386/trap.c:735
#10 0xc06f7435 in trap (frame=
      {tf_fs = 24, tf_es = 16, tf_ds = 16, tf_edi = 0, tf_esi = -33322801, 
tf_ebp = -511501512, tf_isp = -511501600, tf_ebx = -996562916, tf_edx = 
-988424704, tf_ecx = -996562976, tf_eax = -988450816, tf_trapno = 12, 
tf_err = 0, tf_eip = -1067358790, tf_cs = 8, tf_eflags = 66182, tf_esp = 
-1043464832, tf_ss = -1067974221}) at /usr/src/sys/i386/i386/trap.c:420
#11 0xc06e6478 in calltrap () at {standard input}:94
#12 0xc062c102 in udp_output (inp=0xc499a7e0, m=0xc1cf4800, 
addr=0xc47d1380,
---Type <return> to continue, or q <return> to quit---
    control=0xfe0388cf, td=0xc4d5ab40) at 
/usr/src/sys/netinet/udp_usrreq.c:779
#13 0xc062cad7 in udp_send (so=0x0, flags=0, m=0xc1cf4800, addr=0x0,
    control=0x0, td=0x0) at /usr/src/sys/netinet/udp_usrreq.c:1044
#14 0xc05c177d in sosend (so=0xc4998dd0, addr=0xc47d1380, uio=0xe1831c48,
    top=0xc1cf4800, control=0x0, flags=0, td=0xc4d5ab40)
    at /usr/src/sys/kern/uipc_socket.c:715
#15 0xc05c5c6c in kern_sendit (td=0xc4d5ab40, s=5, mp=0xe1831cc0, flags=0,
    control=0x0) at /usr/src/sys/kern/uipc_syscalls.c:722
#16 0xc05c5abe in sendit (td=0x0, s=0, mp=0xe1831cc0, flags=0)
    at /usr/src/sys/kern/uipc_syscalls.c:662
#17 0xc05c5dfb in sendto (td=0x0, uap=0x0)
    at /usr/src/sys/kern/uipc_syscalls.c:783
#18 0xc06f7ed0 in syscall (frame=
      {tf_fs = 47, tf_es = 47, tf_ds = 47, tf_edi = 135203427, tf_esi = 
135390029, tf_ebp = -1077946280, tf_isp = -511500940, tf_ebx = -1077945840, 
tf_edx = 135581776, tf_ecx = 0, tf_eax = 133, tf_trapno = 0, tf_err = 2, 
tf_eip = 134802611, tf_cs = 31, tf_eflags = 646, tf_esp = -1077946324, 
tf_ss = 47})
    at /usr/src/sys/i386/i386/trap.c:1010
#19 0xc06e64cd in Xint0x80_syscall () at {standard input}:136
---Can't read userspace from dump, or kernel process---

(kgdb) quit
lerlaptop-red# ^D??exit

Script done on Mon Nov 10 13:23:44 2003
I have the core and kernel available if some kind soul wants it...

LER


-- 
Larry Rosenman                     http://www.lerctr.org/~ler
Phone: +1 972-414-9812                 E-Mail: ler_at_lerctr.org
US Mail: 1905 Steamboat Springs Drive, Garland, TX 75044-6749

Received on Mon Nov 10 2003 - 10:37:32 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:28 UTC