From owner-freebsd-current@FreeBSD.ORG  Wed Jan 13 19:02:27 2010
Return-Path: <owner-freebsd-current@FreeBSD.ORG>
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 B86DB106566B
	for <freebsd-current@FreeBSD.ORG>; Wed, 13 Jan 2010 19:02:27 +0000 (UTC)
	(envelope-from olli@lurza.secnetix.de)
Received: from lurza.secnetix.de (lurza.secnetix.de [IPv6:2a01:170:102f::2])
	by mx1.freebsd.org (Postfix) with ESMTP id 26E9E8FC12
	for <freebsd-current@FreeBSD.ORG>; Wed, 13 Jan 2010 19:02:26 +0000 (UTC)
Received: from lurza.secnetix.de (localhost [127.0.0.1])
	by lurza.secnetix.de (8.14.3/8.14.3) with ESMTP id o0DJ2Arm013146;
	Wed, 13 Jan 2010 20:02:25 +0100 (CET)
	(envelope-from oliver.fromme@secnetix.de)
Received: (from olli@localhost)
	by lurza.secnetix.de (8.14.3/8.14.3/Submit) id o0DJ2AKQ013145;
	Wed, 13 Jan 2010 20:02:10 +0100 (CET) (envelope-from olli)
Date: Wed, 13 Jan 2010 20:02:10 +0100 (CET)
Message-Id: <201001131902.o0DJ2AKQ013145@lurza.secnetix.de>
From: Oliver Fromme <olli@lurza.secnetix.de>
To: freebsd-current@FreeBSD.ORG, delphij@gmail.com
In-Reply-To: <a78074951001131045r62e72a82ncae9ad4dba0a90a@mail.gmail.com>
X-Newsgroups: list.freebsd-current
User-Agent: tin/1.8.3-20070201 ("Scotasay") (UNIX)
	(FreeBSD/6.4-PRERELEASE-20080904 (i386))
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.1.2
	(lurza.secnetix.de [127.0.0.1]);
	Wed, 13 Jan 2010 20:02:26 +0100 (CET)
Cc: 
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
	<freebsd-current.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-current>, 
	<mailto:freebsd-current-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-current>
List-Post: <mailto:freebsd-current@freebsd.org>
List-Help: <mailto:freebsd-current-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-current>,
	<mailto:freebsd-current-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Wed, 13 Jan 2010 19:02:27 -0000

Xin LI wrote:
 > On Wed, Jan 13, 2010 at 10:38 AM, Oliver Fromme <olli@lurza.secnetix.de> wrote:
 > > [...]
 > > Excerpt from dmesg -v:
 > > 
 > > bge0: <Broadcom NetXtreme Gigabit Fiber Controller, ASIC rev. 0x009003> mem 0x97a00000-0x97a0ffff,0x97a10000-0x97a1ffff irq 24 at device 4.0 on pci22
 > > 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?

Hmm.  Interestingly, I don't see any PHY in the verbose dmesg
output from the 9-current driver.  Maybe I should merge the
brgphy driver from 9-current to the 8-stable machine, too.
I'll try that tomorrow.
(But shouldn't there be a warning message if bge attaches
without any PHY?)

In the (non-verbose) output using the 8-stable driver, the
following appears in dmesg:

miibus0: <MII bus> on bge0
brgphy0: <BCM5714 10/100/1000baseTX PHY> PHY 1 on miibus0
brgphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto

The symptom is the same in either case, though:
ifconfig displays "status: no carrier".

Best regards
   Oliver

-- 
Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b. M.
Handelsregister: Registergericht Muenchen, HRA 74606,  Geschäftsfuehrung:
secnetix Verwaltungsgesellsch. mbH, Handelsregister: Registergericht Mün-
chen, HRB 125758,  Geschäftsführer: Maik Bachmann, Olaf Erb, Ralf Gebhart

FreeBSD-Dienstleistungen, -Produkte und mehr:  http://www.secnetix.de/bsd

"In My Egoistical Opinion, most people's C programs should be indented
six feet downward and covered with dirt."
        -- Blair P. Houghton