[vortex] 3C905TX doesn't see 10Mbps hub till unplugged/replugged
Bill Newcomb
nuke@best.com
Sat, 17 Jun 2000 19:00:42 -0700
> From: Bogdan Costescu <Bogdan.Costescu@IWR.Uni-Heidelberg.De>
>
> So, it seems like the card does not get the media setting right at boot,
> but it does it when you disconnect/reconnect it.
> Can you try insmod/rmmod the 3c59x module and see if the driver starts OK?
Looks ok, I don't get any error messages (I seem to need to use
modprobe if pci-scan.o isn't already loaded).
> So I assume that you didn't try to start the module with the option
> specifying the media type. Please read
> http://www.scyld.com/network/vortex.html where you can find the values and
> their meaning.
> Anyway, you want the driver to work without specifying options, so we have
> to find out why the driver does not initialize the card correctly.
I tried using options=0 (autoselect) and options=6 (MII). None of the
other choices seemed appropriate.
I was able to use mii-diag -F 10baseT-HD to get the link to come on
without unplugging/replugging. I'd prefer not to incoporate mii-diag
into the startup scripts, though, especially not hard-coded for
10baseT-HD.
Here's the output of mii-diag -w during the unplug/replug process:
Using the default interface 'eth0'.
Basic registers of MII PHY #24: 3100 7849 2000 5c01 01e1 0000 0000
0000.
Basic mode control register 0x3100: Auto-negotiation enabled.
Basic mode status register 0x7849 ... 7849.
Link status: not established.
18:34:42.-1073742 Baseline value of MII BMSR (basic mode status
register) is 7849.
18:35:06.-1073742 MII BMSR now 7869: no link, NWay done, No Jabber
(0021).
New link partner capability is 0021 0000: 10baseT.
18:35:06.-1073742 MII BMSR now 786d: Good link, NWay done, No Jabber
(0021).
<end>
Making progress but still somewhat confused,
-B.