From owner-freebsd-current@FreeBSD.ORG Wed Jan 13 18:46:08 2010 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A2FAF1065670 for ; Wed, 13 Jan 2010 18:46:08 +0000 (UTC) (envelope-from delphij@gmail.com) Received: from mail-pz0-f185.google.com (mail-pz0-f185.google.com [209.85.222.185]) by mx1.freebsd.org (Postfix) with ESMTP id 78C2A8FC12 for ; Wed, 13 Jan 2010 18:46:08 +0000 (UTC) Received: by pzk15 with SMTP id 15so15073217pzk.3 for ; Wed, 13 Jan 2010 10:45:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=+xV4OQOAZQ3dZGimJw78tdZEYZakWlHMRU1SQpui0Eg=; b=YS28/Et49ZYRd7315uJdsCMYpH4rVDRxkAZLSG0d6xLQlk7JtxMkqMlT+SnC3u4Ha+ iP9p8J+FuauyiEhBZ38wnsMqPR8JDPv4xck20IDkuAfm2l3AWGCpH3cbShbGgGcMm5DD uVCRW9CgfD2OPo4DN9MyniVp8sL0/Th6AwBEk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=WEi1Tjx8cGw2EDFKyJo9OlN7IVt2MHB0D6pjr0RgyzhVuTD5KzyLrSpn7ZL+Cy9T21 O/5HWy3Z2+bMZgEvLDVKJBdMVq4Up7X+4Dmsl84OAbWVFAgR5C7KRiUaQYrw9Gfi1Faf LeyrVAZLY1Mg11iI1/5A3dhhgZNmmqxXSrrfU= MIME-Version: 1.0 Received: by 10.115.113.14 with SMTP id q14mr306637wam.178.1263408357389; Wed, 13 Jan 2010 10:45:57 -0800 (PST) In-Reply-To: <201001131838.o0DIcj3N011647@lurza.secnetix.de> References: <201001131838.o0DIcj3N011647@lurza.secnetix.de> Date: Wed, 13 Jan 2010 10:45:57 -0800 Message-ID: From: Xin LI To: Oliver Fromme Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: freebsd-current@freebsd.org Subject: Re: bge(4), 5715S, IBM BladeCenter, no carrier X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Jan 2010 18:46:08 -0000 On Wed, Jan 13, 2010 at 10:38 AM, Oliver Fromme wr= ote: > Hi, > > I've got problems with the bge(4) interfaces on certain > blades installed within an IBM BladeCenter. =C2=A0AFAIK these > are fiber PHYs connected to internal fiber-to-copper > transceivers inside the blade chassis. > > Basically, the interfaces are recognized and attached, > but I don't get a carrier detected. =C2=A0The hardware is > ok, and there is indeed a gigabit switch connected to > the ports (under Linux, the carrier is detected and the > interfaces work fine). > > ifconfig output: > > bge0: flags=3D9843 metric 0= mtu 1500 > =C2=A0 =C2=A0 =C2=A0 =C2=A0options=3D9b > =C2=A0 =C2=A0 =C2=A0 =C2=A0ether 00:21:5e:4c:07:22 > =C2=A0 =C2=A0 =C2=A0 =C2=A0inet 10.2.13.42 netmask 0xffffff00 broadcast 1= 0.2.13.255 > =C2=A0 =C2=A0 =C2=A0 =C2=A0media: Ethernet 1000baseT (none) > =C2=A0 =C2=A0 =C2=A0 =C2=A0status: no carrier > > Related pciconf -lv entries: > > pcib3@pci0:21:0:0: =C2=A0 =C2=A0 =C2=A0class=3D0x060400 card=3D0x00000000= chip=3D0x01031166 rev=3D0xb5 hdr=3D0x01 > =C2=A0 =C2=A0vendor =C2=A0 =C2=A0 =3D 'ServerWorks (Was: Reliance Compute= r Corp)' > =C2=A0 =C2=A0device =C2=A0 =C2=A0 =3D 'Broadcom dual gigabit, pci bridge = (BCM5715)' > =C2=A0 =C2=A0class =C2=A0 =C2=A0 =C2=A0=3D bridge > =C2=A0 =C2=A0subclass =C2=A0 =3D PCI-PCI > bge0@pci0:22:4:0: =C2=A0 =C2=A0 =C2=A0 class=3D0x020000 card=3D0x03671014= chip=3D0x167914e4 rev=3D0xa3 hdr=3D0x00 > =C2=A0 =C2=A0vendor =C2=A0 =C2=A0 =3D 'Broadcom Corporation' > =C2=A0 =C2=A0device =C2=A0 =C2=A0 =3D 'NetXtreme 5715S Gigabit Ethernet' > =C2=A0 =C2=A0class =C2=A0 =C2=A0 =C2=A0=3D network > =C2=A0 =C2=A0subclass =C2=A0 =3D ethernet > > (There are more interfaces; I list bge0 only for brevity.) > > Excerpt from dmesg -v: > > bge0: m= em 0x97a00000-0x97a0ffff,0x97a10000-0x97a1ffff irq 24 at device 4.0 on pci2= 2 > bge0: Reserved 0x10000 bytes for rid 0x10 type 3 at 0x97a00000 > bge0: attempting to allocate 1 MSI vectors (8 supported) > msi: routing MSI IRQ 256 to local APIC 0 vector 56 > bge0: using IRQ 256 for MSI > bge0: CHIP ID 0x00009003; ASIC REV 0x09; CHIP REV 0x90; PCI-X > bge0: bpf attached > bge0: Ethernet address: 00:21:5e:4c:07:22 > bge0: [MPSAFE] > bge0: [ITHREAD] > > Actually this is an 8-stable snapshot from December, but > with if_bge.c and if_bgereg.h from 9-current as of today, > because I saw a bunch of commits to HEAD last week. > (That's why I'm posting this to -current.) Which PHY is attached to it? e.g. dmesg | grep miibus? --=20 Xin LI http://www.delphij.net