I have that model chip somewhere. Resuming works fine in freebsd. Is the MAC/PHY and PCI reset stuff correctly being (re) initialised after resume?
What's in AR_SCR, AR_PCICFG, AR_RC ? AR_SCR = 0x4004 AR_PCICFG = 0x4010 AR_RC = 0x4000 -a On 25 March 2014 01:07, Eugene Shatokhin <eugene.shatok...@rosalab.ru> wrote: > Hi, > > On 01/21/2014 05:48 PM, Nick Kossifidis wrote: >> Since you have a version that works you could use git bisect to find >> out the patch that introduced the bug, try to revert it and see what >> happens. >> > > Well, our user that reported the problem first has not responded since I > sent him the first kernels needed to bisect the problem. > > Another our user, however, seems to have a very similar problem: the > system cannot wake up the WiFi adapter (Atheros AR2425) after suspend. > > This time, we could not find a kernel version where it works after > resume. The problem shows up with kernels 3.0.x, 3.2.x, 3.10.x, 3.13.x > at least. > > From the system log: > > --------------------- > kernel: ath5k 0000:03:00.0: Refused to change power state, currently in D3 > ... > kernel: ath5k: phy0: failed to wakeup the MAC Chip > kernel: ath5k: phy0: can't reset hardware (-5) > --------------------- > > lcpci: > --------------------- > 03:00.0 Ethernet controller [0200]: Qualcomm Atheros AR242x / AR542x > Wireless Network Adapter (PCI-Express) [168c:001c] (rev ff) (prog-if ff) > --------------------- > > The adapter works fine in MS Windows installed on the same laptop, so, I > guess, it is unlikely to be a hardware issue. > > Any more ideas how could one debug this? > > The system log also shows more suspicious messages related to that device: > -------------------- > kernel: pci 0000:03:00.0: disabling ASPM on pre-1.1 PCIe device. You > can enable it with 'pcie_aspm=force' > ... > ath5k 0000:03:00.0: can't disable ASPM; OS doesn't have ASPM control > -------------------- > > Could they be related? > Any help is appreciated. > > Regards, > Eugene > > -- > Eugene Shatokhin, ROSA > www.rosalab.com > _______________________________________________ > ath5k-devel mailing list > ath5k-devel@lists.ath5k.org > https://lists.ath5k.org/mailman/listinfo/ath5k-devel _______________________________________________ ath5k-devel mailing list ath5k-devel@lists.ath5k.org https://lists.ath5k.org/mailman/listinfo/ath5k-devel