[vortex] A 3c905B behaving strange

Antti T J Granqvist granqvis@cc.helsinki.fi
Fri Nov 15 09:11:03 2002


>
> Well, your last vortex-diag dump revealed that autonegotiation was
> working. So I would say to try first to limit autonegotiation by using
> 'mii-diag -A 10baseT-HD' and only then '-F 10baseT-HD' which should
> disable autonegotiation.
>
> Note to Donald: maybe I'm too blind to see it now, but my copy of
> mii-diag does not allow to advertise some more complex media combination,
> like "10baseT-HD and 100baseTx-HD" which I think might be worth adding.
>
> > Do I have to reload the driver module without parameters before that?
>
After reloading the driver module with only debug parameters I ran
following vortex and 3 ./mii-diag commands:
[root@fisrv002 root]# ./vortex-diag -af
vortex-diag.c:v2.09 9/18/2002 Donald Becker (becker@scyld.com)
 http://www.scyld.com/diag/index.html
Index #1: Found a 3c905B Cyclone 100baseTx adapter at 0x9100.
Initial window 4, registers values by window:
  Window 0: 0000 0000 0000 0000 5555 00bf 0000 0000.
  Window 1: 0000 0000 0000 0000 0000 0000 0000 2000.
  Window 2: 1000 985a a327 0000 0000 0000 000a 4000.
  Window 3: 0000 0180 05ea 0020 000a 0800 0758 6000.
  Window 4: 0000 0000 0000 0ed8 0001 98e0 0000 8000.
  Window 5: 1ffc 0000 0000 0600 0807 06ce 06c6 a000.
  Window 6: 0000 0000 0000 2900 0000 0ca0 129f c000.
  Window 7: 0000 0000 0000 0000 0000 0000 0000 e000.
Vortex chip registers at 0x9100
  0x9110: 00000000 00000000 0000003e 00000000
  0x9120: 00000020 00000000 00080000 00000004
  0x9130: 00000000 fa8d0573 104e91d0 00080004
 Indication enable is 06c6, interrupt enable is 06ce.
 No interrupt sources are pending.
 Transceiver/media interfaces available:  100baseTx 10baseT.
Transceiver type in use:  Autonegotiate.
 MAC settings: full-duplex.
 Station address set to 00:10:5a:98:27:a3.
 Configuration options 000a.

[root@fisrv002 root]# ./mii-diag
Using the default interface 'eth0'.
Basic registers of MII PHY #0:  c000 c000 c000 c000 c000 c000 c000 c000.
 The autonegotiated capability is 0000.
No common media type was autonegotiated!
This is extremely unusual and typically indicates a configuration error.
Perhaps the advertised capability set was intentionally limited.
 Basic mode control register 0xc000: Auto-negotiation disabled, with
 Speed fixed at 10 mbps, half-duplex.
  Transceiver in loopback mode!
  Transceiver currently being reset!
 Basic mode status register 0xc000 ... c000.
   Link status: not established.
 Your link partner advertised c000:.
   End of basic transceiver information.

[root@fisrv002 root]# ./mii-diag -v -A 10baseT-HD
mii-diag.c:v2.06 8/7/2002 Donald Becker (becker@scyld.com)
 http://www.scyld.com/diag/index.html
Using the default interface 'eth0'.
  Using the new SIOCGMIIPHY value on PHY 0 (BMCR 0xc000).
 Setting the media capability advertisement register of PHY #0 to 0x0021.
 The autonegotiated capability is 0000.
No common media type was autonegotiated!
This is extremely unusual and typically indicates a configuration error.
Perhaps the advertised capability set was intentionally limited.
 Basic mode control register 0xc000: Auto-negotiation disabled, with
 Speed fixed at 10 mbps, half-duplex.
  Transceiver in loopback mode!
  Transceiver currently being reset!
 Basic mode status register 0xc000 ... c000.
   Link status: not established.
   This transceiver is capable of  100baseT4 100baseTx-FD.
   Unable to perform Auto-negotiation, negotiation not complete.
 Your link partner advertised c000:.
   End of basic transceiver information.

 MII PHY #0 transceiver registers:
   c000 c000 c000 c000 c000 c000 c000 c000
   c000 c000 c000 c000 c000 c000 c000 c000
   c000 c000 c000 c000 c000 c000 c000 c000
   c000 c000 c000 c000 c000 c000 c000 c000.
 Basic mode control register 0xc000: Auto-negotiation disabled!
   Speed fixed at 10 mbps, half-duplex.
  Transceiver currently being reset!
  Transceiver in loopback mode!
 Basic mode status register 0xc000 ... c000.
   Link status: not established.
   Capable of  100baseT4 100baseTx-FD.
   Unable to perform Auto-negotiation, negotiation not complete.
 This transceiver has no vendor identification.
 I'm advertising c000:
   Advertising additional info pages.
   Using an unknown (non 802.3) encapsulation.
 Link partner capability is c000:.
   Negotiation  completed.

[root@fisrv002 root]# ./mii-diag -v -F 10baseT-HD
mii-diag.c:v2.06 8/7/2002 Donald Becker (becker@scyld.com)
 http://www.scyld.com/diag/index.html
Using the default interface 'eth0'.
  Using the new SIOCGMIIPHY value on PHY 0 (BMCR 0xc000).
Setting the speed to "fixed", Control register 0000.
 The autonegotiated capability is 0000.
No common media type was autonegotiated!
This is extremely unusual and typically indicates a configuration error.
Perhaps the advertised capability set was intentionally limited.
 Basic mode control register 0xc000: Auto-negotiation disabled, with
 Speed fixed at 10 mbps, half-duplex.
  Transceiver in loopback mode!
  Transceiver currently being reset!
 Basic mode status register 0xc000 ... c000.
   Link status: not established.
   This transceiver is capable of  100baseT4 100baseTx-FD.
   Unable to perform Auto-negotiation, negotiation not complete.
 Your link partner advertised c000:.
   End of basic transceiver information.

 MII PHY #0 transceiver registers:
   c000 c000 c000 c000 c000 c000 c000 c000
   c000 c000 c000 c000 c000 c000 c000 c000
   c000 c000 c000 c000 c000 c000 c000 c000
   c000 c000 c000 c000 c000 c000 c000 c000.
 Basic mode control register 0xc000: Auto-negotiation disabled!
   Speed fixed at 10 mbps, half-duplex.
  Transceiver currently being reset!
  Transceiver in loopback mode!
 Basic mode status register 0xc000 ... c000.
   Link status: not established.
   Capable of  100baseT4 100baseTx-FD.
   Unable to perform Auto-negotiation, negotiation not complete.
 This transceiver has no vendor identification.
 I'm advertising c000:
   Advertising additional info pages.
   Using an unknown (non 802.3) encapsulation.
 Link partner capability is c000:.
   Negotiation  completed.

And the card remains full-duplex. At this point I get confused, what is
going on here?

--
Antti
> --
> 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
>
>