[tulip] still trying

Marinho Barcellos marinho@exatas.unisinos.br
Tue Dec 11 13:36:01 2001


hello

I'm still trying to get the Conexant nic to work. Last time
Donald Becker said:

> You must be running a full duplex link -- the Conexant chip reports
> every transmit packet as a carrier error in full duplex mode.
	and later
> To set the link to a specific speed and duplex, use the transceiver
> setting described at
>    http://www.scyld.com/network/tulip.html

Now I tried all possible medias, run tulip-diag and ifconfig and noted down
the most relevant info. In brief:

options=0,0	autoselect (default to 10baseT): errors=carrier>0,rx>0,tx=0
options=1,1	10base2: carrier=2*errors,errors>0,rx=tx=0
options=3,3	100baseTx: errors=carrier=rx=0,tx>0
options=6,6	100baseT4: rx=0,tx>0
options=9,9	MII 10baseT:errors=carrier=rx=tx=0 (Tx processing setup info)
options=11,11	MII autoselect:errors=carrier=rx=tx=0 (Tx processing setup info)
options=12,12	Serial 10baseT (no autosel):carrier=2*errors,errors>0,tx=rx=0
options=13,13	MII 100baseTx: errors=carrier=rx=tx=0 (Tx processing setup info)
options=15,15	MII 100baseT4: errors=carrier=rx=tx=0 (Tx processing setup info)

based on 'ifconfig eth0' and  'tulip-diag -famme' outputs.
Well, it appears that when a media with MII transceiver is used,
the Tx process state becomes 'Processing setup information', like below
(for media 13):

Port selection is 10mpbs-serial, half-duplex.
 Transmit started, Receive started, half-duplex.
  The Rx process state is 'Waiting for packets'.
  The Tx process state is 'Processing setup information'.
  The transmit threshold is 72.
 MII PHY found at address 1, status 0x780d.
 MII PHY found at address 0, status 0x780d.
 MII PHY #1 transceiver registers:
   2000 780d 0022 1720 0080 0000 0005 2001
   2000 780d 0022 1720 0080 0000 0005 2001
   2000 780d 0022 1720 0080 0000 0005 2001
   0000 0000 0000 0000 01e1 2001 0000 8c08.
 Basic mode control register 0x2000: Auto-negotiation disabled!
   Speed fixed at 100 mbps, half-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:08:85:--:--:--, model 50 rev. 0.
   No specific information is known about this transceiver type.
 I'm advertising 0080: 100baseTx
   Advertising no additional info pages.
   Using an unknown (non 802.3) encapsulation.
 Link partner capability is 0000:.
   Negotiation did not complete.

I guess it should work with options=3 (100baseTx)

tulip-diag.c:v2.06 1/8/2001 Donald Becker (becker@scyld.com)
 http://www.scyld.com/diag/index.html
Index #1: Found a Conexant LANfinity adapter at 0x1400.
Conexant LANfinity chip registers at 0x1400:
 0x00: fff88000 ffffffff ffffffff 0e081000 0e081200 f4660000 f8e02002 7bffebef
 0x40: fffe0000 fffd80e8 fffe0000 fffe0000 ffffffff ffffffff ffffffff f7f9fec8
 Extended registers:
 80: cc660000 cbffebef f0000018 00000000 ffffffff 0e081290 0e081010 00000000
 a0: ffffffff 00000000 00000000 00000000 00000000 00000000 00000000 00000000
 c0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
 e0: 00000000 00000000 00000000 00000000 ffffffff 00000000 00000000 00000000
 Port selection is 10mpbs-serial, half-duplex.
 Transmit started, Receive started, half-duplex.
  The Rx process state is 'Waiting for packets'.
  The Tx process state is 'Idle'.
  The transmit unit is set to store-and-forward.
 MII PHY found at address 1, status 0x780d.
 MII PHY found at address 0, status 0x780d.
 MII PHY #1 transceiver registers:
   2000 780d 0022 1720 0080 0000 0005 2001
   2000 780d 0022 1720 0080 0000 0005 2001
   2000 780d 0022 1720 0080 0000 0005 2001
   0000 0000 0000 0000 01e1 2001 0000 8c08.
 Basic mode control register 0x2000: Auto-negotiation disabled!
   Speed fixed at 100 mbps, half-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:08:85:--:--:--, model 50 rev. 0.
   No specific information is known about this transceiver type.
 I'm advertising 0080: 100baseTx
   Advertising no additional info pages.
   Using an unknown (non 802.3) encapsulation.
 Link partner capability is 0000:.
   Negotiation did not complete.

eth0      Link encap:Ethernet  HWaddr 00:50:8B:AB:1A:80  
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:10 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100 
          RX bytes:0 (0.0 b)  TX bytes:420 (420.0 b)
          Interrupt:9 Base address:0x1000 

and, for 0 (autonegotiation):

tulip-diag.c:v2.06 1/8/2001 Donald Becker (becker@scyld.com)
 http://www.scyld.com/diag/index.html
Index #1: Found a Conexant LANfinity adapter at 0x1400.
 Port selection is MII, full-duplex.
 Transmit started, Receive started, full-duplex.
  The Rx process state is 'Waiting for packets'.
  The Tx process state is 'Idle'.
  The transmit threshold is 128.
 MII PHY found at address 1, status 0x782d.
 MII PHY found at address 0, status 0x782d.
 MII PHY #1 transceiver registers:
   1000 782d 0022 1720 01e1 45e1 0007 2001
   1000 782d 0022 1720 01e1 45e1 0007 2001
   1000 782d 0022 1720 01e1 0000 0007 2001
   0000 0000 0000 0020 01e1 2001 0000 9c18.
 Basic mode control register 0x1000: Auto-negotiation enabled.
 Basic mode status register 0x782d ... 782d.
   Link status: established.
   Capable of  100baseTx-FD 100baseTx 10baseT-FD 10baseT.
   Able to perform Auto-negotiation, negotiation complete.
 Vendor ID is 00:08:85:--:--:--, model 50 rev. 0.
   No specific information is known about this transceiver type.
 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 45e1: Flow-control 100baseTx-FD 100baseTx 10baseT-FD 10baseT.
   Negotiation  completed.

eth0      Link encap:Ethernet  HWaddr 00:50:8B:AB:1A:80  
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:8498 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:6 dropped:0 overruns:0 carrier:6
          collisions:0 txqueuelen:100 
          RX bytes:1388814 (1.3 Mb)  TX bytes:0 (0.0 b)
          Interrupt:9 Base address:0x1000 


So, for some cases it only transmits, while for others it only
receives... Anyone can help? Anything I could change in the 
driver? Anything related to the switch port to which the 
notebook is connected (though windows works perfectly :^(
?

Thanks.
Marinho.
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=--=-=-=-=-=-=-=
Prof. Marinho Barcellos      marinho@exatas.unisinos.br
PIP/CA - Centro 6            http://www.inf.unisinos.br/~marinho/ 
UNISINOS - Universidade do Vale do Rio dos Sinos
Av. Unisinos, 950            Phone: (051) 590-3333 ext.1639
Sao Leopoldo, RS, Brazil     CEP 93022-000     FAX 5908162
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=--=-=-=-=-=-=-=