Re: ste driver broken

2002-09-09 Thread Doug Ambrisko

Francois Tigeot writes:
[ Charset ISO-8859-1 unsupported, converting... ]
| 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 0xe900-0xe97f 
|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

I'd like to send you some code to test out.  It looks like a 550 is different
from a 580 part.  I need to do some testing.

Thanks,

Doug A.

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message



ste driver broken

2002-09-08 Thread Francois Tigeot

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 0xe900-0xe97f 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 0xe900-0xe97f 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:[EMAIL PROTECTED]

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message