[eepro100] wait_for_cmd timeout in Compaq Presario 2700T with Redhat Linux 8.0

Michael A Chase Michael A Chase <mchase@ix.netcom.com>
Wed Oct 30 14:13:02 2002


Since I thought I had fixed the problem in Redhat Linux 7.3, I upgraded to
8.0.  The upgrade went normally, but I am again getting the wait_for_cmd
timeouts.

On the first boot after install, I was told that the Firewire/IEEE1394 port
was recognized as new hardware.  I thought it might be causing the renewed
trouble since it is sharing IRQ 10, but removing the module with rmmod
doesn't seem to be helping.

Question: Would it be worth my time to rebuild the kernel with ohci1394
support disabled?

The timeouts occur occasionally during email downloads and frequently
during http exchanges.  By pinging my local firewall to detect outages and
bouncing eth0 when they occur, I can keep the link up enough for low data
rate work, but major data transfers like ftp downloads or up2date runs are
slowed badly by very frequent eth0 bounces.

I tried building the newer network drivers from the Scyld site but received
numerious compile errors.  I will be trying again today and will send a
separate email detailing my results.

I have included extracts from several sources that I hope are significant
for troubleshooting the problem.

Question: Is there is more (or less) I should be looking at?

Note: The dhcp terminating messages are because I am calling
/etc/sysconfig/ifdown and /etc/sysconfig/ifup to bounce eth0.

### From cat /proc/interrupts:
           CPU0       
  0:    1484679          XT-PIC  timer
  1:       5000          XT-PIC  keyboard
  2:          0          XT-PIC  cascade
  5:          0          XT-PIC  Intel ICH3
  8:          1          XT-PIC  rtc
  9:          0          XT-PIC  usb-uhci, usb-uhci
 10:       2283          XT-PIC  ohci1394, eth0
 11:          0          XT-PIC  usb-uhci, Texas Instruments PCI1410 PC card Cardbus Controller
 12:       9977          XT-PIC  PS/2 Mouse
 14:      27573          XT-PIC  ide0
NMI:          0 
ERR:          0

### From ifconfig:
eth0      Link encap:Ethernet  HWaddr 00:02:A5:6C:F2:4B
          inet addr:172.16.1.36  Bcast:172.16.255.255  Mask:255.255.0.0
          UP BROADCAST NOTRAILERS RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:2141 errors:0 dropped:0 overruns:0 frame:0
          TX packets:152 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100
          RX bytes:134262 (131.1 Kb)  TX bytes:12732 (12.4 Kb)
          Interrupt:10 Base address:0x3000

### From lsmod:
Module                  Size  Used by    Not tainted
ide-cd                 33608   0 (autoclean)
cdrom                  33696   0 (autoclean) [ide-cd]
i810_audio             25224   0 (autoclean)
ac97_codec             13416   0 (autoclean) [i810_audio]
soundcore               6532   2 (autoclean) [i810_audio]
radeon                 93976   2
agpgart                43136   3
binfmt_misc             7524   1
autofs                 13348   0 (autoclean) (unused)
ds                      8712   1
yenta_socket           12960   1
pcmcia_core            54784   0 [ds yenta_socket]
eepro100               22264   1
ipchains               42440   9
ohci1394               20108   0 (unused)
ieee1394               46892   0 [ohci1394]
nls_iso8859-1           3516   1 (autoclean)
nls_cp437               5148   1 (autoclean)
vfat                   13084   1 (autoclean)
fat                    38712   0 (autoclean) [vfat]
mousedev                5524   0 (unused)
keybdev                 2976   0 (unused)
hid                    22244   0 (unused)
input                   5920   0 [mousedev keybdev hid]
usb-uhci               26188   0 (unused)
usbcore                77024   1 [hid usb-uhci]
ext3                   70368   2
jbd                    52212   2 [ext3]

