Skip site navigation (1)Skip section navigation (2)
Date:      17 Oct 2002 23:01:44 -0400
From:      Andrew Atrens <atrens@nortelnetworks.com>
To:        stable@freebsd.org
Subject:   Asus A7V8X mobo + bge driver = panic
Message-ID:  <1034910104.790.15.camel@hcarp00g.ca.nortel.com>

next in thread | raw e-mail | index | archive | help
Hi All, 

My motherboard has a built-in NIC, a BCM5702. (Broadcom 10/100/GigE) 

none0@pci0:9:0: class=0x020000 card=0x80a81043 chip=0x440114e4 rev=0x01 hdr=0x00
    vendor   = 'Broadcom Corporation'
    class    = network
    subclass = ethernet


The chipID wasn't in if_bgereg.h, so I added -

#define BCOM_DEVICEID_BCM5702           0x4401

and a define in the probe list in if_bge.c

static struct bge_type bge_devs[] = {
        { ALT_VENDORID, ALT_DEVICEID_BCM5700,
                "Broadcom BCM5700 Gigabit Ethernet" },
        { ALT_VENDORID, ALT_DEVICEID_BCM5701,
                "Broadcom BCM5701 Gigabit Ethernet" },
        { BCOM_VENDORID, BCOM_DEVICEID_BCM5700,
                "Broadcom BCM5700 Gigabit Ethernet" },
->        { BCOM_VENDORID, BCOM_DEVICEID_BCM5702,
->                "Broadcom BCM5702 Gigabit Ethernet" },

I rebuilt the kernel, and now get the following PANIC on load of the
if_bge module. 


bge0: <Broadcom BCM5702 Gigabit Ethernet> mem 0xde800000-0xde801fff irq 9 at device 9.0 on pci0
bge0: firmware handshake timed out


Fatal trap 12: page fault while in kernel mode
fault virtual address   = 0xed442000
fault code              = supervisor read, page not present
instruction pointer     = 0x8:0xc46cca85
stack pointer           = 0x10:0xed3e8dec
frame pointer           = 0x10:0xed3e8df4
code segment            = base 0x0, limit 0xfffff, type 0x1b
                        = DPL 0, pres 1, def32 1, gran 1
processor eflags        = interrupt enabled, resume, IOPL = 0
current process         = 373 (kldload)
interrupt mask          = net tty
trap number             = 12
panic: page fault

syncing disks... 17


From the glossies BCM5702 ASIC looks like a more streamlined (smaller
package) version of the BCM5701 ASIC. They even mention having official
Linux 2.2/4 support, and I did see a commit of DEVICEID additions on
kernel.org from back in February.

So I expected that all I'd need to do for -stable was add the device id
pair to the driver probe but ... :(


I'd be willing to be a guinea pig if someone had an idea as to what I'm
missing here ;)

Thanks, :)

Andrew.




To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




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