[vortex] 3c59x wol problem with official scyld driver
Giulio Orsero
giulioo@pobox.com
Fri Mar 14 12:38:08 2003
Setup:
- kernel 2.2.19-redhat_something
- For wol I use ether-wake and/or perl script wakeonlan.
- 10b7:9200 3Com Corporation 3c905C-TX/TX-M [Tornado] (rev 78)
- wol cable from nic to motherboard
- More log/stuff at end of message.
- asus i440zx-p2-99 BIOS 1011A
Problem:
Using the driver included with the rh kernel I can make wol work by setting
enable_wol=1.
Using the new scyld driver, which I understand does not need nor want
enable_wol, i cannot make wol work; when I switch the computer off I see the
lights on the nic stay lit like with the other driver, but there's no way to
wake it.
Is it possible that the 2 drivers enable wol on different ways, one of them
being unsupported on my old motherboard?
Thanks
== SCYLD ==
pci-scan.c:v1.11 8/31/2002 Donald Becker <becker@scyld.com> http://www.scyld.com/linux/drivers.html
3c59x.c:v0.99Xf 11/17/2002 Donald Becker, becker@scyld.com
http://www.scyld.com/network/vortex.html
eth0: 3Com 3c905C Tornado at 0xd000, 00:01:03:d6:01:18, IRQ 7
8K buffer 5:3 Rx:Tx split, autoselect/Autonegotiate interface.
MII transceiver found at address 24, status 782d.
Using bus-master transmits and whole-frame receives.
vortex-diag.c:v2.13 12/4/2002 Donald Becker (becker@scyld.com)
http://www.scyld.com/diag/index.html
Index #1: Found a 3c905C Tornado 100baseTx adapter at 0xd000.
Station address 00:01:03:d6:01:18.
Receive mode is 0x07: Normal unicast and all multicast.
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 e4cf 0000 8d8d 00bf ffff 0000.
Window 1: FIFO FIFO 0700 0000 0000 007f 0000 2000.
Window 2: 0100 d603 1801 0000 0000 0000 0052 4000.
Window 3: 0000 0180 05ea 0000 000a 0800 0800 6000.
Window 4: 0000 0000 8000 0cc6 0001 88c0 0000 8000.
Window 5: 1ffc 0000 0000 0600 0807 06de 06c6 a000.
Window 6: 0000 0000 0000 f300 0000 552d 1771 c000.
Window 7: 0000 0000 0000 0000 0020 0000 0020 e000.
Vortex chip registers at 0xd000
0xD010: **FIFO** 00000000 00000005 *STATUS*
0xD020: 00000020 07d4e250 00080000 00001404
0xD030: 00000000 3bfac406 07d4e130 00080004
0xD040: 000012ef 00000000 000000b7 00000000
0xD050: 00000000 00000000 00000000 00000000
0xD060: 00000000 00000000 00000000 00000000
0xD070: 00009000 00000000 00000000 00008100
DMA control register is 00000020.
Tx list starts at 07d4e250.
Tx FIFO thresholds: min. burst 256 bytes, priority with 128 bytes to empty.
Rx FIFO thresholds: min. burst 256 bytes, priority with 128 bytes to full.
Poll period Tx 6400 ns., Rx 0 ns.
Maximum burst recorded Tx 0, Rx 0.
Indication enable is 06c6, interrupt enable is 06de.
No interrupt sources are pending.
Transceiver/media interfaces available: 100baseTx 10baseT.
Transceiver type in use: Autonegotiate.
MAC settings: half-duplex.
Station address set to 00:01:03:d6:01:18.
Configuration options 0052.
Setting the EEPROM BIOS ROM field to 0800, new checksum 40.
Would write new 19 entry 0xff80 (old value 0x0180).
Would write new 32 entry 0x0040 (old value 0x00b0).
vortex-diag.c:v2.13 12/4/2002 Donald Becker (becker@scyld.com)
http://www.scyld.com/diag/index.html
Index #1: Found a 3c905C Tornado 100baseTx adapter at 0xd000.
Station address 00:01:03:d6:01:18.
Receive mode is 0x07: Normal unicast and all multicast.
Setting the EEPROM BIOS ROM field to 0800, new checksum 40.
Would write new 19 entry 0xff80 (old value 0x0180).
Would write new 32 entry 0x0040 (old value 0x00b0).
Saved EEPROM settings of a 3Com Vortex/Boomerang:
3Com Node Address 00:01:03:D6:01:18 (used as a unique ID only).
OEM Station address 00:01:03:D6:01:18 (used as the ethernet address).
Device ID 9200, Manufacturer ID 6d50.
Manufacture date (MM/DD/YYYY) 2/15/2001, division H, product HN.
A BIOS ROM of size 0Kx8 is expected.
Transceiver selection: Autonegotiate.
Options: negotiated duplex, link beat required.
PCI Subsystem IDs: Vendor 10b7 Device 1000.
100baseTx 10baseT.
Vortex format checksum is incorrect (26 vs. 10b7).
Cyclone format checksum is incorrect (0xbe vs. 0xb0).
Hurricane format checksum is incorrect (0x97 vs. 0xb0).
vortex-diag.c:v2.13 12/4/2002 Donald Becker (becker@scyld.com)
http://www.scyld.com/diag/index.html
Index #1: Found a 3c905C Tornado 100baseTx adapter at 0xd000.
Station address 00:01:03:d6:01:18.
Receive mode is 0x07: Normal unicast and all multicast.
Setting the EEPROM BIOS ROM field to 0800, new checksum 40.
Would write new 19 entry 0xff80 (old value 0x0180).
Would write new 32 entry 0x0040 (old value 0x00b0).
MII PHY found at address 1, status 0024.
MII PHY found at address 2, status 0024.
MII PHY found at address 3, status 0024.
MII PHY found at address 4, status 0024.
MII PHY 0 at #1 transceiver registers:
0000 0024 0000 0000 01e0 0021 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0600 0619 0000 4000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0bef 0000 0000.
MII PHY 1 at #2 transceiver registers:
0000 0024 0000 0000 01e0 0021 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0600 0619 0000 4000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0bef 0000 0000.
MII PHY 2 at #3 transceiver registers:
0000 0024 0000 0000 01e0 0021 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0600 0619 0000 4000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0bef 0000 0000.
MII PHY 3 at #4 transceiver registers:
0000 0024 0000 0000 01e0 0021 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0600 0619 0000 4000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0bef 0000 0000.
== STOCK REDHAT ==
3c59x.c 18Feb01 Donald Becker and others http://www.scyld.com/network/vortex.html
eth0: 3Com 3c905C Tornado at 0xd000, 00:01:03:d6:01:18, IRQ 7
8K byte-wide RAM 5:3 Rx:Tx split, autoselect/Autonegotiate interface.
MII transceiver found at address 24, status 782d.
Enabling bus-master transmits and whole-frame receives.
eth0: Initial media type Autonegotiate.
eth0: MII #24 status 782d, link partner capability 0021, setting half-duplex.
vortex-diag.c:v2.13 12/4/2002 Donald Becker (becker@scyld.com)
http://www.scyld.com/diag/index.html
Index #1: Found a 3c905C Tornado 100baseTx adapter at 0xd000.
Station address 00:01:03:d6:01:18.
Receive mode is 0x07: Normal unicast and all multicast.
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 e4cf 0000 8d8d 00bf ffff 0000.
Window 1: FIFO FIFO 0700 0000 0000 007f 0000 2000.
Window 2: 0100 d603 1801 0000 0000 0000 0052 4000.
Window 3: 0000 0180 05ea 0000 000a 0800 0800 6000.
Window 4: 0000 0000 8000 0cc6 0001 88c0 0000 8000.
Window 5: 1ffc 0000 0000 0600 0807 06ce 06c6 a000.
Window 6: 0000 0000 0000 d501 0100 c443 16f0 c000.
Window 7: 0000 0000 0000 0000 0020 0000 0020 e000.
Vortex chip registers at 0xd000
0xD010: **FIFO** 00000000 00000011 *STATUS*
0xD020: 00000020 00000000 00080000 00000004
0xD030: 00000000 74668b9a 07d4e150 00080004
0xD040: 004adca4 00000000 000000b7 00000000
0xD050: 00000000 00000000 00000000 00000000
0xD060: 00000000 00000000 00000000 00000000
0xD070: 00001000 00000000 00000020 00000000
DMA control register is 00000020.
Tx list starts at 00000000.
Tx FIFO thresholds: min. burst 256 bytes, priority with 128 bytes to empty.
Rx FIFO thresholds: min. burst 256 bytes, priority with 128 bytes to full.
Poll period Tx 00 ns., Rx 0 ns.
Maximum burst recorded Tx 32, Rx 0.
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: half-duplex.
Station address set to 00:01:03:d6:01:18.
Configuration options 0052.
Setting the EEPROM BIOS ROM field to 0800, new checksum 40.
Would write new 19 entry 0xff80 (old value 0x0180).
Would write new 32 entry 0x0040 (old value 0x00b0).
vortex-diag.c:v2.13 12/4/2002 Donald Becker (becker@scyld.com)
http://www.scyld.com/diag/index.html
Index #1: Found a 3c905C Tornado 100baseTx adapter at 0xd000.
Station address 00:01:03:d6:01:18.
Receive mode is 0x07: Normal unicast and all multicast.
Setting the EEPROM BIOS ROM field to 0800, new checksum 40.
Would write new 19 entry 0xff80 (old value 0x0180).
Would write new 32 entry 0x0040 (old value 0x00b0).
Saved EEPROM settings of a 3Com Vortex/Boomerang:
3Com Node Address 00:01:03:D6:01:18 (used as a unique ID only).
OEM Station address 00:01:03:D6:01:18 (used as the ethernet address).
Device ID 9200, Manufacturer ID 6d50.
Manufacture date (MM/DD/YYYY) 2/15/2001, division H, product HN.
A BIOS ROM of size 0Kx8 is expected.
Transceiver selection: Autonegotiate.
Options: negotiated duplex, link beat required.
PCI Subsystem IDs: Vendor 10b7 Device 1000.
100baseTx 10baseT.
Vortex format checksum is incorrect (26 vs. 10b7).
Cyclone format checksum is incorrect (0xbe vs. 0xb0).
Hurricane format checksum is incorrect (0x97 vs. 0xb0).
vortex-diag.c:v2.13 12/4/2002 Donald Becker (becker@scyld.com)
http://www.scyld.com/diag/index.html
Index #1: Found a 3c905C Tornado 100baseTx adapter at 0xd000.
Station address 00:01:03:d6:01:18.
Receive mode is 0x07: Normal unicast and all multicast.
Setting the EEPROM BIOS ROM field to 0800, new checksum 40.
Would write new 19 entry 0xff80 (old value 0x0180).
Would write new 32 entry 0x0040 (old value 0x00b0).
MII PHY found at address 1, status 0024.
MII PHY found at address 2, status 0024.
MII PHY found at address 3, status 0024.
MII PHY found at address 4, status 0024.
MII PHY 0 at #1 transceiver registers:
0000 0024 0000 0000 01e0 0021 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0600 0619 0000 4000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0bef 0000 0000.
MII PHY 1 at #2 transceiver registers:
0000 0024 0000 0000 01e0 0021 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0600 0619 0000 4000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0bef 0000 0000.
MII PHY 2 at #3 transceiver registers:
0000 0024 0000 0000 01e0 0021 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0600 0619 0000 4000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0bef 0000 0000.
MII PHY 3 at #4 transceiver registers:
0000 0024 0000 0000 01e0 0021 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0600 0619 0000 4000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0bef 0000 0000.
--
giulioo@pobox.com