[vortex] Slow transfer with 3c59x and 3c556B CardBus [Tornado]
January Weiner
january at uni-muenster.de
Thu Aug 19 02:34:47 PDT 2004
Hello,
> > I am on a 100 MBit FD network. I have an IBM Thinkpad X20 with a 3 com
> > ethernet card; lcpci shows:
>
> My X20 died two months ago or I would be able to reproduce this
> exactly.
Sorry to hear. What was the cause? I'm interested since I would like to
know what my laptop can die of :-)
> > I used mii-tool to try out virtually everything you can with mii-tool
> > (10/100, HD/FD).
>
> Forcing the speed or duplex will very likely only get you into trouble.
Yeah, I think it can, but I was just trying it out.
> What did 'mii-diag' report?
ebbjw:/home/january # mii-diag
Using the default interface 'eth0'.
Basic registers of MII PHY #0: 3000 786d 0022 561b 01e1 41e1 0007 2801.
The autonegotiated capability is 01e0.
The autonegotiated media type is 100baseTx-FD.
Basic mode control register 0x3000: Auto-negotiation enabled.
You have link beat, and everything is working OK.
Your link partner advertised 41e1: 100baseTx-FD 100baseTx 10baseT-FD 10baseT.
End of basic transceiver information.
> > Transfer rates, as shown by ftp up- and download are 10-100 kb/s, slower
> > for incoming data. At the same time, on other computers in the same
> > network, transfer rates of a couple of MB/s are achieved.
> >
> > Windows works OK on the same laptops (however, Windows are of no use to
> > me).
> >
> > When I load 3c59x with debug=5, and I get something like that:
> >
> > Aug 18 16:34:27 ebbjw kernel: eth0: Updating stats.
>
> This is a bad message. It means that you are getting errors at a high
> rate.
> What does /proc/net/dev report?
ebbjw:/home/january # cat /proc/net/dev
Inter-| Receive | Transmit
face |bytes packets errs drop fifo frame compressed multicast|bytes packets errs drop fifo colls carrier compressed
lo:10473944 37255 0 0 0 0 0 0 10473944 37255 0 0 0 0 0 0
sit0: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
eth0: 3047028 15440 767 0 0 913 0 0 9674222 11345 0 0 0 0 4172 0
> What does 'vortex-diag' report?
ebbjw:/home/january # vortex-diag -ee
vortex-diag.c:v2.14 12/28/2002 Donald Becker (becker at scyld.com)
http://www.scyld.com/diag/index.html
Index #1: Found a 3c566 Laptop Tornado adapter at 0x2000.
Station address 00:00:86:4b:bf:d4.
Receive mode is 0x07: Normal unicast and all multicast.
EEPROM format 64x16, configuration table at offset 0x30:
00: 2978 6056 0040 8060 0040 0000 0000 0080
0x08: 0000 0000 0000 0000 0000 0000 0000 0000
0x10: 0000 0000 0000 0000 0000 0000 10b7 6356
0x18: 0000 0000 0000 0000 0000 0000 0000 0a0a
0x20: ff29 2829 0008 0000 0000 0000 0000 0000
0x28: 0000 ff01 0000 0000 0000 0000 0000 0000
0x30: 0000 864b bfd4 6056 017a 0009 0000 6d50
0x38: 2970 0009 0000 864b bfd4 0010 0000 00aa
The word-wide EEPROM checksum is 0x353a.
Saved EEPROM settings of a 3Com Vortex/Boomerang:
The CardBus product ID is 2978 6056.
3Com Node Address 00:00:86:4B:BF:D4 (used as a unique ID only).
OEM Station address 00:00:86:4B:BF:D4 (used as the ethernet address).
Device ID 6056, Manufacturer ID 6d50.
Manufacture date (MM/DD/YYYY) 11/26/2000, division , product .
No BIOS ROM is present.
Transceiver selection: 10baseT.
Options: negotiated duplex, link beat required.
Vortex format checksum is incorrect (93 vs. 00).
Cyclone format checksum is incorrect (0x93 vs. 00).
Hurricane format checksum is incorrect (0x93 vs. 00).
Hey, how come he says "10baseT" here?
ebbjw:/home/january # vortex-diag -aa
vortex-diag.c:v2.14 12/28/2002 Donald Becker (becker at scyld.com)
http://www.scyld.com/diag/index.html
Index #1: Found a 3c566 Laptop Tornado adapter at 0x2000.
Station address 00:00:86:4b:bf:d4.
Receive mode is 0x07: Normal unicast and all multicast.
The Vortex chip may be active, so FIFO registers will not be read.
To see all register values use the '-f' flag.
Initial window 4, registers values by window:
Window 0: 0900 0000 393a 0000 0000 01f5 00aa 0000.
Window 1: FIFO FIFO 0700 0000 0000 007f 0000 2000.
Window 2: 0000 4b86 d4bf 0000 0000 0000 0000 4000.
Window 3: 0040 0080 05ea 0020 0040 1000 0800 6000.
Window 4: 0000 0000 0000 0cd0 0003 8800 0000 8000.
Window 5: 1ffc 0000 0000 0600 0807 06ce 06c6 a000.
Window 6: 0000 0000 0000 0000 0000 0000 0000 c000.
Window 7: 0000 0000 0000 0000 0000 0000 0000 e000.
Vortex chip registers at 0x2000
0x2010: **FIFO** 00000000 00000010 *STATUS*
0x2020: 00000020 00000000 00080000 00000004
0x2030: 00000000 4002bffe 04a10020 00080004
0x2040: 001a8c76 00000000 000000b7 00000000
0x2050: 00000000 00000000 00000000 00000000
0x2060: 00000000 00000000 00000000 00000000
0x2070: 00001800 00000000 00400160 00000000
Indication enable is 06c6, interrupt enable is 06ce.
No interrupt sources are pending.
Transceiver/media interfaces available: MII.
Transceiver type in use: Autonegotiate.
MAC settings: full-duplex.
Station address set to 00:00:86:4b:bf:d4.
Configuration options 0000.
ebbjw:/home/january # vortex-diag -m
vortex-diag.c:v2.14 12/28/2002 Donald Becker (becker at scyld.com)
http://www.scyld.com/diag/index.html
Index #1: Found a 3c566 Laptop Tornado adapter at 0x2000.
Station address 00:00:86:4b:bf:d4.
Receive mode is 0x07: Normal unicast and all multicast.
MII PHY found at address 0, status 786d.
MII PHY 0 at #0 transceiver registers:
3000 786d 0022 561b 01e1 41e1 0005 2801
ffff ffff ffff ffff ffff ffff ffff ffff
01c0 0040 0f99 8020 4fa2 0344 0026 0000
91a2 cfbf 0000 ffff ffff ffff ffff ffff.
Additionally:
ebbjw:/home/january # !scp
scp MozillaFirefox-0.8-33.i586.rpm january at elrohir:
january at elrohir's password:
MozillaFirefox-0.8-33.i586.rpm 100% 8501KB 822.7KB/s 00:06
ebbjw:/home/january # scp january at elrohir:MozillaFirefox-0.8-33.i586.rpm .
january at elrohir's password:
MozillaFirefox-0.8-33.i586.rpm 8% 696KB 52.2KB/s 02:29 ETAKilled by signal 2.
Thanks for the response!
By the way, some people in my lab say this seems to be a SuSE issue -- x20
is supposed to work without any problems with Debian and Redhat in various
flavours.
Regards,
January
--
------------ January Weiner 3 ---------------------+---------------
Division of Bioinformatics, University of Muenster | Schloßplatz 4
(+49)(251)8321634 | D48149 Münster
http://www.uni-muenster.de/Biologie.Botanik/ebb/ | Germany
More information about the vortex
mailing list