[hackers] Re: BCM4401 ethernet driver
Kenneth D. Merry
ken at kdm.org
Tue Aug 26 22:42:42 PDT 2003
On Tue, Aug 26, 2003 at 20:31:22 +0100, Duncan Barclay wrote:
> On 26-Aug-2003 dcswest at 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 at kdm.org
More information about the freebsd-hackers
mailing list