Menu

eth0: transmit timed out, tx_status 00 status

2005-10-24
2013-04-08
  • Thorkil Naur

    Thorkil Naur - 2005-10-24

    eth0: transmit timed out, tx_status 00 status e000.
        diagnostics: net 0ce0 media a800 dma 000000a0.
    Additional IBM TP 760EL trouble using 3Com 3CCFE575CT

    Hello,

    (This is a re-issue of a forum message that I have earlier (2005-Oct-10) added as a second reply to another forum thread: thorkilnaur: IBM TP 760EL trouble using 3Com 3CCFE575CT 2004-02-29 23:29. I apologize for any waste of time that this duplication may cause.)

    I would be grateful for any help to progress in this matter.

    Thanks and regards
    Thorkil Naur

    A description of the problem follows:

    Hello,

    Belated thanks to David Hinds for this helpful response. (Which I later found I should have read out of README-2.4, sorry about that.) It took some time before I got around to this project again, but now I am at it and I have encountered the next obstacle: The apparently dreaded and mysterious

    eth0: transmit timed out, tx_status 00 status e000.
    diagnostics: net 0ce0 media a800 dma 000000a0.

    For very small amounts of data, the network connection seems to work, data can be transmitted back and fourth etc. But for larger transfers of data or ping'ing with larger package sizes, I get the quoted error message. And the process involved in the data transfer seems to grind to a halt.

    Summarizing the situation:

    1. I have installed the kernel sources (RedHat 8.0), built a kernel (2.4.18-14custom) where "# CONFIG_PCMCIA is not set" and installed it.

    2. For good measure, I have built the latest pcmcia-cs-3.2.8 and installed it. (The pcmcia that came with RedHat 8.0 did not behave differently in any significant way that I was able to tell.)

    3. I have suitably fiddled with various /etc configuration files to
    the best of my ability. Details follow.

    4. I can insert my 3Com 3CCFE575CT card in any socket and I hear the two high beeps that signify detection and succesful load of the driver.

    5. The card has a short connector (marked CHINA 0004 07-0337-002) with LED's marked "10" and "100". The "100" light turns on after a short while.

    6. The network cable attached to the card connector is a "Cat.5e Patch cable FTP crossover 2m" that I bought in a computer store. On the cable is printed "equip FTP CAT.5E PATCH ISO/IEC 11801 & EN 50288 & TIA/EIA 568B.2 3P VERIFIED FOR GIGABIT ETHERNET".

    7. The other end of the cable has a IBM ThinkPad T40 running Windows 2000 with an internally located "Intel(R) PRO/1000 MT Mobile Connection" "network adaptor". I use the same slot in this machine to connect succesfully to the network at the office where I work. The LAN property component "Internet Protocol (TCP/IP)" is configured to use the IP adress 10.0.1.14 for this ordeal. (Normally, it is configured to "Obtain an IP address automatically".)

    8. At this point, I ping each machine from the other a few times
    succesfully and then run the Shell program pcmcia3A.sh as root. In addition to performing basic tests, it reports details about the configuration:

    #!/bin/sh
    # pcmcia3A.sh: Demonstrate additional trouble using 3Com 3CCFE575CT
    # on IBM ThinkPad 760EL
    HM=/home/tn
    set -x
    uname -rv
    /sbin/cardctl -V
    /sbin/lspci -v
    $HM/tn/scyld/pub/diag/vortex-diag -aeem
    cat /etc/sysconfig/pcmcia
    diff /home/tn/tn/pcmcia/unpack/pcmcia-cs-3.2.8/etc /etc/pcmcia | grep -v '^Only'
    ping -c 5 10.0.1.14
    echo 10.0.1.14 | LANG=C $HM/tn/pcmcia/unpack/pcmcia-cs-3.2.8/debug-tools/test_network
    dmesg

    The output is provided below. Already at this point, "there seems to be a TX problem".

    9. I have installed vsftpd-1.1.0-1 on the 760EL and from the T40, I attempt to transfer a large file to the 760EL. I am able to logon, change directory, list the contents of the current directory. But when I "put" this large file, no more than about 5000-7000 bytes ever get across. And I eventually get error messages, both on the various consoles of the 760EL and in /var/log/messages.

    10. With the file transfer stuck, I run the Shell program pcmcia3B.sh as root:

    #!/bin/sh
    # pcmcia3B.sh: Demonstrate additional trouble using 3Com 3CCFE575CT
    # on IBM ThinkPad 760EL
    set -x
    echo 10.0.1.14 | LANG=C $HOME/tn/pcmcia/unpack/pcmcia-cs-3.2.8/debug-tools/test_network
    dmesg

    The output is provided below. As well as extracts from /var/log/messages that seem remotely relevant.

    Various things that I have tried without any perceptible change of the behaviour of the system:

    a. 3c575_cb parameter rx_copybreak = 400, 200.
    b. 3c575_cb parameter max_interrupt_work = 64, 16.
    c. 3c575_cb parameter down_poll_rate = 0, 10, 40.
    d. pcmcia_core parameter io_speed = 1, 10, 100, 1000, 10000.
    e. Changing parameters on the Windows 2000 system to enforce 10 MB per second and Half Duplex.

    In addition to the above, I have tried to run the latest version of the "vortex" driver from http://www.scyld.com. With some effort, I seem to be able to run this most recent driver. Unfortunately, it seems to work even less succesfully than the driver that comes with pcmcia-cs-3.2.8: Even ping'ing does not work. And when the network card is ejected, the operating system crashes. Since I am uncertain whether using this version of the driver even makes sense, I will not report the details of these experiments.

    I have studied the discussions on scyld.com and elsewhere without getting a clear idea of what direation to take.

    I would be most grateful for any help to progress in this matter.

    Regards
    Thorkil Naur

    -------------- Output of pcmcia3A.sh --------------------------------

    + uname -rv
    2.4.18-14custom #1 Sat Mar 13 17:31:30 UTC 2004
    + /sbin/cardctl -V
    cardctl version 3.2.8
    + /sbin/lspci -v
    pcilib: Cannot open /proc/bus/pci/01/00.0
    lspci: Unable to read 64 bytes of configuration space.
    + /home/tn/tn/scyld/pub/diag/vortex-diag -aeem
    vortex-diag.c:v2.16 1/12/2004 Donald Becker (becker@scyld.com)
    http://www.scyld.com/diag/index.html
    Index #1: Found a 3CCFE575CT CardBus adapter at 0x60021000.
    Station address ff:ff:ff:ff:ff:ff.
    Receive mode is 0xff: Promiscuous.
    The Vortex chip may be active, so FIFO registers will not be read.
    To see all register values use the '-f' flag.
    Initial window 7, registers values by window:
    Window 0: ffff ffff ffff ffff ffff ffff ffff ffff.
    Window 1: FIFO FIFO ffff ffff ffff ffff ffff ffff.
    Window 2: ffff ffff ffff ffff ffff ffff ffff ffff.
    Window 3: ffff ffff ffff ffff ffff ffff ffff ffff.
    Window 4: ffff ffff ffff ffff ffff ffff ffff ffff.
    Window 5: ffff ffff ffff ffff ffff ffff ffff ffff.
    Window 6: ffff ffff ffff ffff ffff ffff ffff ffff.
    Window 7: ffff ffff ffff ffff ffff ffff ffff ffff.
    Vortex chip registers at 0x60021000
    0x60021010: **FIFO** ffffffff ffffffff *STATUS*
    0x60021020: ffffffff ffffffff ffffffff ffffffff
    0x60021030: ffffffff ffffffff ffffffff ffffffff
    0x60021040: ffffffff ffffffff ffffffff ffffffff
    0x60021050: ffffffff ffffffff ffffffff ffffffff
    0x60021060: ffffffff ffffffff ffffffff ffffffff
    0x60021070: ffffffff ffffffff ffffffff ffffffff
    DMA control register is ffffffff.
    DMA control register is ffffffff (during Tx Stall).
    Tx list starts at ffffffff.
    Tx FIFO thresholds: min. burst 8160 bytes, priority with 8160 bytes to empty.
    Rx FIFO thresholds: min. burst 8160 bytes, priority with 8160 bytes to full.
    Poll period Tx 81600 ns., Rx 8160 ns.
    Maximum burst recorded Tx 65535, Rx 65535.
    Indication enable is ffff, interrupt enable is ffff.
    Interrupt sources are pending.
    Interrupt latch indication.
    Adapter Failure indication.
    Tx Complete indication.
    Tx Available indication.
    Rx Complete indication.
    Rx Early Notice indication.
    Driver Intr Request indication.
    Statistics Full indication.
    DMA Done indication.
    Download Complete indication.
    Upload Complete indication.
    DMA in Progress indication.
    Command in Progress indication.
    Transceiver/media interfaces available: 100baseT4 100baseTx 100baseFx 10baseT 10base2 AUI MII .
    Transceiver type in use: undefined-15.
    MAC settings: full-duplex, Large packets permitted, 802.1Q flow control, VLT VLAN enabled.
    Maximum packet size is 65535.
    Station address set to ff:ff:ff:ff:ff:ff.
    Configuration options ffff.
    EEPROM format 64x16, configuration table at offset 0:
    00: ffff ffff ffff ffff ffff ffff ffff ffff
    ...

    The word-wide EEPROM checksum is 0xfff8.
    Saved EEPROM settings of a 3Com Vortex/Boomerang:
    3Com Node Address FF:FF:FF:FF:FF:FF (used as a unique ID only).
    OEM Station address FF:FF:FF:FF:FF:FF (used as the ethernet address).
    Device ID ffff, Manufacturer ID ffff.
    Manufacture date (MM/DD/YYYY) 15/31/2027, division , product .
    A BIOS ROM of size 960Kx8 is expected.
    Transceiver selection: undefined-15.
    Options: force full duplex, link beat check disabled.
    PCI bus requested settings -- minimum grant 30, maximum latency 63 (250ns units).
    PCI Subsystem IDs: Vendor ffff Device ffff.
    100baseT4 100baseTx 100baseFx 10baseT 10base2 AUI MII .
    Vortex format checksum is incorrect (00 vs. ffff).
    Cyclone format checksum is incorrect (00 vs. 0xff).
    Hurricane format checksum is incorrect (00 vs. 0xff).
    ***WARNING***: No MII transceivers found!
    + cat /etc/sysconfig/pcmcia
    PCMCIA=yes
    PCIC=i82365
    PCIC_OPTS=
    CORE_OPTS=
    CARDMGR_OPTS="-v"
    + diff /home/tn/tn/pcmcia/unpack/pcmcia-cs-3.2.8/etc /etc/pcmcia
    + grep -v '^Only'
    Common subdirectories: /home/tn/tn/pcmcia/unpack/pcmcia-cs-3.2.8/etc/cis and /etc/pcmcia/cis
    diff /home/tn/tn/pcmcia/unpack/pcmcia-cs-3.2.8/etc/config.opts /etc/pcmcia/config.opts
    3a4,7
    > # 2005-Sep-10 13.50 / TN: 3c575_cb parameters
    > # 2005-Sep-10 22.52 / TN: Experiment: Exclude irq 9
    > # 2005-Sep-11 17.02 / TN: Experiment: Exclude ports
    > # 2005-Sep-27 22.28 / TN: Experiment: Memory
    5,17d8
    < #
    < # System resources available for PCMCIA cards
    < #
    < # NOTE: these settings have no effect on resources assigned to a
    < # CardBus bridge device itself; this file only affects resources
    < # assigned to cards. Also, interrupt settings here will only affect
    < # ISA bus interrupts assigned to 16-bit cards. PCI interrupts
    < # generally can't be reconfigured.
    < #
    < # With the kernel PCMCIA subsystem, these settings also have no effect
    < # at all on resources used for 32-bit CardBus cards. Those are set by
    < # the PCI hotplug subsystem.
    < #
    19,20c10,19
    < include port 0x100-0x4ff, port 0x800-0x8ff, port 0xc00-0xcff
    < include memory 0xc0000-0xfffff
    ---
    > # System resources available for PCMCIA devices

    > include port 0x100-0x4ff, port 0xc00-0xcff

    > # TN experiments: Start with no memory at all:
    > # include memory 0xc0000-0xfffff
    > # include memory 0xa0000000-0xa0ffffff, memory 0x60000000-0x60ffffff

    > # TN experiments:
    > include memory 0xa0000-0xeffff
    22a22,26
    > # TN experiments:
    > # exclude port 0x100-0x1ff
    > # exclude port 0x200-0x2ff
    > # exclude port 0x400-0x4ff

    36a41,47
    > # PS/2 Mouse controller port, comment this out if you don't have a PS/2
    > # based mouse
    > exclude irq 12

    > # Experiment to fix 3c575 network:
    > #exclude irq 9
    > exclude irq 10
    63a75,77
    > # Options for 3c575_cb:
    > # module "3c575_cb" opts "down_poll_rate=40 debug=7"

    diff /home/tn/tn/pcmcia/unpack/pcmcia-cs-3.2.8/etc/network.opts /etc/pcmcia/network.opts
    11,13c11,12
    < INFO="Sample private network setup"
    < # Use this to override the interface name -- see 'man nameif'
    < NAMEIF=""
    ---
    > echo $0: 2005-Sep-9 23.30: ADDRESS=\&quot;$ADDRESS\&quot;
    > INFO="TN's private network setup"
    23c22
    < IPADDR=""
    ---
    > IPADDR="10.0.1.13"
    50a50

    diff /home/tn/tn/pcmcia/unpack/pcmcia-cs-3.2.8/etc/wireless.opts /etc/pcmcia/wireless.opts
    42,47d41
    < # NOTE : Remove the following four lines to activate the samples below ...
    < # --------- START SECTION TO REMOVE -----------
    < *,*,*,*)
    < ;;
    < # ---------- END SECTION TO REMOVE ------------

    60a55
    > # Melco/Buffalo Networks WLI-PCM-L11
    65c60
    < MODE="Managed"
    ---
    > MODE="Ad-Hoc"
    + ping -c 5 10.0.1.14
    PING 10.0.1.14 (10.0.1.14) from 10.0.1.13 : 56(84) bytes of data.
    64 bytes from 10.0.1.14: icmp_seq=1 ttl=128 time=0.498 ms
    64 bytes from 10.0.1.14: icmp_seq=2 ttl=128 time=0.403 ms
    64 bytes from 10.0.1.14: icmp_seq=3 ttl=128 time=0.401 ms
    64 bytes from 10.0.1.14: icmp_seq=4 ttl=128 time=0.406 ms
    64 bytes from 10.0.1.14: icmp_seq=5 ttl=128 time=0.369 ms

    --- 10.0.1.14 ping statistics ---
    5 packets transmitted, 5 received, 0% loss, time 4040ms
    rtt min/avg/max/mdev = 0.369/0.415/0.498/0.047 ms
    + echo 10.0.1.14
    + LANG=C
    + /home/tn/tn/pcmcia/unpack/pcmcia-cs-3.2.8/debug-tools/test_network
    PCMCIA network settings are coming from /etc/pcmcia/network.opts.

    Checking network interface eth0 (3c575_cb driver):

    Kernel messages for eth0:
    divert: allocating divert_blk for eth0
    eth0: 3Com 3CCFE575CT Tornado CardBus at 0x100, 00:01:02:7a:7a:6e, irq 9
    eth0: Setting full-duplex based on MII #0 link partner capability of 01e1.

    Current ifconfig settings:
    eth0 Link encap:Ethernet HWaddr 00:01:02:7A:7A:6E 
    inet addr:10.0.1.13 Bcast:10.0.1.255 Mask:255.255.255.0
    UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
    RX packets:95 errors:0 dropped:0 overruns:0 frame:0
    TX packets:16 errors:0 dropped:0 overruns:0 carrier:11
    collisions:0 txqueuelen:100 
    RX bytes:11354 (11.0 Kb) TX bytes:1396 (1.3 Kb)
    Interrupt:9 Base address:0x100 

    The interface is configured and running.
    RX looks ok, but there seems to be a TX problem.

    You have not configured a gateway or default route.

    Enter a numeric IP address to ping: 
    Pinging 10.0.1.14 ... timed out!
    The device interrupt seems to be incrementing normally.
    + dmesg
    Linux version 2.4.18-14custom (root@localhost.localdomain) (gcc version 3.2 20020903 (Red Hat Linux 8.0 3.2-7)) #1 Sat Mar 13 17:31:30 UTC 2004
    BIOS-provided physical RAM map:
    BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)
    BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved)
    BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved)
    BIOS-e820: 0000000000100000 - 0000000002800000 (usable)
    BIOS-e820: 00000000fffe0000 - 0000000100000000 (reserved)
    40MB LOWMEM available.
    On node 0 totalpages: 10240
    zone(0): 4096 pages.
    zone(1): 6144 pages.
    zone(2): 0 pages.
    Kernel command line: BOOT_IMAGE=linux3 ro BOOT_FILE=/boot/vmlinuz-2.4.18-14custom root=LABEL=/
    Initializing CPU#0
    Detected 119.754 MHz processor.
    Speakup v-1.00 CVS: Tue Jun 11 14:22:53 EDT 2002 : initialized
    Console: colour VGA+ 80x25
    Calibrating delay loop... 238.38 BogoMIPS
    Memory: 36904k/40960k available (1193k kernel code, 3348k reserved, 984k data, 200k init, 0k highmem)
    Dentry cache hash table entries: 8192 (order: 4, 65536 bytes)
    Inode cache hash table entries: 4096 (order: 3, 32768 bytes)
    Mount cache hash table entries: 1024 (order: 1, 8192 bytes)
    ramfs: mounted with options: <defaults>
    ramfs: max_pages=4653 max_file_pages=0 max_inodes=0 max_dentries=4653
    Buffer cache hash table entries: 1024 (order: 0, 4096 bytes)
    Page-cache hash table entries: 16384 (order: 4, 65536 bytes)
    CPU: Before vendor init, caps: 000001bf 00000000 00000000, vendor = 0
    Intel Pentium with F0 0F bug - workaround enabled.
    CPU: After vendor init, caps: 000001bf 00000000 00000000 00000000
    CPU: After generic, caps: 000001bf 00000000 00000000 00000000
    CPU: Common caps: 000001bf 00000000 00000000 00000000
    CPU: Intel Pentium 75 - 200 stepping 0c
    Checking 'hlt' instruction... OK.
    POSIX conformance testing by UNIFIX
    mtrr: v1.40 (20010327) Richard Gooch (rgooch@atnf.csiro.au)
    mtrr: detected mtrr type: none
    PCI: PCI BIOS revision 2.10 entry at 0xfd930, last bus=6
    PCI: Using configuration type 1
    PCI: Probing PCI hardware
    isapnp: Scanning for PnP cards...
    isapnp: No Plug & Play device found
    speakup: initialized device: /dev/synth, node (MAJOR 10, MINOR 25)
    Linux NET4.0 for Linux 2.4
    Based upon Swansea University Computer Society NET3.039
    Initializing RT netlink socket
    apm: BIOS version 1.2 Flags 0x03 (Driver version 1.16)
    Starting kswapd
    VFS: Diskquotas version dquot_6.5.0 initialized
    pty: 512 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
    ttyS2 at 0x03e8 (irq = 4) is a 16550A
    Real Time Clock Driver v1.10e
    block: 64 slots per queue, batch=16
    Uniform Multi-Platform E-IDE driver Revision: 6.31
    ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
    PIIX: IDE controller on PCI bus 00 dev 08
    PIIX: chipset revision 2
    PIIX: not 100% native mode: will probe irqs later
    PIIX: neither IDE port enabled (BIOS)
    hda: IBM-DMCA-21440, ATA DISK drive
    ide2: ports already in use, skipping probe
    ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
    hda: 2818368 sectors (1443 MB) w/96KiB Cache, CHS=699/64/63
    ide-floppy driver 0.99.newide
    Partition check:
    hda: hda1 hda2 hda3
    Floppy drive(s): fd0 is 1.44M
    FDC 0 is a National Semiconductor PC87306
    NET4: Frame Diverter 0.46
    RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
    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 512 buckets, 4Kbytes
    TCP: Hash tables configured (established 4096 bind 8192)
    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: 126k freed
    VFS: Mounted root (ext2 filesystem).
    Journalled Block Device driver loaded
    kjournald starting. Commit interval 5 seconds
    EXT3-fs: mounted filesystem with ordered data mode.
    Freeing unused kernel memory: 200k freed
    EXT3 FS 2.4-0.9.18, 14 May 2002 on ide0(3,2), internal journal
    Adding Swap: 98776k swap-space (priority -1)
    Soundblaster audio driver Copyright (C) by Hannu Savolainen 1993-1996
    sb: No ISAPnP cards found, trying standard ones...
    SB 3.01 detected OK (220)
    ESS chip ES1688 detected
    parport0: PC-style at 0x3bc [PCSPP,TRISTATE]
    ohci1394: pci_module_init failed
    Linux PCMCIA Card Services 3.2.8
    kernel build: 2.4.18-14custom unknown
    options: [pci] [cardbus] [apm]
    Intel ISA/PCI/CardBus PCIC probe:
    PCI: No IRQ known for interrupt pin A of device 00:02.0. Please try using pci=biosirq.
    PCI: No IRQ known for interrupt pin B of device 00:02.1. Please try using pci=biosirq.
    TI 1130 rev 04 PCI-to-CardBus at slot 00:02, mem 0x10211000
    host opts [0]: [ring] [isa irq] [no pci irq] [lat 168/176] [bus 1/3]
    host opts [1]: [ring] [isa irq] [no pci irq] [lat 168/176] [bus 4/6]
    ISA irqs (scanned) = 7,9,10 polling interval = 1000 ms
    cs: cb_alloc(bus 1): vendor 0x10b7, device 0x5257
    3c59x.c:v0.99Q 5/16/2000 Donald Becker, becker@scyld.com
    http://www.scyld.com/network/vortex.html
    cs: cb_config(bus 1)
    cs: IO port probe 0x0100-0x04ff: excluding 0x1a0-0x1af 0x268-0x26f 0x330-0x337 0x388-0x38f 0x3b8-0x3df 0x4d0-0x4d7
    cs: IO port probe 0x0a00-0x0aff: excluding 0xa68-0xa6f
    cs: IO port probe 0x0c00-0x0cff: clean.
    fn 0 bar 1: io 0x100-0x17f
    fn 0 bar 2: mem 0x60021000-0x6002107f
    fn 0 bar 3: mem 0x60020000-0x6002007f
    fn 0 rom: mem 0x60000000-0x6001ffff
    irq 9
    cs: cb_enable(bus 1)
    bridge io map 0 (flags 0x21): 0x100-0x17f
    bridge mem map 0 (flags 0x1): 0x60000000-0x60021fff
    vortex_attach(device 01:00.0)
    divert: allocating divert_blk for eth0
    eth0: 3Com 3CCFE575CT Tornado CardBus at 0x100, 00:01:02:7a:7a:6e, irq 9
    product code 'ZW' rev 10.0 date 08-30-00
    8K byte-wide RAM 5:3 Rx:Tx split, MII interface.
    eth0: Setting full-duplex based on MII #0 link partner capability of 01e1.

    -------------- End of Output of pcmcia3A.sh -------------------------

    -------------- Output of pcmcia3B.sh --------------------------------

    + echo 10.0.1.14
    + LANG=C
    + /root/tn/pcmcia/unpack/pcmcia-cs-3.2.8/debug-tools/test_network
    pcmcia3B.sh: line 5: /root/tn/pcmcia/unpack/pcmcia-cs-3.2.8/debug-tools/test_network: No such file or directory
    + dmesg
    Linux version 2.4.18-14custom (root@localhost.localdomain) (gcc version 3.2 20020903 (Red Hat Linux 8.0 3.2-7)) #1 Sat Mar 13 17:31:30 UTC 2004
    BIOS-provided physical RAM map:
    BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)
    BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved)
    BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved)
    BIOS-e820: 0000000000100000 - 0000000002800000 (usable)
    BIOS-e820: 00000000fffe0000 - 0000000100000000 (reserved)
    40MB LOWMEM available.
    On node 0 totalpages: 10240
    zone(0): 4096 pages.
    zone(1): 6144 pages.
    zone(2): 0 pages.
    Kernel command line: BOOT_IMAGE=linux3 ro BOOT_FILE=/boot/vmlinuz-2.4.18-14custom root=LABEL=/
    Initializing CPU#0
    Detected 119.754 MHz processor.
    Speakup v-1.00 CVS: Tue Jun 11 14:22:53 EDT 2002 : initialized
    Console: colour VGA+ 80x25
    Calibrating delay loop... 238.38 BogoMIPS
    Memory: 36904k/40960k available (1193k kernel code, 3348k reserved, 984k data, 200k init, 0k highmem)
    Dentry cache hash table entries: 8192 (order: 4, 65536 bytes)
    Inode cache hash table entries: 4096 (order: 3, 32768 bytes)
    Mount cache hash table entries: 1024 (order: 1, 8192 bytes)
    ramfs: mounted with options: <defaults>
    ramfs: max_pages=4653 max_file_pages=0 max_inodes=0 max_dentries=4653
    Buffer cache hash table entries: 1024 (order: 0, 4096 bytes)
    Page-cache hash table entries: 16384 (order: 4, 65536 bytes)
    CPU: Before vendor init, caps: 000001bf 00000000 00000000, vendor = 0
    Intel Pentium with F0 0F bug - workaround enabled.
    CPU: After vendor init, caps: 000001bf 00000000 00000000 00000000
    CPU: After generic, caps: 000001bf 00000000 00000000 00000000
    CPU: Common caps: 000001bf 00000000 00000000 00000000
    CPU: Intel Pentium 75 - 200 stepping 0c
    Checking 'hlt' instruction... OK.
    POSIX conformance testing by UNIFIX
    mtrr: v1.40 (20010327) Richard Gooch (rgooch@atnf.csiro.au)
    mtrr: detected mtrr type: none
    PCI: PCI BIOS revision 2.10 entry at 0xfd930, last bus=6
    PCI: Using configuration type 1
    PCI: Probing PCI hardware
    isapnp: Scanning for PnP cards...
    isapnp: No Plug & Play device found
    speakup: initialized device: /dev/synth, node (MAJOR 10, MINOR 25)
    Linux NET4.0 for Linux 2.4
    Based upon Swansea University Computer Society NET3.039
    Initializing RT netlink socket
    apm: BIOS version 1.2 Flags 0x03 (Driver version 1.16)
    Starting kswapd
    VFS: Diskquotas version dquot_6.5.0 initialized
    pty: 512 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
    ttyS2 at 0x03e8 (irq = 4) is a 16550A
    Real Time Clock Driver v1.10e
    block: 64 slots per queue, batch=16
    Uniform Multi-Platform E-IDE driver Revision: 6.31
    ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
    PIIX: IDE controller on PCI bus 00 dev 08
    PIIX: chipset revision 2
    PIIX: not 100% native mode: will probe irqs later
    PIIX: neither IDE port enabled (BIOS)
    hda: IBM-DMCA-21440, ATA DISK drive
    ide2: ports already in use, skipping probe
    ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
    hda: 2818368 sectors (1443 MB) w/96KiB Cache, CHS=699/64/63
    ide-floppy driver 0.99.newide
    Partition check:
    hda: hda1 hda2 hda3
    Floppy drive(s): fd0 is 1.44M
    FDC 0 is a National Semiconductor PC87306
    NET4: Frame Diverter 0.46
    RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
    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 512 buckets, 4Kbytes
    TCP: Hash tables configured (established 4096 bind 8192)
    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: 126k freed
    VFS: Mounted root (ext2 filesystem).
    Journalled Block Device driver loaded
    kjournald starting. Commit interval 5 seconds
    EXT3-fs: mounted filesystem with ordered data mode.
    Freeing unused kernel memory: 200k freed
    EXT3 FS 2.4-0.9.18, 14 May 2002 on ide0(3,2), internal journal
    Adding Swap: 98776k swap-space (priority -1)
    Soundblaster audio driver Copyright (C) by Hannu Savolainen 1993-1996
    sb: No ISAPnP cards found, trying standard ones...
    SB 3.01 detected OK (220)
    ESS chip ES1688 detected
    parport0: PC-style at 0x3bc [PCSPP,TRISTATE]
    ohci1394: pci_module_init failed
    Linux PCMCIA Card Services 3.2.8
    kernel build: 2.4.18-14custom unknown
    options: [pci] [cardbus] [apm]
    Intel ISA/PCI/CardBus PCIC probe:
    PCI: No IRQ known for interrupt pin A of device 00:02.0. Please try using pci=biosirq.
    PCI: No IRQ known for interrupt pin B of device 00:02.1. Please try using pci=biosirq.
    TI 1130 rev 04 PCI-to-CardBus at slot 00:02, mem 0x10211000
    host opts [0]: [ring] [isa irq] [no pci irq] [lat 168/176] [bus 1/3]
    host opts [1]: [ring] [isa irq] [no pci irq] [lat 168/176] [bus 4/6]
    ISA irqs (scanned) = 7,9,10 polling interval = 1000 ms
    cs: cb_alloc(bus 1): vendor 0x10b7, device 0x5257
    3c59x.c:v0.99Q 5/16/2000 Donald Becker, becker@scyld.com
    http://www.scyld.com/network/vortex.html
    cs: cb_config(bus 1)
    cs: IO port probe 0x0100-0x04ff: excluding 0x1a0-0x1af 0x268-0x26f 0x330-0x337 0x388-0x38f 0x3b8-0x3df 0x4d0-0x4d7
    cs: IO port probe 0x0a00-0x0aff: excluding 0xa68-0xa6f
    cs: IO port probe 0x0c00-0x0cff: clean.
    fn 0 bar 1: io 0x100-0x17f
    fn 0 bar 2: mem 0x60021000-0x6002107f
    fn 0 bar 3: mem 0x60020000-0x6002007f
    fn 0 rom: mem 0x60000000-0x6001ffff
    irq 9
    cs: cb_enable(bus 1)
    bridge io map 0 (flags 0x21): 0x100-0x17f
    bridge mem map 0 (flags 0x1): 0x60000000-0x60021fff
    vortex_attach(device 01:00.0)
    divert: allocating divert_blk for eth0
    eth0: 3Com 3CCFE575CT Tornado CardBus at 0x100, 00:01:02:7a:7a:6e, irq 9
    product code 'ZW' rev 10.0 date 08-30-00
    8K byte-wide RAM 5:3 Rx:Tx split, MII interface.
    eth0: Setting full-duplex based on MII #0 link partner capability of 01e1.
    eth0: transmit timed out, tx_status 00 status e000.
    diagnostics: net 0ce0 media a800 dma 000000a0.
    Flags; bus-master 1, full 0; dirty 2 current 6.
    Transmit list 01758a30 vs. c1758a20.
    0: @c1758a00 length 80000067 status 80010067
    1: @c1758a10 length 80000042 status 80010042
    2: @c1758a20 length 80000042 status 80010042
    3: @c1758a30 length 80000042 status 80000042
    4: @c1758a40 length 80000067 status 80000067
    5: @c1758a50 length 80000067 status 80000067
    6: @c1758a60 length 80000042 status 80010042
    7: @c1758a70 length 8000005d status 8001005d
    8: @c1758a80 length 800000f2 status 800100f2
    9: @c1758a90 length 8000004e status 8001004e
    10: @c1758aa0 length 80000042 status 80010042
    11: @c1758ab0 length 80000042 status 80010042
    12: @c1758ac0 length 8000004f status 8001004f
    13: @c1758ad0 length 80000069 status 80010069
    14: @c1758ae0 length 8000004a status 8001004a
    15: @c1758af0 length 80000042 status 80010042
    eth0: Resetting the Tx ring pointer.

    -------------- End of Output of pcmcia3B.sh -------------------------

    -------------- Selected /var/log/messages ---------------------------

    ...
    Oct 10 00:33:57 localhost pcmcia: Starting PCMCIA services: 
    ...
    Oct 10 00:33:59 localhost cardmgr[377]: watching 2 sockets
    Oct 10 00:33:59 localhost pcmcia: cardmgr[377]: watching 2 sockets
    Oct 10 00:33:50 localhost network: Bringing up loopback interface: succeeded 
    Oct 10 00:33:59 localhost kernel: md: md driver 0.90.0 MAX_MD_DEVS=256, MD_SB_DISKS=27
    Oct 10 00:34:00 localhost cardmgr[378]: starting, version is 3.2.8
    Oct 10 00:34:00 localhost pcmcia: done.
    Oct 10 00:34:00 localhost kernel: md: Autodetecting RAID arrays.
    Oct 10 00:34:00 localhost rc: Starting pcmcia: succeeded
    ...
    Oct 10 00:34:01 localhost kernel: ohci1394: pci_module_init failed
    Oct 10 00:34:01 localhost kernel: Linux PCMCIA Card Services 3.2.8
    Oct 10 00:34:01 localhost kernel: kernel build: 2.4.18-14custom unknown
    Oct 10 00:34:02 localhost kernel: options: [pci] [cardbus] [apm]
    Oct 10 00:34:02 localhost kernel: Intel ISA/PCI/CardBus PCIC probe:
    Oct 10 00:34:02 localhost kernel: PCI: No IRQ known for interrupt pin A of device 00:02.0. Please try using pci=biosirq.
    Oct 10 00:34:02 localhost kernel: PCI: No IRQ known for interrupt pin B of device 00:02.1. Please try using pci=biosirq.
    Oct 10 00:34:02 localhost kernel: TI 1130 rev 04 PCI-to-CardBus at slot 00:02, mem 0x10211000
    Oct 10 00:34:02 localhost kernel: host opts [0]: [ring] [isa irq] [no pci irq] [lat 168/176] [bus 1/3]
    Oct 10 00:34:02 localhost kernel: host opts [1]: [ring] [isa irq] [no pci irq] [lat 168/176] [bus 4/6]
    Oct 10 00:34:02 localhost kernel: ISA irqs (scanned) = 7,9,10 polling interval = 1000 ms
    ...
    Oct 10 00:38:11 localhost kernel: cs: cb_alloc(bus 1): vendor 0x10b7, device 0x5257
    Oct 10 00:38:11 localhost cardmgr[378]: initializing socket 0
    Oct 10 00:38:11 localhost cardmgr[378]: socket 0: 3Com 3CCFE575CT/3CXFE575CT Fast EtherLink XL
    Oct 10 00:38:11 localhost cardmgr[378]: product info: "3Com Corporation", "3CCFE575CT", "LAN Cardbus Card", "004"
    Oct 10 00:38:11 localhost cardmgr[378]: manfid: 0x0101, 0x5257 function: 6 (network)
    Oct 10 00:38:11 localhost cardmgr[378]: PCI id: 0x10b7, 0x5257
    Oct 10 00:38:11 localhost cardmgr[378]: executing: 'modprobe cb_enabler'
    Oct 10 00:38:11 localhost cardmgr[378]: executing: 'modprobe 3c575_cb'
    Oct 10 00:38:12 localhost kernel: 3c59x.c:v0.99Q 5/16/2000 Donald Becker, becker@scyld.com
    Oct 10 00:38:12 localhost kernel: http://www.scyld.com/network/vortex.html
    Oct 10 00:38:12 localhost kernel: cs: cb_config(bus 1)
    Oct 10 00:38:12 localhost kernel: cs: IO port probe 0x0100-0x04ff: excluding 0x1a0-0x1af 0x268-0x26f 0x330-0x337 0x388-0x38f 0x3b8-0x3df 0x4d0-0x4d7
    Oct 10 00:38:12 localhost kernel: cs: IO port probe 0x0a00-0x0aff: excluding 0xa68-0xa6f
    Oct 10 00:38:12 localhost kernel: cs: IO port probe 0x0c00-0x0cff: clean.
    Oct 10 00:38:12 localhost kernel: fn 0 bar 1: io 0x100-0x17f
    Oct 10 00:38:12 localhost kernel: fn 0 bar 2: mem 0x60021000-0x6002107f
    Oct 10 00:38:12 localhost kernel: fn 0 bar 3: mem 0x60020000-0x6002007f
    Oct 10 00:38:12 localhost kernel: fn 0 rom: mem 0x60000000-0x6001ffff
    Oct 10 00:38:12 localhost kernel: irq 9
    Oct 10 00:38:12 localhost cardmgr[378]: executing: './network start eth0'
    Oct 10 00:38:12 localhost kernel: vortex_attach(device 01:00.0)
    Oct 10 00:38:12 localhost kernel: eth0: 3Com 3CCFE575CT Tornado CardBus at 0x100, 00:01:02:7a:7a:6e, irq 9
    Oct 10 00:38:12 localhost kernel: product code 'ZW' rev 10.0 date 08-30-00
    Oct 10 00:38:12 localhost kernel: 8K byte-wide RAM 5:3 Rx:Tx split, MII interface.
    Oct 10 00:38:13 localhost /etc/hotplug/net.agent: invoke ifup eth0
    Oct 10 00:38:13 localhost cardmgr[378]: + ./network: 2005-Sep-9 23.30: ADDRESS="default,0,0,00:01:02:7A:7A:6E"
    Oct 10 00:38:13 localhost cardmgr[378]: + Fill with your own settings...
    Oct 10 00:38:14 localhost cardmgr[378]: + TN's private network setup
    Oct 10 00:38:14 localhost cardmgr[378]: + /sbin/ifconfig eth0 up 10.0.1.13 netmask 255.255.255.0 broadcast 10.0.1.255
    Oct 10 00:39:17 localhost kernel: eth0: Setting full-duplex based on MII #0 link partner capability of 01e1.
    Oct 10 00:39:30 localhost su(pam_unix)[647]: session opened for user root by tn(uid=500)
    Oct 10 00:40:09 localhost su(pam_unix)[647]: session closed for user root
    Oct 10 00:43:45 localhost su(pam_unix)[713]: session opened for user root by tn(uid=500)
    Oct 10 00:44:17 localhost kernel: eth0: transmit timed out, tx_status 00 status e000.
    Oct 10 00:44:17 localhost kernel: diagnostics: net 0ce0 media a800 dma 000000a0.
    Oct 10 00:44:46 localhost kernel: cs: cb_free(bus 1)
    Oct 10 00:44:46 localhost cardmgr[378]: shutting down socket 0
    Oct 10 00:44:46 localhost cardmgr[378]: executing: './network stop eth0'
    Oct 10 00:44:47 localhost cardmgr[378]: + ./network: 2005-Sep-9 23.30: ADDRESS="default,0,0,00:01:02:7A:7A:6E"
    Oct 10 00:44:47 localhost cardmgr[378]: + /sbin/ifconfig eth0 down
    Oct 10 00:44:47 localhost cardmgr[378]: executing: 'modprobe -r 3c575_cb'
    Oct 10 00:44:48 localhost cardmgr[378]: executing: 'modprobe -r cb_enabler'
    Oct 10 00:44:48 localhost /etc/hotplug/net.agent: NET unregister event not supported
    ...

    -------------- End of selected /var/log/messages --------------------

     
    • David Hinds

      David Hinds - 2005-10-31

      I'm afraid I may not be able to help much; it sounds like you have tried most of the easy things.  I also no longer have my old Thinkpad 760EL so I could not even test this.  I thought I had resolved most of the "transmit timed out" problems in the 3c575 driver but there are a bunch of different versions of these chipsets.

      Try loading the i82365 module with cb_write_post=0.

      Try excluding irq 9 in config.opts in case there's a problem with that particular interrupt line.

      Another thing to try would be the kernel's 3c59x driver.  You can use this even though you're using the pcmcia-cs drivers, using the "dummy_cb" driver.  See "man dummy_cb" for instructions on how to do this.

      Was the 3Com card purchased new?  Can you plug this card into your other laptop and test it on your office network?

      -- Dave

       
    • Thorkil Naur

      Thorkil Naur - 2005-11-15

      Hello,

      Thank you very much David. For the record:

      1. I tried cb_write_post=0 with no change that I was able to detect.

      2. I had already tried excluding irq 9, but ran into trouble because I then got a irq 10 conflict with the IRDA device. This time, I tried to assign a different irq to the IRDA and was able to use irq 10 for the network card without irq conflicts. But it still didn't work.

      3. I also tried the dummy_cb driver, handloaded the kernel's 3c59x driver and, with some effort, was able to get the same behaviour as with the stand-alone driver. So no luck here either.

      4. Finally, I tried the card at my office and it appeared to work fine.

      So although I don't like to give up on things like this, I cheated: I bought another card (a Netgear FA410TX almost as ancient as my machine) and it was detected and worked immediately.

      Given this "solution", I hope that you have not used a lot of time on this: As you have probably guessed, this matter is not particularly important, being mostly a source of joy and education for me.

      Thank you very much for your generous help and, not least, your fine pcmcia-cs package that won out in the end after all.

      Regards
      Thorkil Naur

       

Log in to post a comment.