From owner-freebsd-stable Thu Oct 17 20: 8:40 2002 Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1894837B401 for ; Thu, 17 Oct 2002 20:08:38 -0700 (PDT) Received: from zcars04e.nortelnetworks.com (zcars04e.nortelnetworks.com [47.129.242.56]) by mx1.FreeBSD.org (Postfix) with ESMTP id 945AA43E77 for ; Thu, 17 Oct 2002 20:01:18 -0700 (PDT) (envelope-from atrens@nortelnetworks.com) Received: from zcard307.ca.nortel.com (americasm07.nt.com [47.129.242.67]) by zcars04e.nortelnetworks.com (Switch-2.2.0/Switch-2.2.0) with ESMTP id g9I30rW03411 for ; Thu, 17 Oct 2002 23:00:56 -0400 (EDT) Received: from zcard031.ca.nortel.com ([47.129.242.121]) by zcard307.ca.nortel.com with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2653.13) id VA74GFDX; Thu, 17 Oct 2002 23:00:53 -0400 Received: from hcarp00g (hcarp00g.ca.nortel.com [47.130.128.122]) by zcard031.ca.nortel.com with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2653.13) id VD6HCK2H; Thu, 17 Oct 2002 23:00:52 -0400 Subject: Asus A7V8X mobo + bge driver = panic From: Andrew Atrens To: stable@freebsd.org Reply-To: atrens@nortelnetworks.com Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Mailer: Ximian Evolution 1.0.8 Date: 17 Oct 2002 23:01:44 -0400 Message-Id: <1034910104.790.15.camel@hcarp00g.ca.nortel.com> Mime-Version: 1.0 Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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: 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