Re: HEADS UP: svn commit: r186107 - head/sys/net80211

From: Paul B. Mahol <onemda_at_gmail.com>
Date: Mon, 15 Dec 2008 16:21:40 +0100
On 12/15/08, Sam Leffler <sam_at_freebsd.org> wrote:
> Note this requires ifconfig be rebuilt after.  It'd be good for someone
> to look at api changes to break this dependency w/ user mode.

I got double faults when destroying vap (after use), maybe it is not
net80211 related
but I will post output anyway.

db:0:kdb.enter.panic>  run lockinfo
db:1:lockinfo> show locks
Script command 'show locks' returned error
db:1:locks>  show alllocks
Process 1514 (ifconfig) thread 0xc434b6c0 (100094)
Script command 'show alllocks' returned error
db:1:alllocks>  show lockedvnods
Locked vnodes
db:0:kdb.enter.panic>  show pcpu
cpuid        = 0
curthread    = 0xc434b6c0: pid 1514 "ifconfig"
curpcb       = 0xc3b84d90
fpcurthread  = none
idlethread   = 0xc3cfdb40: pid 10 "idle: cpu0"
APIC ID      = 0
currentldt   = 0x50
spin locks held:
db:0:kdb.enter.panic>  bt
Tracing pid 1514 tid 100094 td 0xc434b6c0
kdb_enter(c062046e,c062046e,c0641102,c08092f0,0,...) at kdb_enter+0x3a
panic(c0641102,0,0,0,0,...) at panic+0x131
dblfault_handler() at trap_fatal
--- trap 0x17, eip = 0xc05dd206, esp = 0xc3b82ffc, ebp = 0xc3b83004 ---
sc_vtb_geta(c0689d6c,781,ffffffff,c434b6c0,c08114c0,...) at sc_vtb_geta+0x16
vga_txtcursor(c0689d60,781,0,1,0,...) at vga_txtcursor+0xe8
sc_draw_cursor_image(c0689d60,780,1,0,1,...) at sc_draw_cursor_image+0x7a
scrn_update(c0689d60,c3b830cc,c04658a1,c0689d60,c3b830c3,...) at
scrn_update+0x318
sccnupdate(c0689d60,c3b830c3,1,4b00000a) at sccnupdate+0x74
sc_cnputc(c064f1a0,4b,c3b83264,5,4b,...) at sc_cnputc+0xa6
cnputc(4b,c3b83264,c3b83118,c04ed95a,c3b8311c,...) at cnputc+0x5a
putcons(c3b8311c,c048a5e1,164f1a0,c3b83264,c06413fb,...) at putcons+0x19
putchar(4b,c3b83264,a,c3b8314c,c04ed9c0,...) at putchar+0x5a
kvprintf(c06413fa,c04ed900,c3b83264,a,c3b832cc,...) at kvprintf+0xa2
vprintf(c06413fa,c3b832cc,4,1,1,...) at vprintf+0x4b
witness_warn(5,0,c06413fa,4,c459c548,...) at witness_warn+0xb9
trap(c3b83358) at trap+0x133
calltrap() at calltrap+0x6
--- trap 0xc, eip = 0xc04f98c4, esp = 0xc3b83398, ebp = 0xc3b833b8 ---
witness_list_lock(c0625853,c3b83404,4,1,1,...) at witness_list_lock+0x21
witness_warn(5,0,c06413fa,4,c459c548,...) at witness_warn+0xf6
trap(c3b83490) at trap+0x133
calltrap() at calltrap+0x6
--- trap 0xc, eip = 0xc04f98c4, esp = 0xc3b834d0, ebp = 0xc3b834f0 ---
witness_list_lock(c0625853,c3b8353c,4,1,1,...) at witness_list_lock+0x21
witness_warn(5,0,c06413fa,4,c459c548,...) at witness_warn+0xf6
trap(c3b835c8) at trap+0x133
calltrap() at calltrap+0x6
--- trap 0xc, eip = 0xc04f98c4, esp = 0xc3b83608, ebp = 0xc3b83628 ---
witness_list_lock(c0625853,c3b83674,4,1,1,...) at witness_list_lock+0x21
witness_warn(5,0,c06413fa,4,c459c548,...) at witness_warn+0xf6
trap(c3b83700) at trap+0x133
calltrap() at calltrap+0x6
--- trap 0xc, eip = 0xc04f98c4, esp = 0xc3b83740, ebp = 0xc3b83760 ---
witness_list_lock(c0625853,c3b837ac,4,1,1,...) at witness_list_lock+0x21
witness_warn(5,0,c06413fa,4,c459c548,...) at witness_warn+0xf6
trap(c3b83700) at trap+0x133
calltrap() at calltrap+0x6
--- trap 0xc, eip = 0xc04f98c4, esp = 0xc3b83740, ebp = 0xc3b83760 ---
witness_list_lock(c0625853,c3b837ac,4,1,1,...) at witness_list_lock+0x21
witness_warn(5,0,c06413fa,4,c459c548,...) at witness_warn+0xf6
trap(c3b83838) at trap+0x133
calltrap() at calltrap+0x6
--- trap 0xc, eip = 0xc04f98c4, esp = 0xc3b83878, ebp = 0xc3b83898 ---
witness_list_lock(c0625853,c3b838e4,4,1,1,...) at witness_list_lock+0x21
witness_warn(5,0,c06413fa,4,c459c548,...) at witness_warn+0xf6
trap(c3b83970) at trap+0x133
calltrap() at calltrap+0x6
--- trap 0xc, eip = 0xc04f98c4, esp = 0xc3b839b0, ebp = 0xc3b839d0 ---
witness_list_lock(c0625853,c3b83a1c,4,1,1,...) at witness_list_lock+0x21
witness_warn(5,0,c06413fa,4,c459c548,...) at witness_warn+0xf6
trap(c3b83aa8) at trap+0x133
calltrap() at calltrap+0x6
--- trap 0xc, eip = 0xc04f98c4, esp = 0xc3b83ae8, ebp = 0xc3b83b08 ---
witness_list_lock(c0625853,c3b83b54,4,1,1,...) at witness_list_lock+0x21
witness_warn(5,0,c06413fa,4,c459c548,...) at witness_warn+0xf6
trap(c3b83be0) at trap+0x133
calltrap() at calltrap+0x6
--- trap 0xc, eip = 0xc04f98c4, esp = 0xc3b83c20, ebp = 0xc3b83c40 ---
witness_list_lock(c0625853,c3b83c8c,4,1,1,...) at witness_list_lock+0x21
witness_warn(5,0,c06413fa,4,c459c548,...) at witness_warn+0xf6
trap(c3b83d18) at trap+0x133
calltrap() at calltrap+0x6
--- trap 0xc, eip = 0xc04f98c4, esp = 0xc3b83d58, ebp = 0xc3b83d78 ---
witness_list_lock(c0625853,c3b83dc4,4,1,1,...) at witness_list_lock+0x21
witness_warn(5,0,c06413fa,4,c459c548,...) at witness_warn+0xf6
trap(c3b83e50) at trap+0x133
calltrap() at calltrap+0x6
--- trap 0xc, eip = 0xc04f98c4, esp = 0xc3b83e90, ebp = 0xc3b83eb0 ---
witness_list_lock(c0625853,c3b83efc,4,1,1,...) at witness_list_lock+0x21
witness_warn(5,0,c06413fa,4,c459c548,...) at witness_warn+0xf6
trap(c3b83f88) at trap+0x133
calltrap() at calltrap+0x6
--- trap 0xc, eip = 0xc04f98c4, esp = 0xc3b83fc8, ebp = 0xc3b83fe8 ---
witness_list_lock(c0625853,c3b84034,4,1,1,...) at witness_list_lock+0x21
witness_warn(5,0,c06413fa,4,c459c548,...) at witness_warn+0xf6
trap(c3b840c0) at trap+0x133
calltrap() at calltrap+0x6
--- trap 0xc, eip = 0xc04f98c4, esp = 0xc3b84100, ebp = 0xc3b84120 ---
witness_list_lock(c0625853,c3b8416c,4,1,1,...) at witness_list_lock+0x21
witness_warn(5,0,c06413fa,4,c459c548,...) at witness_warn+0xf6
trap(c3b841f8) at trap+0x133
calltrap() at calltrap+0x6
--- trap 0xc, eip = 0xc04f98c4, esp = 0xc3b84238, ebp = 0xc3b84258 ---
witness_list_lock(c0625853,c3b842a4,4,1,1,...) at witness_list_lock+0x21
witness_warn(5,0,c06413fa,4,c459c548,...) at witness_warn+0xf6
trap(c3b84330) at trap+0x133
calltrap() at calltrap+0x6
--- trap 0xc, eip = 0xc04f98c4, esp = 0xc3b84370, ebp = 0xc3b84390 ---
witness_list_lock(c0625853,c3b843dc,4,1,1,...) at witness_list_lock+0x21
witness_warn(5,0,c06413fa,4,c459c548,...) at witness_warn+0xf6
trap(c3b84468) at trap+0x133
calltrap() at calltrap+0x6
--- trap 0xc, eip = 0xc04f98c4, esp = 0xc3b844a8, ebp = 0xc3b844c8 ---
witness_list_lock(c0625853,c3b84514,4,1,1,...) at witness_list_lock+0x21
witness_warn(5,0,c06413fa,4,c459c548,...) at witness_warn+0xf6
trap(c3b845a0) at trap+0x133
calltrap() at calltrap+0x6
--- trap 0xc, eip = 0xc04f98c4, esp = 0xc3b845e0, ebp = 0xc3b84600 ---
witness_list_lock(c0625853,c3b8464c,4,1,1,...) at witness_list_lock+0x21
witness_warn(5,0,c06413fa,4,c459c548,...) at witness_warn+0xf6
trap(c3b846d8) at trap+0x133
calltrap() at calltrap+0x6
--- trap 0xc, eip = 0xc04f98c4, esp = 0xc3b84718, ebp = 0xc3b84738 ---
witness_list_lock(c0625853,c3b84784,4,1,1,...) at witness_list_lock+0x21
witness_warn(5,0,c06413fa,c3b847b4,c459c548,...) at witness_warn+0xf6
trap(c3b84810) at trap+0x133
calltrap() at calltrap+0x6
--- trap 0xc, eip = 0xc04f98c4, esp = 0xc3b84850, ebp = 0xc3b84870 ---
witness_list_lock(c0625853,c3b848bc,4,1,1,...) at witness_list_lock+0x21
witness_warn(5,0,c06413fa,c3b849ec,c459c548,...) at witness_warn+0xf6
trap(c3b84948) at trap+0x133
calltrap() at calltrap+0x6
--- trap 0xc, eip = 0xc04fb5b8, esp = 0xc3b84988, ebp = 0xc3b849dc ---
witness_checkorder(c1094888,9,c06364f0,8ce,0,...) at witness_checkorder+0x22c
_mtx_lock_flags(c1094888,0,c06364f0,8ce,c04fb5dc,...) at _mtx_lock_flags+0xb8
uma_zfree_arg(c108b000,c3fea100,c3feaf6c,c3fea100,c3fea108,...) at
uma_zfree_arg+0x58
free(c3fea100,c0662d20,c3b84a9c,c0556fd0,c4577c00,...) at free+0xc4
in_lltable_free(c4577c00,c3fea100,c062eb9b,61,0,...) at in_lltable_free+0x19
llentry_free(c3fea100,c062eb9b,7f,79,c06643e0,...) at llentry_free+0x95
lltable_free(c4577c00,c3b84af4,c0553dfd,c3e2d800,c4577c00,...) at
lltable_free+0xda
in_domifdetach(c3e2d800,c4577c00,c062e29a,354,27,...) at in_domifdetach+0x11
if_detach(c3e2d800) at if_detach+0x45b
ether_ifdetach(c3e2d800,0,c4542f27,202,c456e014,...) at ether_ifdetach+0x3d
ieee80211_vap_detach(c440f000,0,c43e822c,a12,0,...) at
ieee80211_vap_detach+0x11f
rum_vap_delete(c440f000,c3e2d800,c3e2d800,c4546ca0,c3b84b94,...) at
rum_vap_delete+0x9f
ifc_simple_destroy(c4546ca0,c3e2d800,c062e76a,d5,ca,...) at
ifc_simple_destroy+0x25
if_clone_destroyif(c4546ca0,c3e2d800,c062e76a,bf,0,...) at
if_clone_destroyif+0xd7
if_clone_destroy(c3e02c20,19c,c434b764,c065a130,c07cbf88,...) at
if_clone_destroy+0x9f
ifioctl(c4134310,80206979,c3e02c20,c434b6c0,80206979,...) at ifioctl+0x115
soo_ioctl(c4004348,80206979,c3e02c20,c403e000,c434b6c0,...) at soo_ioctl+0x398
kern_ioctl(c434b6c0,3,80206979,c3e02c20,c3e02c20,...) at kern_ioctl+0x1ca
ioctl(c434b6c0,c3b84cf8,c,c0626cea,c06522d0,...) at ioctl+0x11f
syscall(c3b84d38) at syscall+0x261
Xint0x80_syscall() at Xint0x80_syscall+0x20
--- syscall (54, FreeBSD ELF32, ioctl), eip = 0x281a1963, esp =
0xbfbfe52c, ebp = 0xbfbfe548 ---


