Date: Sun, 8 Sep 2002 12:28:20 +0200 From: Francois Tigeot <francois.tigeot@nic.fr> To: current@FreeBSD.ORG Cc: freebsd-net@FreeBSD.ORG Subject: ste driver broken Message-ID: <20020908102820.GA71874@brazil.nic.fr>
next in thread | raw e-mail | index | archive | help
Greetings, I recently upgraded one machine to a recent -CURRENT, and the NIC (DLink 550 TX) fails to be properly initialized. The rest of the system is pretty vanilla : Athlon XP, with Via chipset. Here is the relevant part of dmesg: ste0: <D-Link DFE-550TX 10/100BaseTX> port 0x9800-0x987f mem 0xe9000000-0xe900007f irq 7 at device 11.0 on pci0 /usr/src/sys/vm/uma_core.c:1332: could sleep with "ste0" locked from /usr/src/sys/pci/if_ste.c:937 /usr/src/sys/vm/uma_core.c:1332: could sleep with "ste0" locked from /usr/src/sys/pci/if_ste.c:937 lock order reversal 1st 0xc25b69a4 ste0 (network driver) @ /usr/src/sys/pci/if_ste.c:937 2nd 0xc0318600 allproc (allproc) @ /usr/src/sys/kern/kern_fork.c:317 /usr/src/sys/vm/uma_core.c:1332: could sleep with "ste0" locked from /usr/src/sys/pci/if_ste.c:937 /usr/src/sys/vm/uma_core.c:1332: could sleep with "ste0" locked from /usr/src/sys/pci/if_ste.c:937 /usr/src/sys/vm/uma_core.c:1332: could sleep with "ste0" locked from /usr/src/sys/pci/if_ste.c:937 ste0: Ethernet address: 00:50:ba:71:be:ea ste0: MII without any phy! device_probe_and_attach: ste0 attach returned 6 By replacing the current version of /usr/src/sys/pci/if_ste.c by version 1.33 I am able to obtain a correctly working system. This is a part of the new dmesg: ste0: <D-Link DFE-550TX 10/100BaseTX> port 0x9800-0x987f mem 0xe9000000-0xe900007f irq 7 at device 11.0 on pci0 /usr/src/sys/vm/uma_core.c:1332: could sleep with "ste0" locked from /usr/src/sys/pci/if_ste.c:906 /usr/src/sys/vm/uma_core.c:1332: could sleep with "ste0" locked from /usr/src/sys/pci/if_ste.c:906 lock order reversal 1st 0xc26039a4 ste0 (network driver) @ /usr/src/sys/pci/if_ste.c:906 2nd 0xc0487c00 allproc (allproc) @ /usr/src/sys/kern/kern_fork.c:317 /usr/src/sys/vm/uma_core.c:1332: could sleep with "ste0" locked from /usr/src/sys/pci/if_ste.c:906 /usr/src/sys/vm/uma_core.c:1332: could sleep with "ste0" locked from /usr/src/sys/pci/if_ste.c:906 /usr/src/sys/vm/uma_core.c:1332: could sleep with "ste0" locked from /usr/src/sys/pci/if_ste.c:906 ste0: Ethernet address: 00:50:ba:71:be:ea miibus0: <MII bus> on ste0 ukphy0: <Generic IEEE 802.3u media interface> on miibus0 ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto /usr/src/sys/vm/uma_core.c:1332: could sleep with "ste0" locked from /usr/src/sys/pci/if_ste.c:244 The main difference between the working and current revision of if_ste.c is very small and doesn't add anything new. I think it should be removed. -- François Tigeot | AFNIC http://www.nic.fr/ | mailto:nic@nic.fr To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020908102820.GA71874>