IF_BGE: BCM5787 10/100/1000baseTX PHY freezes RELENG_7-based system (HP Compaq 6710b)

Andrey Kosachenko andrey.kosachenko at gmail.com
Sun Nov 4 01:49:24 PST 2007


Good time of the day.

There is HP Compaq 6710b.

It works fine with 6.2-STABLE or 6.3-PRERELEASE and there is no issues 
connected with bge driver ('pciconf -lv', 'dmesg' excerpt and 'uname -a' 
are enclosed below).

Unfortunately it does not work with 7.0 (I've tried snapshots 200708, 
200709, 200710, 7.0 BETA 1.5 and the latest sources of RELENG_7 (csup 
with RELENG_7 tag on 03-11-2007).
There is only possible way to install the system by means of disabling 
Ethernet in BIOS (BTW: ACPI is also should be OFF). Otherwise system 
freezes during boot.

Setting up hw.bge.allow_asf=0 does not help. (also, if I'm not mistaken
there was a commit to sys/dev/bge/if_bge.c connected with asf parameter 
  default state. Now it is 0 by default).

I excluded 'device bge' from kernel and recompiled it. System boots 
normally even in the case when Ethernet controller is enabled in BIOS.
But it freezes immediately as soon as try to 'kldload if_bge'. No 
messages, no warnings, no panic... just freezes.

I would like to know if there exists a way to pass if_bge issue. Even 
pointing "where to dig" is appreciated too :o).And as far as I know I'm 
not alone with similar issue. So let me know if you need more detailed 
information.

Thank you.

--
Sincerely,
Andrey Kosachenko

andrey.kosachenko ~at~ gmail.com


*** BEGIN OF ENCLOSURE ***

# uname -a
FreeBSD free.lan 6.3-PRERELEASE FreeBSD 6.3-PRERELEASE #0: Sat Nov  3 
03:32:27 EET 2007 
root at free.lan:/usr/obj/usr/src/sys/AVALON-SMP-03112007-v1  i386

#dmesg
...
pcib3: <ACPI PCI-PCI bridge> irq 18 at device 28.2 on pci0
pci24: <ACPI PCI bus> on pcib3
bge0: <Broadcom BCM5754/5787 A2, ASIC rev. 0xb002> mem 
0xe4000000-0xe400ffff irq 18 at device 0.0 on pci24
miibus0: <MII bus> on bge0
brgphy0: <BCM5787 10/100/1000baseTX PHY> on miibus0
brgphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 
1000baseT-FDX, auto
bge0: Ethernet address: xx:xx:xx:xx:xx:xx
...

#pciconf -lv
hostb0 at pci0:0:0:        class=0x060000 card=0x30c0103c chip=0x2a008086 
rev=0x0c hdr=0x00
     vendor     = 'Intel Corporation'
     class      = bridge
     subclass   = HOST-PCI
none0 at pci0:2:0: class=0x030000 card=0x30c0103c chip=0x2a028086 rev=0x0c 
hdr=0x00
     vendor     = 'Intel Corporation'
     class      = display
     subclass   = VGA
none1 at pci0:2:1: class=0x038000 card=0x30c0103c chip=0x2a038086 rev=0x0c 
hdr=0x00
     vendor     = 'Intel Corporation'
     class      = display
uhci0 at pci0:26:0:        class=0x0c0300 card=0x30c0103c chip=0x28348086 
rev=0x03 hdr=0x00
     vendor     = 'Intel Corporation'
     class      = serial bus
     subclass   = USB
uhci1 at pci0:26:1:        class=0x0c0300 card=0x30c0103c chip=0x28358086 
rev=0x03 hdr=0x00
     vendor     = 'Intel Corporation'
     class      = serial bus
     subclass   = USB
ehci0 at pci0:26:7:        class=0x0c0320 card=0x30c0103c chip=0x283a8086 
rev=0x03 hdr=0x00
     vendor     = 'Intel Corporation'
     class      = serial bus
     subclass   = USB
