Search Linux Wireless

Re: [PATCH] ath5k: disable ASPM

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Quoting "Maxim Levitsky" <maximlevitsky@xxxxxxxxx>:

On Fri, 2010-05-28 at 13:09 +0300, Jussi Kivilinna wrote:
Atheros card on Acer Aspire One (AOA150, Atheros Communications Inc. AR5001
Wireless Network Adapter [168c:001c] (rev 01)) doesn't work well with ASPM
enabled. With ASPM ath5k will eventually stall on heavy traffic with often
'unsupported jumbo' warnings appearing. Disabling ASPM L0s/L1 in ath5k fixes
these problems.

Reproduced with pcie_aspm=force and by using 'nc < /dev/zero > /dev/null' at
both ends (usually stalls within seconds).

This fixes the same nasty problem on my AR2425.

My AR2425 will stall if it transmits for about 1~2 minutes.

It sends storm of RXORN interrupts although it only transmits.

I see that now lspci calls it AR5001.

Jussi Kivilinna, million thanks to you. I would never think of going
this direction.

Luis, so I was right after all, wasn't I?
It is a hardware bug that is worked around in windows driver by
disabling PCIE ASPM L0S.

I noticed this L0s disabling in windows driver too. I cannot test this anymore, since I don't have ath5k hw installed anymore (I switched to b43).

(ok, I might switch back ath5k to work on this, but opening AAO is pain.. on the other hand, I'm just user in this case and pretty unwilling to work with dual-license)

I did test device with L0s+L1 enabled (aspm=force), on this setup device fails within seconds. I tested patch with disabling L1 but not L0s, still fails but after longer time. I did _not_ test with L0s off but L1 enabled. So maybe it would be worth to test this patch with just disabling L0s.

AAO150 seems to enable L0s from BIOS, so this happens without aspm=force or CONFIG_.._ASPM at all.

 -Jussi

--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux