Re: Extremely slow speed with LNE100TX 4.0 on PIII RedHat 9 2.4.20
"rob" <[email protected]> Fri, 19 Mar 2004 15:46:38 -0500
| Newsgroups | gmane.linux.drivers.tulip.general |
|---|---|
| Message-ID | <[email protected]> |
After much pain I discovered that the culprit was the Linksys BEFSR41 router firmware! After re-installing 1.44 firmware all network connections were working at normal speeds. Best regards, -Rob On Thu, 18 Mar 2004 00:11:55 -0500, rob wrote > Hello, > > I am experiencing slow network traffic problem on my Pentium III > w/ RedHat 9, 2.4.20 kernel using tulip v0.97. The NIC is LinkSys > PCI LNE100TX 4.0 with advertised speed of 10/100Mbps. I am currently > getting close to 0.1 - 0.7 KBps. The problem however does not occur > when I plug the same card into a WinXP machine. I also tried using > the same cable with another XP machine just to make sure it wasn't > the cable. > > I have read many posts on this list that sound like the problem I > am facing but none of the quite address the issue. I have also > read through most of the documentation on scyld.com and have not > been able to figure out the problem. > > Tulip module appears to be working normally, i.e. I don't see any > error messages during insmod, ifup or browsing. I am not noticing > any degradation in speed in any of the applications other than mozilla. > Even mozilla behaves ok when using exclusively local files. I was > wondering if there is a way to put the driver into a debug mode so > that I can see more messages that could help diagnose the problem > better. I compiled tulip.c with -Dway_too_many_messages expecting > to see more stuff in the log file. I may be doing something wrong > here. (By the way, tulip.c v0.97 has a minor syntax problem on line > 2622 that causes compilation error when using - > Dway_too_many_messages. Changing NETIF_MSG_TXERR to NETIF_MSG_TX_ERR > allowed me to compile it) > > Any help will be greatly appreciated! > > [root@localhost netdrivers]# ifconfig > eth0 Link encap:Ethernet HWaddr 00:20:78:00:59:4B > inet addr:192.168.1.105 Bcast:192.168.1.255 Mask:255.255.255.0 > UP BROADCAST RUNNING MULTICAST MTU:1372 Metric:1 > RX packets:3172 errors:529 dropped:0 overruns:0 frame:529 > TX packets:3728 errors:14 dropped:0 overruns:0 carrier:24 > collisions:718 txqueuelen:100 > RX bytes:3374243 (3.2 Mb) TX bytes:398424 (389.0 Kb) > Interrupt:10 Base address:0x1c00 > > lo Link encap:Local Loopback > inet addr:127.0.0.1 Mask:255.0.0.0 > UP LOOPBACK RUNNING MTU:1372 Metric:1 > RX packets:13 errors:0 dropped:0 overruns:0 frame:0 > TX packets:13 errors:0 dropped:0 overruns:0 carrier:0 > collisions:0 txqueuelen:0 > RX bytes:880 (880.0 b) TX bytes:880 (880.0 b) > > [root@localhost netdrivers]# tulip-diag -v > tulip-diag.c:v2.16 12/17/2002 Donald Becker ([email protected]) > http://www.scyld.com/diag/index.html > Index #1: Found a ADMtek AL985 Centaur-P adapter at 0xec00. > Comet duplex is reported in the MII status registers. > Transmit started, Receive started. > The Rx process state is 'Waiting for packets'. > The Tx process state is 'Idle'. > The transmit threshold is 128. > Comet MAC address registers 00782000 ffff4b59 > Comet multicast filter 0000000040000000. > Ethernet MAC Station Address 00:20:78:00:59:4b. > Default connection type 'Autosense'. > PCI IDs Vendor 1317 Device 0985 Subsystem 1317 0574 > PCI min_grant 255 max_latency 255. > CSR18 power-up setting 0x804c****. > Use '-a' or '-aa' to show device registers, > '-e' to show EEPROM contents, -ee for parsed contents, > or '-m' or '-mm' to show MII management registers. > > [root@localhost netdrivers]# tulip-diag -ee > tulip-diag.c:v2.16 12/17/2002 Donald Becker ([email protected]) > http://www.scyld.com/diag/index.html > Index #1: Found a ADMtek AL985 Centaur-P adapter at 0xec00. > Comet duplex is reported in the MII status registers. > Transmit started, Receive started. > The Rx process state is 'Waiting for packets'. > The Tx process state is 'Idle'. > The transmit threshold is 128. > Comet MAC address registers 00782000 ffff4b59 > Comet multicast filter 0000000040000000. > EEPROM 256 words, 8 address bits. > Ethernet MAC Station Address 00:20:78:00:59:4b. > Default connection type 'Autosense'. > PCI IDs Vendor 1317 Device 0985 Subsystem 1317 0574 > PCI min_grant 255 max_latency 255. > CSR18 power-up setting 0x804c****. > EEPROM contents (256 words): > 0x00: 0985 0002 0000 0000 2000 0078 4b59 0000 > 0x08: 0000 0400 0000 0000 0000 0000 0000 0100 > 0x10: 0985 1317 0574 1317 ffff 0202 0000 804c > 0x18: 0000 0000 0000 0000 0000 0000 0000 0000 > 0x20: 0000 0000 0000 0000 0000 0000 0000 0000 > 0x28: 0040 0040 0000 0000 0000 0000 0000 0000 > 0x30: 0000 0000 0000 0000 0000 0000 0000 0000 > 0x38: 0000 0000 0000 0000 0000 0000 0000 dc8b > 0x40: 0301 396a 17ff 4903 ff00 0420 01bf 2227 > 0x48: 2315 0104 4341 5443 4e4f 4500 324e 3232 > 0x50: 2d37 4350 434d 4149 4500 324e 3232 0037 > 0x58: 3052 0031 1aff 0105 f827 0303 141b c1e0 > 0x60: 3f7d 4d55 065d 46b6 fc46 4524 ff30 28ff > 0x68: 0032 071b 0820 60ca 0300 1b1f 2107 ca08 > 0x70: 2060 1f03 071b 0822 60ca 0340 1b1f 2307 > 0x78: ca08 6060 1f03 0014 0221 0006 ffff ffff > 0x80: 0301 396a 17ff 4903 ff00 0420 01bf 2227 > 0x88: 2315 0104 4341 5443 4e4f 4500 324e 3232 > 0x90: 2d37 4350 434d 4149 4500 324e 3232 0037 > 0x98: 3052 0031 1aff 0105 f827 0303 141b c1e0 > 0xa0: 0301 396a 17ff 4903 ff00 0420 01bf 2227 > 0xa8: 2315 0104 4341 5443 4e4f 4500 324e 3232 > 0xb0: 2d37 4350 434d 4149 4500 324e 3232 0037 > 0xb8: 3052 0031 1aff 0105 f827 0303 141b c1e0 > 0xc0: 3f7d 4d55 065d 46b6 fc46 4524 ff30 28ff > 0xc8: 0032 071b 0820 60ca 0300 1b1f 2107 ca08 > 0xd0: 2060 1f03 071b 0822 60ca 0340 1b1f 2307 > 0xd8: ca08 6060 1f03 0014 0221 0006 ffff ffff > 0xe0: 0000 0000 0000 0000 0000 0000 0000 0000 > 0xe8: 0000 0000 0000 0000 0000 0000 0000 0000 > 0xf0: 0000 0000 0000 0000 0000 0000 0000 0000 > 0xf8: 0000 0000 0000 0000 0000 0000 0000 0000 > ID block CRC 0xe1 (vs. 00). > Full contents CRC 0xdc8b (read as 0xdc8b). > > [root@localhost root]# dmesg > Linux version 2.4.20-ROB1 ([email protected]) (gcc version > 3.2.2 > 20030222 (Red Hat Linux 3.2.2-5)) #1 Mon Mar 15 21:39:21 PST 2004 > BIOS-provided physical RAM map: BIOS-e820: 0000000000000000 - > 000000000009fc00 (usable) BIOS-e820: 000000000009fc00 - > 00000000000a0000 (reserved) BIOS-e820: 00000000000e0000 - > 0000000000100000 (reserved) BIOS-e820: 0000000000100000 - > 0000000017ff0000 (usable) BIOS-e820: 0000000017ff0000 - > 0000000017ff8000 (ACPI data) BIOS-e820: 0000000017ff8000 - > 0000000018000000 (ACPI NVS) BIOS-e820: 00000000fec00000 - > 00000000fec01000 (reserved) BIOS-e820: 00000000fee00000 - > 00000000fee01000 (reserved) BIOS-e820: 00000000fffc0000 - > 0000000100000000 (reserved) 383MB LOWMEM available. On node 0 > totalpages: 98288 zone(0): 4096 pages. zone(1): 94192 pages. zone(2) > : 0 pages. Kernel command line: ro root=LABEL=/ Found and enabled > local APIC! Initializing CPU#0 Detected 551.257 MHz processor. > Console: colour VGA+ 80x25 Calibrating delay loop... 1101.00 > BogoMIPS Memory: 382892k/393152k available (1423k kernel code, 7696k > reserved, 506k data, 144k init, 0k highmem) Dentry cache hash table > entries: 65536 (order: 7, 524288 bytes) Inode cache hash table > entries: 32768 (order: 6, 262144 bytes) Mount cache hash table > entries: 512 (order: 0, 4096 bytes) Buffer-cache hash table entries: > 32768 (order: 5, 131072 bytes) Page-cache hash table entries: 131072 > (order: 7, 524288 bytes) CPU: L1 I cache: 16K, L1 D cache: 16K CPU: > L2 cache: 512K Intel machine check architecture supported. Intel > machine check reporting enabled on CPU#0. CPU: After generic, > caps: 0383fbff 00000000 00000000 00000000 CPU: Common > caps: 0383fbff 00000000 00000000 00000000 CPU: Intel Pentium III > (Katmai) stepping 03 Enabling fast FPU save and restore... done. > Enabling unmasked SIMD FPU exception support... done. Checking 'hlt' > instruction... OK. POSIX conformance testing by UNIFIX enabled > ExtINT on CPU#0 ESR value before enabling vector: 00000000 ESR value > after enabling vector: 00000000 Using local APIC timer interrupts. > calibrating APIC timer ... ..... CPU clock speed is 551.2729 MHz. > ..... host bus clock speed is 100.2313 MHz. cpu: 0, clocks: 1002313, > slice: 501156 CPU0<T0:1002304,T1:501136,D:12,S:501156,C:1002313> > mtrr: v1.40 (20010327) Richard Gooch ([email protected]) mtrr: > detected mtrr type: Intel PCI: PCI BIOS revision 2.10 entry at > 0xfdb91, last bus=1 PCI: Using configuration type 1 PCI: Probing PCI > hardware PCI: Using IRQ router PIIX [8086/7110] at 00:07.0 Limiting > direct PCI/PCI transfers. isapnp: Scanning for PnP cards... isapnp: > No Plug & Play device found Linux NET4.0 for Linux 2.4 Based upon > Swansea University Computer Society NET3.039 Initializing RT netlink > socket Starting kswapd VFS: Disk quotas vdquot_6.5.1 Journalled > Block Device driver loaded pty: 2048 Unix98 ptys configured Serial > driver version 5.05c (2001-07-08) with MANY_PORTS MULTIPORT > SHARE_IRQ SERIAL_PCI ISAPNP enabled ttyS0 at 0x03f8 (irq = 4) is a 16550A > ttyS1 at 0x02f8 (irq = 3) is a 16550A > Real Time Clock Driver v1.10e > Floppy drive(s): fd0 is 1.44M > FDC 0 is a post-1991 82077 > NET4: Frame Diverter 0.46 > SLIP: version 0.8.4-NET3.019-NEWTTY (dynamic channels, max=256). > RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize > RedCreek Communications PCI linux driver version 2.20 > Uniform Multi-Platform E-IDE driver Revision: 7.00beta-2.4 > ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx > PIIX4: IDE controller at PCI slot 00:07.1 > PIIX4: chipset revision 1 > PIIX4: not 100% native mode: will probe irqs later > ide0: BM-DMA at 0xffa0-0xffa7, BIOS settings: hda:DMA, hdb:pio > ide1: BM-DMA at 0xffa8-0xffaf, BIOS settings: hdc:DMA, hdd:pio > hda: SAMSUNG SV1533D, ATA DISK drive > blk: queue c036f080, I/O limit 4095Mb (mask 0xffffffff) > hdc: SAMSUNG DVD-ROM SD-608, ATAPI CD/DVD-ROM drive > ide0 at 0x1f0-0x1f7,0x3f6 on irq 14 > ide1 at 0x170-0x177,0x376 on irq 15 > hda: host protected area => 1 > hda: 29897280 sectors (15307 MB) w/472KiB Cache, CHS=1861/255/63, > UDMA(33) ide-floppy driver 0.99.newide Partition check: hda: hda1 > hda2 hda3 ide-floppy driver 0.99.newide md: md driver 0.90.0 > MAX_MD_DEVS=256, MD_SB_DISKS=27 md: Autodetecting RAID arrays. md: > autorun ... md: ... autorun DONE. NET4: Linux TCP/IP 1.0 for NET4.0 > IP Protocols: ICMP, UDP, TCP, IGMP IP: routing cache hash table of > 4096 buckets, 32Kbytes TCP: Hash tables configured (established > 32768 bind 65536) Linux IP multicast router 0.06 plus PIM-SM NET4: > Unix domain sockets 1.0/SMP for Linux NET4.0. RAMDISK: Compressed > image found at block 0 Freeing initrd memory: 83k freed VFS: Mounted > root (ext2 filesystem). EXT3-fs: INFO: recovery required on readonly > filesystem. EXT3-fs: write access will be enabled during recovery. > kjournald starting. Commit interval 5 seconds EXT3-fs: recovery complete. > EXT3-fs: mounted filesystem with ordered data mode. > Freeing unused kernel memory: 144k freed > usb.c: registered new driver usbdevfs > usb.c: registered new driver hub > usb-uhci.c: $Revision: 1.275 $ time 22:08:27 Mar 15 2004 > usb-uhci.c: High bandwidth mode enabled > PCI: Found IRQ 9 for device 00:07.2 > PCI: Sharing IRQ 9 with 00:0b.0 > usb-uhci.c: USB UHCI at I/O 0xef80, IRQ 9 > usb-uhci.c: Detected 2 ports > usb.c: new USB bus registered, assigned bus number 1 > hub.c: USB hub found > hub.c: 2 ports detected > usb-uhci.c: v1.275:USB Universal Host Controller Interface driver > usb.c: registered new driver hid > hid-core.c: v1.8.1 Andreas Gal, Vojtech Pavlik <[email protected]> > hid-core.c: USB HID support drivers > mice: PS/2 mouse device common for all mice > EXT3 FS 2.4-0.9.19, 19 August 2002 on ide0(3,2), internal journal > Adding Swap: 385552k swap-space (priority -1) > kjournald starting. Commit interval 5 seconds > EXT3 FS 2.4-0.9.19, 19 August 2002 on ide0(3,1), internal journal > EXT3-fs: mounted filesystem with ordered data mode. > parport0: PC-style at 0x378 (0x778) [PCSPP,TRISTATE] > parport0: irq 7 detected > parport0: Printer, HEWLETT-PACKARD DESKJET 920C > ip_tables: (C) 2000-2002 Netfilter core team > pci-scan.c:v1.12 7/30/2003 Donald Becker <[email protected]> > http://www.scyld.com/linux/drivers.html > Robs ping: tulip.c:v0.97 7/22/2003 Written by Donald Becker > <[email protected]> > http://www.scyld.com/network/tulip.html > divert: allocating divert_blk for eth0 > > eth0: ADMtek Centaur-P rev 17 at 0xd8881c00, 00:20:78:00:59:4B, IRQ 10. > eth0: MII transceiver #1 config 3000 status 786d advertising 01e1. > parport0: PC-style at 0x378 (0x778) [PCSPP,TRISTATE] > parport0: irq 7 detected > parport0: Printer, HEWLETT-PACKARD DESKJET 920C > lp0: using parport0 (polling). > lp0: console ready > divert: freeing divert_blk for eth0 > Robs ping: tulip.c:v0.97 7/22/2003 Written by Donald Becker > <[email protected]> > http://www.scyld.com/network/tulip.html > divert: allocating divert_blk for eth0 > > eth0: ADMtek Centaur-P rev 17 at 0xd8881c00, 00:20:78:00:59:4B, IRQ 10. > eth0: MII transceiver #1 config 1000 status 786d advertising 01e1. > > _______________________________________________ > tulip mailing list, [email protected] > To change to digest mode or unsubscribe visit > http://www.scyld.com/mailman/listinfo/tulip _______________________________________________ tulip mailing list, [email protected] To change to digest mode or unsubscribe visit http://www.scyld.com/mailman/listinfo/tulip