Vortex Woes...

Chris J. Richards cjr@tivoli.com
Mon Feb 1 17:30:56 1999


Howdy.

I have hit a wall in trying to get my Linux (RedHat 5.2) to play
nice with my 3Com ethernet card. My current configuration has
two network cards:

Compaq Netelligent 10/100 TX UTP
3Com EtherLink XL PCI 3C900-TPO

I finally got the former to work by added an option of sa_int=1 which
allows IRQ sharing for that particular driver.

I am now stuck on the 3Com card. I have a Compaq Professional
Workstation 6000. All PCI cards seem to be using IRQ 11 (Matrox
Millenium II, SCSI card, Netelligent, and the EtherLink). I am not
sure if this is the problem or not... I am not seeing any of the symptoms
listed at http://cesdis.gsfc.nasa.gov/linux/misc/irq-conflict.html.

Whenever I try to bring the interface up (ifconfig eth0 up) I get:

3c59x.c:v0.99E 5/12/98 Donald Becker
http://cesdis.gsfc.nasa.gov/linux/drivers/vortex.html
SIOCSIFFLAGS: Resource temporarily unavailable

I have included some information collected by vortex-diag as well
as the output in dmesg (scsi and the two ethernet adapters) after boot.

Thanks,
cjr

--------------------- cut here ----------------------
root@gluttony vortex]# ./vortex-diag
vortex-diag.c:v1.05 5/22/98 Donald Becker (becker@cesdis.gsfc.nasa.gov)
Unable to find a 3Com card in /proc/pci.
If there is a card in the machine, explicitly set the I/O port address
using '-p <ioaddr>

[ editor's note... this is a pci card ]

[root@gluttony vortex]# ./vortex-diag -p 0x5400 -aa -e -mm
vortex-diag.c:v1.05 5/22/98 Donald Becker (becker@cesdis.gsfc.nasa.gov)
The Vortex chip may be active, so FIFO registers will not be read.
To see all register values use the '-f' flag.
Initial window 0, registers values by window:
Window 0: 0000 0000 0000 0000 0000 00bf ffff 0000.
Window 1: FIFO FIFO 0000 2000 8000 00ff 13fc 2000.
Window 2: 0000 0000 0000 0000 0000 0000 0000 4000.
Window 3: 02d8 0003 0000 0000 e108 0bff 13ff 6000.
Window 4: 0000 00d0 0000 0000 0001 8800 0000 8000.
Window 5: 1ffc fffc 0000 1ffc 0000 0000 0000 a000.
Window 6: 0000 0000 0000 0000 0000 0000 0000 c000.
Window 7: 0000 0000 0000 0000 8000 00ff 0000 e000.
Vortex chip registers at 0x5400
0x5410: **FIFO** **FIFO** 00008000 000013fc
0x5420: 00000000 00000000 00000000 ff000000
0x5430: 00000000 00007db9 00000000 00000000
No interrupt sources are pending.
Transceiver/media interfaces available: 10baseT.
MAC settings: half-duplex.
EEPROM contents:
0060 973a 22bd 9000 c257 0036 4348 6d50
0418 0000 0060 973a 22bd 0010 0000 0000
00a6 0000 02d8 0003 0000 0000 0000 0076
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
The word-wide EEPROM checksum is 0x7fca.
Parsing the EEPROM of a 3Com Vortex/Boomerang:
3Com Node Address 00:60:97:3A:22:BD (used as a unique ID only).
OEM Station address 00:60:97:3A:22:BD (used as the ethernet address).
Manufacture date (MM/DD/YY) 2/23/97, division 6, product HC.
Options: .
Vortex checksum is 76 (vs. 76),Cyclone checksum is 00 (vs. ffff).
***WARNING***: No MII transceivers found!
MII PHY #24 transceiver registers:
0000 ffff 0000 ffff 0000 ffff 0000 ffff
0000 ffff 0000 ffff 0000 ffff 0000 ffff
0000 ffff 0000 ffff 0000 ffff 0000 ffff
0000 ffff 0000 ffff 0000 ffff 0000 ffff.
Basic mode control register 0x0000: Auto-negotiation disabled!
Speed fixed at 10 mbps, half-duplex.
Basic mode status register 0xffff ... ffff.
Link status: established.
Capable of 100baseT4 100baseTx-FD 100baseTx 10baseT-FD 10baseT.
Able to perform Auto-negotiation, negotiation complete.
Remote fault detected!
*** Link Jabber! ***
Vendor ID is 00:00:3f:--:--:--, model 63 rev. 15.
No specific information is known about this transceiver type.
I'm advertising 0000:
Advertising no additional info pages.
Using an unknown (non 802.3) encapsulation.
Link partner capability is ffff: Flow-control 100baseT4 100baseTx-FD
100baseTx 10baseT-FD 10baseT.
Negotiation completed.

--------------------- cut here ----------------------
ncr53c8xx: at PCI bus 1, device 9, function 0
ncr53c8xx: PCI_CACHE_LINE_SIZE not set, features based on CACHE LINE SIZE
not used.
ncr53c8xx: 53c875 detected
ncr53c875-0: rev=0x04, base=0xe0080000, io_port=0x5000, irq=11
ncr53c875-0: ID 7, Fast-20, Parity Checking
ncr53c875-0: on-board RAM at 0xe0000000
ncr53c875-0: restart (scsi reset).
ncr53c875-0: copying script fragments into the on-board RAM ...
scsi0 : ncr53c8xx - revision 2.5f.1
scsi : 1 host.
ncr53c875-0-<0,0>: FAST-5 WIDE SCSI 10.0 MB/s (200 ns, offset 15)
Vendor: COMPAQ Model: ST32171W Rev: 0682
Type: Direct-Access ANSI SCSI revision: 02
Detected scsi disk sda at scsi0, channel 0, id 0, lun 0
ncr53c875-0-<0,0>: FAST-5 WIDE SCSI 10.0 MB/s (200 ns, offset 15)
SCSI device sda: hdwr sector= 512 bytes. Sectors= 4110000 [2006 MB] [2.0 GB]
sda: sda1 sda2 < sda5 sda6 sda7 sda8 >
VFS: Mounted root (ext2 filesystem) readonly.
Trying to unmount old root ... okay
Adding Swap: 72256k swap-space (priority -1)

[ small snip ]

3c59x.c:v0.99E 5/12/98 Donald Becker
http://cesdis.gsfc.nasa.gov/linux/drivers/vortex.html
eth0: 3Com 3c900 Boomerang 10baseT at 0x5400, 00:60:97:3a:22:bd, IRQ 11
8K word-wide RAM 3:5 Rx:Tx split, 10baseT interface.
Enabling bus-master transmits and whole-frame receives.
TLAN driver, v1.0, (C) 1997-8 Caldera, Inc.
TLAN: eth1 irq=11 io=5440, Compaq Netelligent Integrated 10/100 TX UTP, Rev.
16
TLAN: eth1: Starting autonegotiation.
TLAN: eth1: Autonegotiation complete.
TLAN: eth1: Link active.