Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 14 Mar 2012 11:40:47 -0700
From:      YongHyeon PYUN <pyunyh@gmail.com>
To:        Jan Winter <jan.winter@kantarmedia.de>
Cc:        stable@freebsd.org
Subject:   Re: bce: Device not configured
Message-ID:  <20120314184047.GA8023@michelle.cdnetworks.com>
In-Reply-To: <4F5F46DE.5050608@kantarmedia.de>
References:  <4F5F46DE.5050608@kantarmedia.de>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Mar 13, 2012 at 02:08:46PM +0100, Jan Winter wrote:
> Hello,
> 
> on an Dell Blade m610 is not possible to change the network media option:
> 
> ifconfig bce0 media 100baseTX mediaopt full-duplex up
> ifconfig: SIOCSIFMEDIA (media): Device not configured
> 
> Setting the media option to "autoselect" and connecting the m610 to a 
> 100 MBit switch, I always get "no carrier"
> only 1g full-duplex seems to be working. I have tested this on 
> 8.3-prerelease and 9-stable
> 
> any Ideas?
> 
> cheers
> Jan
> 
> pciconf -lv
> bce0@pci0:1:0:0:        class=0x020000 card=0x02871028 chip=0x163a14e4 
> rev=0x20 hdr=0x00
>     vendor     = 'Broadcom Corporation'
>     device     = 'NetXtreme II BCM5709S Gigabit Ethernet'
>     class      = network
>     subclass   = ethernet
> 
> dmesg
> bce0: <Broadcom NetXtreme II BCM5709 1000Base-SX (C0)> mem 
> 0xda000000-0xdbffffff irq 36 at device 0.0 on pci1
> miibus0: <MII bus> on bce0
> brgphy0: <BCM5709S 1000/2500baseSX PHY> PHY 2 on miibus0
> brgphy0:  1000baseSX-FDX, auto
> bce0: Ethernet address: 00:26:b9:fb:04:0c
> bce0: ASIC (0x57092000); Rev (C0); Bus (PCIe x4, 2.5Gbps); B/C (5.0.11); 
> Bufs (RX:2;TX:2;PG:8); Flags (SPLT|MSI|MFW); MFW (NCSI 2.0.5)
> Coal (RX:6,6,18,18; TX:20,20,80,80)
> bce1: <Broadcom NetXtreme II BCM5709 1000Base-SX (C0)> mem 
> 0xdc000000-0xddffffff irq 48 at device 0.1 on pci1
> miibus1: <MII bus> on bce1
> brgphy1: <BCM5709S 1000/2500baseSX PHY> PHY 2 on miibus1
> brgphy1:  1000baseSX-FDX, auto
> bce1: Ethernet address: 00:26:b9:fb:04:0e
> bce1: ASIC (0x57092000); Rev (C0); Bus (PCIe x4, 2.5Gbps); B/C (5.0.11); 
> Bufs (RX:2;TX:2;PG:8); Flags (SPLT|MSI|MFW); MFW (NCSI 2.0.5)
> Coal (RX:6,6,18,18; TX:20,20,80,80)
> 

I'm not sure you're seeing one of long standing remote PHY issue of
blade box but would you try the patch at the following URL?
http://people.freebsd.org/~yongari/bce/bce.rphy.diff

After applying the patch, show me the dmesg output(bce(4) and
brgphy(4) related ones) and 'ifconfig -m bce0'.
Note, the patch was not tested at all(lack of hardware).



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