Kernel page fault with the following non-sleepable locks held:
kernel trap 12 with interrupts disabled
Kernel page fault with the following non-sleepable locks held:
kernel trap 12 with interrupts disabled
Kernel page fault with the following non-sleepable locks held:
kernel trap 12 with interrupts disabled
Kernel page fault with the following non-sleepable locks held:
kernel trap 12 with interrupts disabled
Kernel page fault with the following non-sleepable locks held:
kernel trap 12 with interrupts disabled
Kernel page fault with the following non-sleepable locks held:
kernel trap 12 with interrupts disabled
Kernel page fault with the following non-sleepable locks held:
kernel trap 12 with interrupts disabled
Kernel page fault with the following non-sleepable locks held:
kernel trap 12 with interrupts disabled
Kernel page fault with the following non-sleepable locks held:
kernel trap 12 with interrupts disabled
Kernel page fault with the following non-sleepable locks held:
kernel trap 12 with interrupts disabled
Kernel page fault with the following non-sleepable locks held:
kernel trap 12 with interrupts disabled
Kernel page fault with the following non-sleepable locks held:
kernel trap 12 with interrupts disabled
Kernel page fault with the following non-sleepable locks held:
kernel trap 12 with interrupts disabled
Kernel page fault with the following non-sleepable locks held:
kernel trap 12 with interrupts disabled
Kernel page fault with the following non-sleepable locks held:
kernel trap 12 with interrupts disabled
Kernel page fault with the following non-sleepable locks held:
kernel trap 12 with interrupts disabled
Kernel page fault with the following non-sleepable locks held:
kernel trap 12 with interrupts disabled
Kernel page fault with the following non-sleepable locks held:
kernel trap 12 with interrupts disabled

Fatal double fault:
eip = 0xc05dd206
esp = 0xc3b82ffc
ebp = 0xc3b83004
cpuid = 0; apic id = 00
panic: double fault
cpuid = 0


FreeBSD 8.0-CURRENT #0: Mon Dec 15 13:51:17 CET 2008
    root_at_dhcppc1:/usr/obj/usr/src/sys/KERNEL

-- 
Paul
Received on Mon Dec 15 2008 - 14:21:41 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:38 UTC