[vortex] 3c905CX-TXM

Berkan Eskikaya berkan@runtime-collective.com
Thu, 23 Nov 2000 20:18:32 +0000


On Thu, Nov 23, 2000 at 20:31, Bogdan Costescu wrote:
>
> What if the driver gets the MII registers address wrong ?
> My Tornado cards produce the init sequence containing:
> 
> MII transceiver found at address 24, status 782d.
> 
> >From what I've seen in the previous message, the init sequence finds 2
> transceivers, at address 1 and 2, which I find a little strange.
> So, can you try running 'mii-diag -p 24 eth1' ? 

We'll there is a definite change; mii-diag now reports link beat, but
I still cannot ping anywhere.

Here's the sequence:

$ insmod pci-scan.o debug=7
$ insmod 3c59x-t.o debug=7
$ ifconfig eth1 11.0.0.1 netmask 255.255.255.0 up
$ mii-diag eth1

Basic registers of MII PHY #1:  0000 0020 0000 0000 01e0 40a1 0003 0800.
 Basic mode control register 0x0000: Auto-negotiation disabled, with
 Speed fixed at 10 mbps, half-duplex.
 Basic mode status register 0x0020 ... 0020.
   Link status: not established.
 Your link partner advertised 40a1: 100baseTx 10baseT.

$ ping 11.0.0.2
PING 11.0.0.2 (11.0.0.2): 56 data bytes

--- 11.0.0.2 ping statistics ---
3 packets transmitted, 0 packets received, 100% packet loss

$ mii-diag -p 24 eth1

Using the specified MII PHY index 24.
Basic registers of MII PHY #24:  3000 7829 0041 6800 05e1 40a1 0007 2801.
 Basic mode control register 0x3000: Auto-negotiation enabled.
 Basic mode status register 0x7829 ... 782d.
   Link status: previously broken, but now reestablished.
 Your link partner advertised 40a1: 100baseTx 10baseT.

$ ping 11.0.0.2
PING 11.0.0.2 (11.0.0.2): 56 data bytes

--- 11.0.0.2 ping statistics ---
3 packets transmitted, 0 packets received, 100% packet loss

$ mii-diag eth1

Basic registers of MII PHY #1:  0000 0024 0000 0000 01e0 40a1 0003 0800.
 Basic mode control register 0x0000: Auto-negotiation disabled, with
 Speed fixed at 10 mbps, half-duplex.
 You have link beat, and everything is working OK.
 Your link partner advertised 40a1: 100baseTx 10baseT.

$ mii-diag -p 24 eth1

Using the specified MII PHY index 24.
Basic registers of MII PHY #24:  3000 782d 0041 6800 05e1 40a1 0007 2801.
 Basic mode control register 0x3000: Auto-negotiation enabled.
 You have link beat, and everything is working OK.
 Your link partner advertised 40a1: 100baseTx 10baseT.













> 
> Another (bad) ideea: can you try to run the DOS diagnostic program from
> 3Com ?
> 
> Sincerely,
> 
> Bogdan Costescu
> 
> IWR - Interdisziplinaeres Zentrum fuer Wissenschaftliches Rechnen
> Universitaet Heidelberg, INF 368, D-69120 Heidelberg, GERMANY
> Telephone: +49 6221 54 8869, Telefax: +49 6221 54 8868
> E-mail: Bogdan.Costescu@IWR.Uni-Heidelberg.De
>