[tulip] Empty SROM

Dirk Behme dirk.behme@de.bosch.com
Thu, 08 Jun 2000 08:53:57 +0200


Hi,

on a embedded system unter Linux I try to get the network run. The
embedded system uses a MIPS RISC processor, the 21143 with PCI and a
QS6611, all with Linux 2.3.47. To enable the network I am using tulip.c
0.9.2 (Feb 15, 2000). The SROM is EMPTY, except the MAC-Address! At boot
time, I get:

...
Linux Tulip driver version 0.9.2 (Feb 15, 2000)
pcibios_enable_device for 1011:0019
PCI: Increasing latency timer of device 00:00.1 to 64
eth0: Digital DS21143 Tulip rev 65 at 0xaa000000, 00:00:4C:80:32:58, IRQ
43.
...

After booting, I start the network and then get:

# ifconfig eth0 133.2.11.201 up
# eth0: 21143 link status interrupt 000050ca, CSR5 f0688010, fffbffff.
eth0: Autonegotiation failed, using 10baseT, link beat status 50ca.
eth0: 21143 negotiation status 000052ca, 10baseT.
#

Then I try a ping to another machine:

# ping 133.2.3.68
PING 133.2.3.68 (133.2.3.68): 56 data bytes
64 bytes from 133.2.3.68: icmp_seq=6 ttl=255 time=1005.4 ms
NETDEV WATCHDOG: eth0: transmit timed out
eth0: 21140 transmit timed out, status f0680000, SIA 000052ca ffff0001
fffbffff 8ff5c008, resetting...
eth0: The transmitter stopped.  CSR5 is f0698006, CSR6 b2422002, new
CSR6 82420000.
--- 133.2.3.68 ping statistics ---
44 packets transmitted, 1 packets received, 97% packet loss
round-trip min/avg/max = 1005.4/1005.4/1005.4 ms

ifconfig -a answers the following:

# ifconfig -a
lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:3924  Metric:1
          RX packets:6 errors:0 dropped:0 overruns:0 frame:0
          TX packets:6 errors:0 dropped:0 overruns:0 carrier:0
          Collisions:0 

eth0      Link encap:Ethernet  HWaddr 00:00:4C:80:32:58  
          inet addr:133.2.11.201  Bcast:133.2.255.255  Mask:255.255.0.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:267 errors:0 dropped:2474 overruns:0 frame:0
          TX packets:38 errors:3 dropped:0 overruns:0 carrier:0
          Collisions:0 
          Interrupt:43

Thus, it seems that something work, but **very** slow and not very
stable. Any ideas, which bits or registers of the 21143 I can set
perhaps manually to get the network working stable? Any suggestions?
Thank you.

Regards,
Dirk

Because I am not on the list, please CC a anwser to me.
-- 
dirk.behme@de.bosch.com