From owner-freebsd-net@FreeBSD.ORG Wed Dec 17 03:41:08 2008 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 97AC01065670; Wed, 17 Dec 2008 03:41:08 +0000 (UTC) (envelope-from mat.macy@gmail.com) Received: from rv-out-0506.google.com (rv-out-0506.google.com [209.85.198.232]) by mx1.freebsd.org (Postfix) with ESMTP id 536618FC1E; Wed, 17 Dec 2008 03:41:08 +0000 (UTC) (envelope-from mat.macy@gmail.com) Received: by rv-out-0506.google.com with SMTP id b25so4674318rvf.43 for ; Tue, 16 Dec 2008 19:41:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:sender :to:subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references :x-google-sender-auth; bh=OT7ZGrZGKKDaPm71QFYzh9KWJBEKyQOlQTTGglXFD6w=; b=RYzX2trL6UFCMw/IYAabm1iZ9426TWLnR/DTaPc6UA4QiTM3Zdl6cxZLeU7WEbOWYm mMlz+kt5nrMI5zrf489ynmNyV+g8Dl8w5uGMGX2eFnJwTJUuwjmDCYdW6pNWJXgBOts3 5yo8lr/UzL1VlgBHXPRSJguE2wH+09EmvkKxw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references:x-google-sender-auth; b=GEyd6HeE8HcaU9hMxVklWa74NPqDy1fMdLbtY93zfyJFHWisDfeDURy2V9d+WyLCqh 9A9bXN7WQKJAs3bUTJFSF6FlcpV8ePfaKVMcHWRkAyfz9QOLMFcofeIu8Ea9eamWYEu0 gXSpgs0k7wK/5JwblRF+HH47CZV+YgRFPtJKo= Received: by 10.141.36.10 with SMTP id o10mr135572rvj.272.1229485267994; Tue, 16 Dec 2008 19:41:07 -0800 (PST) Received: by 10.140.132.20 with HTTP; Tue, 16 Dec 2008 19:41:07 -0800 (PST) Message-ID: <3c1674c90812161941r747e3151m6d0d053b7f7e62ba@mail.gmail.com> Date: Wed, 17 Dec 2008 03:41:07 +0000 From: "Kip Macy" Sender: mat.macy@gmail.com To: "Mike Tancsa" In-Reply-To: <200812170332.mBH3WRbR092071@lava.sentex.ca> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <200812150634.mBF6YDVC060565@freefall.freebsd.org> <200812170332.mBH3WRbR092071@lava.sentex.ca> X-Google-Sender-Auth: 08fa3f39ebb4750d Cc: Qing Li , freebsd-current@freebsd.org, freebsd-net@freebsd.org Subject: Re: HEADSUP: arp-v2 has been committed X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Dec 2008 03:41:08 -0000 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 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 @ /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 @ > /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 @ > /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 @ > /usr/src/sys/dev/e1000/if_igb.c:1224 > db> > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" > -- If we desire respect for the law, we must first make the law respectable. - Louis D. Brandeis