Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 26 Aug 2003 23:42:34 -0600
From:      "Kenneth D. Merry" <ken@kdm.org>
To:        Duncan Barclay <dmlb@dmlb.org>
Cc:        dcswest@gmx.net
Subject:   Re: [hackers] Re: BCM4401 ethernet driver
Message-ID:  <20030827054234.GA15006@panzer.kdm.org>
In-Reply-To: <XFMail.20030826203122.dmlb@dmlb.org>
References:  <10490.1061924215@www25.gmx.net> <XFMail.20030826203122.dmlb@dmlb.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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



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