Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 19 Mar 2009 21:32:31 -0700
From:      Xin LI <delphij@delphij.net>
To:        pyunyh@gmail.com
Cc:        FreeBSD Stable Mailing List <freebsd-stable@freebsd.org>, Cristiano Deana <cristiano.deana@gmail.com>, delphij@FreeBSD.org
Subject:   Re: bce: unable to fix media
Message-ID:  <49C31C5F.9070402@delphij.net>
In-Reply-To: <20090304011019.GA87142@michelle.cdnetworks.co.kr>
References:  <d8a4930a0903030202u5e965e3o9a630529de375f8d@mail.gmail.com>	<20090303123156.GC84434@michelle.cdnetworks.co.kr>	<d8a4930a0903030526m4807cc3hc0b5df2d41696ffc@mail.gmail.com> <20090304011019.GA87142@michelle.cdnetworks.co.kr>

next in thread | previous in thread | raw e-mail | index | archive | help
-----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@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@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-----



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?49C31C5F.9070402>