Date: Wed, 28 Sep 2011 09:30:01 GMT From: Erwan Martin <public@fzwte.net> To: freebsd-gnats-submit@FreeBSD.org Subject: kern/161094: [vimage] [panic] kernel panic with pf + VIMAGE when stopping a jail Message-ID: <201109280930.p8S9U1Nf018977@red.freebsd.org> Resent-Message-ID: <201109280930.p8S9UH5R017905@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 161094 >Category: kern >Synopsis: [vimage] [panic] kernel panic with pf + VIMAGE when stopping a jail >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Sep 28 09:30:16 UTC 2011 >Closed-Date: >Last-Modified: >Originator: Erwan Martin >Release: 9.0-BETA3 >Organization: Lanestel >Environment: FreeBSD 9.0-BETA3 FreeBSD 9.0-BETA3 #1: Tue Sep 27 17:42:30 UTC 2011 root@:/usr/obj/usr/src/sys/TESTKERNEL9 i386 >Description: When using a VIMAGE kernel with pf, stopping a jail creates a panic. panic: Assertion lock == sq->sq_lock failed at /usr/src/sys/kern/subr_sleepqueue.c:335 cpuid = 0 KDB: enter: panic [ thread pid 1026 tid 100064 ] Stopped at kdb_enter+0x3a: movl $0,kdb_why db> trace Tracing pid 1026 tid 100064 td 0xc2e8c000 kdb_enter(c0f475cc,c0f475cc,c0dc9e6f,c768a69c,0,...) at kdb_enter+0x3a panic(c0dc9e6f,c0f4d22a,c0f4ce80,14f,0,...) at panic+0x134 sleepq_add(c04ec840,c2e8e704,c0dc1566,0,0,...) at sleepq_add+0x22c _sleep(c04ec840,c2e8e704,0,c0dc1566,64,...) at _sleep+0x2a0 vnet_pf_uninit(0,0,c0f5e37a,277,0,...) at vnet_pf_uninit+0x517 vnet_sysuninit(c1260318,c0f5e37a,118,116,c0f42483,...) at vnet_sysuninit+0x49 vnet_destroy(c2b54920,c0f42483,9c8,9ba,c2c86028,...) at vnet_destroy+0x16b prison_deref(c0a16acb,c2c86028,0,c0f42483,2,...) at prison_deref+0x272 prison_remove_one(c1076ac0,1,c0f42483,853,c0d86aaf,...) at prison_remove_one+0x53 sys_jail_remove(c2e8c000,c768acec,c0f95d96,c0f50a93,246,...) at sys_jail_remove+0x266 syscall(c768ad28) at syscall+0x284 Xint0x80_syscall() at Xint0x80_syscall+0x21 --- syscall (508, FreeBSD ELF32, sys_jail_remove), eip = 0x280f29cb, esp = 0xbfbfebdc, ebp = 0xbfbfeca8 --- >How-To-Repeat: Compile a VIMAGE+pf kernel. Start pf. Create and start a jail. Stop the jail. >Fix: >Release-Note: >Audit-Trail: >Unformatted: >/etc/rc.d/pf onestart Enabling pfNo ALTQ support in kernel ALTQ related functions disabled No ALTQ support in kernel ALTQ related functions disabled No ALTQ support in kernel ALTQ related functions disabled pf enabled
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201109280930.p8S9U1Nf018977>