pcm0 at pci0:27:0: class=0x040300 card=0x30c0103c chip=0x284b8086 rev=0x03 
hdr=0x00
     vendor     = 'Intel Corporation'
     class      = multimedia
pcib1 at pci0:28:0:        class=0x060400 card=0x30c0103c chip=0x283f8086 
rev=0x03 hdr=0x01
     vendor     = 'Intel Corporation'
     class      = bridge
     subclass   = PCI-PCI
pcib2 at pci0:28:1:        class=0x060400 card=0x30c0103c chip=0x28418086 
rev=0x03 hdr=0x01
     vendor     = 'Intel Corporation'
     class      = bridge
     subclass   = PCI-PCI
pcib3 at pci0:28:2:        class=0x060400 card=0x30c0103c chip=0x28438086 
rev=0x03 hdr=0x01
     vendor     = 'Intel Corporation'
     class      = bridge
     subclass   = PCI-PCI
pcib4 at pci0:28:4:        class=0x060400 card=0x30c0103c chip=0x28478086 
rev=0x03 hdr=0x01
     vendor     = 'Intel Corporation'
     class      = bridge
     subclass   = PCI-PCI
uhci2 at pci0:29:0:        class=0x0c0300 card=0x30c0103c chip=0x28308086 
rev=0x03 hdr=0x00
     vendor     = 'Intel Corporation'
     class      = serial bus
     subclass   = USB
uhci3 at pci0:29:1:        class=0x0c0300 card=0x30c0103c chip=0x28318086 
rev=0x03 hdr=0x00
     vendor     = 'Intel Corporation'
     class      = serial bus
     subclass   = USB
uhci4 at pci0:29:2:        class=0x0c0300 card=0x30c0103c chip=0x28328086 
rev=0x03 hdr=0x00
     vendor     = 'Intel Corporation'
     class      = serial bus
     subclass   = USB
ehci1 at pci0:29:7:        class=0x0c0320 card=0x30c0103c chip=0x28368086 
rev=0x03 hdr=0x00
     vendor     = 'Intel Corporation'
     class      = serial bus
     subclass   = USB
pcib5 at pci0:30:0:        class=0x060401 card=0x30c0103c chip=0x24488086 
rev=0xf3 hdr=0x01
     vendor     = 'Intel Corporation'
     device     = '82801BAM/CAM/DBM (ICH2-M/3-M/4-M) Hub Interface to 
PCI Bridge'
     class      = bridge
     subclass   = PCI-PCI
isab0 at pci0:31:0:        class=0x060100 card=0x30c0103c chip=0x28158086 
rev=0x03 hdr=0x00
     vendor     = 'Intel Corporation'
     class      = bridge
     subclass   = PCI-ISA
atapci0 at pci0:31:1:      class=0x01018a card=0x30c0103c chip=0x28508086 
rev=0x03 hdr=0x00
     vendor     = 'Intel Corporation'
     class      = mass storage
     subclass   = ATA
atapci1 at pci0:31:2:      class=0x010601 card=0x30c0103c chip=0x28298086 
rev=0x03 hdr=0x00
     vendor     = 'Intel Corporation'
     class      = mass storage
none2 at pci16:0:0:        class=0x028000 card=0x135c103c chip=0x42228086 
rev=0x02 hdr=0x00
     vendor     = 'Intel Corporation'
     class      = network
bge0 at pci24:0:0: class=0x020000 card=0x30c0103c chip=0x169314e4 rev=0x02 
hdr=0x00
     vendor     = 'Broadcom Corporation'
     class      = network
     subclass   = ethernet
cbb0 at pci2:4:0:  class=0x060700 card=0x30c0103c chip=0x04761180 rev=0xb6 
hdr=0x02
     vendor     = 'Ricoh Co Ltd'
     device     = 'RL5c476 CardBus Controller'
     class      = bridge
     subclass   = PCI-CardBus

*** END OF ENCLOSURE ***



More information about the freebsd-drivers mailing list