Sony vaio docking station w/DS21143

Martin Bene mb@sime.com
Sun Apr 4 04:56:24 1999


I can't seem to get the tulip driver to work with the network card built
into the docking station of my sony vaio notebook. Loading the driver
works, ifconfig of the interface fails with 

SIOCSIFFLAGS: Resource temporarily unavailable

The card does work in Win98, ifconfig command works if another card
(PCMCIA) is used instead of tulip. The system is redhat 5.2, running the
original 2.0.36 kernel.

Here's some more info from syslog / tulip-diag / proc/pci:

Syslog when loading tulip.o:

 Found Digital DS21143 Tulip at PCI I/O address 0xec00.
   The PCI BIOS has not enabled the device at 1/72!  Updating PCI command
0014->0015.
 tulip.c:v0.90 10/20/98 becker@cesdis.gsfc.nasa.gov
 eth1: Digital DS21143 Tulip at 0xec00, 08 00 46 01 ad 7f, IRQ 255.
 eth1:  EEPROM default media type Autosense.
 eth1:  Index #0 - Media 10baseT (#0) described by a 21142 Serial PHY (2)
block.
 eth1:  Index #1 - Media 10base2 (#1) described by a 21142 Serial PHY (2)
block.
 eth1:  Index #2 - Media 10baseT-FD (#4) described by a 21142 Serial PHY
(2) block.
 eth1:  MII interface PHY 0, setup/reset sequences 0/0 long, capabilities
e0 78.
 eth1:  Index #3 - Media MII (#11) described by a 21142 MII PHY (3) block.
 eth1: ***WARNING***: No MII transceiver found!

output from tulip-diag -f -e -e -a -m -m:

tulip-diag.c:v1.08 2/28/99 Donald Becker (becker@cesdis.gsfc.nasa.gov)
Index #1: Found a Digital DS21143 Tulip adapter at 0xec00.
Digital DS21143 Tulip Tulip chip registers at 0xec00:
  f8000000 ffffffff ffffffff efdf7efe ffadffdf f0000000 32040040 f3fe0000
  e0000000 fff583ff ffffffff 00000000 000000c6 ffff0000 ffffffff 8ff70000
 Port selection is MII, half-duplex.
 Transmit stopped, Receive stopped, half-duplex.
  The Rx process state is 'Stopped'.
  The Tx process state is 'Stopped'.
  The transmit threshold is 128.
EEPROM contents:
  104d 801e 0000 0000 0000 0000 0000 0000
  18c5 0104 0008 0146 7fad 1e00 0000 0800
  8604 0002 08ff 00f0 0286 ff01 f008 8600
  0402 08ff 00f0 038d 0000 0000 e078 0001
  0050 0018 0000 0000 0000 0000 0000 0000
  0000 0000 0000 0000 0000 0000 0000 7fac
  0000 0000 0000 0008 0146 8398 0020 0000
  0000 0000 0000 0000 0000 0000 0000 04c6
 ID CRC 0xc5 (vs. 0xc5), complete CRC 9cdf803e.
EEPROM transceiver/media description for the Digital DS21143 Tulip chip.

Leaf node at offset 30, default media type 0800 (Autosense).
 4 transceiver description blocks:
  Media 10baseT, block type 2.
   Serial transceiver for 10baseT (media type 0).
    GP pin direction 08ff  GP pin data 00f0.
  Media 10base2, block type 2.
   Serial transceiver for 10base2 (media type 1).
    GP pin direction 08ff  GP pin data 00f0.
  Media 10baseT-Full Duplex, block type 2.
   Serial transceiver for 10baseT-Full Duplex (media type 4).
    GP pin direction 08ff  GP pin data 00f0.
  Media MII, block type 3.
   MII interface PHY 0 (media type 11).
   21143 MII initialization sequence is 0 words:.
   21143 MII reset sequence is 0 words:.
   Media capabilities are 7800, advertising 01e1.
   MII interrupt on GPIO pin -1.
  21140 Non-MII transceiver with media 0 (10baseT).
   CSR12 control port setting 00, command 00 00.
   Media detection by looking for a 1 on bit 0 of the CSR12 control port.
  21140 Non-MII transceiver with media 0 (10baseT).
   CSR12 control port setting 00, command 00 00.
   Media detection by looking for a 1 on bit 0 of the CSR12 control port.
  21140 Non-MII transceiver with media 0 (10baseT).
   CSR12 control port setting 00, command 00 00.
   Media detection by looking for a 1 on bit 0 of the CSR12 control port.
 ***WARNING***: No MII transceivers found!
  Internal autonegotiation state is 'Autonegotiation disabled'.

