Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Dec 2009 13:12:14 -0500
From:      John Baldwin <jhb@freebsd.org>
To:        Little Bhudda <lbhudda@googlemail.com>
Cc:        freebsd-ppc@freebsd.org
Subject:   Re: Mac Mini G4 1.5GHz Broadcomm bwi BCM4318 problems
Message-ID:  <200912221312.14265.jhb@freebsd.org>
In-Reply-To: <49FAE178-E4A7-406C-A0A1-D64E5C8868E1@googlemail.com>
References:  <644B6D20-37A0-49CB-8BE8-5E3E67C7C379@googlemail.com> <200912221033.49245.jhb@freebsd.org> <49FAE178-E4A7-406C-A0A1-D64E5C8868E1@googlemail.com>

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



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