This was caused by a change I made today. Evidently we're trying to acquire a shared lock while holding an exclusive lock. I will take a look. -Kip On Wed, Dec 17, 2008 at 3:32 AM, Mike Tancsa <mike_at_sentex.net> wrote: > At 01:34 AM 12/15/2008, Qing Li wrote: > >> Hi All, >> >> The arp-v2 changes have been committed into HEAD. >> Please report problems to me and Kip Macy. > > Not sure if its related or not, but if I create and destroy a lagg port, I > get a panic > e.g. > > > 0[current]# ifconfig lagg0 laggproto failover laggport igb0 laggport igb1 > 0[current]# > 0[current]# ifconfig lagg0 laggproto failover laggport igb0 laggport igb1 > ifconfig: SIOCSLAGGPORT: Device busy > 1[current]# ifconfig lagg0 destroy > > > panic: _rw_rlock (ifnet): wlock already held _at_ /usr/src/sys/net/if.c:200 > cpuid = 3 > KDB: enter: panic > [thread pid 1239 tid 100065 ] > Stopped at kdb_enter+0x3a: movl $0,kdb_why > db> bt > Tracing pid 1239 tid 100065 td 0xc45f1b40 > kdb_enter(3232454813,3232454813,3232453528,3866974928,3,...) at kdb_enter+58 > panic(3232453528,3232060900,3232514293,3232513870,200,...) at panic+310 > _rw_rlock(3235193604,3232513870,200,3292329984,3866975012,...) at > _rw_rlock+118 > ifnet_byindex(6,3232513870,498,3297629696,3292329984,...) at > ifnet_byindex+39 > if_free_type(3292329984,6,279,3229646306,0,...) at if_free_type+156 > lagg_clone_destroy(3292329984,3292329984,3292329984,3299962240,3866975112,...) > at lagg_clone_destroy+146 > ifc_simple_destroy(3299962240,3292329984,3232515110,213,45,...) at > ifc_simple_destroy+39 > if_clone_destroyif(3299962240,3292329984,3232515110,191,0,...) at > if_clone_destroyif+225 > if_clone_destroy(3292314144,412,3235009472,3294567396,3235009472,...) at > if_clone_destroy+162 > ifioctl(3296010632,2149607801,3292314144,3294567232,2149607801,...) at > ifioctl+278 > soo_ioctl(3294877664,2149607801,3292314144,3297629184,3294567232,...) at > soo_ioctl+919 > kern_ioctl(3294567232,3,2149607801,3292314144,8000192,...) at kern_ioctl+477 > ioctl(3294567232,3866975480,12,3232296124,3233288592,...) at ioctl+308 > syscall(3866975544) at syscall+675 > Xint0x80_syscall() at Xint0x80_syscall+32 > --- syscall (54, FreeBSD ELF32, ioctl), eip = 672834707, esp = 3217024108, > ebp = 3217024136 --- > db> > db> show alllocks > Process 1239 (ifconfig) thread 0xc45f1b40 (100065) > exclusive rw ifnet (ifnet) r = 0 (0xc0d52304) locked _at_ > /usr/src/sys/net/if.c:498 > Process 1135 (sshd) thread 0xc462e000 (100113) > exclusive sx so_rcv_sx (so_rcv_sx) r = 0 (0xc475920c) locked _at_ > /usr/src/sys/kern/uipc_sockbuf.c:148 > Process 0 (kernel) thread 0xc4382900 (100042) > exclusive sleep mutex igb1 (IGB Core Lock) r = 0 (0xc43622dc) locked _at_ > /usr/src/sys/dev/e1000/if_igb.c:1224 > db> > _______________________________________________ > 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. BrandeisReceived on Wed Dec 17 2008 - 02:41:08 UTC
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:39 UTC