From owner-freebsd-hackers@FreeBSD.ORG Tue Aug 26 22:42:42 2003 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8C7DA16A4BF for ; Tue, 26 Aug 2003 22:42:42 -0700 (PDT) Received: from panzer.kdm.org (panzer.kdm.org [216.160.178.169]) by mx1.FreeBSD.org (Postfix) with ESMTP id 57BC943FFD for ; Tue, 26 Aug 2003 22:42:41 -0700 (PDT) (envelope-from ken@panzer.kdm.org) Received: from panzer.kdm.org (localhost [127.0.0.1]) by panzer.kdm.org (8.12.9/8.12.5) with ESMTP id h7R5gZYU015265; Tue, 26 Aug 2003 23:42:35 -0600 (MDT) (envelope-from ken@panzer.kdm.org) Received: (from ken@localhost) by panzer.kdm.org (8.12.9/8.12.5/Submit) id h7R5gYYn015264; Tue, 26 Aug 2003 23:42:34 -0600 (MDT) (envelope-from ken) Date: Tue, 26 Aug 2003 23:42:34 -0600 From: "Kenneth D. Merry" To: Duncan Barclay Message-ID: <20030827054234.GA15006@panzer.kdm.org> References: <10490.1061924215@www25.gmx.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.1i cc: freebsd-hackers@freebsd.org cc: dcswest@gmx.net Subject: Re: [hackers] Re: BCM4401 ethernet driver X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Aug 2003 05:42:42 -0000 On Tue, Aug 26, 2003 at 20:31:22 +0100, Duncan Barclay wrote: > On 26-Aug-2003 dcswest@gmx.net wrote: > > Greetings; > > > > Wondering whatever further may have come of this discussion regarding > > FreeBSD support of the built-in ethernet for the Dell Inspiron 8500 Notebook. > > Running a dual-boot system with MS Windows XP and FreeBSD 4.8 Release since > > 5.1 > > wouldn't seem to install, but not even sure how to make use of drivers beyond > > including their device code in the kernel configuration file, which may just > > be an issue with this current release. > > I fixed the RX problem yesterday. Take a look at > http://people.freebsd.org/~dmlb/ > and grab the lastest bcm_...tar.gz file. Untar this into /sys > then > cd /sys/modules/bcm > make > make install > kldload if_bcm > > This driver is for -current only. > > Once I've done a bit more work on it and committed it, I'll back port to > -stable. I'm still having the "bcm0: strange type for core 0xffffffff" panic when I load it as a module. When I compile it into the kernel, I get a panic on boot. The stack trace is: bcm_ring_rx_eof() bcm_intr() ithread_loop() fork_exit() fork_trampoline() The specific place in bcm_ring_rx_eof() it is bailing out is: (kgdb) list *(bcm_ring_rx_eof+0x62) 0xc019e402 is in bcm_ring_rx_eof (../../../dev/bcm/if_bcm.c:958). 953 struct mbuf *m; 954 struct bcm_rxh *rxh; 955 int j = 0, len, flags; 956 957 m = scp->desc_rx_bis[con].mbuf; 958 rxh = mtod(m, struct bcm_rxh *); 959 do { 960 /* XXX DELAY(1); */ 961 bus_dmamap_sync(scp->tag_mbuf, 962 scp->desc_rx_bis[con].dmamap, i.e. the mtod() call there. At that point the interface hasn't been configured at all... I've got a Dell 8500 laptop. Ken -- Kenneth Merry ken@kdm.org