Bug with 3com card?

john152 at libero.it john152 at libero.it
Wed Jul 30 15:01:14 EDT 2003


Hi all,
i have problems with mii-diag software in detecting the link status
( -w option ).

I'm using a 3Com905-TX card instead of Realtek RTL-8139 
i used before.
With Realtek card all was Ok, infact 
with mii-diag i had the following output:

- at start (cable connected):
     18:54:36.592 Baseline value of MII BMSR
     (basic mode status register) is 782d.

- disconnecting the link:
     18:55:01.632 MII BMSR now 7809: no link, NWay busy,
     No Jabber (0000).
     18:55:01.637 Baseline value of MII BMSR
     basic mode status register) is 7809.

- connecting again the link:
     18:55:06.722 MII BMSR now 782d: Good link,
     NWay done, No Jabber (45e1).
     18:55:06.728 Baseline value of MII BMSR
     (basic mode status register) is 782d.
.
.

Now i have the following output lines with 3Com:

- at start (cable connected):
     18:42:46.073 Baseline value of MII BMSR
     (basic mode status register) is 782d.

- disconnecting the link:
     18:42:50.779 MII BMSR now 7829: no link,
     NWay done, No Jabber (0000).
     18:49:38.524 Baseline value of MII BMSR
     (basic mode status register) is 7809.

- connecting again the link:
     18:52:15.887 MII BMSR now 7829: no link,
     NWay done, No Jabber (41e1).
     18:52:15.895 Baseline value of MII BMSR
     (basic mode status register) is 782d.
.
.

The Baseline value of MII BMSR is correct with each card,
but i think there is an incorrect return value when
written "...MII BMSR now 7829..." (monitor_mii function).

I think that correct values of this new value are 
782d or 7809, aren't they? 

Could it be a bug in the software or more simply this card
is not supported?

It seems that the function mdio_read(ioaddr, phy_id, 1)
can return two different values even if the link status is the 
same!
Infact at the status change, i see two outputs coming from the 
same call "mdio_read(ioaddr, phy_id, 1)" : 
a first output is 7829 ( i don't understand the why)
and the second output is 782d or 7809 and it seems correct.

Thanks in advance for your kind answers and observations.

Giovanni di Giacomo

_______________________________________________
Beowulf mailing list, Beowulf at beowulf.org
To change your subscription (digest mode or unsubscribe) visit http://www.beowulf.org/mailman/listinfo/beowulf



More information about the Beowulf mailing list