Need help with diagnostics

Victor Balada Diaz victor at bsdes.net
Fri Apr 24 07:03:38 UTC 2015


On Fri, Apr 24, 2015 at 09:43:09AM +0300, Michael BlackHeart wrote:
> Thanks.
> I do really have in kernel
> 
> options         ATH_DEBUG
> options         ATH_DIAGAPI
> 
> and I've got D-Link WiFi card with Atheros chip
> 
> ath0 at pci0:3:0:0:        class=0x028000 card=0x3a7e1186 chip=0x0030168c
> rev=0x01 hdr=0x00
>     vendor     = 'Atheros Communications Inc.'
>     device     = 'AR9300 Wireless LAN adaptor'
>     class      = network
>     bar   [10] = type Memory, range 64, base 0xf7ee0000, size 131072,
> enabled
>     cap 01[40] = powerspec 3  supports D0 D1 D3  current D0
>     cap 05[50] = MSI supports 4 messages, 64 bit, vector masks
>     cap 10[70] = PCI-Express 2 endpoint max data 128(128) link x1(x1)
>                  speed 2.5(2.5) ASPM disabled(L0s/L1)
>     ecap 0001[100] = AER 1 0 fatal 0 non-fatal 1 corrected
>     ecap 0002[140] = VC 1 max VC0
>     ecap 0003[300] = Serial 1 0000000000000000
> 
> If you say that's nothing bad than OK. I just get a little worried 'cos I
> never expieirnced this debug output for at least 2 years of using this
> card. Probably last kernel/system update to 1001510 r280164 stable bring
> this up.
> 

I'm not the driver author, but taking a quick look at the source code
this seems to be working as intended. Is just debugging information and
you don't need to worry about it unless you're actually debugging how the
driver works. If I were you I would just disable ATH_DEBUG.

If you're interested about the specifics, adrian@ might be a good person
to contact as he's the author of that code.


More information about the freebsd-stable mailing list