RELENG_7 and HEAD: bge causes system hang

From: Andrey <andrey.kosachenko_at_gmail.com>
Date: Wed, 14 Nov 2007 13:18:34 +0200
Good time of the day.

I still would like to report the real and constantly reproducible 
problem connected with bge driver on machines with BroadCom Netlink 
Gigabit Ethernet Controller (BCM5787 chipset).

In order to reproduce the problem it is enough try to install RELENG_7 
or CURRENT system on a machine with BroadCom Netlink Gigabit Ethernet 
Controller (with BCM5787 chipset). System hangs as soon as it tries to 
adjust bge device driver.

I've tried to overcome mentioned problem in many different ways. 
Unfortunately I still didn't manage to get it working.

As RELENG_6 handles bge properly on that machine, so I even decided to 
try "rollback" bge from RELENG_7 to RELENG_6. Actually I don't think it 
was a good idea, but I couldn't see a way out.

Thus I threw out miibus and bge devices from the kernel config and 
recompiled kernel (in order to obtain freedom to play with bge).
Then I obtained the RELENG_6 sources for bge, miibus and dependencies. 
After that I managed to compile miibus.ko and if_bge.ko (of course I had 
to overcome several problems but at least I managed to compile it).

# cd /usr/src/sys/modules/mii
# make cleandepend && make clean
# make obj && make depend && make && make install
# cd /usr/src/sys/modules/bge
# make cleandepend && make clean
# make obj && make depend && make && make install

