Problem with connection of EtherExpress Pro100 to a 10/100 switch
Ricardo Jorge da Fonseca Marques Ferreira <[email protected]> Thu, 16 Oct 2003 05:40:16 +0100
| Newsgroups | gmane.linux.drivers.eepro100.devel |
|---|---|
| Message-ID | <[email protected]> |
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Please CC me as i'm not on the list. If i sent this to the wrong list, please tell me the right one. I'm running linux 2.4.22 and recently moved from a longshine 8 port 10/100 switch to a 16 port 10/100 switch also from longshine. I reconnected all my rtl8139 based cards with no problems. I also reconnected a EtherExpress Pro100 to it and it reports from mii-tool: eth0: negotiated 100baseTx-FD flow-control, link ok ... but when i reconnected my other EtherExpress Pro100 (this one is an onboard one), it apparently cant autonegotiate with the switch no matter how much time i give it. The only way to get link is forcing the speed to 100BaseTx-FD. It works fine after that, desconnecting and reconnecting the cable. Except, the problem comes back when i power off & on the system. These cards are on different machines. I'm using the kernel driver eepro100.o The card that works: - ----- eth0: Intel Corp. 82557 [Ethernet Pro 100], 00:90:27:35:CF:56, IRQ 9. Receiver lock-up bug exists -- enabling work-around. Board assembly 689661-004, Physical connectors present: RJ45 Primary interface chip i82555 PHY #1. General self-test: passed. Serial sub-system self-test: passed. Internal registers self-test: passed. ROM checksum self-test: passed (0x24c9f043). Receiver lock-up workaround activated. - ----- The card that doesnt: - ----- eth0: OEM i82557/i82558 10/100 Ethernet, 00:10:DC:C0:27:9B, IRQ 11. Board assembly 727095-004, Physical connectors present: RJ45 Primary interface chip i82555 PHY #1. General self-test: passed. Serial sub-system self-test: passed. Internal registers self-test: passed. ROM checksum self-test: passed (0x04f4518b). - ----- This is the output of mii-diag -v on the non-working card (after i fixed the speed): - ------- mii-diag.c:v2.09 9/06/2003 Donald Becker ([email protected]) http://www.scyld.com/diag/index.html Using the default interface 'eth0'. Using the new SIOCGMIIPHY value on PHY 1 (BMCR 0x2100). Basic mode control register 0x2100: Auto-negotiation disabled, with Speed fixed at 100 mbps, full-duplex. 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 not complete. Your link partner is generating 100baseTx link beat (no autonegotiation). End of basic transceiver information. libmii.c:v2.10 4/22/2003 Donald Becker ([email protected]) http://www.scyld.com/diag/index.html MII PHY #1 transceiver registers: 2100 780d 02a8 0154 05e1 05e1 0001 0000 0000 0000 0000 0000 0000 0000 0000 0000 0a03 0000 0001 0000 0000 0000 0000 0000 0000 0000 0de0 0000 0000 0000 0000 0000. Basic mode control register 0x2100: Auto-negotiation disabled! Speed fixed at 100 mbps, full-duplex. Basic mode status register 0x780d ... 780d. Link status: established. Capable of 100baseTx-FD 100baseTx 10baseT-FD 10baseT. Able to perform Auto-negotiation, negotiation not complete. Vendor ID is 00:aa:00:--:--:--, model 21 rev. 4. Vendor/Part: Intel 82559 transceiver. I'm advertising 05e1: Flow-control 100baseTx-FD 100baseTx 10baseT-FD 10baseT Advertising no additional info pages. IEEE 802.3 CSMA/CD protocol. Link partner capability is 05e1: Flow-control 100baseTx-FD 100baseTx 10baseT-FD 10baseT. Negotiation did not complete. Intel 8255* PHY #1 extended management registers: Error counts, cleared when read: False carriers 0 Link disconnects 0 Receive errors 0 Rx symbol errors 0. Rx 10Mbps Early End-Of-Frame errors 0. Rx 100Mbps Early End-Of-Frame errors 0. Tx jabber errors 0. - ----------------- As you can see, both the switch & card are advertising 05e1 capability. How can they not negotiate sucessfully ? - -- +-------------------------------------------------------------------------+ |PGP Public Key: http://sys49152.net/pubkey.asc | +-------------------------------------------------------------------------+ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (GNU/Linux) iD8DBQE/jiE+RslfH2ZQjFARAl4PAKDZ8bn5EJ3/Jboppel0t3BQV6t2rACdGVw4 EyHAyqdtXgHzL+kWGkpX4rI= =JuTE -----END PGP SIGNATURE-----