From owner-freebsd-current Wed Feb 19 23:48:58 2003 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 802CC37B401 for ; Wed, 19 Feb 2003 23:48:56 -0800 (PST) Received: from mailspool.ops.uunet.co.za (mailspool.ops.uunet.co.za [196.7.0.140]) by mx1.FreeBSD.org (Postfix) with ESMTP id 03B2443F3F for ; Wed, 19 Feb 2003 23:48:53 -0800 (PST) (envelope-from ianf@wcom.com) Received: from copernicus.so.cpt1.za.uu.net ([196.30.72.32]) by mailspool.ops.uunet.co.za with esmtp (Exim 3.36 #1) id 18llRq-000F84-00 for freebsd-current@freebsd.org; Thu, 20 Feb 2003 09:48:50 +0200 Received: from localhost ([127.0.0.1] helo=wcom.com) by copernicus.so.cpt1.za.uu.net with esmtp (Exim 3.36 #1) id 18llRq-000ODI-00 for freebsd-current@FreeBSD.org; Thu, 20 Feb 2003 09:48:50 +0200 To: freebsd-current@FreeBSD.org Subject: LOR in pcn driver (and pcn driver may be broken) From: ianf@za.uu.net X-image-url: http://www.digs.iafrica.com/gallery/ian-small.gif X-BOFH: true X-LART: Depleted uranium X-No-Junk-Mail: I do not want to get *any* junk mail. You have been deleted. Date: Thu, 20 Feb 2003 09:48:50 +0200 Message-ID: <93079.1045727330@wcom.com> Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi I got this yesterday on my SMP system current as of yesterday: pcn0: port 0xe800-0xe81f mem 0xea001000-0xea00101f irq 16 at device 9.0 on pci0 ../../../vm/uma_core.c:1330: could sleep with "pcn0" locked from ../../../pci/if_pcn.c:524 ../../../vm/uma_core.c:1330: could sleep with "pcn0" locked from ../../../pci/if_pcn.c:524 lock order reversal 1st 0xc3860e88 pcn0 (network driver) @ ../../../pci/if_pcn.c:524 2nd 0xc0343660 allproc (allproc) @ ../../../kern/kern_fork.c:328 Stack backtrace: backtrace(c031afb6,c0343660,c0317d4f,c0317d4f,c031615f) at backtrace+0x17 witness_lock(c0343660,8,c031615f,148,0) at witness_lock+0x660 _sx_xlock(c0343660,c031615f,148,fa,0) at _sx_xlock+0xb2 fork1(c033eae0,60034,0,c043d994,c0d16f6b) at fork1+0x23d kthread_create(c01c5210,c0d16f00,c043d9c4,60000,0) at kthread_create+0x48 ithread_create(c043d9f8,10,0,c02e0410,c02e03a0) at ithread_create+0xda inthand_add(c0d00dc0,10,c0263da0,c3860800,4) at inthand_add+0x9e nexus_setup_intr(c0d15880,c385f300,c38671c0,4,c0263da0) at nexus_setup_intr+0x85 bus_generic_setup_intr(c0d15800,c385f300,c38671c0,4,c0263da0) at bus_generic_setup_intr+0xa2 bus_generic_setup_intr(c0d15700,c385f300,c38671c0,4,c0263da0) at bus_generic_setup_intr+0xa2 bus_generic_setup_intr(c0d15680,c385f300,c38671c0,4,c0263da0) at bus_generic_setup_intr+0xa2 bus_setup_intr(c385f300,c38671c0,4,c0263da0,c3860800) at bus_setup_intr+0xa5 pcn_attach(c385f300,c380f098,c0335270,c0186b5e,c385f500) at pcn_attach+0x69b device_probe_and_attach(c385f300,0,c043dc0c,c0186ce6,c0d15680) at device_probe_and_attach+0xb0 bus_generic_attach(c0d15680,0,58,c043dbfc,c0d15680,0) at bus_generic_attach+0x28 pci_attach(c0d15680,c380a098,c0335270,c0328e72,0) at pci_attach+0xa6 device_probe_and_attach(c0d15680,c382f070,c043dc78,c02e398f,c0d15700) at device_probe_and_attach+0xb0 bus_generic_attach(c0d15700,c0328e72,0,c043dc68,c0d15700) at bus_generic_attach+0x28 nexus_pcib_attach(c0d15700,c3834098,c0335270,c035ce00,c0d00290) at nexus_pcib_attach+0x8f device_probe_and_attach(c0d15700,c0d15800,c043dcdc,c02ce29c,c0d15800) at device_probe_and_attach+0xb0 bus_generic_attach(c0d15800,0,c0d003a0,c0d0d280,c0d15800) at bus_generic_attach+0x28 legacy_attach(c0d15800,c382f098,c0335270,c3837170,c035cbe0) at legacy_attach+0x1c device_probe_and_attach(c0d15800,c0d15880,c043dd2c,c02d5edc,c0d15880) at device_probe_and_attach+0xb0 bus_generic_attach(c0d15880,c0d15880,c043dd5c,c01ec8b0,c0d15880) at bus_generic_attach+0x28 nexus_attach(c0d15880,c3829098,c0335270,c032a7ac,0) at nexus_attach+0x1c device_probe_and_attach(c0d15880,c033018c,c043dd80,c02c04ce,c0d15c00) at device_probe_and_attach+0xb0 root_bus_configure(c0d15c00,c032a7ac,0,c043dd98,c01b3225) at root_bus_configure+0x28 configure(0,43a000,43ac00,43a000,0) at configure+0x2e mi_startup() at mi_startup+0xb5 begin() at begin+0x2c ../../../vm/uma_core.c:1330: could sleep with "pcn0" locked from ../../../pci/if_pcn.c:524 ../../../vm/uma_core.c:1330: could sleep with "pcn0" locked from ../../../pci/if_pcn.c:524 ../../../vm/uma_core.c:1330: could sleep with "pcn0" locked from ../../../pci/if_pcn.c:524 pcn0: Ethernet address: 00:60:b0:b6:d9:ee miibus1: on pcn0 lxtphy0: on miibus1 lxtphy0: 100baseFX, 100baseFX-FDX, 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto ../../../vm/uma_core.c:1330: could sleep with "pcn0" locked from ../../../pci/if_pcn.c:524 Also, the card sees link and correctly autodetects the link speed, but the driver does not seem to be able to get packets onto the wire, or read packets from the wire. Ian To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message