Problems on RTL8139 ...

Nuno Emanuel F. Carvalho nemanuel@student.dei.uc.pt
Sat Aug 7 05:14:27 1999


Hi,

 I'd two machines at home and I'm unable to get them working both on
linux.
 There configuration are:

$ mii-diag
Using the default interface 'eth0'.
Basic registers of MII PHY #32:  0100 780d 0000 0000 05e1 0000 0000
0000.
 Basic mode control register 0x0100: Auto-negotiation disabled, with
 Speed fixed at 10 mbps, full-duplex.
 You have link beat, and everything is working OK.
 Your link partner is strange, status 0000.

[CAVERN - 10.0.0.2]
$ ifconfig eth0
eth0      Link encap:Ethernet  HWaddr 00:00:E8:88:80:F3
          inet addr:10.0.0.2  Bcast:10.255.255.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:18 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100
          Interrupt:9 Base address:0x6100

$ route
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use
Iface
10.0.0.0        *               255.255.255.0   U     0      0        0
eth0

[STORMY - 10.0.0.1]

$ mii-diag
Using the default interface 'eth0'.
Basic registers of MII PHY #32:  1000 782d 0000 0000 05e1 0000 0000
0000.
 Basic mode control register 0x1000: Auto-negotiation enabled.
 You have link beat, and everything is working OK.
 Your link partner is strange, status 0000.

$ ifconfig eth0
eth0      Link encap:Ethernet  HWaddr 00:00:E8:88:81:21
          inet addr:10.0.0.1  Bcast:10.255.255.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:3 dropped:0 overruns:0 carrier:2
          Collisions:0
          Interrupt:11 Base address:0xe800

$ route
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use
Iface
10.0.0.0        *               255.255.255.0   U     0      0        0
eth0

 Every time I try to ping to cavern machine I get on console:
eth0: Trasmit timeout, status 0d 0000 media 08.
eth0: Tx queue start entry 5 dirty entry 1.

Meanwhile, for example, if I reboot the cavern machine and start windows
NT and after that reboot
stormy machine, I'm able to work with both with no problem:

[STORMY - 10.0.0.1]

$ mii-diag
Using the default interface 'eth0'.
Basic registers of MII PHY #32:  1100 782d 0000 0000 05e1 4441 0001
0000.
 Basic mode control register 0x1100: Auto-negotiation enabled.
 You have link beat, and everything is working OK.
 Your link partner can do 4441: Flow-control 10baseT-FD.

If the machine running NT is rebooted and starts running linux, I'm able
to get RTL8139 working on both machines
running linux.

It seems windows NT configure Flow-control and linux don't do that.
How can I resolve that ?

Thanks.

Best regards,
   Nuno Carvalho

P.S. I'd compiled 'mii-diag' with: gcc -O -DLIBFLASH lib-flash.c
mii-diag.c


 | To unsubscribe, send mail to Majordomo@cesdis.gsfc.nasa.gov, and within the
 |  body of the mail, include only the text:
 |   unsubscribe this-list-name youraddress@wherever.org
 | You will be unsubscribed as speedily as possible.