From owner-freebsd-current@FreeBSD.ORG Sun Oct 9 07:00:15 2005 Return-Path: X-Original-To: freebsd-current@FreeBSD.org Delivered-To: freebsd-current@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0191516A41F; Sun, 9 Oct 2005 07:00:14 +0000 (GMT) (envelope-from avatar@mmlab.cse.yzu.edu.tw) Received: from www.mmlab.cse.yzu.edu.tw (www.mmlab.cse.yzu.edu.tw [140.138.150.166]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8DF6743D45; Sun, 9 Oct 2005 07:00:14 +0000 (GMT) (envelope-from avatar@mmlab.cse.yzu.edu.tw) Received: by www.mmlab.cse.yzu.edu.tw (qmail, from userid 1000) id 5E5C08C9880; Sun, 9 Oct 2005 15:00:13 +0800 (CST) Received: from localhost (localhost [127.0.0.1]) by www.mmlab.cse.yzu.edu.tw (qmail) with ESMTP id 56D048C9866; Sun, 9 Oct 2005 15:00:13 +0800 (CST) Date: Sun, 9 Oct 2005 15:00:13 +0800 (CST) From: Tai-hwa Liang To: Norikatsu Shigemura In-Reply-To: <200510081630.j98GU1Sf021682@sakura.ninth-nine.com> Message-ID: <0510091447540.81426@www.mmlab.cse.yzu.edu.tw> References: <200510081630.j98GU1Sf021682@sakura.ninth-nine.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-current@FreeBSD.org Subject: Re: dhclient with if_wi&wep 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: Sun, 09 Oct 2005 07:00:15 -0000 On Sun, 9 Oct 2005, Norikatsu Shigemura wrote: > dhclient with if_wi&WEP will freeze on 7-current. > > I am using following if_wi and WEP. [...] > Oct 8 22:01:08 pelsia kernel: Oct 8 22:01:08 pelsia kernel: wi0: timeout in wi_cmd 0x0000; event status 0x8008 > Oct 8 22:01:08 pelsia kernel: wi0: wi_cmd: busy bit won't clear. > Oct 8 22:01:08 pelsia kernel: wi0: init failed > Oct 8 22:01:08 pelsia kernel: wi0: timeout in wi_seek to fc00/0 > Oct 8 22:01:08 pelsia kernel: wi0: timeout in wi_seek to fc81/0 > Oct 8 22:01:08 pelsia kernel: wi0: timeout in wi_seek to fc85/0 > Oct 8 22:01:08 pelsia kernel: wi0: timeout in wi_seek to fc2a/0 > Oct 8 22:01:08 pelsia kernel: wi0: timeout in wi_seek to fc28/0 > Oct 8 22:01:08 pelsia kernel: wi0: timeout in wi_seek to fc80/0 > Oct 8 22:01:08 pelsia kernel: wi0: failed to allocate 2372 bytes on NIC > Oct 8 22:01:08 pelsia kernel: wi0: tx buffer allocation failed (error 12) > Oct 8 22:01:08 pelsia kernel: wi0: interface not running [...] Sometimes I run into this whilst running "ifconfig wi0 up" w/o if_wi.ko loaded; that is, the "busy bit won't clear, init failed" happens to my R40(builtin wi miniPCI) regardless of whether or not the WEP is enabled. It looks to me that the firmware doesn't ack. properly at that moment (unfortunately I have no idea about how to fix this); however, the second retry("kldunload if_wi" then "ifconfig wi0 up" again) works for me. -- Cheers, Tai-hwa Liang