Re: panic: _rw_wlock_hard: recursing but non-recursive rw radix node head

From: Kip Macy <kmacy_at_freebsd.org>
Date: Mon, 8 Dec 2008 07:30:18 -0800
Will post a fix this afternoon.

Thanks,
Kip

On Mon, Dec 8, 2008 at 6:58 AM, Paul B. Mahol <onemda_at_gmail.com> wrote:
> I got panic, after pressing shutdown button:
>
> FreeBSD dhcppc1 8.0-CURRENT FreeBSD 8.0-CURRENT #3: Mon Dec  8 12:39:23 CET 2008
>     root_at_dhcppc1:/usr/obj/usr/src/sys/KERNEL  i386
>
> db:1:lockinfo> show locks
> db:1:locks>  show alllocks
> Process 994 (wpa_supplicant) thread 0xc4756900 (100112)
> db:1:alllocks>  show lockedvnods
> Locked vnodes
> db:0:kdb.enter.panic>  show pcpu
> cpuid        = 0
> curthread    = 0xc4756900: pid 994 "wpa_supplicant"
> curpcb       = 0xe6518d90
> fpcurthread  = none
> idlethread   = 0xc3d0ab40: pid 10 "idle: cpu0"
> APIC ID      = 0
> currentldt   = 0x50
> spin locks held:
> db:0:kdb.enter.panic>  bt
> Tracing pid 994 tid 100112 td 0xc4756900
> kdb_enter(c06181da,c06181da,c0617bc2,e6518868,0,...) at kdb_enter+0x3a
> panic(c0617bc2,c0603f55,c061e0eb,c0627193,3a9,...) at panic+0x136
> _rw_wlock_hard(c3e53280,c4756900,c0627193,3a9,0,...) at _rw_wlock_hard+0x66
> _rw_wlock(c3e53280,c0627193,3a9,c061da2b,3,...) at _rw_wlock+0xae
> rtrequest1_fib(2,e6518920,0,0,0,...) at rtrequest1_fib+0x92
> rtrequest_fib(2,c59b2500,0,0,20405,...) at rtrequest_fib+0x5e
> rt_fixdelete(c59c10f0,c4124e10,22,c4124e10,c4124e74,...) at rt_fixdelete+0x51
> rn_walktree_from(c3e53200,e6518a54,c47e8370,c054fa60,c4124e10,...) at
> rn_walktree_from+0xd6
> rtrequest1_fib(2,e6518a20,e6518a50,0,c4744a00,...) at rtrequest1_fib+0x1ad
> rtinit(c4744a00,2,0,c4744a00,c06586c0,...) at rtinit+0x2d4
> in_ifscrub(c3e6ec00,c4744a00,c06586c0,c06582fc,e6518b38,...) at in_ifscrub+0xed
> rip_ctlinput(0,c4744ab4,0,c4744a00,c3e6ec00,...) at rip_ctlinput+0x49
> pfctlinput(0,c4744ab4,80206910,8842,e6518bb0,...) at pfctlinput+0x3b
> if_down(c3e6ec00,18f,c07ece44,63a,c3e6ec00,...) at if_down+0x36
> ifhwioctl(c4756900,c07bfdc8,c47569a4,c07bfdc8,c064ded0,...) at ifhwioctl+0x2f9
> ifioctl(c412e7a8,80206910,c477f440,c4756900,80206910,...) at ifioctl+0x301
> soo_ioctl(c4016d20,80206910,c477f440,c4111d00,c4756900,...) at soo_ioctl+0x397
> kern_ioctl(c4756900,3,80206910,c477f440,c477f440,...) at kern_ioctl+0x1dd
> ioctl(c4756900,e6518cf8,c,c063bd0b,c0646070,...) at ioctl+0x12f
> syscall(e6518d38) at syscall+0x283
> Xint0x80_syscall() at Xint0x80_syscall+0x20
> --- syscall (54, FreeBSD ELF32, ioctl), eip = 0x28370063, esp =
> 0xbfbfe77c, ebp = 0xbfbfe7e8 ---
>
>
>
>
> <118>Stopping moused.
> <118>Stopping powerd.
> <118>Stopping devd.
> <118>Writing entropy file:
> <118>.
> <118>.
> <118>Dec  8 15:08:04  syslogd: exiting on signal 15
> panic: _rw_wlock_hard: recursing but non-recursive rw radix node head
> _at_ /usr/src/sys/net/route.c:937
>
> cpuid = 0
> KDB: enter: panic
> exclusive sleep mutex rtentry (rtentry) r = 0 (0xc4124e74) locked _at_
> /usr/src/sys/net/route.c:1019
> exclusive rw radix node head (radix node head) r = 0 (0xc3e53280)
> locked _at_ /usr/src/sys/net/route.c:937
> exclusive sleep mutex rtentry (rtentry) r = 0 (0xc4124e74) locked _at_
> /usr/src/sys/net/route.c:1019
> exclusive rw radix node head (radix node head) r = 0 (0xc3e53280)
> locked _at_ /usr/src/sys/net/route.c:937
>
>
> --
> Paul
> _______________________________________________
> freebsd-current_at_freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe_at_freebsd.org"
>



-- 
If we desire respect for the law, we must first make the law respectable.
- Louis D. Brandeis
Received on Mon Dec 08 2008 - 14:30:19 UTC

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