[tulip] device or resource busy (fwd)

Hank Barta hbarta@enteract.com
Sat, 18 Nov 2000 19:16:52 -0600 (CST)


    Here si some more information. I put the other card in another
    PC and have it working. In the other PC tulip-diag does seem to
    be able to read the EEPROM, so my guess is that in the newer board,
    there is something going on with the PCI bus and/or chip set
    that is preventing the newer tulip driver from correctly reading the
    EEPROM.

Information on the working system

    P150 (Tyan Titan motherboard. I think it uses a 'standard'
    intel chip set.) Both systems use an AHA 2940UW SCSI adapter
    and #9 Motion 771 (S3-968) PCI video card.

    results of tulip-diag: (with the patched version)

ulip-diag.c:v2.04 9/26/2000 Donald Becker (becker@scyld.com)
 http://www.scyld.com/diag/index.html
Index #1: Found a ADMtek AL985 Centaur-P adapter at 0x6000.
 Port selection is 10mbps half duplex (Link is on)
 Transmit started, Receive started, half-duplex.
  The Rx process state is 'Waiting for packets'.
  The Tx process state is 'Idle'.
  The transmit unit is set to store-and-forward.
 The Comet MAC registers are 08782000 ffffc445 filter 0000000200000000.

    Results of tulip-diag -ee

tulip-diag.c:v2.04 9/26/2000 Donald Becker (becker@scyld.com)
 http://www.scyld.com/diag/index.html
Index #1: Found a ADMtek AL985 Centaur-P adapter at 0x6000.
 Port selection is 10mbps half duplex (Link is on)
 Transmit started, Receive started, half-duplex.
  The Rx process state is 'Waiting for packets'.
  The Tx process state is 'Idle'.
  The transmit unit is set to store-and-forward.
 The Comet MAC registers are 08782000 ffffc445 filter 0000000200000000.
EEPROM size is 8.
  Ethernet MAC Station Address 00:20:78:08:45:c4.
  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:
  0985 0002 0000 0000 2000 0878 c445 0000
  0000 0400 0000 0000 0000 0000 0000 0100
  0985 1317 0574 1317 ffff 0202 0000 804c
  0000 0000 0000 0000 0000 0000 0000 0000
  0000 0000 0000 0000 0000 0000 0000 0000
  0040 0040 0000 0000 0000 0000 0000 0000
  0000 0000 0000 0000 0000 0000 0000 0000
  0000 0000 0000 0000 0000 0000 0000 f0d6
 ID block CRC 0x21 (vs. 00).
  Full contents CRC 0xf0d6 (read as 0xf0d6).

    results of tulip-diag -mm

tulip-diag.c:v2.04 9/26/2000 Donald Becker (becker@scyld.com)
 http://www.scyld.com/diag/index.html
