[vortex] A 3c905B behaving strange
Antti T J Granqvist
granqvis@cc.helsinki.fi
Wed Nov 13 15:30:41 2002
> > - Setting parameters on 3c905B using vortex_diag and mii_diag from
> > http://www.scyld.com/network/vortex.html
>
> What parameters did you set? Setting parameters is far more likely to
> break something than to fix a problem.
See information at bottom.
> > Btw. Any idea why the 3c905B floods ethernet at boot until Linux kernel
> > has initialized it?
>
> It shouldn't -- when are you seeing this? Warm boot? From what OS?
[granqvis@fisrv002 granqvis]$ uname -a
Linux fisrv002.bittirasti.com 2.4.18-3smp #1 SMP Thu Apr 18 07:27:31 EDT
2002 i686 unknown
Distribution is RH7.3 on an IBM pc server 330
-warm boot no
-cold boot yes, lights on the hub (a 10baseT) indicating activity and
collisions are continuously on from pressing the power button til
'bringing up eth0' message is displayed and no activity lights are on in
the NIC during this time.
>
> > Transceiver type in use: 10baseT.
> > MAC settings: full-duplex.
>
> Are you forcing full duplex?
> If so, why?
When running vortex_diag eth0 was as it were brought
up at boot.
[root@fisrv002 root]# less /etc/modules.conf
alias parport_lowlevel parport_pc
alias eth0 3c59x
# parameters added by AG 12.11.2002
# options 3c59x debug=1 full_duplex=0 options=9
alias eth1 pcnet32
alias scsi_hostadapter aic7xxx
alias scsi_hostadapter1 ips
alias scsi_hostadapter2 ips
After uncommenting parameters in modules.conf I did /etc/init.d/network
restart. Is the an acceptable method btw? At least I can see the module
loaded with those parameters.
Then I tried using mii_diag like this:
[root@fisrv002 root]# ./mii-diag -f -F 10baseT-HD
Using the default interface 'eth0'.
Setting the speed to "fixed", Control register 0000.
Basic registers of MII PHY #0: 0000 0000 0000 0000 0000 0000 0000 0000.
No MII transceiver present!.
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.
Link partner information is not exchanged when in fixed speed mode.
End of basic transceiver information.
But the configuration has not changed anywhere, I must have missed
something here:
[root@fisrv002 root]# ./vortex-diag -aemf
vortex-diag.c:v2.09 9/18/2002 Donald Becker (becker@scyld.com)
http://www.scyld.com/diag/index.html
Index #1: Found a 3c905B Cyclone 100baseTx adapter at 0xa000.
Initial window 4, registers values by window:
Window 0: 0000 0000 0000 0000 0000 00bf 0000 0000.
Window 1: 0000 0000 0000 0000 0000 0000 0000 2000.
Window 2: 1000 985a a327 0000 0000 0000 000a 4000.
Window 3: 0000 0200 05ea 0020 000a 0800 0800 6000.
Window 4: 0000 0000 0000 0ed8 0001 98c0 0000 8000.
Window 5: 1ffc 0000 0000 0600 0807 06ce 06c6 a000.
Window 6: 0000 0000 0000 4d00 0000 1992 2849 c000.
Window 7: 0000 0000 0000 0000 0000 0000 0000 e000.
Vortex chip registers at 0xa000
0xA010: 00000000 00000000 00000032 00000000
0xA020: 00000020 00000000 00080000 00000004
0xA030: 00000000 b9994667 1228f050 00080004
Indication enable is 06c6, interrupt enable is 06ce.
No interrupt sources are pending.
Transceiver/media interfaces available: 100baseTx 10baseT.
Transceiver type in use: 10baseT.
MAC settings: full-duplex.
Station address set to 00:10:5a:98:27:a3.
Configuration options 000a.
Saved EEPROM settings of a 3Com Vortex/Boomerang:
3Com Node Address 00:10:5A:98:27:A3 (used as a unique ID only).
OEM Station address 00:10:5A:98:27:A3 (used as the ethernet address).
Device ID 9055, Manufacturer ID 6d50.
Manufacture date (MM/DD/YYYY) 9/19/1998, division 6, product QZ.
No BIOS ROM is present.
Options: force full duplex, link beat required.
Vortex format checksum is incorrect (3e vs. 10b7).
Cyclone format checksum is correct (0x56 vs. 0x56).
Hurricane format checksum is correct (0x56 vs. 0x56).
MII PHY found at address 24, status 784d.
MII PHY found at address 0, status 784d.
MII PHY 0 at #24 transceiver registers:
0000 784d 0000 0000 01e1 0000 0004 2001
0000 0000 0000 0000 0000 0000 0000 0000
0000 0080 0090 0000 0000 0005 2001 0000
0000 2040 07cf 1c11 0111 1000 0000 0000.
MII PHY 1 at #0 transceiver registers:
0000 784d 0000 0000 01e1 0000 0004 2001
0000 0000 0000 0000 0000 0000 0000 0000
0000 0080 0090 0000 0000 0005 2001 0000
0000 2040 07cf 1c11 0011 1000 0000 0000.
Also when I did ./mii_diag -R it caused the Ethernet to be flooded as in
cold boot so that I had to go to the console and restart the network.
Hope this information brings us further, and thanks for the efforts so
far.
Regards,
Antti