Re: LOR in route.c // scope6.c

From: Sergey Kandaurov <pluknet_at_gmail.com>
Date: Wed, 21 Sep 2011 17:13:39 +0400
On 19 August 2011 05:07, Garrett Cooper <yanegomi_at_gmail.com> wrote:
> Hi,
>    I've periodically seen the following LOR when trying to repro a
> panic after restarting my network configuration:
>
> :lock order reversal:
>  1st 0xc4142f1c rtentry (rtentry) _at_ /usr/src/sys/net/routec:362
>  2nd 0xc3d08604 if_afdata (if_afdata) _at_ /usr/src/sys/netinet6/scope6.c:417
> KDB: stack backtrace:
> db_trace_self_wrapper(...)
> _witness_debugger(...)
> _rw_wlock(...)
> in6_setscope(...)
> in6_purgeaddr(...)
> in6_control(...)
> ifioctl(...)
> soo_ioctl(...)
> kern_ioctl(...)
> ioctl(...)
> syscallenter(...)
> syscall(...)
> Xint0x80_syscall()
>
> I don't have a full backtrace or core for this. This was running
> r224948 UP with WITNESS.
>

I just got exactly the same LOR on a very fresh current with
/etc/rc.d/netif restart, and then I lost the system.
Thanks for the report. I hope to dig out the solution...

-- 
wbr,
pluknet
Received on Wed Sep 21 2011 - 11:13:40 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:18 UTC