[tulip] nc100 v2.1 PPC quirks

List Receiver crayne-lists@home.com
Wed, 21 Mar 2001 09:58:51 -0800


I've got a LinkSys NC100 v2.1 card mostly working in LinuxPPC, but with a
couple glitches.

1) It won't work at all on the first boot from power-off. I boot all the way
into LPPC, restart, and boot into LPPC again, THEN it works.

2) Ifconfig never reports the hardware address correctly. On first boot it's
pretty close, on subsequent boots it's not so close.

Aside from that, it seems fine.
Is there anything I can do to get this working on first boot? And does the
scrambled HWaddr indicate trouble lurking beneath the surface, or should I
not worry?


The gory details:

The machine is an oldworld PowerMac clone, running LinuxPPC 2000 Q4.
The kernel is 2.2.18, freshly compiled from the source at kernel.org.

The card is:
Network Everywhere Fast Ethernet 10/100 Model No. NC100 Version 2.1 Dated
7/20/2000.
The date is why I used the "test" driver. The card's date is later than the
normal tulip.c date.

In a Win9x PC, the HWaddr is reported as 00 63 6D 12 2F 61

dmesg output (second boot):
tulip.c:v0.92t 1/15/2001  Written by Donald Becker <becker@scyld.com>
  http://www.scyld.com/network/tulip.html
  The PCI BIOS has not enabled the device at 0/104!  Updating PCI command
0014->0016.
eth1: ADMtek Centaur-P rev 17 at 0xc8419000, 00:03:6D:12:00:00, IRQ 23.
eth1:  MII transceiver #1 config 1000 status 786d advertising 01e1.

mii-diag output:
Basic registers of MII PHY #1:  1000 786d 0022 5410 01e1 40a1 0005 2801.
 Basic mode control register 0x1000: Auto-negotiation enabled.
 You have link beat, and everything is working OK.
 Your link partner advertised 40a1: 100baseTx 10baseT.

ifconfig after first boot:
eth1      Link encap:Ethernet  HWaddr 12:6D:03:00:61:2F
          BROADCAST  MTU:1500  Metric:1
          RX packets:2 errors:0 dropped:0 overruns:0 frame:0
          TX packets:16 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100
          Interrupt:23 Base address:0x9000

And finally, ifconfig after subsequent boots:
eth1      Link encap:Ethernet  HWaddr 00:03:6D:12:00:00
          inet addr:192.168.0.4  Bcast:192.168.0.255  Mask:255.255.255.0
          UP BROADCAST NOTRAILERS RUNNING  MTU:1500  Metric:1
          RX packets:3 errors:0 dropped:0 overruns:0 frame:0
          TX packets:4 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100
          Interrupt:23 Base address:0x9000