[vortex] Mini PCI - no link
Dave Dribin
dave-ml@dribin.org
Mon Jun 10 14:30:01 2002
Hello,
I bought a Mini PCI upgrade for my IBM ThinkPad T20 so I could use the
internal ethernet rather than a PCMCIA. I cannot get the driver to
initialize the card correctly and the link light never comes on.
Before I cut and paste in a bunch of logs, lemme first say that this
card does work under Windows. I tried it in a coworker's laptop
(ThinkPad T22) with Win98SE (don't have Win98 on my laptop). Also
strange is that when rebooting to Linux, the card worked after coming
from Win98. If we reset the laptop from poweroff, it also did not
work under Linux.
I first tried the 3c59x driver that comes with the 2.4.18 kernel.
Here's what I get in syslog after trying to bring up the interface.
Note that the MAC address is correct:
------------------------------------------------------------------------
Jun 10 13:04:48 neo kernel: PCI: Found IRQ 9 for device 00:03.0
Jun 10 13:04:48 neo kernel: PCI: Sharing IRQ 9 with 00:03.1
Jun 10 13:04:48 neo kernel: 3c59x: Donald Becker and others. www.scyld.com/network/vortex.html
Jun 10 13:04:48 neo kernel: See Documentation/networking/vortex.txt
Jun 10 13:04:48 neo kernel: 00:03.0: 3Com PCI 3c556B Laptop Hurricane at 0x1800. Vers LK1.1.16
Jun 10 13:04:48 neo kernel: 00:04:76:51:2e:9c, IRQ 9
Jun 10 13:04:48 neo kernel: product code 0000 rev aa.8 date 03-01-00
Jun 10 13:04:48 neo kernel: 00:03.0: CardBus functions mapped e8101000->d8889000
Jun 10 13:04:48 neo kernel: 8K byte-wide RAM 5:3 Rx:Tx split, Autonegotiate interface.
Jun 10 13:04:48 neo kernel: MII transceiver found at address 0, status 7849.
Jun 10 13:04:48 neo kernel: Enabling bus-master transmits and whole-frame receives.
Jun 10 13:04:48 neo kernel: 00:03.0: scatter/gather enabled. h/w checksums enabled
Jun 10 13:04:48 neo modprobe: modprobe: Can't locate module net-pf-4
Jun 10 13:04:48 neo modprobe: modprobe: Can't locate module net-pf-5
Jun 10 13:04:48 neo /etc/hotplug/net.agent: register event not handled
Jun 10 13:04:48 neo pumpd[2301]: starting at (uptime 0 days, 0:36:52) Mon Jun 10 13:04:48 2002
Jun 10 13:04:48 neo kernel: eth0: using default media Autonegotiate
Jun 10 13:04:48 neo kernel: eth0: MII #0 status 7849, link partner capability 0001, info1 0010, setting half-duplex.
Jun 10 13:06:48 neo kernel: eth0: vortex_error(), status=0xe081
------------------------------------------------------------------------
Next, I tried the current release from the SCYLD page. I couldn't get
these modules to load:
------------------------------------------------------------------------
# insmod pci-scan.o
Warning: loading pci-scan.o will taint the kernel: no license
# insmod 3c59x.o debug=7
Warning: loading 3c59x.o will taint the kernel: no license
3c59x.o: init_module: No such device
Hint: insmod errors can be caused by incorrect module parameters, including invalid IO or IRQ parameters
------------------------------------------------------------------------
Finally, I tried the test version. These modules loaded fine, but I
still did not get a link light. Note that the MAC address is now also
incorrect:
------------------------------------------------------------------------
Jun 10 13:17:17 neo kernel: 3c59x.c:v0.99W 6/5/2002 Donald Becker, becker@scyld.com
Jun 10 13:17:17 neo kernel: http://www.scyld.com/network/vortex.html
Jun 10 13:17:17 neo kernel: eth0: 3Com 3c1556B mini-PCI at 0x1800, 00:aa:00:aa:00:aa, IRQ 9
Jun 10 13:17:17 neo kernel: eth0: CardBus functions mapped e8101000->d8894000.
Jun 10 13:17:17 neo kernel: 8K buffer 5:3 Rx:Tx split, Autonegotiate interface.
Jun 10 13:17:17 neo kernel: MII transceiver found at address 0, status 7849.
Jun 10 13:17:17 neo kernel: Using bus-master transmits and whole-frame receives.
Jun 10 13:17:17 neo modprobe: modprobe: Can't locate module net-pf-4
Jun 10 13:17:17 neo modprobe: modprobe: Can't locate module net-pf-5
Jun 10 13:17:17 neo /etc/hotplug/net.agent: register event not handled
Jun 10 13:17:17 neo pumpd[2559]: starting at (uptime 0 days, 0:49:21) Mon Jun 10 13:17:17 2002
Jun 10 13:17:17 neo kernel: eth0: MII #0 status 7849, link partner capability 0001, setting half-duplex.
Jun 10 13:18:17 neo last message repeated 2 times
------------------------------------------------------------------------
I also tried the Source RPM version, and that one did not compile:
------------------------------------------------------------------------
kgcc -DMODULE -D__KERNEL__ -Wall -Wstrict-prototypes -O6 -I/lib/modules/2.4.18-dld-1/build/include -pipe -fno-strength-reduce -DMODVERSIONS -c -o 3c59x.o 3c59x.c
3c59x.c: In function `vortex_error':
3c59x.c:1474: `NETIF_MSG_MISC' undeclared (first use in this function)
3c59x.c:1474: (Each undeclared identifier is reported only once
3c59x.c:1474: for each function it appears in.)
------------------------------------------------------------------------
I've run out of ideas and things to try here. Please let me know if
you need any more information, or if you would like me to try
something out. I'll work with this card for a few days, but if I
can't get it to work, I'm gonna return it.
Thanks!
-Dave