Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 11 Feb 2009 15:48:04 -0800
From:      Sam Leffler <sam@freebsd.org>
To:        Adam K Kirchhoff <adamk@voicenet.com>
Cc:        freebsd-net@freebsd.org
Subject:   Re: New Atheros card: channel reset error [sorry for posting of not ready message]
Message-ID:  <499363B4.20409@freebsd.org>
In-Reply-To: <20090211145145.1b5f5b24@sorrow.ashke.com>
References:  <16510045949.20090211193347@serebryakov.spb.ru> <20090211145145.1b5f5b24@sorrow.ashke.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Your panic on card eject has been fixed in HEAD.  That was one of the 
changes I hoped to backport to RELENG_7 after the hal is brought back.

    Sam

Adam K Kirchhoff wrote:
> I get similar errors, but only when trying to connect to a particular
> wireless network (at work).  I can connect to the one I have at home,
> and do not get any errors.  I have opened up a pr about it:
>
> http://www.freebsd.org/cgi/query-pr.cgi?pr=131162
>
> In my case, if I then remove the wireless card while the interface is
> trying to acquire an IP address, the kernel panics.  Are you seeing
> something similar?
>
> Adam
>
> On Wed, 11 Feb 2009 19:33:47 +0300
> Lev Serebryakov <lev@serebryakov.spb.ru> wrote:
>
>   
>> Hello, Freebsd-net.
>>
>> I'm getting this error on every operation with new Atheros MiniPCI
>> card:
>>
>> ath0: ath_chan_set: unable to reset channel 6 (2437 Mhz, flags 0x490 hal flags 0x150), hal status 12
>>
>>  What does it mean? Maybe, card is broken?
>>
>> # pciconf -lv
>> ath0@pci0:0:17:0:       class=0x020000 card=0x1600185f chip=0x001b168c rev=0x01 hdr=0x00
>>     vendor     = 'Atheros Communications Inc.'
>>     device     = 'AR5006 family 802.11abg Wireless NIC'
>>     class      = network
>>     subclass   = ethernet
>>
>> # grep ath /var/run/dmesg.boot
>> ath_hal: 0.9.20.3 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413)
>> ath0: <Atheros 5212> mem 0xa0060000-0xa006ffff irq 15 at device 17.0 on pci0
>> ath0: [ITHREAD]
>> ath0: WARNING: using obsoleted if_watchdog interface
>> ath0: Ethernet address: 00:0b:6b:2d:e8:1e
>> ath0: mac 10.5 phy 6.1 radio 6.3
>>
>> # sysctl dev.ath
>> dev.ath.0.%desc: Atheros 5212
>> dev.ath.0.%driver: ath
>> dev.ath.0.%location: slot=17 function=0
>> dev.ath.0.%pnpinfo: vendor=0x168c device=0x001b subvendor=0x185f subdevice=0x1600 class=0x020000
>> dev.ath.0.%parent: pci0
>> dev.ath.0.smoothing_rate: 95
>> dev.ath.0.sample_rate: 10
>> dev.ath.0.countrycode: 0
>> dev.ath.0.regdomain: 0
>> dev.ath.0.slottime: 9
>> dev.ath.0.acktimeout: 48
>> dev.ath.0.ctstimeout: 48
>> dev.ath.0.softled: 0
>> dev.ath.0.ledpin: 0
>> dev.ath.0.ledon: 0
>> dev.ath.0.ledidle: 2700
>> dev.ath.0.txantenna: 0
>> dev.ath.0.rxantenna: 2
>> dev.ath.0.diversity: 1
>> dev.ath.0.txintrperiod: 5
>> dev.ath.0.diag: 0
>> dev.ath.0.tpscale: 0
>> dev.ath.0.tpc: 0
>> dev.ath.0.tpack: 63
>> dev.ath.0.tpcts: 63
>> dev.ath.0.fftxqmin: 2
>> dev.ath.0.fftxqmax: 50
>> dev.ath.0.rfsilent: 1
>> dev.ath.0.rfkill: 1
>> dev.ath.0.monpass: 24
>>
>> # sysctl hw.ath
>> hw.ath.hal.swba_backoff: 0
>> hw.ath.hal.sw_brt: 10
>> hw.ath.hal.dma_brt: 2
>> hw.ath.hal.version: 0.9.20.3
>> hw.ath.txbuf: 200
>> hw.ath.rxbuf: 40
>> hw.ath.regdomain: 0
>> hw.ath.countrycode: 0
>> hw.ath.xchanmode: 1
>> hw.ath.outdoor: 1
>> hw.ath.calibrate: 30
>>
>> -- 
>> // Black Lion AKA Lev Serebryakov <lev@serebryakov.spb.ru>
>>
>> _______________________________________________
>> freebsd-net@freebsd.org mailing list
>> http://lists.freebsd.org/mailman/listinfo/freebsd-net
>> To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org"
>>
>>     
>
>   




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?499363B4.20409>