Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 07 Jan 2004 19:22:31 -0600
From:      Larry Rosenman <ler@lerctr.org>
To:        freebsd-current@freebsd.org
Subject:   IPSec Panic/Shutdown
Message-ID:  <30700000.1073524951@lerlaptop.lerctr.org>

next in thread | raw e-mail | index | archive | help
--==========3B6EC0F308EC05D4F928==========
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

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=20
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	=3D 0x10f
fault code		=3D supervisor read, page not present
instruction pointer	=3D 0x8:0xc0669b00
stack pointer	        =3D 0x10:0xe023da1c
frame pointer	        =3D 0x10:0xe023da30
code segment		=3D base 0x0, limit 0xfffff, type 0x1b
			=3D DPL 0, pres 1, def32 1, gran 1
processor eflags	=3D interrupt enabled, resume, IOPL =3D 0
current process		=3D 709 (inetd)
panic: from debugger


Fatal trap 3: breakpoint instruction fault while in kernel mode
instruction pointer	=3D 0x8:0xc071b024
stack pointer	        =3D 0x10:0xe023d7ac
frame pointer	        =3D 0x10:0xe023d7b8
code segment		=3D base 0x0, limit 0xfffff, type 0x1b
			=3D DPL 0, pres 1, def32 1, gran 1
processor eflags	=3D IOPL =3D 0
current process		=3D 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=20
336 352 368 384 400 416 432 448 464 480 496
---
Reading symbols from=20
/usr/obj/usr/src/sys/LERLAPTOP/modules/usr/src/sys/modules/linux/linux.ko.d
ebug...done.
Loaded symbols for=20
/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=3D260) 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=3D0xc07f2000, cmd_table=3D0x0,
    aux_cmd_tablep=3D0xc079fc90, aux_cmd_tablep_end=3D0xc079fc94)
    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=3D12, code=3D0) at =
/usr/src/sys/ddb/db_trap.c:73
#7  0xc071ad6c in kdb_trap (type=3D12, code=3D0, regs=3D0xe023d9dc)
    at /usr/src/sys/i386/i386/db_interface.c:171
#8  0xc072dc76 in trap_fatal (frame=3D0xe023d9dc, eva=3D0)
    at /usr/src/sys/i386/i386/trap.c:816
#9  0xc072d942 in trap_pfault (frame=3D0xe023d9dc, usermode=3D0, eva=3D271)
    at /usr/src/sys/i386/i386/trap.c:735
#10 0xc072d52d in trap (frame=3D
      {tf_fs =3D -1065353192, tf_es =3D 16, tf_ds =3D -1065877488, tf_edi =
=3D=20
-999708288, tf_esi =3D -1, tf_ebp =3D -534521296, tf_isp =3D -534521336, =
tf_ebx =3D=20
-999708288, tf_edx =3D 0, tf_ecx =3D -1065349184, tf_eax =3D 0, tf_trapno =
=3D 12,=20
tf_err =3D 0, tf_eip =3D -1067017472, tf_cs =3D 8, tf_eflags =3D 66182, =
tf_esp =3D=20
-999337604, tf_ss =3D -534521288}) at /usr/src/sys/i386/i386/trap.c:420
#11 0xc071c768 in calltrap () at {standard input}:94
#12 0xc066985e in key_freesp (sp=3D0xc469a980) at=20
/usr/src/sys/netkey/key.c:1106
#13 0xc065b6c4 in ipsec4_delete_pcbpolicy (inp=3D0xc469a980)
    at /usr/src/sys/netinet6/ipsec.c:1532
#14 0xc062045a in in_pcbdetach (inp=3D0xc469a980) at=20
/usr/src/sys/netinet/in_pcb.c:689
---Type <return> to continue, or q <return> to quit---
#15 0xc062f9ea in tcp_close (tp=3D0x0) at =
/usr/src/sys/netinet/tcp_subr.c:714
#16 0xc0635d33 in tcp_disconnect (tp=3D0xc46f50f0) at=20
/usr/src/sys/netinet/tcp_usrreq.c:1223
#17 0xc0633f26 in tcp_usr_detach (so=3D0x0) at=20
/usr/src/sys/netinet/tcp_usrreq.c:178
#18 0xc05cb4a2 in soclose (so=3D0xc46e1654) at=20
/usr/src/sys/kern/uipc_socket.c:379
#19 0xc05bc1bb in soo_close (fp=3D0x0, td=3D0xc45df540) at=20
/usr/src/sys/kern/sys_socket.c:244
#20 0xc0576f89 in fdrop_locked (fp=3D0xc460c330, td=3D0x0) at=20
/usr/src/sys/sys/file.h:292
#21 0xc057609e in fdrop (fp=3D0xc460c330, td=3D0x0) at=20
/usr/src/sys/kern/kern_descrip.c:1829
#22 0xc057604c in closef (fp=3D0xc460c330, td=3D0xc45df540)
    at /usr/src/sys/kern/kern_descrip.c:1815
#23 0xc0575706 in fdfree (td=3D0xc45df540) at=20
/usr/src/sys/kern/kern_descrip.c:1519
#24 0xc057c0d1 in exit1 (td=3D0xc45df540, rv=3D15) at=20
/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=3D15) at /usr/src/sys/kern/kern_sig.c:2314
#27 0xc05b5888 in ast (framep=3D0xe023dd48) at=20
/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


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

--==========3B6EC0F308EC05D4F928==========
Content-Type: application/pgp-signature
Content-Transfer-Encoding: 7bit

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (FreeBSD)

iD8DBQE//LDZrRNGhTxJvdYRAppAAKCMFfxKdUXs7ZfQLtqrQisyjTP80ACfX7/5
Be7gw6BlMQ0i8UKkBKEH4OY=
=A6Rd
-----END PGP SIGNATURE-----

--==========3B6EC0F308EC05D4F928==========--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?30700000.1073524951>