Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 7 Oct 2005 15:57:49 -0400
From:      John Nielsen <lists@jnielsen.net>
To:        freebsd-current@freebsd.org
Subject:   Re: Broadcom BCM5751 not attaching on IBM ThinkCentre A51
Message-ID:  <200510071557.50553.lists@jnielsen.net>
In-Reply-To: <1128704293.29031.5.camel@buffy.york.ac.uk>
References:  <200510061139.37825.lists@jnielsen.net> <1128704293.29031.5.camel@buffy.york.ac.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
--Boundary-00=_+MtRDV5jDXZsmHo
Content-Type: text/plain;
  charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

On Friday 07 October 2005 12:58, Gavin Atkinson wrote:
> On Thu, 2005-10-06 at 11:39 -0400, John Nielsen wrote:
> > I have a new (several, actually) IBM ThinkCentre A51 (8131-16U and
> > 8138-14U) machine on which I'd like to run FreeBSD 6.0.  The machine
> > has a "Barbados" motherboard with an integrated Broadcom BCM5751
> > gigabit NIC.  Visually, the Broadcom chip identifies itself as a
> > BCM5751KFB.
> >
> > The bge driver recognizes the chip and tries to attach, but fails:
> >
> > bge0: <Broadcom BCM5751 Gigabit Ethernet, ASIC rev. 0x4101> mem
> > 0xd0000000-0xd000ffff irq 5 at device 0.0 on pci2
> > bge0: RX CPU self-diagnostics failed!
> > bge0: chip initialization failed
> > device_attach: bge0 attach returned 6
>
> Can you post the output of pciconf -l please?

Attached, along with dmesg output and kernel config file (basically a 
stripped-down GENERIC).

The machine is now running -CURRENT from yesterday.  if_bge was loaded as a 
module prior to running dmesg and pciconf.

JN

--Boundary-00=_+MtRDV5jDXZsmHo
Content-Type: text/plain;
  charset="iso-8859-1";
  name="dmesg.txt"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
	filename="dmesg.txt"

Copyright (c) 1992-2005 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
	The Regents of the University of California. All rights reserved.
FreeBSD 7.0-CURRENT #0: Thu Oct  6 17:29:41 EDT 2005
    root@testbsd.benefitfocus.com:/usr/obj/usr/src/sys/GENERIC
