From nobody@FreeBSD.org  Tue Nov 28 18:22:09 2006
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52])
	by hub.freebsd.org (Postfix) with ESMTP id E900116A412
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 28 Nov 2006 18:22:09 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [69.147.83.33])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 08AE343CA8
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 28 Nov 2006 18:20:50 +0000 (GMT)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.13.1/8.13.1) with ESMTP id kASIKmB0028255
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 28 Nov 2006 18:20:48 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.13.1/8.13.1/Submit) id kASIKmjt028254;
	Tue, 28 Nov 2006 18:20:48 GMT
	(envelope-from nobody)
Message-Id: <200611281820.kASIKmjt028254@www.freebsd.org>
Date: Tue, 28 Nov 2006 18:20:48 GMT
From: Keith Jeffries<seawolf_42@excite.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: ATH driver unable to reset D-Link DWL-530 (Atheros 5212 chip)
X-Send-Pr-Version: www-3.0

>Number:         105967
>Category:       i386
>Synopsis:       ATH driver unable to reset D-Link DWL-530 (Atheros 5212 chip)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-i386
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Nov 28 18:30:16 GMT 2006
>Closed-Date:    Tue Nov 28 18:56:43 GMT 2006
>Last-Modified:  Tue Nov 28 19:00:33 GMT 2006
>Originator:     Keith Jeffries
>Release:        6.1-RELEASE
>Organization:
>Environment:
FreeBSD portroyal.jolirouge.org 6.1-SECURITY FreeBSD 6.1-SECURITY #0: Mon Aug 28 05:21:08 UTC 2006     root@builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC  i386

>Description:
The D-Link DWL-530 wireless card uses the Atheros 5212 chip, but the ATH driver is unable to reset the chip during hardware initialization; the card is therefore unusable.

Relevant output from dmesg:
portroyal# dmesg | grep ath0
ath0: <Atheros 5212> mem 0xe9000000-0xe900ffff at device 15.0 on pci0
ath0: Ethernet address: 00:13:46:9a:28:5c
ath0: mac 5.9 phy 4.3 radio 3.6
ath0: ath_chan_set: unable to reset channel 5 (2432 Mhz, flags 0x3e0 hal flags 0x140)
ath0: unable to reset hardware; hal status 12
ath0: unable to reset hardware; hal status 12
ath0: unable to reset hardware; hal status 12

From the ATH driver page:
     ath%d: ath_chan_set: unable to reset channel %u (%u Mhz)  The Atheros
     Hardware Access Layer was unable to reset the hardware when switching
     channels during scanning.  This should not happen.
     ...
     ath%d: unable to reset hardware; hal status %u  The Atheros Hardware
     Access Layer was unable to reset the hardware as requested.  The status
     code is explained in the HAL include file sys/contrib/dev/ath/ah.h.  This
     should not happen.

>How-To-Repeat:
install the wireless card on a generic i386 system running 6.1-RELEASE

enable the Atheros driver in /boot/loader.conf
>Fix:
unknown
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: remko 
State-Changed-When: Tue Nov 28 18:56:41 UTC 2006 
State-Changed-Why:  
The email address you provided bounces, please obtain an address before 
submitting PR's, if you do so, please refer to the contents of the 
audit-trial first before submitting a new entry. Thanks 

http://www.freebsd.org/cgi/query-pr.cgi?pr=105967 

From: Remko Lodder <remko@elvandar.org>
To: Keith Jeffries <seawolf_42@excite.com>
Cc: freebsd-gnats-submit@FreeBSD.org
Subject: Re: i386/105967: ATH driver unable to reset D-Link DWL-530
	(Atheros 5212 chip)
Date: Tue, 28 Nov 2006 19:53:37 +0100

 On Tue, 2006-11-28 at 18:20 +0000, Keith Jeffries wrote:
 > >Number:         105967
 > >Category:       i386
 > >Synopsis:       ATH driver unable to reset D-Link DWL-530 (Atheros 5212 chip)
 > >Confidential:   no
 > >Severity:       non-critical
 > >Priority:       low
 > >Responsible:    freebsd-i386
 > >State:          open
 > >Quarter:        
 > >Keywords:       
 > >Date-Required:
 > >Class:          sw-bug
 > >Submitter-Id:   current-users
 > >Arrival-Date:   Tue Nov 28 18:30:16 GMT 2006
 > >Closed-Date:
 > >Last-Modified:
 > >Originator:     Keith Jeffries
 > >Release:        6.1-RELEASE
 > >Organization:
 > >Environment:
 > FreeBSD portroyal.jolirouge.org 6.1-SECURITY FreeBSD 6.1-SECURITY #0: Mon Aug 28 05:21:08 UTC 2006     root@builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC  i386
 > 
 > >Description:
 > The D-Link DWL-530 wireless card uses the Atheros 5212 chip, but the ATH driver is unable to reset the chip during hardware initialization; the card is therefore unusable.
 > 
 > Relevant output from dmesg:
 > portroyal# dmesg | grep ath0
 > ath0: <Atheros 5212> mem 0xe9000000-0xe900ffff at device 15.0 on pci0
 > ath0: Ethernet address: 00:13:46:9a:28:5c
 > ath0: mac 5.9 phy 4.3 radio 3.6
 > ath0: ath_chan_set: unable to reset channel 5 (2432 Mhz, flags 0x3e0 hal flags 0x140)
 > ath0: unable to reset hardware; hal status 12
 > ath0: unable to reset hardware; hal status 12
 > ath0: unable to reset hardware; hal status 12
 > 
 > >From the ATH driver page:
 >      ath%d: ath_chan_set: unable to reset channel %u (%u Mhz)  The Atheros
 >      Hardware Access Layer was unable to reset the hardware when switching
 >      channels during scanning.  This should not happen.
 >      ...
 >      ath%d: unable to reset hardware; hal status %u  The Atheros Hardware
 >      Access Layer was unable to reset the hardware as requested.  The status
 >      code is explained in the HAL include file sys/contrib/dev/ath/ah.h.  This
 >      should not happen.
 > 
 > >How-To-Repeat:
 > install the wireless card on a generic i386 system running 6.1-RELEASE
 > 
 > enable the Atheros driver in /boot/loader.conf
 > >Fix:
 > unknown
 > >Release-Note:
 > >Audit-Trail:
 > >Unformatted:
 
 Did you consider trying 6.2-BETA? Also please check the freebsd-net
 mailinglist first before submitting a PR, perhaps this was already
 fixed or someone knows a work around, that will help you much
 faster then via a PR (which this aint is.. just yet).
 
 I am not trying to spoil your fun, but it is in our and your
 best interest that you first visit the mailinglists for help and
 then see what can be done.
 
 
 Please defer to http://lists.freebsd.org/mailman/listinfo/freebsd-net
 to ask your question there and also please try 6.2-BETA, if people still
 think this is a PR , please get back to me and i will reopen the PR
 (I will close it in a little).
 
 Thanks!
 
 Best regards,
 Remko Lodder
 
>Unformatted:
