From owner-freebsd-current@FreeBSD.ORG Wed Aug 24 14:53:27 2005 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4B89816A41F for ; Wed, 24 Aug 2005 14:53:27 +0000 (GMT) (envelope-from dandee@hellteam.net) Received: from pipa.profix.cz (server1.pcsvet.net [82.208.25.157]) by mx1.FreeBSD.org (Postfix) with ESMTP id 76F6443D49 for ; Wed, 24 Aug 2005 14:53:26 +0000 (GMT) (envelope-from dandee@hellteam.net) Received: from localhost (localhost [127.0.0.1]) by pipa.profix.cz (Postfix) with ESMTP id BD9694E706 for ; Wed, 24 Aug 2005 16:53:38 +0200 (CEST) Received: from pipa.profix.cz ([127.0.0.1]) by localhost (pipa [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 22577-06 for ; Wed, 24 Aug 2005 16:53:38 +0200 (CEST) Received: from gandalf (105.121.95.80.ip.b26.cz [80.95.121.105]) (using TLSv1 with cipher RC4-MD5 (128/128 bits)) (No client certificate requested) by pipa.profix.cz (Postfix) with ESMTP id CAE464E704 for ; Wed, 24 Aug 2005 16:53:37 +0200 (CEST) From: =?US-ASCII?Q?Daniel_Dvorak?= To: Date: Wed, 24 Aug 2005 16:53:22 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook, Build 11.0.6353 In-Reply-To: X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2527 Thread-Index: AcWm1xkllOwSo/dzTf2iaPo42/klfQB5EJLQ Message-Id: <20050824145337.CAE464E704@pipa.profix.cz> X-Virus-Scanned: by amavisd-new-20030616-p10 (Debian) at profix.cz Subject: LOR wi vr radix X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: dandee@volny.cz List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Aug 2005 14:53:27 -0000 Here they are: lock order reversal 1st 0xc08cec80 ifnet (ifnet) @ /usr/src/sys/net/if.c:1188 2nd 0xc1612afc wi0 (network driver) @ /usr/src/sys/dev/wi/if_wi.c:656 KDB: stack backtrace: kdb_backtrace(c07dcab1,c1612afc,c160a930,c07c54d7,c07d1694) at kdb_backtrace+0x2e witness_checkorder(c1612afc,9,c07d1694,290,262) at witness_checkorder+0x6c3 _mtx_lock_flags(c1612afc,0,c07d1694,290,18a) at _mtx_lock_flags+0x8a wi_init(c1612000,c07c58b2,4a4,c07d9df8,c087e180) at wi_init+0x3d wi_watchdog(c160fc00,0,c07e2eae,4a4,c087e180) at wi_watchdog+0x5c if_slowtimo(0,0,c07d9df8,107,c05effe0) at if_slowtimo+0x67 softclock(0,0,c07d65ee,251,cc9f6d00) at softclock+0x24e ithread_loop(c155d980,cc9f6d38,c07d63d9,30d,deadc0de) at ithread_loop+0x162 fork_exit(c05569f0,c155d980,cc9f6d38) at fork_exit+0xc1 fork_trampoline() at fork_trampoline+0x8 --- trap 0x1, eip = 0, esp = 0xcc9f6d6c, ebp = 0 --- lock order reversal 1st 0xc1787144 inp (raw6inp) @ /usr/src/sys/netinet6/icmp6.c:1895 2nd 0xc1788090 inp (rawinp) @ /usr/src/sys/netinet6/icmp6.c:1895 KDB: stack backtrace: kdb_backtrace(c07dcab1,c1788090,c07f043f,c07e928d,c07ec854) at kdb_backtrace+0x2e witness_checkorder(c1788090,9,c07ec854,767,12b) at witness_checkorder+0x6c3 _mtx_lock_flags(c1788090,0,c07ec854,767,c25d5658) at _mtx_lock_flags+0x8a icmp6_rip6_input(cc9fcbec,28,38,1,0) at icmp6_rip6_input+0xb6 icmp6_input(cc9fcc94,cc9fcc34,3a,0,0) at icmp6_input+0xdd4 ip6_input(c25d5600,0,c07e3c86,e8,c08cf944) at ip6_input+0xee7 netisr_processqueue(c08cf944,0,c07e3c86,152,c152ad80) at netisr_processqueue+0x8e swi_net(0,0,c07d65ee,251,cc9fcd00) at swi_net+0xa3 ithread_loop(c155d880,cc9fcd38,c07d63d9,30d,deadc0de) at ithread_loop+0x162 fork_exit(c05569f0,c155d880,cc9fcd38) at fork_exit+0xc1 fork_trampoline() at fork_trampoline+0x8 --- trap 0x1, eip = 0, esp = 0xcc9fcd6c, ebp = 0 --- lock order reversal 1st 0xc17490e4 rtentry (rtentry) @ /usr/src/sys/netinet/if_ether.c:445 2nd 0xc15c94b0 rl1 (network driver) @ /usr/src/sys/pci/if_rl.c:1451 KDB: stack backtrace: kdb_backtrace(c07dcab1,c15c94b0,c160a1b0,c07c54d7,c07f401e) at kdb_backtrace+0x2e witness_checkorder(c15c94b0,9,c07f401e,5ab,c07e32bd) at witness_checkorder+0x6c3 _mtx_lock_flags(c15c94b0,0,c07f401e,5ab,c152cc00) at _mtx_lock_flags+0x8a rl_start(c152cc00,1,c07e2eae,836) at rl_start+0x37 if_start(c152cc00,0,c07e32bd,195,202) at if_start+0x99 ether_output_frame(c152cc00,c169c100,6,c0562c28,c169c100) at ether_output_frame+0x218 ether_output(c152cc00,c169c100,cbfe79f0,0,2,c1740001,2302,c07e66e8,1bd,519) at ether_output+0x47e arprequest(c152cc00,c16cfcc8,cbfe7ae4,c15fa6ab,c05998a6) at arprequest+0x109 arpresolve(c152cc00,c1749084,c169a400,cbfe7ae0,cbfe7a64) at arpresolve+0x32d ether_output(c152cc00,c169a400,cbfe7ae0,c1749084,0) at ether_output+0x7b ip_output(c169a400,0,cbfe7adc,0,0) at ip_output+0xb7a icmp_send(c169a400,0,cbfe7b6c,0,0) at icmp_send+0x87 icmp_reflect(c169a400,c169a4c8,14,c169a500,1c) at icmp_reflect+0x330 icmp_error(c169b800,3,1,0,0) at icmp_error+0x275 ip_findroute(cbfe7bec,4400280a,c169b800,1,0) at ip_findroute+0x144 ip_fastforward(c169b800,e,10,3,0) at ip_fastforward+0x49b ether_demux(c152cc00,c169b800,3,0,3) at ether_demux+0x2ef ether_input(c152cc00,c169b800,c07f401e,4b6,0) at ether_input+0x2f5 rl_rxeof(c15c9000,0,c07f401e,549,c160c2c0) at rl_rxeof+0x269 rl_intr(c15c9000,0,c07d65ee,220,cbfe7d00) at rl_intr+0xb5 ithread_loop(c1536780,cbfe7d38,c07d63d9,30d,0) at ithread_loop+0x162 fork_exit(c05569f0,c1536780,cbfe7d38) at fork_exit+0xc1 fork_trampoline() at fork_trampoline+0x8 --- trap 0x1, eip = 0, esp = 0xcbfe7d6c, ebp = 0 --- acquiring duplicate lock of same type: "network driver" 1st wi0 @ /usr/src/sys/dev/wi/if_wi.c:609 2nd rl1 @ /usr/src/sys/pci/if_rl.c:1451 KDB: stack backtrace: kdb_backtrace(c07dca0d,c160a1b0,c07f401e,5ab,80246) at kdb_backtrace+0x2e witness_checkorder(c15c94b0,9,c07f401e,5ab,c07e32bd) at witness_checkorder+0x6c3 _mtx_lock_flags(c15c94b0,0,c07f401e,5ab,c152cc00) at _mtx_lock_flags+0x8a rl_start(c152cc00,1,c07e2eae,836) at rl_start+0x37 if_start(c152cc00,0,c07e32bd,195,2) at if_start+0x99 ether_output_frame(c152cc00,c169ab00,6,cbfe1b3c,cbfe1ae0) at ether_output_frame+0x218 ether_output(c152cc00,c169ab00,cbfe1b3c,c1749084,0) at ether_output+0x47e ip_fastforward(c169ab00,e,10,3,0) at ip_fastforward+0x863 ether_demux(c160fc00,c169ab00,3,0,3) at ether_demux+0x2ef ether_input(c160fc00,c169ab00,18,18,447) at ether_input+0x2f5 ieee80211_input(c1612004,c169ab00,c16c3000,22,c58047) at ieee80211_input+0xaa7 wi_rx_intr(c1612000,0,c07d1694,261,c1607dc0) at wi_rx_intr+0x506 wi_intr(c1612000,0,c07d65ee,220,cbfe1d00) at wi_intr+0x162 ithread_loop(c1536880,cbfe1d38,c07d63d9,30d,0) at ithread_loop+0x162 fork_exit(c05569f0,c1536880,cbfe1d38) at fork_exit+0xc1 fork_trampoline() at fork_trampoline+0x8 --- trap 0x1, eip = 0, esp = 0xcbfe1d6c, ebp = 0 --- acquiring duplicate lock of same type: "network driver" 1st wi0 @ /usr/src/sys/dev/wi/if_wi.c:609 2nd vr0 @ /usr/src/sys/pci/if_vr.c:1389 KDB: stack backtrace: kdb_backtrace(c07dca0d,c160d290,c07f5b77,56d,80246) at kdb_backtrace+0x2e witness_checkorder(c15d8938,9,c07f5b77,56d,c07e32bd) at witness_checkorder+0x6c3 _mtx_lock_flags(c15d8938,0,c07f5b77,56d,c1620800) at _mtx_lock_flags+0x8a vr_start(c1620800,1,c07e2eae,836) at vr_start+0x37 if_start(c1620800,0,c07e32bd,195,2) at if_start+0x99 ether_output_frame(c1620800,c169ca00,6,c1793290,cbfe19b0) at ether_output_frame+0x218 ether_output(c1620800,c169ca00,c1793290,c174a738,0) at ether_output+0x47e ip_output(c169ca00,0,cbfe1a28,0,0) at ip_output+0xb7a icmp_send(c169ca00,0,cbfe1ab8,0,0) at icmp_send+0x87 icmp_reflect(c169ca00,c169cac8,14,c169cb00,1c) at icmp_reflect+0x330 icmp_error(c169b300,3,1,0,0) at icmp_error+0x275 ip_findroute(cbfe1b38,d0a280a,c169b300,1,0) at ip_findroute+0x144 ip_fastforward(c169b300,e,10,3,0) at ip_fastforward+0x49b ether_demux(c160fc00,c169b300,3,0,3) at ether_demux+0x2ef ether_input(c160fc00,c169b300,18,18,447) at ether_input+0x2f5 ieee80211_input(c1612004,c169b300,c1641000,23,9a5f0d) at ieee80211_input+0xaa7 wi_rx_intr(c1612000,0,c07d1694,261,c1607dc0) at wi_rx_intr+0x506 wi_intr(c1612000,0,c07d65ee,220,cbfe1d00) at wi_intr+0x162 ithread_loop(c1536880,cbfe1d38,c07d63d9,30d,0) at ithread_loop+0x162 fork_exit(c05569f0,c1536880,cbfe1d38) at fork_exit+0xc1 fork_trampoline() at fork_trampoline+0x8 --- trap 0x1, eip = 0, esp = 0xcbfe1d6c, ebp = 0 --- lock order reversal 1st 0xc15d8938 vr0 (network driver) @ /usr/src/sys/pci/if_vr.c:806 2nd 0xc087e180 Giant (Giant) @ /usr/src/sys/kern/kern_synch.c:236 KDB: stack backtrace: kdb_backtrace(c07dcab1,c087e180,c07d832b,c07d832b,c07d94cd) at kdb_backtrace+0x2e witness_checkorder(c087e180,9,c07d94cd,ec,c087e140) at witness_checkorder+0x6c3 _mtx_lock_flags(c087e180,0,c07d94cd,ec,0) at _mtx_lock_flags+0x8a msleep(c1615600,c155dc80,a0,c07d6679,0) at msleep+0x4b4 ithread_remove_handler(c1615600,d1405a90,c0787071,c1615600,d1405ab8) at ithread_remove_handler+0x155 intr_remove_handler(c1615600,d1405ab8,c05896d5,c155d100,c15e2d80) at intr_remove_handler+0x11 nexus_teardown_intr(c155d100,c15e2d80,c1615b80,c1615600,c15e2d80) at nexus_teardown_intr+0x11 bus_generic_teardown_intr(c15e2380,c15e2d80,c1615b80,c1615600,c15e2d80) at bus_generic_teardown_intr+0x75 bus_generic_teardown_intr(c15e1e80,c15e2d80,c1615b80,c1615600,c15e2d80) at bus_generic_teardown_intr+0x75 bus_generic_teardown_intr(c15e2780,c15e2d80,c1615b80,c1615600,c15e2d80) at bus_generic_teardown_intr+0x75 bus_teardown_intr(c15e2d80,c1615b80,c1615600,326,c1620800) at bus_teardown_intr+0x72 vr_detach(c15e2d80,d1405b7c,c05889bf,c15e2d80,c1581028) at vr_detach+0x114 vr_shutdown(c15e2d80,c1581028,c0824378) at vr_shutdown+0x11 device_shutdown(c15e2d80,c15e2780,d1405ba4,c05889bf,c15e2780) at device_shutdown+0x4f bus_generic_shutdown(c15e2780,c15bb028,c0824378) at bus_generic_shutdown+0x28 device_shutdown(c15e2780,c15e1e80,d1405bcc,c05889bf,c15e1e80) at device_shutdown+0x4f bus_generic_shutdown(c15e1e80,c15ba028,c0824378) at bus_generic_shutdown+0x28 device_shutdown(c15e1e80,c15e2380,d1405bf4,c09e79d5,c15e2380) at device_shutdown+0x4f bus_generic_shutdown(c15e2380,1,c0a02e3d,2a2,d1405c0c) at bus_generic_shutdown+0x28 acpi_shutdown(c15e2380,c15bf828,c0824378) at acpi_shutdown+0x35 device_shutdown(c15e2380,c155d100,d1405c34,c05889bf,c155d100) at device_shutdown+0x4f bus_generic_shutdown(c155d100,c15a4828,c0824378) at bus_generic_shutdown+0x28 device_shutdown(c155d100,c155d580,d1405c5c,c05889bf,c155d580) at device_shutdown+0x4f bus_generic_shutdown(c155d580,c157b028,c0824378) at bus_generic_shutdown+0x28 device_shutdown(c155d580,c1520000,c152000c,d1405c88,c05634c5) at device_shutdown+0x4f root_bus_module_handler(c1528200,2,0,c1503aa0,d1405cbc) at root_bus_module_handler+0xcf module_shutdown(0,0,c07d8cd9,190,0) at module_shutdown+0x55 boot(0,0,c07d8cd9,a1,d1405d30) at boot+0x690 reboot(c1920a80,d1405d04,4,421,1) at reboot+0x46 syscall(3b,3b,3b,0,54) at syscall+0x2c0 Xint0x80_syscall() at Copyright (c) 1992-2005 The FreeBSD Project. lock order reversal 1st 0xc1612afc wi0 (network driver) @ /usr/src/sys/dev/wi/if_wi.c:609 2nd 0xc163027c radix node head (radix node head) @ /usr/src/sys/net/route.c:148 KDB: stack backtrace: kdb_backtrace(c07dcab1,c163027c,c07dc558,c07dc558,c07e401e) at kdb_backtrace+0x2e witness_checkorder(c163027c,9,c07e401e,94,cbfe1a70) at witness_checkorder+0x6c3 _mtx_lock_flags(c163027c,0,c07e401e,94,c0598fd0) at _mtx_lock_flags+0x8a rtalloc1(cbfe1b3c,1,100,0,cbfe1b38) at rtalloc1+0x79 rtalloc_ign(cbfe1b38,100,0,c1696400,200280a) at rtalloc_ign+0xda ip_findroute(cbfe1b38,200280a,c1696400,1,0) at ip_findroute+0x3c ip_fastforward(c1696400,e,10,3,0) at ip_fastforward+0x49b ether_demux(c160fc00,c1696400,3,0,3) at ether_demux+0x2ef ether_input(c160fc00,c1696400,18,18,447) at ether_input+0x2f5 ieee80211_input(c1612004,c1696400,c1608800,21,15428a7) at ieee80211_input+0xaa7 wi_rx_intr(c1612000,0,c07d1694,261,c1607dc0) at wi_rx_intr+0x506 wi_intr(c1612000,0,c07d65ee,220,cbfe1d00) at wi_intr+0x162 ithread_loop(c1536880,cbfe1d38,c07d63d9,30d,0) at ithread_loop+0x162 fork_exit(c05569f0,c1536880,cbfe1d38) at fork_exit+0xc1 fork_trampoline() at fork_trampoline+0x8 --- trap 0x1, eip = 0, esp = 0xcbfe1d6c, ebp = 0 --- Dan