ACPI APIC Table: <PTLTD  	 APIC  >
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Intel(R) Pentium(R) 4 CPU 2.93GHz (2926.02-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0xf41  Stepping = 1
  Features=0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>
  Features2=0x451d<SSE3,RSVD2,MON,DS_CPL,TM2,CNTX-ID,<b14>>
  AMD Features=0x100000<NX>
real memory  = 795803648 (758 MB)
avail memory = 769261568 (733 MB)
ioapic0 <Version 2.0> irqs 0-23 on motherboard
npx0: [FAST]
npx0: <math processor> on motherboard
npx0: INT 16 interface
acpi0: <PTLTD   RSDT> on motherboard
    ACPI-1304: *** Error: Method execution failed [\\_SB_.PCI0.USB1._PRW] (Node 0xc1e0aa20), AE_AML_NO_RETURN_VALUE
    ACPI-0239: *** Error: Method execution failed [\\_SB_.PCI0.USB1._PRW] (Node 0xc1e0aa20), AE_AML_NO_RETURN_VALUE
    ACPI-1304: *** Error: Method execution failed [\\_SB_.PCI0.USB2._PRW] (Node 0xc1e0a900), AE_AML_NO_RETURN_VALUE
    ACPI-0239: *** Error: Method execution failed [\\_SB_.PCI0.USB2._PRW] (Node 0xc1e0a900), AE_AML_NO_RETURN_VALUE
    ACPI-1304: *** Error: Method execution failed [\\_SB_.PCI0.USB3._PRW] (Node 0xc1e0a7e0), AE_AML_NO_RETURN_VALUE
    ACPI-0239: *** Error: Method execution failed [\\_SB_.PCI0.USB3._PRW] (Node 0xc1e0a7e0), AE_AML_NO_RETURN_VALUE
    ACPI-1304: *** Error: Method execution failed [\\_SB_.PCI0.USB4._PRW] (Node 0xc1e0a6c0), AE_AML_NO_RETURN_VALUE
    ACPI-0239: *** Error: Method execution failed [\\_SB_.PCI0.USB4._PRW] (Node 0xc1e0a6c0), AE_AML_NO_RETURN_VALUE
    ACPI-1304: *** Error: Method execution failed [\\_SB_.PCI0.USBE._PRW] (Node 0xc1e0a620), AE_AML_NO_RETURN_VALUE
    ACPI-0239: *** Error: Method execution failed [\\_SB_.PCI0.USBE._PRW] (Node 0xc1e0a620), AE_AML_NO_RETURN_VALUE
acpi0: Power Button (fixed)
pci_link0: <ACPI PCI Link LNKA> irq 5 on acpi0
pci_link1: <ACPI PCI Link LNKB> irq 3 on acpi0
pci_link2: <ACPI PCI Link LNKC> irq 10 on acpi0
pci_link3: <ACPI PCI Link LNKD> irq 9 on acpi0
pci_link4: <ACPI PCI Link LNKE> irq 9 on acpi0
pci_link5: <ACPI PCI Link LNKF> irq 0 on acpi0
pci_link6: <ACPI PCI Link LNKG> irq 0 on acpi0
pci_link7: <ACPI PCI Link LNKH> irq 11 on acpi0
Timecounter "ACPI-safe" frequency 3579545 Hz quality 1000
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x1008-0x100b on acpi0
cpu0: <ACPI CPU> on acpi0
acpi_throttle0: <ACPI CPU Throttling> on cpu0
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
pci0: <display, VGA> at device 2.0 (no driver attached)
pcib1: <ACPI PCI-PCI bridge> irq 17 at device 28.0 on pci0
pci2: <ACPI PCI bus> on pcib1
pci2: <network, ethernet> at device 0.0 (no driver attached)
uhci0: <Intel 82801FB/FR/FW/FRW (ICH6) USB controller USB-A> port 0x3440-0x345f irq 23 at device 29.0 on pci0
uhci0: [GIANT-LOCKED]
usb0: <Intel 82801FB/FR/FW/FRW (ICH6) USB controller USB-A> on uhci0
usb0: USB revision 1.0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhci1: <Intel 82801FB/FR/FW/FRW (ICH6) USB controller USB-B> port 0x3460-0x347f irq 19 at device 29.1 on pci0
uhci1: [GIANT-LOCKED]
usb1: <Intel 82801FB/FR/FW/FRW (ICH6) USB controller USB-B> on uhci1
usb1: USB revision 1.0
uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
uhci2: <Intel 82801FB/FR/FW/FRW (ICH6) USB controller USB-C> port 0x3480-0x349f irq 18 at device 29.2 on pci0
uhci2: [GIANT-LOCKED]
usb2: <Intel 82801FB/FR/FW/FRW (ICH6) USB controller USB-C> on uhci2
usb2: USB revision 1.0
uhub2: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub2: 2 ports with 2 removable, self powered
ehci0: <Intel 82801FB (ICH6) USB 2.0 controller> mem 0xd04c0000-0xd04c03ff irq 23 at device 29.7 on pci0
ehci0: [GIANT-LOCKED]
usb3: EHCI version 1.0
usb3: companion controllers, 2 ports each: usb0 usb1 usb2
usb3: <Intel 82801FB (ICH6) USB 2.0 controller> on ehci0
usb3: USB revision 2.0
uhub3: Intel EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
uhub3: 6 ports with 6 removable, self powered
pcib2: <ACPI PCI-PCI bridge> at device 30.0 on pci0
pci10: <ACPI PCI bus> on pcib2
xl0: <3Com 3c905C-TX Fast Etherlink XL> port 0x4400-0x447f mem 0xd0100000-0xd010007f irq 20 at device 0.0 on pci10
miibus0: <MII bus> on xl0
xlphy0: <3c905C 10/100 internal PHY> on miibus0
xlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
xl0: Ethernet address: 00:01:03:1a:9b:e3
rl0: <RealTek 8139 10/100BaseTX> port 0x4000-0x40ff mem 0xd0100400-0xd01004ff irq 19 at device 1.0 on pci10
miibus1: <MII bus> on rl0
rlphy0: <RealTek internal media interface> on miibus1
rlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
rl0: Ethernet address: 00:40:f4:9c:96:6e
pci0: <multimedia, audio> at device 30.2 (no driver attached)
isab0: <PCI-ISA bridge> at device 31.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel ICH6 SATA150 controller> port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0x34d0-0x34df at device 31.2 on pci0
atapci0: failed to enable memory mapping!
ata0: <ATA channel 0> on atapci0
ata1: <ATA channel 1> on atapci0
pci0: <serial bus, SMBus> at device 31.3 (no driver attached)
acpi_tz0: <Thermal Zone> on acpi0
acpi_tz0: _CRT value is absurd, ignored (6280.3C)
acpi_button0: <Power Button> on acpi0
fdc0: <floppy drive controller> port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on acpi0
fdc0: [FAST]
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
atkbdc0: <Keyboard controller (i8042)> port 0x60,0x64 irq 1 on acpi0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: [GIANT-LOCKED]
psm0: model IntelliMouse, device ID 3
    ACPI-1304: *** Error: Method execution failed [\\_SB_.PCI0.USB1._PRW] (Node 0xc1e0aa20), AE_AML_NO_RETURN_VALUE
    ACPI-1304: *** Error: Method execution failed [\\_SB_.PCI0.USB2._PRW] (Node 0xc1e0a900), AE_AML_NO_RETURN_VALUE
    ACPI-1304: *** Error: Method execution failed [\\_SB_.PCI0.USB3._PRW] (Node 0xc1e0a7e0), AE_AML_NO_RETURN_VALUE
    ACPI-1304: *** Error: Method execution failed [\\_SB_.PCI0.USBE._PRW] (Node 0xc1e0a620), AE_AML_NO_RETURN_VALUE
orm0: <ISA Option ROMs> at iomem 0xcb000-0xcb7ff,0xe0000-0xeffff pnpid ORM0000 on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
Timecounter "TSC" frequency 2926017589 Hz quality 800
Timecounters tick every 1.000 msec
ad0: 38162MB <WDC WD400BD-08LRA0 07.01D07> at ata0-master SATA150
acpi_tz0: _CRT value is absurd, ignored (255.0C)
acd0: CDROM <SAMSUNG CD-ROM SC-148A/B403> at ata1-master UDMA33
Trying to mount root from ufs:/dev/ad0s1a
rl0: link state changed to DOWN
bge0: <Broadcom BCM5751 Gigabit Ethernet, ASIC rev. 0x4101> mem 0xd0000000-0xd000ffff irq 16 at device 0.0 on pci2
bge0: RX CPU self-diagnostics failed!
bge0: chip initialization failed
device_attach: bge0 attach returned 6

--Boundary-00=_+MtRDV5jDXZsmHo
Content-Type: text/plain;
  charset="iso-8859-1";
  name="pciconf.txt"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
	filename="pciconf.txt"

hostb0@pci0:0:0:	class=0x060000 card=0x02f71014 chip=0x25808086 rev=0x04 hdr=0x00
none0@pci0:2:0:	class=0x030000 card=0x02f71014 chip=0x25828086 rev=0x04 hdr=0x00
pcib1@pci0:28:0:	class=0x060400 card=0x00000040 chip=0x26608086 rev=0x03 hdr=0x01
uhci0@pci0:29:0:	class=0x0c0300 card=0x02f71014 chip=0x26588086 rev=0x03 hdr=0x00
uhci1@pci0:29:1:	class=0x0c0300 card=0x02f71014 chip=0x26598086 rev=0x03 hdr=0x00
uhci2@pci0:29:2:	class=0x0c0300 card=0x02f71014 chip=0x265a8086 rev=0x03 hdr=0x00
ehci0@pci0:29:7:	class=0x0c0320 card=0x02f71014 chip=0x265c8086 rev=0x03 hdr=0x00
pcib2@pci0:30:0:	class=0x060401 card=0x00000050 chip=0x244e8086 rev=0xd3 hdr=0x01
none1@pci0:30:2:	class=0x040100 card=0x02f71014 chip=0x266e8086 rev=0x03 hdr=0x00
isab0@pci0:31:0:	class=0x060100 card=0x02f71014 chip=0x26408086 rev=0x03 hdr=0x00
atapci0@pci0:31:2:	class=0x010180 card=0x02f71014 chip=0x26518086 rev=0x03 hdr=0x00
none2@pci0:31:3:	class=0x0c0500 card=0x02f71014 chip=0x266a8086 rev=0x03 hdr=0x00
bge0@pci2:0:0:	class=0x020000 card=0x02f71014 chip=0x167714e4 rev=0x11 hdr=0x00
xl0@pci10:0:0:	class=0x020000 card=0x100010b7 chip=0x920010b7 rev=0x78 hdr=0x00
rl0@pci10:1:0:	class=0x020000 card=0x813910ec chip=0x813910ec rev=0x10 hdr=0x00

--Boundary-00=_+MtRDV5jDXZsmHo
Content-Type: text/plain;
  charset="iso-8859-1";
  name="TEST"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
	filename="TEST"

machine		i386
cpu		I686_CPU
ident		GENERIC

options 	SCHED_4BSD		# 4BSD scheduler
options 	PREEMPTION		# Enable kernel thread preemption
options 	INET			# InterNETworking
options 	FFS			# Berkeley Fast Filesystem
options 	SOFTUPDATES		# Enable FFS soft updates support
options 	UFS_ACL			# Support for access control lists
options 	UFS_DIRHASH		# Improve performance on big directories
options 	NFSCLIENT		# Network Filesystem Client
options 	NFSSERVER		# Network Filesystem Server
options 	NFS_ROOT		# NFS usable as /, requires NFSCLIENT
options 	CD9660			# ISO 9660 Filesystem
options 	PROCFS			# Process filesystem (requires PSEUDOFS)
options 	PSEUDOFS		# Pseudo-filesystem framework
options 	GEOM_GPT		# GUID Partition Tables.
options 	COMPAT_43		# Compatible with BSD 4.3 [KEEP THIS!]
options 	COMPAT_FREEBSD4		# Compatible with FreeBSD4
options 	COMPAT_FREEBSD5		# Compatible with FreeBSD5
options 	SCSI_DELAY=5000		# Delay (in ms) before probing SCSI
options 	SYSVSHM			# SYSV-style shared memory
options 	SYSVMSG			# SYSV-style message queues
options 	SYSVSEM			# SYSV-style semaphores
options 	_KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time extensions
options 	KBD_INSTALL_CDEV	# install a CDEV entry in /dev
options 	ADAPTIVE_GIANT		# Giant mutex is adaptive.

device		apic			# I/O APIC

# Bus support.  Do not remove isa, even if you have no isa slots
device		isa
device		pci

# Floppy drives
device		fdc

# ATA and ATAPI devices
device		ata
device		atadisk		# ATA disk drives
device		ataraid		# ATA RAID drives
device		atapicd		# ATAPI CDROM drives
options 	ATA_STATIC_ID	# Static device numbering

# SCSI peripherals
device		scbus		# SCSI bus (required for SCSI)
device		da		# Direct Access (disks)
device		sa		# Sequential Access (tape etc)
device		cd		# CD
device		pass		# Passthrough device (direct SCSI access)

# atkbdc0 controls both the keyboard and the PS/2 mouse
device		atkbdc		# AT keyboard controller
device		atkbd		# AT keyboard
device		psm		# PS/2 mouse

device		vga		# VGA video card driver

device		splash		# Splash screen and screen saver support

# syscons is the default console driver, resembling an SCO console
device		sc
options		SC_HISTORY_SIZE=2000

device		agp		# support several AGP chipsets

# Floating point support - do not disable.
device		npx

# PCI Ethernet NICs.
device		de		# DEC/Intel DC21x4x (``Tulip'')
device		em		# Intel PRO/1000 adapter Gigabit Ethernet Card
device		ixgb		# Intel PRO/10GbE Ethernet Card
device		txp		# 3Com 3cR990 (``Typhoon'')
device		vx		# 3Com 3c590, 3c595 (``Vortex'')

# PCI Ethernet NICs that use the common MII bus controller code.
# NOTE: Be sure to keep the 'device miibus' line in order to use these NICs!
device		miibus		# MII bus support
#device		bfe		# Broadcom BCM440x 10/100 Ethernet
#device		bge		# Broadcom BCM570xx Gigabit Ethernet
device		dc		# DEC/Intel 21143 and various workalikes
device		fxp		# Intel EtherExpress PRO/100B (82557, 82558)
device		lge		# Level 1 LXT1001 gigabit Ethernet
device		nge		# NatSemi DP83820 gigabit Ethernet
device		nve		# nVidia nForce MCP on-board Ethernet Networking
device		pcn		# AMD Am79C97x PCI 10/100(precedence over 'lnc')
device		re		# RealTek 8139C+/8169/8169S/8110S
device		rl		# RealTek 8129/8139
device		sf		# Adaptec AIC-6915 (``Starfire'')
device		sis		# Silicon Integrated Systems SiS 900/SiS 7016
device		sk		# SysKonnect SK-984x & SK-982x gigabit Ethernet
device		ste		# Sundance ST201 (D-Link DFE-550TX)
device		ti		# Alteon Networks Tigon I/II gigabit Ethernet
device		tl		# Texas Instruments ThunderLAN
device		tx		# SMC EtherPower II (83c170 ``EPIC'')
device		vge		# VIA VT612x gigabit Ethernet
device		vr		# VIA Rhine, Rhine II
device		wb		# Winbond W89C840F
device		xl		# 3Com 3c90x (``Boomerang'', ``Cyclone'')

# Pseudo devices.
device		loop		# Network loopback
device		mem		# Memory and kernel memory devices
device		io		# I/O device
device		random		# Entropy device
device		ether		# Ethernet support
device		sl		# Kernel SLIP
device		ppp		# Kernel PPP
device		tun		# Packet tunnel.
device		pty		# Pseudo-ttys (telnet etc)
device		md		# Memory "disks"
device		bpf		# Berkeley packet filter

# USB support
device		uhci		# UHCI PCI->USB interface
device		ohci		# OHCI PCI->USB interface
device		ehci		# EHCI PCI->USB interface (USB 2.0)
device		usb		# USB Bus (required)
device		ugen		# Generic
device		uhid		# "Human Interface Devices"
device		ukbd		# Keyboard
device		ulpt		# Printer
device		umass		# Disks/Mass storage - Requires scbus and da
device		ums		# Mouse

--Boundary-00=_+MtRDV5jDXZsmHo--



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