After those steps above I got new miibus.ko and if_bge.ko under 
/boot/kernel/.
And I even managed to kldload miibus successfully. But with if_bge an 
old story took place :(. It completely freezed the system.

Of course I doubt that I'm trying right means in order to solve the 
problem. But it seems that nobody interested even to confirm or refuse 
an existence of described problem. I've tried to reproduce the problem 
on two different machines with BCM5787 and the results were the same: 
bge driver causes system hang on RELENG_7 and CURRENT and works properly 
on RELENG_6.

So I'll appreciate any comments on this.

Thanks.


# uname -a

FreeBSD  7.0-BETA2 FreeBSD 7.0-BETA2 #0: Thu Nov  8 23:58:43 EET 2007 
   root_at_:/usr/obj/usr/src/sys/FREE-SMP-ULE-08112007-v1  i386

# pciconf -lv
hostb0 at pci0:0:0:0:	class=0x060000 card=0x30c0103c chip=0x2a008086 
rev=0x0c hdr=0x00
     vendor     = 'Intel Corporation'
     device     = 'Mobile PM965/GM965/GL960 Express Processor to DRAM 
Controller'
     class      = bridge
     subclass   = HOST-PCI
vgapci0 at pci0:0:2:0:	class=0x030000 card=0x30c0103c chip=0x2a028086 
rev=0x0c hdr=0x00
     vendor     = 'Intel Corporation'
     device     = 'Mobile 965 Express Integrated Graphics Controller'
     class      = display
     subclass   = VGA
vgapci1 at pci0:0:2:1:	class=0x038000 card=0x30c0103c chip=0x2a038086 
rev=0x0c hdr=0x00
     vendor     = 'Intel Corporation'
     device     = 'Mobile 965 Express Integrated Graphics Controller'
     class      = display
uhci0 at pci0:0:26:0:	class=0x0c0300 card=0x30c0103c chip=0x28348086 
rev=0x03 hdr=0x00
     vendor     = 'Intel Corporation'
     device     = '82801H (ICH8 Family) USB UHCI'
     class      = serial bus
     subclass   = USB
uhci1 at pci0:0:26:1:	class=0x0c0300 card=0x30c0103c chip=0x28358086 
rev=0x03 hdr=0x00
     vendor     = 'Intel Corporation'
     device     = '82801H (ICH8 Family) USB UHCI'
     class      = serial bus
     subclass   = USB
ehci0 at pci0:0:26:7:	class=0x0c0320 card=0x30c0103c chip=0x283a8086 
rev=0x03 hdr=0x00
     vendor     = 'Intel Corporation'
     device     = '81EC1043 (?) ICH8 Enhanced USB2 Enhanced Host Controller'
     class      = serial bus
     subclass   = USB
none0 at pci0:0:27:0:	class=0x040300 card=0x30c0103c chip=0x284b8086 
rev=0x03 hdr=0x00
     vendor     = 'Intel Corporation'
     device     = '82801H &SUBSYS_81EC1043&REV_02\3&11583659&0&D8'
     class      = multimedia
pcib1 at pci0:0:28:0:	class=0x060400 card=0x30c0103c chip=0x283f8086 
rev=0x03 hdr=0x01
     vendor     = 'Intel Corporation'
     device     = '82801H (ICH8 Family) PCIe Port 1'
     class      = bridge
     subclass   = PCI-PCI
pcib2 at pci0:0:28:1:	class=0x060400 card=0x30c0103c chip=0x28418086 
rev=0x03 hdr=0x01
     vendor     = 'Intel Corporation'
     device     = '82801H (ICH8 Family) PCIe Port 2'
     class      = bridge
     subclass   = PCI-PCI
pcib3 at pci0:0:28:2:	class=0x060400 card=0x30c0103c chip=0x28438086 
rev=0x03 hdr=0x01
     vendor     = 'Intel Corporation'
     device     = '82801H (ICH8 Family) PCIe Port 3'
     class      = bridge
     subclass   = PCI-PCI
pcib4 at pci0:0:28:4:	class=0x060400 card=0x30c0103c chip=0x28478086 
rev=0x03 hdr=0x01
     vendor     = 'Intel Corporation'
     device     = '82801H (ICH8 Family) PCIe Port 5'
     class      = bridge
     subclass   = PCI-PCI
uhci2 at pci0:0:29:0:	class=0x0c0300 card=0x30c0103c chip=0x28308086 
rev=0x03 hdr=0x00
     vendor     = 'Intel Corporation'
     device     = '82801H (ICH8 Family) USB UHCI'
     class      = serial bus
     subclass   = USB
uhci3 at pci0:0:29:1:	class=0x0c0300 card=0x30c0103c chip=0x28318086 
rev=0x03 hdr=0x00
     vendor     = 'Intel Corporation'
     device     = '82801H (ICH8 Family) USB UHCI'
     class      = serial bus
     subclass   = USB
uhci4 at pci0:0:29:2:	class=0x0c0300 card=0x30c0103c chip=0x28328086 
rev=0x03 hdr=0x00
     vendor     = 'Intel Corporation'
     device     = '82801H (ICH8 Family) USB UHCI'
     class      = serial bus
     subclass   = USB
ehci1 at pci0:0:29:7:	class=0x0c0320 card=0x30c0103c chip=0x28368086 
rev=0x03 hdr=0x00
     vendor     = 'Intel Corporation'
     device     = '82801H (ICH8 Family) USB2 EHCI'
     class      = serial bus
     subclass   = USB
pcib5 at pci0:0: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:0:31:0:	class=0x060100 card=0x30c0103c chip=0x28158086 
rev=0x03 hdr=0x00
     vendor     = 'Intel Corporation'
     device     = 'ICH8M-E (ICH8 Family) LPC Interface Controller'
     class      = bridge
     subclass   = PCI-ISA
atapci0 at pci0:0:31:1:	class=0x01018a card=0x30c0103c chip=0x28508086 
rev=0x03 hdr=0x00
     vendor     = 'Intel Corporation'
     device     = '82801H (ICH8 Family) Ultra ATA Storage Controllers'
     class      = mass storage
     subclass   = ATA
atapci1 at pci0:0:31:2:	class=0x010601 card=0x30c0103c chip=0x28298086 
rev=0x03 hdr=0x00
     vendor     = 'Intel Corporation'
     device     = '82801 Intel(R) 82801HEM/HBM SATA AHCI Controller'
     class      = mass storage
none1 at pci0:16:0:0:	class=0x028000 card=0x135c103c chip=0x42228086 
rev=0x02 hdr=0x00
     vendor     = 'Intel Corporation'
     device     = '10418086 Intel 3945ABG Wireless LAN controller'
     class      = network
none2 at pci0:24:0:0:	class=0x020000 card=0x30c0103c chip=0x169314e4 
rev=0x02 hdr=0x00
     vendor     = 'Broadcom Corporation'
     device     = 'BCM 5787A Ethernet Controller Broadcom Netlink Gigabit'
     class      = network
     subclass   = ethernet
cbb0 at pci0:2:4:0:	class=0x060700 card=0x30c0103c chip=0x04761180 
rev=0xb6 hdr=0x02
     vendor     = 'Ricoh Company, Ltd.'
     device     = 'unknown Ricoh R/RL/5C476(II)'
     class      = bridge
     subclass   = PCI-CardBus


--
Sincerely,
Andrey
Received on Wed Nov 14 2007 - 10:19:54 UTC

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