Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 2 Mar 2010 08:01:32 -0500
From:      John Baldwin <jhb@freebsd.org>
To:        freebsd-current@freebsd.org
Cc:        Gustau =?iso-8859-1?q?P=E9rez?= <gperez@entel.upc.edu>, weongyo.jeong@gmail.com
Subject:   Re: Call for Test and Review: bwn(4) - another Broadcom Wireless driver
Message-ID:  <201003020801.32955.jhb@freebsd.org>
In-Reply-To: <4B8C220A.1060402@entel.upc.edu>
References:  <20091223035331.GA1293@weongyo> <20100228074056.GA3536@weongyo> <4B8C220A.1060402@entel.upc.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
On Monday 01 March 2010 3:22:34 pm Gustau P=E9rez wrote:
> En/na Weongyo Jeong ha escrit:
> > On Fri, Feb 26, 2010 at 04:21:06PM -0800, Xin LI wrote:
> >  =20
> >> Hi, Weongyo,
> >>
> >> On 2010/02/25 16:51, Weongyo Jeong wrote:
> >>    =20
> >>> FYI bwn(4) driver is committed into FreeBSD tree.  I think the driver=
=20
> >>> 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=20
> >>> full dmesg when you encounters the following problems:
> >>>
> >>>   - if the driver doesn't work or is unstable.
> >>>   - if it prints debugging or verbose messages.
> >>>      =20
> >> Great!  Thanks for the work!
> >>
> >> Is it possible to MFC the work back to 8-STABLE at some point?
> >>    =20
> >
> > Of course yes.  AFAIK it could be compiled and works without problems on
> > 8-STABLE; I checked it.  :-)
> >
> >  =20
>    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 :
>=20
>          link_elf_obj: symbol _mtx_assert undefined
>=20
>    looks like it fails in if_bwnvar.h. Culprit is this define :
>  =20
>             #define    BWN_ASSERT_LOCKED(sc)  =20
> mtx_assert(&(sc)->sc_mtx, MA_OWNED)
>=20
>    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 y=
our=20
kernel does not have INVARIANT_SUPPORT defined.

=2D-=20
John Baldwin



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