From owner-freebsd-stable@FreeBSD.ORG Wed Mar 14 02:40:59 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 B2890106574C for ; Wed, 14 Mar 2012 02:40:59 +0000 (UTC) (envelope-from pyunyh@gmail.com) Received: from mail-pz0-f45.google.com (mail-pz0-f45.google.com [209.85.210.45]) by mx1.freebsd.org (Postfix) with ESMTP id 81D648FC08 for ; Wed, 14 Mar 2012 02:40:59 +0000 (UTC) Received: by dadp14 with SMTP id p14so4836238dad.18 for ; Tue, 13 Mar 2012 19:40:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:date:to:cc:subject:message-id:reply-to:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; bh=yt48Z5P7nARIm9Hh2UCLdj7RrrBtHRv+AsheBBgKWCs=; b=uMePeLQV7JPRJ/faUocrTxyqHhyiNlbc0tKQRvO1IT/Cg0PHevhpBuyNOv4LwgSXx8 ozIPmBaFUMJrM1sFGuT77OD3wGQj1+W0Ub1u0znx7MV7XuG/KrXHtKwBuXGUIFV+6V0A Euxi8Yqh1Yg83vYdMDxhg4PoBuPqqgWLieYOm1by5QUmvL/QRfn5F+5dCiKPMrhfDXb6 dvUmIT6lNCtN4PiV9mSa4DyR/6qOa2I03ZzL5FHxPJaYterbC3bKGM6Dfx0vTHeJpSgR 2GYq7GzJLrsXmIpTNN7zwMYmISwKPPFKwaCe4ZVBjSZ75TUG1pN7Jr7RTZHGcLg2pcgE ZBSg== Received: by 10.68.230.99 with SMTP id sx3mr1349916pbc.55.1331692859035; Tue, 13 Mar 2012 19:40:59 -0700 (PDT) Received: from pyunyh@gmail.com ([114.111.62.249]) by mx.google.com with ESMTPS id 9sm1645401pbx.67.2012.03.13.19.40.56 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 13 Mar 2012 19:40:58 -0700 (PDT) Received: by pyunyh@gmail.com (sSMTP sendmail emulation); Wed, 14 Mar 2012 11:40:47 -0700 From: YongHyeon PYUN Date: Wed, 14 Mar 2012 11:40:47 -0700 To: Jan Winter Message-ID: <20120314184047.GA8023@michelle.cdnetworks.com> References: <4F5F46DE.5050608@kantarmedia.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4F5F46DE.5050608@kantarmedia.de> User-Agent: Mutt/1.4.2.3i Cc: stable@freebsd.org Subject: Re: bce: Device not configured X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: pyunyh@gmail.com 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 02:40:59 -0000 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).