Re: Call for Test and Review: bwn(4) - another Broadcom Wireless driver

From: Weongyo Jeong <weongyo.jeong_at_gmail.com>
Date: Wed, 3 Mar 2010 15:53:19 -0800
On Tue, Mar 02, 2010 at 07:57:26PM +0100, Gustau P?rez wrote:
> En/na John Baldwin ha escrit:
> > On Monday 01 March 2010 3:22:34 pm Gustau P?rez wrote:
> >   
> >> En/na Weongyo Jeong ha escrit:
> >>     
> >>> On Fri, Feb 26, 2010 at 04:21:06PM -0800, Xin LI wrote:
> >>>   
> >>>       
> >>>> Hi, Weongyo,
> >>>>
> >>>> On 2010/02/25 16:51, Weongyo Jeong wrote:
> >>>>     
> >>>>         
> >>>>> FYI bwn(4) driver is committed into FreeBSD tree.  I think the driver 
> >>>>> supports your LP PHY device.  After cvsup please try to rebuild siba_bwn
> >>>>> and bwn modules.
> >>>>>
> >>>>> Could you please test with it?  Please let me know and send me your 
> >>>>> full dmesg when you encounters the following problems:
> >>>>>
> >>>>>   - if the driver doesn't work or is unstable.
> >>>>>   - if it prints debugging or verbose messages.
> >>>>>       
> >>>>>           
> >>>> Great!  Thanks for the work!
> >>>>
> >>>> Is it possible to MFC the work back to 8-STABLE at some point?
> >>>>     
> >>>>         
> >>> Of course yes.  AFAIK it could be compiled and works without problems on
> >>> 8-STABLE; I checked it.  :-)
> >>>
> >>>   
> >>>       
> >>    I'm trying to run it in STABLE right now. When kldloading if_bwm
> >> (following the given instructions, the other modules are kldloaded) it
> >> complains with :
> >>
> >>          link_elf_obj: symbol _mtx_assert undefined
> >>
> >>    looks like it fails in if_bwnvar.h. Culprit is this define :
> >>   
> >>             #define    BWN_ASSERT_LOCKED(sc)   
> >> mtx_assert(&(sc)->sc_mtx, MA_OWNED)
> >>
> >>    Do I need witness enabled to run this ? Is there any way to run it in
> >> STABLE  or do I need to run CURRENT ?
> >>     
> >
> > It sounds like you have INVARIANTS defined when the module was built, but your 
> > kernel does not have INVARIANT_SUPPORT defined.
> >
> >   
>    That did it. Thank you. After recompiling and rebooting the kernel, I
> noticed via dmesg that when kldloading ssb the module complains with :
> 
>       ssb0: <Broadcom BCM4312 802.11a/b/g Wireless> mem
> 0xf9ffc000-0xf9ffffff irq 17 at device 0.0 on pci12
>       ssb0: unsupportted coreid 0x817
> 
>    When kldloading if_bwn (after bwn_v4_ucode) the machine freezes. I
> guess my hard isn't supported yet.

It looks you're using old bwn(4) sources.  Could you test it with
sources on HEAD?  You should use and compile siba_bwn module and bwn
module on HEAD.

regards,
Weongyo Jeong
Received on Wed Mar 03 2010 - 22:53:26 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:01 UTC