[vortex] Problem with 3com 10/100 Mini PCI adapter (3c556B?) under 2.2.19

Akihiko YAMAMOTO (=?iso-2022-jp?B?GyRCOzNLXExASScbKEI=?=) star@eos.hokudai.ac.jp
Fri, 06 Jul 2001 10:05:52 +0900 (JST)


Sorry for long threads.

;; "bogdan>" == bogdan.costescu@iwr.uni-heidelberg.de (Bogdan Costescu) wrote:

bogdan> My guess is that selecting transceiver 0 is bogus. 

Ummm...

bogdan> Please try to play with mii-diag. I'd be interested to see the
bogdan> results from 'mii-diag -p 24 -v',

This gives exactly the same results for my cases (a) and (b) under
2.4.6.  Is this bogus? Note that the internal adapter works properly
only in case (a).

======= mii-diag ============================================================
# ./mii-diag -p 24 -v
mii-diag.c:v2.02 5/21/2001 Donald Becker (becker@scyld.com)
 http://www.scyld.com/diag/index.html
Using the default interface 'eth0'.
Using the specified MII PHY index 24.
  No MII transceiver present!.
 MII PHY #24 transceiver registers:
   ffff ffff ffff ffff ffff ffff ffff ffff
   ffff ffff ffff ffff ffff ffff ffff ffff
   ffff ffff ffff ffff ffff ffff ffff ffff
   ffff ffff ffff ffff ffff ffff ffff ffff.
  No MII transceiver present!.
======= mii-diag ============================================================

Here I show again "mii-diag -v" for both cases (a) and (b)
under the kernel 2.4.6.

======= case (a) ============================================================
# ./mii-diag -v
mii-diag.c:v2.02 5/21/2001 Donald Becker (becker@scyld.com)
 http://www.scyld.com/diag/index.html
Using the default interface 'eth0'.
 The autonegotiated capability is 01e0.
The autonegotiated media type is 100baseTx-FD.
 Basic mode control register 0x3000: Auto-negotiation enabled.
 You have link beat, and everything is working OK.
   This transceiver is capable of  100baseTx-FD 100baseTx 10baseT-FD 10baseT.
   Able to perform Auto-negotiation, negotiation complete.
 Your link partner advertised 41e1: 100baseTx-FD 100baseTx 10baseT-FD 10baseT.
   End of basic transceiver informaion.

 MII PHY #0 transceiver registers:
   3000 786d 0022 561b 01e1 41e1 0005 2801
   ffff ffff ffff ffff ffff ffff ffff ffff
   01c0 0000 0e99 8020 4f02 0304 0026 0000
   0000 cfbf 0000 ffff ffff ffff ffff ffff.
 Basic mode control register 0x3000: Auto-negotiation enabled.
 Basic mode status register 0x786d ... 786d.
   Link status: established.
   Capable of  100baseTx-FD 100baseTx 10baseT-FD 10baseT.
   Able to perform Auto-negotiation, negotiation complete.
 Vendor ID is 00:08:95:--:--:--, model 33 rev. 11.
   Vendor/Part: AdHoc Technology AH101LF.
 I'm advertising 01e1: 100baseTx-FD 100baseTx 10baseT-FD 10baseT
   Advertising no additional info pages.
   IEEE 802.3 CSMA/CD protocol.
 Link partner capability is 41e1: 100baseTx-FD 100baseTx 10baseT-FD 10baseT.
   Negotiation  completed.
  TDK format vendor-specific registers 16..18 are 0x01c0 0x0000 0x0e99
      Link polarity is detected as normal.
      Auto-negotiation complete, 100Mbps full duplex.
      Rx link in pass state, PLL locked.
      No new link status events.
======= case (a) ============================================================


======= case (b) ============================================================
# ./mii-diag -v
mii-diag.c:v2.02 5/21/2001 Donald Becker (becker@scyld.com)
 http://www.scyld.com/diag/index.html
Using the default interface 'eth0'.
 Basic mode control register 0x3000: Auto-negotiation enabled.
 Basic mode status register 0x7849 ... 7849.
   Link status: not established.
   This transceiver is capable of  100baseTx-FD 100baseTx 10baseT-FD 10baseT.
   Able to perform Auto-negotiation, negotiation not complete.
   End of basic transceiver informaion.

 MII PHY #0 transceiver registers:
   3000 7849 0022 561b 01e1 0001 0004 2001
   ffff ffff ffff ffff ffff ffff ffff ffff
   01c0 0000 0000 8020 4f02 0304 0026 0000
   0000 bfbf 0000 ffff ffff ffff ffff ffff.
 Basic mode control register 0x3000: Auto-negotiation enabled.
 Basic mode status register 0x7849 ... 7849.
   Link status: not established.
   Capable of  100baseTx-FD 100baseTx 10baseT-FD 10baseT.
   Able to perform Auto-negotiation, negotiation not complete.
 Vendor ID is 00:08:95:--:--:--, model 33 rev. 11.
   Vendor/Part: AdHoc Technology AH101LF.
 I'm advertising 01e1: 100baseTx-FD 100baseTx 10baseT-FD 10baseT
   Advertising no additional info pages.
   IEEE 802.3 CSMA/CD protocol.
 Link partner capability is 0001:.
   Negotiation did not complete.
  TDK format vendor-specific registers 16..18 are 0x01c0 0x0000 0x0000
      Link polarity is detected as normal.
      Auto-negotiation complete, 10Mbps half duplex.
      Rx link in fail state, PLL locked.
      No new link status events.
======= case (b) ============================================================

Here I can find "Link status: not established." or "negotiation not
complete."  in case (b).

Any ideas?

Thanks.

-- 
Akihiko
star@eos.hokudai.ac.jp
---------------------------------------
Fatal Error # 0x155 : Windows not found.
(C)heer  (P)arty  (D)ance