[vortex-bug] Need help with the 3c59x driver with kernel 2.4.0 - 2
Amit Chaudhary
amitc@brocade.com
Thu, 1 Feb 2001 19:22:35 -0800
Hi,
Here are all the files as suggested in Documentation/vortex.txt. The output from messages and mii-diag look unusual.
Thanks
Amit
------------------------------------------------
/var/log/messages
Feb 1 18:56:50 amitc-linux kernel: 3c59x.c:LK1.1.11 13 Nov 2000 Donald Becker and others. http://www.scyld.com/network/vortex.html $Revision: 1.102.2.46 $
Feb 1 18:56:50 amitc-linux kernel: See Documentation/networking/vortex.txt
Feb 1 18:56:50 amitc-linux kernel: eth0: 3Com PCI 3c905C Tornado at 0xfd80, PCI: Found IRQ 11 for device 00:0f.0
Feb 1 18:56:50 amitc-linux kernel: PCI: The same IRQ used for device 00:05.2
Feb 1 18:56:50 amitc-linux kernel: PCI: The same IRQ used for device 00:0c.0
Feb 1 18:56:50 amitc-linux kernel: 00:00:39:82:43:2d, IRQ 11
Feb 1 18:56:50 amitc-linux kernel: Full duplex capable
Feb 1 18:56:50 amitc-linux kernel: 8K byte-wide RAM 5:3 Rx:Tx split, autoselect/Autonegotiate interface.
Feb 1 18:56:50 amitc-linux kernel: ***WARNING*** No MII transceivers found!
Feb 1 18:56:50 amitc-linux kernel: 3c59x: Wake-on-LAN functions disabled
Feb 1 18:56:50 amitc-linux kernel: Enabling bus-master transmits and whole-frame receives.
Feb 1 18:56:50 amitc-linux kernel: eth0: using NWAY autonegotiation
Feb 1 18:56:50 amitc-linux kernel: eth0: MII #24 status 0000, link partner capability 0000, setting half-duplex.
------------------------------------------------
lspci -vx output
00:00.0 Host bridge: Intel Corporation 440BX/ZX - 82443BX/ZX Host bridge (rev 03)
Subsystem: Toshiba America Info Systems: Unknown device 0001
Flags: bus master, medium devsel, latency 64
Memory at e0000000 (32-bit, prefetchable) [size=128M]
Capabilities: [a0] AGP version 1.0
00: 86 80 90 71 06 00 10 22 03 00 00 06 00 40 00 00
10: 08 00 00 e0 00 00 00 00 00 00 00 00 00 00 00 00
20: 00 00 00 00 00 00 00 00 00 00 00 00 79 11 01 00
30: 00 00 00 00 a0 00 00 00 00 00 00 00 00 00 00 00
00:01.0 PCI bridge: Intel Corporation 440BX/ZX - 82443BX/ZX AGP bridge (rev 03) (prog-if 00 [Normal decode])
Flags: bus master, 66Mhz, medium devsel, latency 64
Bus: primary=00, secondary=01, subordinate=01, sec-latency=64
Memory behind bridge: f0000000-f7ffffff
00: 86 80 91 71 07 00 20 02 03 00 04 06 00 40 01 00
10: 00 00 00 00 00 00 00 00 00 01 01 40 f0 00 a0 22
20: 00 f0 f0 f7 f0 ff 00 00 00 00 00 00 00 00 00 00
30: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 88 00
00:03.0 ISA bridge: Toshiba America Info Systems: Unknown device 0611 (rev 51)
Subsystem: Toshiba America Info Systems: Unknown device 0001
Flags: slow devsel
00: 79 11 11 06 03 00 80 04 51 00 01 06 00 00 00 00
10: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
20: 00 00 00 00 00 00 00 00 00 00 00 00 79 11 01 00
30: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00:05.0 Bridge: Intel Corporation 82371AB PIIX4 ISA (rev 02)
Flags: bus master, medium devsel, latency 0
00: 86 80 10 71 0f 00 80 02 02 00 80 06 00 00 80 00
10: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
20: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
30: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00:05.1 IDE interface: Intel Corporation 82371AB PIIX4 IDE (rev 01) (prog-if 80 [Master])
Flags: bus master, medium devsel, latency 64
I/O ports at fff0 [size=16]
00: 86 80 11 71 05 00 80 02 01 80 01 01 00 40 00 00
10: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
20: f1 ff 00 00 00 00 00 00 00 00 00 00 00 00 00 00
30: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00:05.2 USB Controller: Intel Corporation 82371AB PIIX4 USB (rev 01) (prog-if 00 [UHCI])
Flags: bus master, medium devsel, latency 64, IRQ 11
I/O ports at ff80 [size=32]
00: 86 80 12 71 05 00 80 02 01 00 03 0c 00 40 00 00
10: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
20: 81 ff 00 00 00 00 00 00 00 00 00 00 00 00 00 00
30: 00 00 00 00 00 00 00 00 00 00 00 00 0b 04 00 00
00:05.3 Bridge: Intel Corporation 82371AB PIIX4 ACPI (rev 03)
Flags: medium devsel
00: 86 80 13 71 01 00 80 02 03 00 80 06 00 00 00 00
10: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
20: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
30: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00:07.0 Communication controller: Lucent Microelectronics 56k WinModem (rev 01)
Subsystem: Toshiba America Info Systems Internal V.90 Modem
Flags: bus master, medium devsel, latency 0, IRQ 3
Memory at ffefff00 (32-bit, non-prefetchable) [size=256]
I/O ports at 02f8 [size=8]
I/O ports at 1c00 [size=256]
Capabilities: [f8] Power Management version 2
00: c1 11 41 04 07 00 90 02 01 00 80 07 00 00 00 00
10: 00 ff ef ff f9 02 00 00 01 1c 00 00 00 00 00 00
20: 00 00 00 00 00 00 00 00 40 00 00 00 79 11 01 00
30: 00 00 00 00 f8 00 00 00 00 00 00 00 03 01 fc 0e
00:09.0 IRDA controller: Toshiba America Info Systems FIR Port Type-DO
Subsystem: Toshiba America Info Systems FIR Port Type-DO
Flags: bus master, slow devsel, latency 64, IRQ 11
I/O ports at ff60 [size=32]
Capabilities: [80] Power Management version 2
00: 79 11 01 0d 05 00 10 04 00 00 00 0d 00 40 00 00
10: 61 ff 00 00 00 00 00 00 00 00 00 00 00 00 00 00
20: 00 00 00 00 00 00 00 00 00 00 00 00 79 11 01 00
30: 00 00 00 00 80 00 00 00 00 00 00 00 0b 01 00 00
00:0c.0 Multimedia audio controller: Yamaha Corporation YMF-744B [DS-1S Audio Controller] (rev 02)
Subsystem: Toshiba America Info Systems: Unknown device 0001
Flags: bus master, medium devsel, latency 64, IRQ 11
Memory at efff8000 (32-bit, non-prefetchable) [size=32K]
I/O ports at ff00 [size=64]
I/O ports at fefc [size=4]
Capabilities: [50] Power Management version 1
00: 73 10 10 00 07 00 10 02 02 00 01 04 00 40 00 00
10: 00 80 ff ef 01 ff 00 00 fd fe 00 00 00 00 00 00
20: 00 00 00 00 00 00 00 00 00 00 00 00 79 11 01 00
30: 00 00 00 00 50 00 00 00 00 00 00 00 0b 01 05 19
00:0f.0 Ethernet controller: 3Com Corporation 3c905C-TX [Fast Etherlink] (rev 6c)
Subsystem: Toshiba America Info Systems: Unknown device 0001
Flags: bus master, medium devsel, latency 64, IRQ 11
I/O ports at fd80 [size=128]
Memory at efff7f80 (32-bit, non-prefetchable) [size=128]
Expansion ROM at effc0000 [disabled] [size=128K]
Capabilities: [dc] Power Management version 2
00: b7 10 00 92 07 00 10 02 6c 00 00 02 08 40 00 00
10: 81 fd 00 00 80 7f ff ef 00 00 00 00 00 00 00 00
20: 00 00 00 00 00 00 00 00 00 00 00 00 79 11 01 00
30: 00 00 fc ef dc 00 00 00 00 00 00 00 0b 01 0a 0a
01:00.0 VGA compatible controller: S3 Inc. 86C270-294 Savage/MX-/IX (rev 11) (prog-if 00 [VGA])
Subsystem: Toshiba America Info Systems: Unknown device 0001
Flags: bus master, 66Mhz, medium devsel, latency 248, IRQ 11
Memory at f0000000 (32-bit, non-prefetchable) [size=128M]
Expansion ROM at 000c0000 [disabled] [size=64K]
Capabilities: [dc] Power Management version 1
Capabilities: [80] AGP version 1.0
00: 33 53 10 8c 07 00 30 02 11 00 00 03 08 f8 00 00
10: 00 00 00 f0 00 00 00 00 00 00 00 00 00 00 00 00
20: 00 00 00 00 00 00 00 00 00 00 00 00 79 11 01 00
30: 00 00 0c 00 dc 00 00 00 00 00 00 00 0b 01 04 ff
------------------------------------------------
vortex-diag -v
vortex-diag.c:v2.04 1/8/2001 Donald Becker (becker@scyld.com)
http://www.scyld.com/diag/index.html
Index #1: Found a 3c905C Tornado 100baseTx adapter at 0xfd80.
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: 0000 0000 0000 0000 fdfd 00bf ffff 0000.
Window 1: FIFO FIFO 0700 0000 0000 003f 0000 2000.
Window 2: 0000 8239 2d43 0000 0000 0000 0002 4000.
Window 3: 0000 0180 05ea 0020 000a 0800 0800 6000.
Window 4: 0000 0000 8000 0cf6 0001 8880 0000 8000.
Window 5: 1ffc 0000 0000 0600 0807 06ce 06c6 a000.
Window 6: 0000 0000 0000 1a00 0000 0e5f 0000 c000.
Window 7: 0000 0000 0000 0000 0000 0000 0000 e000.
Vortex chip registers at 0xfd80
0xFD90: **FIFO** 00000000 00000000 *STATUS*
0xFDA0: 00000020 00000000 00080000 00000004
0xFDB0: 00000000 3985c67b 0761f0f0 00080004
Indication enable is 06c6, interrupt enable is 06ce.
No interrupt sources are pending.
Transceiver/media interfaces available: 100baseTx 10baseT.
Transceiver type in use: Autonegotiate.
MAC settings: full-duplex.
Station address set to 00:00:39:82:43:2d.
Configuration options 0002.
EEPROM contents (64 words, offset 0):
0x000: 0000 3982 432d 9200 0000 0000 0000 0000
0x008: 2940 0000 0000 3982 432d 8010 0000 00aa
0x010: 72a2 0000 0000 0180 0000 0000 0000 1179
0x018: 0001 000a 0000 2900 ff6b 6b6b 0000 0000
0x020: 0000 ffff fff0 0000 0000 0000 0000 0000
0x028: 0000 0000 0000 0000 0000 0000 0000 0000
0x030: ffff ffff ffff ffff ffff ffff ffff ffff
0x038: ffff ffff ffff ffff ffff ffff ffff ffff
The word-wide EEPROM checksum is 0x4eb3.
Parsing the EEPROM of a 3Com Vortex/Boomerang:
3Com Node Address 00:00:39:82:43:2D (used as a unique ID only).
OEM Station address 00:00:39:82:43:2D (used as the ethernet address).
Manufacture date (MM/DD/YYYY) 0/0/2000, division
------------------------------------------------
mii-diag -aaee
mii-diag.c:v2.00 4/19/2000 Donald Becker (becker@scyld.com)
http://www.scyld.com/diag/index.html
MII PHY #24 transceiver registers:
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000.
Basic mode control register 0x0000: Auto-negotiation disabled, with
Speed fixed at 10 mbps, half-duplex.
Basic mode status register 0x0000 ... 0000.
Link status: not established.
This transceiver is capable of <Warning! No media capabilities>.
Unable to perform Auto-negotiation, negotiation not complete.
Link partner information information is not exchanged when in fixed speed mode.
MII PHY #24 transceiver registers:
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000.
Basic mode control register 0x0000: Auto-negotiation disabled!
Speed fixed at 10 mbps, half-duplex.
Basic mode status register 0x0000 ... 0000.
Link status: not established.
Capable of <Warning! No media capabilities>.
Unable to perform Auto-negotiation, negotiation not complete.
This transceiver has no vendor identification.
I'm advertising 0000:
Advertising no additional info pages.
Using an unknown (non 802.3) encapsulation.
Link partner capability is 0000:.
Negotiation did not complete.
------------------------------------------------
ifconfig
eth0 Link encap:Ethernet HWaddr 00:00:39:82:43:2D
inet addr:192.168.198.232 Bcast:192.168.198.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1497 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
Interrupt:11 Base address:0xfd80
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:3904 Metric:1
RX packets:16 errors:0 dropped:0 overruns:0 frame:0
TX packets:16 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
------------------------------------------------
lsmod
Module Size Used by
3c59x 23676 1 (autoclean)
vfat 11556 1 (autoclean)
fat 32568 0 (autoclean) [vfat]
------------------------------------------------
cat /proc/pci
PCI devices found:
Bus 0, device 0, function 0:
Host bridge: Intel Corporation 440BX/ZX - 82443BX/ZX Host bridge (rev 3).
Master Capable. Latency=64.
Prefetchable 32 bit memory at 0xe0000000 [0xe7ffffff].
Bus 0, device 1, function 0:
PCI bridge: Intel Corporation 440BX/ZX - 82443BX/ZX AGP bridge (rev 3).
Master Capable. Latency=64. Min Gnt=136.
Bus 0, device 3, function 0:
ISA bridge: PCI device 1179:0611 (Toshiba America Info Systems) (rev 81).
Bus 0, device 5, function 0:
Bridge: Intel Corporation 82371AB PIIX4 ISA (rev 2).
Bus 0, device 5, function 1:
IDE interface: Intel Corporation 82371AB PIIX4 IDE (rev 1).
Master Capable. Latency=64.
I/O at 0xfff0 [0xffff].
Bus 0, device 5, function 2:
USB Controller: Intel Corporation 82371AB PIIX4 USB (rev 1).
IRQ 11.
Master Capable. Latency=64.
I/O at 0xff80 [0xff9f].
Bus 0, device 5, function 3:
Bridge: Intel Corporation 82371AB PIIX4 ACPI (rev 3).
Bus 0, device 7, function 0:
Communication controller: Lucent Microelectronics 56k WinModem (rev 1).
IRQ 3.
Master Capable. No bursts. Min Gnt=252.Max Lat=14.
Non-prefetchable 32 bit memory at 0xffefff00 [0xffefffff].
I/O at 0x2f8 [0x2ff].
I/O at 0x1c00 [0x1cff].
Bus 0, device 9, function 0:
IRDA controller: Toshiba America Info Systems FIR Port Type-DO (rev 0).
IRQ 11.
Master Capable. Latency=64.
I/O at 0xff60 [0xff7f].
Bus 0, device 12, function 0:
Multimedia audio controller: Yamaha Corporation YMF-744B [DS-1S Audio Controller] (rev 2).
IRQ 11.
Master Capable. Latency=64. Min Gnt=5.Max Lat=25.
Non-prefetchable 32 bit memory at 0xefff8000 [0xefffffff].
I/O at 0xff00 [0xff3f].
I/O at 0xfefc [0xfeff].
Bus 0, device 15, function 0:
Ethernet controller: 3Com Corporation 3c905C-TX [Fast Etherlink] (rev 108).
IRQ 11.
Master Capable. Latency=64. Min Gnt=10.Max Lat=10.
I/O at 0xfd80 [0xfdff].
Non-prefetchable 32 bit memory at 0xefff7f80 [0xefff7fff].
Bus 1, device 0, function 0:
VGA compatible controller: S3 Inc. 86C270-294 Savage/MX-/IX (rev 17).
IRQ 11.
Master Capable. Latency=248. Min Gnt=4.Max Lat=255.
Non-prefetchable 32 bit memory at 0xf0000000 [0xf7ffffff].