### From /proc/pci:
PCI devices found:
  Bus  0, device   0, function  0:
    Host bridge: Intel Corp. 82830 830 Chipset Host Bridge (rev 2).
      Prefetchable 32 bit memory at 0xe0000000 [0xefffffff].
  Bus  0, device   1, function  0:
    PCI bridge: Intel Corp. 82830 830 Chipset AGP Bridge (rev 2).
      Master Capable.  Latency=96.  Min Gnt=12.
  Bus  0, device  30, function  0:
    PCI bridge: Intel Corp. 82801BAM/CAM PCI Bridge (rev 65).
      Master Capable.  No bursts.  Min Gnt=4.
  Bus  0, device  29, function  0:
    USB Controller: Intel Corp. 82801CA/CAM USB (Hub #1) (rev 1).
      IRQ 9.
      I/O at 0x1860 [0x187f].
  Bus  0, device  29, function  1:
    USB Controller: Intel Corp. 82801CA/CAM USB (Hub #2) (rev 1).
      IRQ 11.
      I/O at 0x1880 [0x189f].
  Bus  0, device  29, function  2:
    USB Controller: Intel Corp. 82801CA/CAM USB (Hub #3) (rev 1).
      IRQ 9.
      I/O at 0x1800 [0x181f].
  Bus  0, device  31, function  0:
    ISA bridge: Intel Corp. 82801CAM ISA Bridge (LPC) (rev 1).
  Bus  0, device  31, function  1:
    IDE interface: Intel Corp. 82801CAM IDE U100 (rev 1).
      IRQ 9.
      I/O at 0x1820 [0x182f].
      Non-prefetchable 32 bit memory at 0xd0000000 [0xd00003ff].
  Bus  0, device  31, function  3:
    SMBus: Intel Corp. 82801CA/CAM SMBus (rev 1).
      IRQ 5.
      I/O at 0x1840 [0x185f].
  Bus  0, device  31, function  5:
    Multimedia audio controller: Intel Corp. 82801CA/CAM AC'97 Audio (rev 1).
      IRQ 5.
      I/O at 0x1c00 [0x1cff].
      I/O at 0x18c0 [0x18ff].
  Bus  1, device   0, function  0:
    VGA compatible controller: ATI Technologies Inc Radeon Mobility M6 LY (rev 0).
      IRQ 9.
      Master Capable.  Latency=66.  Min Gnt=8.
      Prefetchable 32 bit memory at 0xd8000000 [0xdfffffff].
      I/O at 0x2000 [0x20ff].
      Non-prefetchable 32 bit memory at 0xd0100000 [0xd010ffff].
  Bus  2, device   4, function  0:
    Communication controller: Conexant HSF 56k HSFi Modem (rev 1).
      IRQ 5.
      Master Capable.  Latency=64.  
      Non-prefetchable 32 bit memory at 0xd0200000 [0xd020ffff].
      I/O at 0x3000 [0x3007].
  Bus  2, device   5, function  0:
    FireWire (IEEE 1394): PCI device 104c:8023 (Texas Instruments) (rev 0).
      IRQ 10.
      Master Capable.  Latency=64.  Min Gnt=2.Max Lat=4.
      Non-prefetchable 32 bit memory at 0xd0214000 [0xd02147ff].
      Non-prefetchable 32 bit memory at 0xd0210000 [0xd0213fff].
  Bus  2, device   6, function  0:
    CardBus bridge: Texas Instruments PCI1410 PC card Cardbus Controller (rev 1).
      IRQ 11.
      Master Capable.  Latency=168.  Min Gnt=192.Max Lat=5.
      Non-prefetchable 32 bit memory at 0x20000000 [0x20000fff].
  Bus  2, device   8, function  0:
    Ethernet controller: Intel Corp. 82801CAM (ICH3) Chipset Ethernet Controller (rev 65).
      IRQ 10.
      Master Capable.  Latency=66.  Min Gnt=8.Max Lat=56.
      Non-prefetchable 32 bit memory at 0xd0215000 [0xd0215fff].
      I/O at 0x3040 [0x307f].

### From /var/log/messages: (much trimmed)
kernel: Linux version 2.4.18-17.8.0 (bhcompile@daffy.perf.redhat.com) (gcc version 3.2 20020903 (Red Hat Linux 8.0 3.2-7)) #1 Tue Oct 8 13:51:08 EDT 2002
kernel: BIOS-provided physical RAM map:
kernel:  BIOS-e820: 0000000000000000 - 000000000009f800 (usable)
kernel:  BIOS-e820: 000000000009f800 - 00000000000a0000 (reserved)
kernel:  BIOS-e820: 00000000000e0000 - 00000000000e4000 (reserved)
kernel:  BIOS-e820: 00000000000e6000 - 0000000000100000 (reserved)
kernel:  BIOS-e820: 0000000000100000 - 000000001ff60000 (usable)
kernel:  BIOS-e820: 000000001ff60000 - 000000001ff73c00 (ACPI data)
kernel:  BIOS-e820: 000000001ff73c00 - 000000001ff80000 (ACPI NVS)
kernel:  BIOS-e820: 000000001ff80000 - 0000000020000000 (reserved)
kernel:  BIOS-e820: 00000000ff800000 - 00000000ffc00000 (reserved)
kernel: CPU: Intel(R) Pentium(R) III Mobile CPU      1133MHz stepping 01
kernel: PCI: PCI BIOS revision 2.10 entry at 0xfd99b, last bus=2
kernel: PCI: Using configuration type 1
kernel: PCI: Probing PCI hardware
kernel: Transparent bridge - Intel Corp. 82801BAM/CAM PCI Bridge
kernel: apm: BIOS version 1.2 Flags 0x03 (Driver version 1.16)
kernel: NET4: Frame Diverter 0.46
kernel: NET4: Linux TCP/IP 1.0 for NET4.0
kernel: IP Protocols: ICMP, UDP, TCP, IGMP
kernel: IP: routing cache hash table of 4096 buckets, 32Kbytes
kernel: TCP: Hash tables configured (established 32768 bind 65536)
kernel: Linux IP multicast router 0.06 plus PIM-SM
kernel: NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
sysctl: net.ipv4.ip_forward = 0
sysctl: net.ipv4.conf.default.rp_filter = 1
date: Wed Oct 30 06:14:04 PST 2002
rc.sysinit: Setting clock  (localtime): Wed Oct 30 06:14:04 PST 2002 succeeded
kernel: ohci1394: $Revision: 1.101 $ Ben Collins <bcollins@debian.org>
kernel: PCI: Found IRQ 10 for device 02:05.0
kernel: PCI: Sharing IRQ 10 with 02:08.0
kernel: ohci1394_0: OHCI-1394 1.1 (PCI): IRQ=[10]  MMIO=[d0214000-d0214800]  Max Packet=[2048]
rc.sysinit: Initializing firewire controller (ohci1394):  succeeded
init: Entering runlevel: 5
kernel: eepro100.c:v1.09j-t 9/29/99 Donald Becker http://www.scyld.com/network/eepro100.html
kernel: eepro100.c: $Revision: 1.36 $ 2000/11/17 Modified by Andrey V. Savochkin <saw@saw.sw.com.sg> and others
ipchains: Flushing all current rules and user defined chains: succeeded
ipchains: Clearing all current rules and user defined chains: succeeded
ipchains: Applying ipchains firewall rules succeeded
kernel: PCI: Found IRQ 10 for device 02:08.0
rc: Starting iptables:  succeeded
kernel: PCI: Sharing IRQ 10 with 02:05.0
sysctl: net.ipv4.ip_forward = 0
sysctl: net.ipv4.conf.default.rp_filter = 1
kernel: eth0: OEM i82557/i82558 10/100 Ethernet, 00:02:A5:6C:F2:4B, IRQ 10.
kernel:   Board assembly 000000-000, Physical connectors present: RJ45
kernel:   Primary interface chip i82555 PHY #1.
kernel:   General self-test: passed.
kernel:   Serial sub-system self-test: passed.
kernel:   Internal registers self-test: passed.
network: Setting network parameters:  succeeded
network: Bringing up loopback interface:  succeeded
ifup:
ifup: Determining IP information for eth0...
ifup:  done.
network: Bringing up interface eth0:  succeeded
kernel: Linux Kernel Card Services 3.1.22
kernel:   options:  [pci] [cardbus] [pm]

kernel: eepro100: wait_for_cmd_done timeout!
last message repeated 5 times
dhcpcd[581]: terminating on signal 15
kernel: eepro100: wait_for_cmd_done timeout!
kernel: eepro100: wait_for_cmd_done timeout!
last message repeated 9 times
dhcpcd[1388]: terminating on signal 15
eepro100: wait_for_cmd_done timeout!

-- 
Mac :})
** I normally forward private questions to the appropriate mail list. **
Ask Smarter: http://www.tuxedo.org/~esr/faqs/smart-questions.html
Give a hobbit a fish and he eats fish for a day.
Give a hobbit a ring and he eats fish for an age.