IPSec Panic/Shutdown

Larry Rosenman ler at lerctr.org
Wed Jan 7 17:22:38 PST 2004


On a shutdown, I got the following panic:
Sources from Last Nite ~19:30 US/Central.


Script started on Wed Jan  7 19:20:50 2004
lerlaptop# gdb -k kernel.4 sta??[K??[K??[Kvmcore.4

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	= 0x10f
fault code		= supervisor read, page not present
instruction pointer	= 0x8:0xc0669b00
stack pointer	        = 0x10:0xe023da1c
frame pointer	        = 0x10:0xe023da30
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		= 709 (inetd)
panic: from debugger


Fatal trap 3: breakpoint instruction fault while in kernel mode
instruction pointer	= 0x8:0xc071b024
stack pointer	        = 0x10:0xe023d7ac
frame pointer	        = 0x10:0xe023d7b8
code segment		= base 0x0, limit 0xfffff, type 0x1b
			= DPL 0, pres 1, def32 1, gran 1
processor eflags	= IOPL = 0
current process		= 709 (inetd)
panic: from debugger
Uptime: 5h5m4s
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  0xc0592242 in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:372
#2  0xc0592577 in panic () at /usr/src/sys/kern/kern_shutdown.c:550
#3  0xc047b1d2 in db_panic () at /usr/src/sys/ddb/db_command.c:450
#4  0xc047b132 in db_command (last_cmdp=0xc07f2000, cmd_table=0x0,
    aux_cmd_tablep=0xc079fc90, aux_cmd_tablep_end=0xc079fc94)
    at /usr/src/sys/ddb/db_command.c:346
#5  0xc047b275 in db_command_loop () at /usr/src/sys/ddb/db_command.c:472
#6  0xc047e275 in db_trap (type=12, code=0) at /usr/src/sys/ddb/db_trap.c:73
#7  0xc071ad6c in kdb_trap (type=12, code=0, regs=0xe023d9dc)
    at /usr/src/sys/i386/i386/db_interface.c:171
#8  0xc072dc76 in trap_fatal (frame=0xe023d9dc, eva=0)
    at /usr/src/sys/i386/i386/trap.c:816
#9  0xc072d942 in trap_pfault (frame=0xe023d9dc, usermode=0, eva=271)
    at /usr/src/sys/i386/i386/trap.c:735
#10 0xc072d52d in trap (frame=
      {tf_fs = -1065353192, tf_es = 16, tf_ds = -1065877488, tf_edi = 
-999708288, tf_esi = -1, tf_ebp = -534521296, tf_isp = -534521336, tf_ebx = 
-999708288, tf_edx = 0, tf_ecx = -1065349184, tf_eax = 0, tf_trapno = 12, 
tf_err = 0, tf_eip = -1067017472, tf_cs = 8, tf_eflags = 66182, tf_esp = 
-999337604, tf_ss = -534521288}) at /usr/src/sys/i386/i386/trap.c:420
#11 0xc071c768 in calltrap () at {standard input}:94
#12 0xc066985e in key_freesp (sp=0xc469a980) at 
/usr/src/sys/netkey/key.c:1106
#13 0xc065b6c4 in ipsec4_delete_pcbpolicy (inp=0xc469a980)
    at /usr/src/sys/netinet6/ipsec.c:1532
#14 0xc062045a in in_pcbdetach (inp=0xc469a980) at 
/usr/src/sys/netinet/in_pcb.c:689
---Type <return> to continue, or q <return> to quit---
#15 0xc062f9ea in tcp_close (tp=0x0) at /usr/src/sys/netinet/tcp_subr.c:714
#16 0xc0635d33 in tcp_disconnect (tp=0xc46f50f0) at 
/usr/src/sys/netinet/tcp_usrreq.c:1223
#17 0xc0633f26 in tcp_usr_detach (so=0x0) at 
/usr/src/sys/netinet/tcp_usrreq.c:178
#18 0xc05cb4a2 in soclose (so=0xc46e1654) at 
/usr/src/sys/kern/uipc_socket.c:379
#19 0xc05bc1bb in soo_close (fp=0x0, td=0xc45df540) at 
/usr/src/sys/kern/sys_socket.c:244
#20 0xc0576f89 in fdrop_locked (fp=0xc460c330, td=0x0) at 
/usr/src/sys/sys/file.h:292
#21 0xc057609e in fdrop (fp=0xc460c330, td=0x0) at 
/usr/src/sys/kern/kern_descrip.c:1829
#22 0xc057604c in closef (fp=0xc460c330, td=0xc45df540)
    at /usr/src/sys/kern/kern_descrip.c:1815
#23 0xc0575706 in fdfree (td=0xc45df540) at 
/usr/src/sys/kern/kern_descrip.c:1519
#24 0xc057c0d1 in exit1 (td=0xc45df540, rv=15) at 
/usr/src/sys/kern/kern_exit.c:247
#25 0xc0596a7c in sigexit () at /usr/src/sys/kern/kern_sig.c:2429
#26 0xc05966d9 in postsig (sig=15) at /usr/src/sys/kern/kern_sig.c:2314
#27 0xc05b5888 in ast (framep=0xe023dd48) at 
/usr/src/sys/kern/subr_trap.c:262
#28 0xc071c92d in doreti_ast () at {standard input}:348
---Can't read userspace from dump, or kernel process---

(kgdb) quit
lerlaptop# ^D??exit

Script done on Wed Jan  7 19:21:17 2004


-- 
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20040107/655e5b85/attachment.bin


More information about the freebsd-current mailing list