From owner-freebsd-current@FreeBSD.ORG Sun May 17 18:59:01 2009 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 91EA4106564A for ; Sun, 17 May 2009 18:59:01 +0000 (UTC) (envelope-from lwindschuh@googlemail.com) Received: from yw-out-2324.google.com (yw-out-2324.google.com [74.125.46.31]) by mx1.freebsd.org (Postfix) with ESMTP id 4E32A8FC12 for ; Sun, 17 May 2009 18:59:00 +0000 (UTC) (envelope-from lwindschuh@googlemail.com) Received: by yw-out-2324.google.com with SMTP id 9so1731580ywe.13 for ; Sun, 17 May 2009 11:59:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type:content-transfer-encoding; bh=9UiwPsmKRCkQHn2Q/OKbeuZNw0pSCwCd3VQyrbnk1W4=; b=qnGJ5exKTLo2uW1ZsvZ24cl3Z36raPLofWlJCJXq2YdHHF5xwrjU/IivHzzn5pZ1+P f9CgwVum4/KEohpPO4XfY0iBNEg1sRH4hbAph4W+RwtBtA1z9hFOVUT583xX/g1+CUNH Mym8QcM0IdE6EqZpWOaZt5vprhg0NPFdczrzY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type :content-transfer-encoding; b=lakohHvjNugR7THoOYXP3HWYDGKA+pZUgGzXYzaGzxkYDvnY0BrDjpc07v5Uo6GRts CdM0SbC8I4ot9VE2DCk/VbQr87BfVUsE6sp3/g8pNeGDWeeJ1fzLcl/tzk0Qj0vof81V lZnXLmZnMCHc2vILdJ7yXyiEyIA//hcBFXXaU= MIME-Version: 1.0 Received: by 10.151.130.8 with SMTP id h8mr10660490ybn.247.1242586740398; Sun, 17 May 2009 11:59:00 -0700 (PDT) Date: Sun, 17 May 2009 20:59:00 +0200 Message-ID: <90a5caac0905171159g23198d7ej71afb349abe9ab79@mail.gmail.com> From: Lucius Windschuh To: current@freebsd.org, bzeeb+freebsd+lor@zabbadoz.net Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: Subject: [lor] if_afdata and mld_mtx X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 17 May 2009 18:59:01 -0000 Hi. I didn't find this one in Bjoern's list: It happens when my uath device is pulled from its USB port while it is running. lock order reversal: 1st 0xc5a00214 if_afdata (if_afdata) @ /usr/src/sys/net/if.c:990 2nd 0xc0b166a8 mld_mtx (mld_mtx) @ /usr/src/sys/netinet6/mld6.c:577 KDB: stack backtrace: db_trace_self_wrapper(c08fb92a,f3c4a9c0,c06693e5,c065b3db,c08fe70f,...) at db_trace_self_wrapper+0x26 kdb_backtrace(c065b3db,c08fe70f,c5109f38,c51059c0,f3c4aa1c,...) at kdb_backtrace+0x29 _witness_debugger(c08fe70f,c0b166a8,c08fe88b,c51059c0,c0910770,...) at _witness_debugger+0x25 witness_checkorder(c0b166a8,9,c0910770,241,0,...) at witness_checkorder+0x839 _mtx_lock_flags(c0b166a8,0,c0910770,241,c8e79d40,...) at _mtx_lock_flags+0xc4 mld_domifdetach(c5a00000,c5a00214,c0968440,f3c4aac0,c06cf33c,...) at mld_domifdetach+0x2c in6_domifdetach(c5a00000,c8e79d40,3de,473,c5a00238,...) at in6_domifdetach+0x15 if_detach(c5a00000) at if_detach+0x8ec ether_ifdetach(c5a00000,0,c858f127,24a,c8aad014,...) at ether_ifdetach+0x3d ieee80211_vap_detach(c9133000,c09526a0,0,f3c4ab28,c06cff97,...) at ieee80211_vap_detach+0x191 uath_vap_delete(c9133000,c5a00000,c5a00000,c8592100,f3c4ab50,...) at uath_vap_delete+0x12 ifc_simple_destroy(c8592100,c5a00000,c0907832,d5,2d,...) at ifc_simple_destroy+0x27 if_clone_destroyif(c8592100,c5a00000,f3c4ab74,c8569f9c,c9133000,...) at if_clone_destroyif+0xe1 ieee80211_vap_destroy(c9133000,c84db00c,c84db000,f3c4ab9c,c84f23d8,...) at ieee80211_vap_destroy+0x1c ieee80211_ifdetach(c8aad000,f3c4ab94,c065b3db,c094ccb4,c5f44800,...) at ieee80211_ifdetach+0x1c uath_detach(c5fb9a00,c5ec3058,c094ccb4,9ed,c0651669,...) at uath_detach+0x48 device_detach(c5fb9a00,c08e2749,c5e2f2f0,2,2,...) at device_detach+0x8c usb2_detach_device(c5f4343c,0,c08e255a,187,18f29f2,...) at usb2_detach_device+0x178 usb2_unconfigure(c6790200,c0584830,c5eb82e0,7ba,0,...) at usb2_unconfigure+0x5a usb2_free_device(c5f43400,3,2,10,f3c4aca8,...) at usb2_free_device+0x1be uhub_explore(c5c05000,0,c08e10b0,cd,c58d8d34,...) at uhub_explore+0x2b2 usb2_bus_explore(c58d8d34,c58d8dac,c08ea550,51,c09a8e00,...) at usb2_bus_explore+0xbb usb2_process(c58d8cd4,f3c4ad38,c08f4097,336,c5be52a4,...) at usb2_process+0xde fork_exit(c058fde0,c58d8cd4,f3c4ad38) at fork_exit+0xb8 fork_trampoline() at fork_trampoline+0x8 --- trap 0, eip = 0, esp = 0xf3c4ad70, ebp = 0 ---