From owner-freebsd-current@FreeBSD.ORG Tue Mar 2 13:30:05 2010 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2805A106567C for ; Tue, 2 Mar 2010 13:30:05 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from cyrus.watson.org (cyrus.watson.org [65.122.17.42]) by mx1.freebsd.org (Postfix) with ESMTP id EC6D18FC1E for ; Tue, 2 Mar 2010 13:30:04 +0000 (UTC) Received: from bigwig.baldwin.cx (66.111.2.69.static.nyinternet.net [66.111.2.69]) by cyrus.watson.org (Postfix) with ESMTPSA id 6181A46B5B; Tue, 2 Mar 2010 08:30:04 -0500 (EST) Received: from jhbbsd.localnet (smtp.hudson-trading.com [209.249.190.9]) by bigwig.baldwin.cx (Postfix) with ESMTPA id BBAA78A01F; Tue, 2 Mar 2010 08:30:03 -0500 (EST) From: John Baldwin To: freebsd-current@freebsd.org Date: Tue, 2 Mar 2010 08:01:32 -0500 User-Agent: KMail/1.12.1 (FreeBSD/7.3-CBSD-20100217; KDE/4.3.1; amd64; ; ) References: <20091223035331.GA1293@weongyo> <20100228074056.GA3536@weongyo> <4B8C220A.1060402@entel.upc.edu> In-Reply-To: <4B8C220A.1060402@entel.upc.edu> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Message-Id: <201003020801.32955.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.0.1 (bigwig.baldwin.cx); Tue, 02 Mar 2010 08:30:03 -0500 (EST) X-Virus-Scanned: clamav-milter 0.95.1 at bigwig.baldwin.cx X-Virus-Status: Clean X-Spam-Status: No, score=-1.5 required=4.2 tests=AWL,BAYES_00 autolearn=ham version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on bigwig.baldwin.cx Cc: Gustau =?iso-8859-1?q?P=E9rez?= , weongyo.jeong@gmail.com Subject: Re: Call for Test and Review: bwn(4) - another Broadcom Wireless driver X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Mar 2010 13:30:05 -0000 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