From owner-freebsd-current@FreeBSD.ORG Wed Mar 3 23:53:26 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 E51991065670; Wed, 3 Mar 2010 23:53:25 +0000 (UTC) (envelope-from weongyo.jeong@gmail.com) Received: from mail-pz0-f199.google.com (mail-pz0-f199.google.com [209.85.222.199]) by mx1.freebsd.org (Postfix) with ESMTP id A4CDD8FC18; Wed, 3 Mar 2010 23:53:25 +0000 (UTC) Received: by pzk37 with SMTP id 37so1395586pzk.7 for ; Wed, 03 Mar 2010 15:53:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:received:from:date:to:cc :subject:message-id:reply-to:mail-followup-to:references :mime-version:content-type:content-disposition:in-reply-to :user-agent:organization:x-operation-sytem; bh=pgMfPbXzwFFlb0RCj1WU+cTKl4LCZusgJpdMHdiD0wY=; b=pDC4FvmFh/bB02yBOkP0V2hU+WVjnVGj9E+fEz6VibVyCB51+2k/VViw2BEp3HNE8q vsqiNljqN8YEoLAFii5ZVik+SwICs3JCwHlnCAh3tBIwRBsSKFTAPmvKCm7Q2Eanf2Lo Wf7oeXmqapAA//ziPSmTzGVBGLqmYNOUXu4yU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:date:to:cc:subject:message-id:reply-to:mail-followup-to :references:mime-version:content-type:content-disposition :in-reply-to:user-agent:organization:x-operation-sytem; b=hZk0GhJTKeNp/zeFZbXH5xJokgkIlxTM+kLKuNf7jqriBxm7/1sKrU88DClEqg61FV Twgx3u03OJ4EejcVA3vg+7igcevSQdZ0T2AxjHo90FJtvCb1NogZd4p42LKcBgZ6NBrn Wtse0xdbhQr/wGbEyyhwUQATZMixrbrDjSRj8= Received: by 10.115.24.12 with SMTP id b12mr174552waj.118.1267660398355; Wed, 03 Mar 2010 15:53:18 -0800 (PST) Received: from weongyo ([174.35.1.224]) by mx.google.com with ESMTPS id 17sm710942pwj.9.2010.03.03.15.53.15 (version=SSLv3 cipher=RC4-MD5); Wed, 03 Mar 2010 15:53:17 -0800 (PST) Received: by weongyo (sSMTP sendmail emulation); Wed, 3 Mar 2010 15:53:19 -0800 From: Weongyo Jeong Date: Wed, 3 Mar 2010 15:53:19 -0800 To: Gustau P?rez Message-ID: <20100303235319.GO1295@weongyo> Mail-Followup-To: Gustau P?rez , John Baldwin , freebsd-current@freebsd.org References: <20091223035331.GA1293@weongyo> <20100228074056.GA3536@weongyo> <4B8C220A.1060402@entel.upc.edu> <201003020801.32955.jhb@freebsd.org> <4B8D5F96.3010700@entel.upc.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4B8D5F96.3010700@entel.upc.edu> User-Agent: Mutt/1.4.2.3i Organization: CDNetworks. X-Operation-Sytem: FreeBSD Cc: freebsd-current@freebsd.org 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 Reply-To: Weongyo Jeong List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Mar 2010 23:53:26 -0000 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: 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