From owner-freebsd-stable@FreeBSD.ORG Wed Mar 14 20:58:34 2012 Return-Path: Delivered-To: stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 747871065672 for ; Wed, 14 Mar 2012 20:58:34 +0000 (UTC) (envelope-from sodynet1@gmail.com) Received: from mail-gx0-f182.google.com (mail-gx0-f182.google.com [209.85.161.182]) by mx1.freebsd.org (Postfix) with ESMTP id 2D4488FC15 for ; Wed, 14 Mar 2012 20:58:34 +0000 (UTC) Received: by ggnk4 with SMTP id k4so2799980ggn.13 for ; Wed, 14 Mar 2012 13:58:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=BFSnx74YFK6ZIofMYVUHs8sAMjYIkwUH9xSrjtqb7iQ=; b=UxS5S7RGZHG4OVicGkydbqK4bNYUxqimqXpKh9UGLqP+bAbIp78DL0HqcTL8U6PfMx RhhOvJ919cCXfJleiEpNzqf+a18yfQHr2LPOjt/NI4nsshbjrz+KtFqjwTFLJ/B/VAaR Ttc/R4qM2uhPDw6bpG1mCXAgpczsaOcVJRu0I4FIJgq19q8fSF3i+vcNOMeKqqDDRM1T IPxRch2oy7uKI6SpMM12CcdU/Hc/8B5JuJ/hWXIYABHveQNKyssupNSbMdpw8ZoTHFvW aSq74nLdrfVHmJRFuhRCXfq2lR5XXFOB5zmxYXbVsfG+qPcLoYVDDlHtYlIRd5/3YDZb rHXA== MIME-Version: 1.0 Received: by 10.60.1.4 with SMTP id 4mr5287379oei.28.1331758713264; Wed, 14 Mar 2012 13:58:33 -0700 (PDT) Received: by 10.182.48.165 with HTTP; Wed, 14 Mar 2012 13:58:33 -0700 (PDT) In-Reply-To: <4F60AC6C.2060805@kantarmedia.de> References: <4F5F46DE.5050608@kantarmedia.de> <20120314184047.GA8023@michelle.cdnetworks.com> <4F60AC6C.2060805@kantarmedia.de> Date: Wed, 14 Mar 2012 22:58:33 +0200 Message-ID: From: Sami Halabi To: pyunyh@gmail.com, Jan Winter Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: stable@freebsd.org Subject: Re: bce: Device not configured X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Mar 2012 20:58:34 -0000 Hi, I'm having this card on my IBM X3550, FBSD8.1-R-p8: # pciconf -lv bce0@pci0:11:0:0: class=0x020000 card=0x03a91014 chip=0x163914e4 rev=0x20 hdr=0x00 vendor = 'Broadcom Corporation' device = 'NetXtreme II Gigabit Ethernet (BCM5709)' class = network subclass = ethernet bce1@pci0:11:0:1: class=0x020000 card=0x03a91014 chip=0x163914e4 rev=0x20 hdr=0x00 vendor = 'Broadcom Corporation' device = 'NetXtreme II Gigabit Ethernet (BCM5709)' class = network subclass = ethernet # lspci 0b:00.0 Ethernet controller: Broadcom Corporation NetXtreme II BCM5709 Gigabit Ethernet (rev 20) 0b:00.1 Ethernet controller: Broadcom Corporation NetXtreme II BCM5709 Gigabit Ethernet (rev 20) the box is running for about 200 days so i don't have dmesg output. do i need to patch? Sami On Wed, Mar 14, 2012 at 4:34 PM, Jan Winter wrote: > On 03/14/12 19:40, YongHyeon PYUN wrote: > >> 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: mem >>> 0xda000000-0xdbffffff irq 36 at device 0.0 on pci1 >>> miibus0: on bce0 >>> brgphy0: 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: mem >>> 0xdc000000-0xddffffff irq 48 at device 0.1 on pci1 >>> miibus1: on bce1 >>> brgphy1: 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). >> > > Hello, > > thank you very much, for your quick support > Now its looking much better > > ifconfig -m bce0 > bce0: flags=8843 metric 0 mtu > 1500 > options=c01bb MTU,VLAN_HWCSUM,TSO4,VLAN_**HWTSO,LINKSTATE> > capabilities=c01bb HWTAGGING,JUMBO_MTU,VLAN_**HWCSUM,TSO4,VLAN_HWTSO,**LINKSTATE> > ether 00:26:b9:fb:04:0c > inet 192.168.100.30 netmask 0xffffff00 broadcast 192.168.100.255 > inet6 fe80::226:b9ff:fefb:40c%bce0 prefixlen 64 tentative scopeid > 0x1 > nd6 options=29 > media: Ethernet autoselect (1000baseT ) > status: active > supported media: > media autoselect > media 1000baseT mediaopt full-duplex > media 1000baseT > media 100baseTX mediaopt full-duplex > media 100baseTX > media 10baseT/UTP mediaopt full-duplex > media 10baseT/UTP > > dmesg: > ..... > > bce0: mem > 0xda000000-0xdbffffff irq 36 at device 0.0 on pci1 > bce0: attempting to allocate 1 MSI vectors (16 supported) > msi: routing MSI IRQ 256 to local APIC 16 vector 52 > bce0: using IRQ 256 for MSI > bce0: Remote PHY : TP > bce0: bpf attached > > 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|Remote PHY(TP)|MFW); MFW (NCSI 2.0.5) > > Coal (RX:6,6,18,18; TX:20,20,80,80) > bce1: mem > 0xdc000000-0xddffffff irq 48 at device 0.1 on pci1 > bce1: attempting to allocate 1 MSI vectors (16 supported) > msi: routing MSI IRQ 257 to local APIC 16 vector 53 > bce1: using IRQ 257 for MSI > bce1: Remote PHY : TP > bce1: bpf attached > > 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|Remote PHY(TP)|MFW); MFW (NCSI 2.0.5) > > Coal (RX:6,6,18,18; TX:20,20,80,80) > ..... > > I have done a quick test with 100 and 1000 MBit, both working very well. > Its possible to get a Patch for 8 Stable? > > > thank in advance > Jan > > > > > ______________________________**_________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/**mailman/listinfo/freebsd-**stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@**freebsd.org > " > -- Sami Halabi Information Systems Engineer NMS Projects Expert