From owner-freebsd-wireless@FreeBSD.ORG Fri May 27 13:30:13 2011 Return-Path: Delivered-To: freebsd-wireless@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8FD0C106564A for ; Fri, 27 May 2011 13:30:13 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 6512C8FC0A for ; Fri, 27 May 2011 13:30:13 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id p4RDUDDL019983 for ; Fri, 27 May 2011 13:30:13 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p4RDUDrt019980; Fri, 27 May 2011 13:30:13 GMT (envelope-from gnats) Date: Fri, 27 May 2011 13:30:13 GMT Message-Id: <201105271330.p4RDUDrt019980@freefall.freebsd.org> To: freebsd-wireless@FreeBSD.org From: Dalibor Gudzic Cc: Subject: Re: kern/140796: [ath] [panic] Cannot attach (unable to attach hardware; HAL status 3) under 8, panic in 7.x X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Dalibor Gudzic List-Id: "Discussions of 802.11 stack, tools device driver development." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 May 2011 13:30:13 -0000 The following reply was made to PR kern/140796; it has been noted by GNATS. From: Dalibor Gudzic To: Adrian Chadd Cc: bug-followup@freebsd.org Subject: Re: kern/140796: [ath] [panic] Cannot attach (unable to attach hardware; HAL status 3) under 8, panic in 7.x Date: Fri, 27 May 2011 15:25:05 +0200 On Thu, May 26, 2011 at 10:12 PM, Adrian Chadd wrote: > Nope, you need to use cloned devices, not ath0. > > ifconfig wlan0 create wlandev ath0 country Australia > > then do your stuff to wlan0, not ath0. :) > > > Adrian > Ah, I haven't been using FreeBSD for some time now... I see things have changed in 7.x. :) Card is WORKING properly now. I tried setting and address and listening on it. I will test further today and see if there are any problems. Anyway, is there a chance for a patch downstream to STABLE? Or change is already there? Again, thank a lot for your time and effort on this issue. All best Dalibor > On 27 May 2011 04:11, Dalibor Gudzic wrote: >> On Thu, May 26, 2011 at 9:21 PM, Dalibor Gudzic >> wrote: >>>> On Tue, May 24, 2011 at 2:29 PM, Adrian Chadd wro= te: >>>> >>>> Have you tried freebsd-current? I've done quite a bit of work with the >>>> ath driver in FreeBSD-current. >>> >>> Just did. It appears that card is working in HEAD, at least there are >>> no failed messages. Here is the dmesg: >>> ... >> >> Unfortunately, I cannot do anything with the card. I can 'up' it, but >> when I try to assign an address to it I get: >> >> =A0 =A0 =A0ifconfig: ioctl (SIOCAIFADDR): Invalid argument >> >> ifconfig arguments were fine, everything is OK with vr0 interace. If I >> try tcpdump on ath0 I get: >> >> =A0 =A0 =A0tcpdump: ath0: No such device exists >> =A0 =A0 =A0(BIOCSETIF failed: Device not configured) >> >> >> I guess I started to celebrate to early... :) >> >> >> Dalibor >> >