Finaly, output for cat /proc/pci:

PCI devices found:
  Bus  1, device  10, function  0:
    FireWire (IEEE 1394): Unknown vendor Unknown device (rev 1).
      Vendor id=104d. Device id=8009.
      Medium devsel.  IRQ 255.  Master Capable.  Latency=64.  
      Non-prefetchable 32 bit memory at 0xfe9ff400.
  Bus  1, device   9, function  0:
    Ethernet controller: DEC DC21142 (rev 65).
      Medium devsel.  Fast back-to-back capable.  IRQ 255.  Master Capable.
 Latency=165.  Min Gnt=20.Max Lat=40.
      I/O at 0xec00.
      Non-prefetchable 32 bit memory at 0xfe9ff800.
  Bus  1, device   8, function  0:
    SCSI storage controller: Adaptec AIC-7860 (rev 3).
      Medium devsel.  Fast back-to-back capable.  IRQ 255.  Master Capable.
 Latency=64.  Min Gnt=4.Max Lat=4.
      I/O at 0xe800.
      Non-prefetchable 32 bit memory at 0xfe9fe000.
  Bus  1, device   4, function  0:
    IDE interface: CMD 646 (rev 5).
      Medium devsel.  Fast back-to-back capable.  IRQ 9.  Master Capable.
Latency=64.  Min Gnt=2.Max Lat=4.
      I/O at 0x1e8.
      I/O at 0x354.
      I/O at 0x160.
      I/O at 0x344.
      I/O at 0xecf0.
  Bus  0, device  16, function  0:
    PCI bridge: Intel 82380FB Mobile (rev 1).
      Slow devsel.  Master Capable.  No bursts.  Min Gnt=4.
  Bus  0, device  10, function  1:
    CardBus bridge: Ricoh Unknown device (rev 3).
      Vendor id=1180. Device id=478.
      Medium devsel.  IRQ 255.  Master Capable.  No bursts.  Min Gnt=128.
  Bus  0, device  10, function  0:
    CardBus bridge: Ricoh Unknown device (rev 3).
      Vendor id=1180. Device id=478.
      Medium devsel.  IRQ 255.  Master Capable.  No bursts.  Min Gnt=128.
  Bus  0, device   8, function  0:
    VGA compatible controller: Neomagic MagicGraph NM2160 (rev 1).
      Medium devsel.  Fast back-to-back capable.  IRQ 9.  Master Capable.
Latency=128.  Min Gnt=16.Max Lat=255.
      Prefetchable 32 bit memory at 0xfd000000.
      Non-prefetchable 32 bit memory at 0xfea00000.
      Non-prefetchable 32 bit memory at 0xfed00000.
  Bus  0, device   7, function  3:
    Bridge: Intel 82371AB PIIX4 ACPI (rev 2).
      Medium devsel.  Fast back-to-back capable.  
  Bus  0, device   7, function  2:
    USB Controller: Intel 82371AB PIIX4 USB (rev 1).
      Medium devsel.  Fast back-to-back capable.  IRQ 255.  Master Capable.
 Latency=64.  
      I/O at 0xfcc0.
  Bus  0, device   7, function  1:
    IDE interface: Intel 82371AB PIIX4 IDE (rev 1).
      Medium devsel.  Fast back-to-back capable.  Master Capable.
Latency=64.  
      I/O at 0xfcf0.
  Bus  0, device   7, function  0:
    Bridge: Intel 82371AB PIIX4 ISA (rev 2).
      Medium devsel.  Fast back-to-back capable.  Master Capable.  No
bursts.  
  Bus  0, device   0, function  0:
    Host bridge: Intel 82439TX (rev 1).
      Medium devsel.  Master Capable.  Latency=32.  

Any idea what's going on (or even better: how to get it working)?

Thanks, Martin Bene


"you have moved your mouse, please reboot to make this change take effect"
--------------------------------------------------
 Martin Bene               vox: +43-664-3251047
 simon media               fax: +43-316-813824-6
 Andreas-Hofer-Platz 9     e-mail: mb@sime.com
 8010 Graz, Austria        
--------------------------------------------------
finger mb@mail.sime.com for PGP public key