Issue: bge still freezes RELENG_7 system on HP Compaq 6710b

From: Andrey Kosachenko <andrey.kosachenko_at_gmail.com>
Date: Sun, 04 Nov 2007 23:28:11 +0200
Good time of the day.

There is a HP Compaq 6710b with NetLink BCM5787M Gigabit Ethernet.

bge device driver fits mentioned NIC and works fine as for 6.2-STABLE or
6.3-PRERELEASE systems.

Unfortunately it does not work with 7.0. Actually it completely freezes
system (I've tried snapshots 200708, 200709, 200710, 7.0-BETA1.5 and
finally 7.0-BETA2 - the scenario is identical).
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 directly during the boot process.

Setting up hw.bge.allow_asf=0 does not help (referring to the possible
solution for similar problem with bge driver).

I excluded 'device bge' from kernel and recompiled it. Then 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.

Below there are several excerpts which I've captured from both: RELENG_6 
and RELENG_7 based systems installed on the same machine:


*** BEGIN OF ENCLOSURE ***

-- RELENG_6

# 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
pcib4: <ACPI PCI-PCI bridge> irq 16 at device 28.4 on pci0
pci40: <ACPI PCI bus> on pcib4
...

#pciconf -lv
...
bge0_at_pci24:0:0: class=0x020000 card=0x30c0103c chip=0x169314e4 rev=0x02
hdr=0x00
     vendor     = 'Broadcom Corporation'
     class      = network
     subclass   = ethernet
...


-- RELENG_7

# uname -a
FreeBSD  7.0-BETA2 FreeBSD 7.0-BETA2 #1: Sun Nov  4 19:00:13 EET 2007
   root_at_:/usr/obj/usr/src/sys/FREE-SMP-04112007-v3  i386


# dmesg
...
pcib3: <ACPI PCI-PCI bridge> irq 18 at device 28.2 on pci0
pci24: <ACPI PCI bus> on pcib3
pci24: <network, ethernet> at device 0.0 (no driver attached)
pcib4: <ACPI PCI-PCI bridge> irq 16 at device 28.4 on pci0
pci40: <ACPI PCI bus> on pcib4
...

# pciconf -lv
...
none2_at_pci0:24:0:0:      class=0x020000 card=0x30c0103c chip=0x169314e4 
rev=0x02 hdr=0x00
     vendor     = 'Broadcom Corporation'
     device     = 'NetLink BCM5787M Gigabit Ethernet PCI Express'
     class      = network
     subclass   = ethernet
...

*** END OF ENCLOSURE ***

I would like to know if there exists a way to overcome bge issue. Even
pointing "where to dig" is appreciated. Unfortunately staying with 
RELENG_6 is difficult because of absence support for 965GM.

Thank you.

PS:
Sorry for noise, I've mistakenly posted similar message to the 
freebsd-drivers_at_ queue.

--
Sincerely,
Andrey Kosachenko
Received on Sun Nov 04 2007 - 20:50:56 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:21 UTC