Problem Setting the Media type.

Siva Alagarsamy siva@sivasys.com
Sun Mar 5 14:04:45 2000


Hi,
   I have 2 PC's running Linux 2.2.12. One is a old 100Mhz Acer
Aspire( Cyrix 6x86) and the other is a 500Mhz Pentium III Dell
Dimension. I recently bought the Netgear Network in Box kit to connect
them. It came with 2 Netgear FA310TX 100/10 Ethernet PCI card and a
Netgear Duel Speed(10/ 100) 4 Port Hub (Model DS 104).

For some reason which I still couldn't figure out, It doesn't do big
file transfers at 100Mbs. This happens both in Window98 (both system)
and in Linux.  I changed the media type in the Windows98 to 10Mbs Half
Duplex in both system and it was working fine (both system on
window98)...
  Now in the Linux, when I run at 100Mbs (I used no paramters), The
network is very slow and when I ping, I get messages like this

 [siva@Ohm net]$ ping 10.1.1.2
PING 10.1.1.2 (10.1.1.2): 56 data bytes
64 bytes from 10.1.1.2: icmp_seq=0 ttl=255 time=1.9 ms
64 bytes from 10.1.1.2: icmp_seq=1 ttl=255 time=1.1 ms
64 bytes from 10.1.1.2: icmp_seq=2 ttl=255 time=1.1 ms
64 bytes from 10.1.1.2: icmp_seq=3 ttl=255 time=1.0 ms
64 bytes from 10.1.1.2: icmp_seq=4 ttl=255 time=1.0 ms
64 bytes from 10.1.1.2: icmp_seq=5 ttl=255 time=44330532.0 ms
wrong data byte #8 should be 0x8 but was 0xf8
        11 12 13 14 15 16 17 18 19 1a 1b 1c 1d 1e 1f 20 21 22 23 24 25
26 27 28
29 2a 2b 2c 2d 2e 2f 30
        31 32 33 34 0 0 0 0 0 0 0 0 0 0 0 0
64 bytes from 10.1.1.2: icmp_seq=6 ttl=255 time=1.0 ms
64 bytes from 10.1.1.2: icmp_seq=7 ttl=255 time=1.0 ms
wrong data byte #35 should be 0x23 but was 0x22
        14 15 16 17 18 19 1a 1b 1c 1d 1e 1f 20 21 22 22 22 23 24 25 26
27 28 29
2a 2b 2c 2d 2e 2f 30 31
        32 33 34 35 0 0 0 0 0 0 0 0 0 0 0 0


   Then I tried to switch the Media type in the conf.modules file. This
is how I have it now.

#Ethernet card
alias eth0 tulip
options tulip debug=7 options=9

 When I boot my system the system comes up with these messages in
/var/log/messages

Mar  5 14:07:01 Ohm kernel: Found Lite-On 82c168 PNIC at PCI I/O address
0x1400.
Mar  5 14:07:01 Ohm kernel: tulip.c:v0.91g 7/16/99
becker@cesdis.gsfc.nasa.gov
Mar  5 14:07:01 Ohm kernel: eth0: Lite-On 82c168 PNIC rev 33 at 0x1400,
00:A0:CC:40:41:11, IRQ 9.
Mar  5 14:07:01 Ohm kernel: eth0:  MII transceiver #1 config 1000 status
782d advertising 0021.
Mar  5 14:07:04 Ohm kernel: eth0: MII status 782d, Link partner report
00a1.

The light in the Hub indicates that the computer is using 100Mbs.
 when I run tulip-diag  the messages are

tulip-diag.c:v1.19 10/2/99 Donald Becker (becker@cesdis.gsfc.nasa.gov)
Index #1: Found a Lite-On 82c168 PNIC adapter at 0x1400.
Lite-On 82c168 PNIC chip registers at 0x1400:
  00008000 01ff0000 00000000 001f8010 001f8210 02000112 810c0000
00000000
  00000000 00004111 001f82c0 001f82c0 00000024 00000000 00000000
10000001
  00000000 00000000 f0041385 00000082 609600a1 001f8010 078df010
0201b87a
  00000000 00000000 00000000 00000000 00000000 00000000 00000000
00000000
 Port selection is MII, half-duplex.
 Transmit stopped, Receive stopped, half-duplex.
  The Rx process state is 'Stopped'.
  The Tx process state is 'Stopped'.
  The transmit threshold is 128.

When I unplug the patch cable from the hub and again connect it back.
The hub indicates that the speed is 10Mbs.
When I boot Windows, Initially when the system comes up the hub light
indicate that it is at 100Mbs, but latter it switches to show the 10Mbs,
So I am confident, it is not a problem with the hub.


Thanks

Siva

-------------------------------------------------------------------
To unsubscribe send a message body containing "unsubscribe"
to linux-tulip-bug-request@beowulf.org