From owner-freebsd-current@FreeBSD.ORG Mon Mar 1 20:13:13 2010 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8DDB6106564A for ; Mon, 1 Mar 2010 20:13:13 +0000 (UTC) (envelope-from weongyo.jeong@gmail.com) Received: from mail-bw0-f228.google.com (mail-bw0-f228.google.com [209.85.218.228]) by mx1.freebsd.org (Postfix) with ESMTP id 137FB8FC1A for ; Mon, 1 Mar 2010 20:13:12 +0000 (UTC) Received: by bwz28 with SMTP id 28so771982bwz.14 for ; Mon, 01 Mar 2010 12:13:03 -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=UCu/ZOUAeCTZHkBUEu1DpAy1ByrolXEZwjVmuS4Bi6M=; b=j7CmkfsZi4q/d9XT4RW+Bk8z+2snZCI5aMM8zzema4ObnxT0oAtWzwsKVp7N7OJ3/h b3GK06yJf838DsKE8sq4P9Z9G0UutqKIGgJgyY4Og4ayWaa1yw9RlkyW1aL3wNVE2cbW VWYSUMddxkADrchvWSp1Wjnk/7Jqonv3WCjg8= 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=DBeSkV32bCicJFo8Gm5CmYWIcUJhH27EEasAK6ZtdjTl/kdAc2CD1kTVUuTeZ7tR6i 8nInL4L7yzgBy+yzC9ADH7oqxFlIKCE3EuwpbfoIxpxdz5yPA0dRP2w2nIQ0KMESF3HX ofmLP8XTHHdhr2/cJ8phu+KKdiGSdkEq8rq0E= Received: by 10.103.64.21 with SMTP id r21mr3997414muk.30.1267474383295; Mon, 01 Mar 2010 12:13:03 -0800 (PST) Received: from weongyo ([174.35.1.224]) by mx.google.com with ESMTPS id s10sm19937759muh.35.2010.03.01.12.13.00 (version=SSLv3 cipher=RC4-MD5); Mon, 01 Mar 2010 12:13:01 -0800 (PST) Received: by weongyo (sSMTP sendmail emulation); Mon, 1 Mar 2010 12:12:54 -0800 From: Weongyo Jeong Date: Mon, 1 Mar 2010 12:12:54 -0800 To: Miki Message-ID: <20100301201254.GG1295@weongyo> Mail-Followup-To: Miki , current@freebsd.org References: <20091223035331.GA1293@weongyo> <4b31cb29.9413f30a.5f4a.ffff8382@mx.google.com> <20100226005115.GP14937@weongyo> <261c29701002281145v357d86edl822f032e6e09a7fc@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <261c29701002281145v357d86edl822f032e6e09a7fc@mail.gmail.com> User-Agent: Mutt/1.4.2.3i Organization: CDNetworks. X-Operation-Sytem: FreeBSD Cc: 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: Mon, 01 Mar 2010 20:13:13 -0000 On Sun, Feb 28, 2010 at 08:45:32PM +0100, Miki wrote: > Hi, > > Thanks for the work ! > > I have some problems here when I try to create a wlan interface : > bwn_v4_ucode5: could not load firmware image, error 2 > bwn0: the fw file(bwn_v4_ucode5) not found Did you try to UP the interface withload loading bwn_v4_ucode.ko? If yes currently bwn(4) doesn't automatically load firmware module so you need to do it by hand. # kldload bwn_v4_ucode The patch for this is ready to commit and it'll be happened soon. > I have installed bwn-firmware-kmod from ports but the only files I have in > /boot/modules are bwn_v4_lp_ucode.ko and bwn_v4_ucode.ko. So I tried to > copy bwn_v4_ucode to bwn_v4_ucode5 and it seems to work : wlan0 is > created, I can associate to an open Access Point and obtain a DHCP lease. > But if I try to do some network IO (browsing the web) the interface hang > (I cannot obtain a lease anymore). I have a exact same device like you have but I didn't encounter this issue. Are there any messages from bwn(4) when you the interface becomes hang? One more question, after the interface hang, does the system be hang also? One thing you can do is that trying the device with PIO mode not DMA mode using the following tunable variable: hw.bwn.usedma Its default value is 1 to enable DMA operation so if you set it 0, PIO mode would be used and could see the message like below: bwn0: PIO Could you please test with it? regards, Weongyo Jeong