Index #1: Found a ADMtek AL985 Centaur-P adapter at 0x6000.
 Port selection is 10mbps half duplex (Link is on)
 Transmit started, Receive started, half-duplex.
  The Rx process state is 'Waiting for packets'.
  The Tx process state is 'Idle'.
  The transmit unit is set to store-and-forward.
 The Comet MAC registers are 08782000 ffffc445 filter 0000000200000000.
 MII PHY found at address 1, status 0x786d.
 MII PHY found at address 2, status 0x786d.
 MII PHY found at address 3, status 0x786d.
 MII PHY found at address 4, status 0x786d.
 MII PHY #1 transceiver registers:
   1000 786d 0022 5410 01e1 0021 0004 2001
   ffff ffff ffff ffff ffff ffff ffff ffff
   01c0 0000 b099 8000 4f62 0304 0026 2cf1
   0000 c0bf 0000 ffff ffff ffff ffff ffff.
 MII PHY #2 transceiver registers:
   ffff ffff ffff ffff ffff ffff ffff ffff
	.
	.
	. (and so on for PHY #2, #3, and #4)

    contents of /proc/pci:

PCI devices found:
  Bus  0, device   0, function  0:
    Host bridge: Intel 82437 (rev 2).
      Medium devsel.  Master Capable.  Latency=32.  
  Bus  0, device   7, function  0:
    ISA bridge: Intel 82371FB PIIX ISA (rev 2).
      Medium devsel.  Fast back-to-back capable.  Master Capable.  No bursts.  
  Bus  0, device   7, function  1:
    IDE interface: Intel 82371FB PIIX IDE (rev 2).
      Medium devsel.  Fast back-to-back capable.  Master Capable.  Latency=32.  
      I/O at 0x3000 [0x3001].
  Bus  0, device  18, function  0:
    Ethernet controller: Unknown vendor Unknown device (rev 17).
      Vendor id=1317. Device id=985.
      Medium devsel.  Fast back-to-back capable.  IRQ 9.  Master Capable.  Latency=32.  Min Gnt=255.Max Lat=255.
      I/O at 0x6000 [0x6001].
      Non-prefetchable 32 bit memory at 0xf2000000 [0xf2000000].
  Bus  0, device  19, function  0:
    VGA compatible controller: S3 Inc. Vision 968 (rev 0).
      Medium devsel.  IRQ 9.  
      Non-prefetchable 32 bit memory at 0xf0000000 [0xf0000000].
  Bus  0, device  20, function  0:
    SCSI storage controller: Adaptec AIC-7881U (rev 0).
      Medium devsel.  Fast back-to-back capable.  IRQ 9.  Master Capable.  Latency=32.  Min Gnt=8.Max Lat=8.
      I/O at 0x6100 [0x6101].
      Non-prefetchable 32 bit memory at 0xf2001000 [0xf2001000].

    and 'lspci'

00:00.0 Host bridge: Intel Corporation 430FX - 82437FX TSC [Triton I] (rev 02)
00:07.0 ISA bridge: Intel Corporation 82371FB PIIX ISA [Triton I] (rev 02)
00:07.1 IDE interface: Intel Corporation 82371FB PIIX IDE [Triton I] (rev 02)
00:12.0 Ethernet controller: Bridgecom, Inc: Unknown device 0985 (rev 11)
00:13.0 VGA compatible controller: S3 Inc. 86c968 [Vision 968 VRAM] rev 0
00:14.0 SCSI storage controller: Adaptec AIC-7881U

    (This is a Debian 2.2 'potato' distro and I got the following
    trying to 'insmod tulip' until I compiled it using 'make
    modules'. I guess that Debian uses non-standard compile options
    that affect name mangling.  Both boxes use gcc 2.95.2.

/lib/modules/2.2.17/net/tulip.o: unresolved symbol dev_close_Ra5fa6204
/lib/modules/2.2.17/net/tulip.o: unresolved symbol skb_over_panic_R40118184
/lib/modules/2.2.17/net/tulip.o: unresolved symbol init_etherdev_R17ca8fca
/lib/modules/2.2.17/net/tulip.o: unresolved symbol unregister_netdev_R37efb330
/lib/modules/2.2.17/net/tulip.o: unresolved symbol eth_type_trans_Rf383205d
/lib/modules/2.2.17/net/tulip.o: unresolved symbol __kfree_skb_Ra42b7a3e
/lib/modules/2.2.17/net/tulip.o: unresolved symbol eth_copy_and_sum_Rb8226526
/lib/modules/2.2.17/net/tulip.o: unresolved symbol netif_rx_R964b50ac
/lib/modules/2.2.17/net/tulip.o: unresolved symbol alloc_skb_Rb713d6be

    The system on which the card partially (ping only) works:

    AMD Athlon (Thunderbird) 800 processor on an ABIT KT7 board
    (uses a VIA chip set.)

    Same SCSI and video as other system. (no AGP video)

    results of tulip-diag:
tulip-diag.c:v2.04 9/26/2000 Donald Becker (becker@scyld.com)
 http://www.scyld.com/diag/index.html
Index #1: Found a ADMtek AL985 Centaur-P adapter at 0xe000.
 Port selection is 10mbps half duplex (Link is on)
 Transmit started, Receive started, half-duplex.
  The Rx process state is 'Waiting for packets'.
  The Tx process state is 'Idle'.
  The transmit threshold is 128.
 The Comet MAC registers are ba45ba45 ffffba45 filter 8000000000000000.
WARNING: The EEPROM is missing or erased!

    results of 'tulip-diag -ee'


tulip-diag.c:v2.04 9/26/2000 Donald Becker (becker@scyld.com)
 http://www.scyld.com/diag/index.html
Index #1: Found a ADMtek AL985 Centaur-P adapter at 0xe000.
 Port selection is 10mbps half duplex (Link is off)
 Transmit started, Receive started, half-duplex.
  The Rx process state is 'Waiting for packets'.
  The Tx process state is 'Idle'.
  The transmit threshold is 128.
 The Comet MAC registers are ba45ba45 ffffba45 filter 8000000000000000.
EEPROM size is 8.
WARNING: The EEPROM is missing or erased!
  Ethernet MAC Station Address ff:ff:ff:ff:ff:ff.
  Default connection type 'Default'.
  PCI IDs Vendor ffff Device ffff  Subsystem ffff ffff
  PCI min_grant 255 max_latency 255.
  CSR18 power-up setting 0xffff****.
EEPROM contents:
  ffff ffff ffff ffff ffff ffff ffff ffff
  ffff ffff ffff ffff ffff ffff ffff ffff
  ffff ffff ffff ffff ffff ffff ffff ffff
  ffff ffff ffff ffff ffff ffff ffff ffff
  ffff ffff ffff ffff ffff ffff ffff ffff
  ffff ffff ffff ffff ffff ffff ffff ffff
  ffff ffff ffff ffff ffff ffff ffff ffff
  ffff ffff ffff ffff ffff ffff ffff ffff
 ID block CRC 0xfa (vs. 0xff).
  Full contents CRC 0x6a15 (read as 0xffff).

    results of 'tulip-diag -mm'

tulip-diag.c:v2.04 9/26/2000 Donald Becker (becker@scyld.com)
 http://www.scyld.com/diag/index.html
Index #1: Found a ADMtek AL985 Centaur-P adapter at 0xe000.
 Port selection is 10mbps half duplex (Link is off)
 Transmit started, Receive started, half-duplex.
  The Rx process state is 'Waiting for packets'.
  The Tx process state is 'Idle'.
  The transmit threshold is 128.
 The Comet MAC registers are ba45ba45 ffffba45 filter 8000000000000000.
WARNING: The EEPROM is missing or erased!
 MII PHY found at address 1, status 0x7849.
 MII PHY found at address 2, status 0x7849.
 MII PHY found at address 3, status 0x7849.
 MII PHY found at address 4, status 0x7849.
 MII PHY #1 transceiver registers:
   1000 7849 0022 5410 01e1 0001 0004 2001
   ffff ffff ffff ffff ffff ffff ffff ffff
   01c0 0000 0020 8020 4f02 0304 0026 0000
   0000 fdbf 0000 ffff ffff ffff ffff ffff.
 MII PHY #2 transceiver registers:
   ffff ffff ffff ffff ffff ffff ffff ffff
	.
	.
	. (and so on)

    contents of /proc/pci

PCI devices found:
  Bus  0, device   0, function  0:
    Host bridge: VIA Technologies Unknown device (rev 2).
      Vendor id=1106. Device id=305.
      Medium devsel.  Master Capable.  Latency=8.  
      Prefetchable 32 bit memory at 0xd0000000 [0xd0000008].
  Bus  0, device   1, function  0:
    PCI bridge: VIA Technologies Unknown device (rev 0).
      Vendor id=1106. Device id=8305.
      Medium devsel.  Master Capable.  No bursts.  Min Gnt=4.
  Bus  0, device   7, function  0:
    ISA bridge: VIA Technologies Unknown device (rev 34).
      Vendor id=1106. Device id=686.
      Medium devsel.  Master Capable.  No bursts.  
  Bus  0, device   7, function  2:
    USB Controller: VIA Technologies VT 82C586 Apollo USB (rev 16).
      Medium devsel.  IRQ 10.  Master Capable.  Latency=32.  
      I/O at 0xd400 [0xd401].
  Bus  0, device   7, function  3:
    USB Controller: VIA Technologies VT 82C586 Apollo USB (rev 16).
      Medium devsel.  IRQ 10.  Master Capable.  Latency=32.  
      I/O at 0xd800 [0xd801].
  Bus  0, device   7, function  4:
    Host bridge: VIA Technologies Unknown device (rev 48).
      Vendor id=1106. Device id=3057.
      Medium devsel.  Fast back-to-back capable.  
  Bus  0, device  13, function  0:
    SCSI storage controller: Adaptec AIC-7881U (rev 0).
      Medium devsel.  Fast back-to-back capable.  IRQ 15.  Master Capable.  Latency=32.  Min Gnt=8.Max Lat=8.
      I/O at 0xdc00 [0xdc01].
      Non-prefetchable 32 bit memory at 0xdd000000 [0xdd000000].
  Bus  0, device  15, function  0:
    Ethernet controller: Unknown vendor Unknown device (rev 17).
      Vendor id=1317. Device id=985.
      Medium devsel.  Fast back-to-back capable.  IRQ 15.  Master Capable.  Latency=32.  Min Gnt=255.Max Lat=255.
      I/O at 0xe000 [0xe001].
      Non-prefetchable 32 bit memory at 0xdd001000 [0xdd001000].
  Bus  0, device  17, function  0:
    VGA compatible controller: S3 Inc. Vision 968 (rev 0).
      Medium devsel.  IRQ 11.  
      Non-prefetchable 32 bit memory at 0xd4000000 [0xd4000000].

    results of 'lspci'

00:00.0 Host bridge: VIA Technologies, Inc.: Unknown device 0305 (rev 02)
00:01.0 PCI bridge: VIA Technologies, Inc.: Unknown device 8305
00:07.0 ISA bridge: VIA Technologies, Inc. VT82C686 [Apollo Super] (rev 22)
00:07.2 USB Controller: VIA Technologies, Inc. VT82C586B USB (rev 10)
00:07.3 USB Controller: VIA Technologies, Inc. VT82C586B USB (rev 10)
00:07.4 Host bridge: VIA Technologies, Inc. VT82C686 [Apollo Super ACPI] (rev 30)
00:0d.0 SCSI storage controller: Adaptec AIC-7881U
00:0f.0 Ethernet controller: Bridgecom, Inc: Unknown device 0985 (rev 11)
00:11.0 VGA compatible controller: S3 Inc. 86c968 [Vision 968 VRAM] rev 0

    Now I'm wondering about the PCI bus. Should I try swapping
    cards around? Are there any settings in the BIOS of which I
    should be concerned?

    thanks,
    hank

--
Hank Barta                            White Oak Software Inc.
hbarta@enteract.com                   Predictable Systems by Design.(tm)
		Beautiful Sunny Winfield, Illinois