Mac Mini G4 1.5GHz Broadcomm bwi BCM4318 problems

John Baldwin jhb at freebsd.org
Tue Dec 22 18:14:44 UTC 2009


On Tuesday 22 December 2009 11:09:01 am Little Bhudda wrote:
> John,
> 
> I'm ok with messing with the sources, if you (and other people?) think  
> that is worthwhile. I don't feel it's a good idea to do this without  
> some support, however.
> 
> Are you ok giving me some hints on what variables to monitor, and  
> where in the source code?

I would just print out the index and fw table entry name on each iteration of 
the loop.  There are few enough lookups during a boot that I think it 
shouldn't cause too much spam.

> Thanks
> 
> Rob
> 
> > On Tuesday 22 December 2009 9:09:21 am Little Bhudda wrote:
> >> Hello John,
> >>
> >> Thanks for replying. I'm wondering if this should go to the mailing
> >> list as well?
> >>
> >> Just to make sure we've got everything clear:
> >> 1. I boot with the bwi module available to the kernel
> >> 2. The kernel recognises my BCM4318 device
> >> 3. I login and attempt to use ifconfig (I did ifconfig bwi0 up scan
> >> 4. The firmware kmod barfs with the error message I mentioned below.
> >>
> >> Now that we have that clear, the output of kgdb is attached here:
> >
> > It would probably be good to keep this on the list.  From your kgdb  
> > output you
> > have 16 free slots in your firmware table, so I'm not sure why it  
> > isn't
> > finding a free slot. :(  You could try adding some debugging printfs  
> > to
> > the lookup() routine in src/sys/kern/subr_firmware.c perhaps.
> >
> > -- 
> > John Baldwin
> 
> 

-- 
John Baldwin


More information about the freebsd-ppc mailing list