bce: unable to fix media

Xin LI delphij at delphij.net
Thu Mar 19 21:32:46 PDT 2009


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi, Pyun,

Pyun YongHyeon wrote:
> On Tue, Mar 03, 2009 at 02:26:11PM +0100, Cristiano Deana wrote:
>> 2009/3/3 Pyun YongHyeon <pyunyh at gmail.com>:
>>
>>>> # ifconfig bce0 media 1000baseSX
>>>> ifconfig: SIOCSIFMEDIA (media): Device not configured
>>> I don't have experience on bce(4) hardwares so I'm not sure but how
>>> about adding full-duplex?
>>> e.g. ifconfig bce0 media 1000baseSX mediaopt full-duplex
>> Thanks, that works. But put the card in "no carrier".
>> I will let in autoselect
>>
> 
> Yeah, that would be the reason why you always have to rely on
> auto-negotiation.

IIRC bce(4) has some problem when 1000baseSX not being auto-negotiated
so I believe that your analysis is right.

>>>> or (according to bce(4)):
>>>>
>>>> # ifconfig bce0 media 1000baseTX
>>>> ifconfig: SIOCSIFMEDIA (media): Device not configured
>>>>
>>> I guess your PHY type is not for 1000baseT. That's not valid option
>>> for your controller.
>> I think there is a typo o incomplete description in bce(4):
>>
>>      1000baseTX   Set 1000baseTX operation over twisted pair.  Only
>>                   full-duplex mode is supported.
>>
>> No entry for "1000baseSX".
> 
> bce(4) man page should reflect reality. I think the man page was
> written when there was no support for TBI. Things has changed since
> then(e.g BCM5709, 1000baseSX/2500baseSX support etc).
> Xin Li, would you take care of this?(CCed)

Yes.  I'll give this a shoot, thanks for pointing out!

Cheers,
- --
Xin LI <delphij at delphij.net>	http://www.delphij.net/
FreeBSD - The Power to Serve!
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.11 (FreeBSD)

iEYEARECAAYFAknDHF8ACgkQi+vbBBjt66D6UQCbBoAJjHQIuUxs6Dzjz38Razqj
5EkAoKYQnzKsTtE6sdPPpi15+1XXwS0n
=bE5N
-----END PGP SIGNATURE-----


More information about the freebsd-stable mailing list