You are not logged in.

#1 2011-10-22 20:17:26

kazuldur
Member
Registered: 2011-05-28
Posts: 13

Ath9k crash after suspend/hibernation.

Hi!
I'm not a native english speaker, so please don't be harsh on me smile
I think it started after upgrading the kernel to 2.6.39, but it still happens at the 3.0.7-1. It worked fine some time ago for sure... I cant use lts kernel, because I cant get X to work good on it.... After waking up from suspend or hibernation, "iwlist scan" outputs "No results". When I try to reload ath9k using modprobe, I can see this in dmesg:

Aug  7 23:24:46 localhost kernel: [  702.732378] irq 17: nobody cared (try booting with the "irqpoll" option)
Aug  7 23:24:46 localhost kernel: [  702.732388] Pid: 0, comm: swapper Tainted: G         C  3.0-ARCH #1
Aug  7 23:24:46 localhost kernel: [  702.732392] Call Trace:
Aug  7 23:24:46 localhost kernel: [  702.732398]  <IRQ>  [<ffffffff810c114a>] __report_bad_irq+0x3a/0xd0
Aug  7 23:24:46 localhost kernel: [  702.732409]  [<ffffffff810c1566>] note_interrupt+0x136/0x1f0
Aug  7 23:24:46 localhost kernel: [  702.732413]  [<ffffffff810bf659>] handle_irq_event_percpu+0xc9/0x2a0
Aug  7 23:24:46 localhost kernel: [  702.732416]  [<ffffffff810bf875>] handle_irq_event+0x45/0x70
Aug  7 23:24:46 localhost kernel: [  702.732419]  [<ffffffff810c1e97>] handle_fasteoi_irq+0x57/0xd0
Aug  7 23:24:46 localhost kernel: [  702.732423]  [<ffffffff8100d9f2>] handle_irq+0x22/0x40
Aug  7 23:24:46 localhost kernel: [  702.732427]  [<ffffffff813f57ea>] do_IRQ+0x5a/0xe0
Aug  7 23:24:46 localhost kernel: [  702.732430]  [<ffffffff813f34d3>] common_interrupt+0x13/0x13
Aug  7 23:24:46 localhost kernel: [  702.732432]  <EOI>  [<ffffffff813f0367>] ? schedule+0x817/0x9f0
Aug  7 23:24:46 localhost kernel: [  702.732439]  [<ffffffff812736ab>] ? intel_idle+0xcb/0x120
Aug  7 23:24:46 localhost kernel: [  702.732441]  [<ffffffff8127368d>] ? intel_idle+0xad/0x120
Aug  7 23:24:46 localhost kernel: [  702.732447]  [<ffffffff81313f3d>] cpuidle_idle_call+0x9d/0x350
Aug  7 23:24:46 localhost kernel: [  702.732451]  [<ffffffff8100a21a>] cpu_idle+0xba/0x100
Aug  7 23:24:46 localhost kernel: [  702.732455]  [<ffffffff813d0fa2>] rest_init+0x96/0xa4
Aug  7 23:24:46 localhost kernel: [  702.732458]  [<ffffffff81748c23>] start_kernel+0x3de/0x3eb
Aug  7 23:24:46 localhost kernel: [  702.732461]  [<ffffffff81748347>] x86_64_start_reservations+0x132/0x136
Aug  7 23:24:46 localhost kernel: [  702.732463]  [<ffffffff81748140>] ? early_idt_handlers+0x140/0x140
Aug  7 23:24:46 localhost kernel: [  702.732466]  [<ffffffff8174844d>] x86_64_start_kernel+0x102/0x111
Aug  7 23:24:46 localhost kernel: [  702.732468] handlers:
Aug  7 23:24:46 localhost kernel: [  702.732472] [<ffffffffa0113e90>] ath_isr
Aug  7 23:24:46 localhost kernel: [  702.732474] Disabling IRQ #17

IRQ #17 is:

[root@Dmitrij kaz]# cat /proc/interrupts | grep 17:
  17:      88312      88602   IO-APIC-fasteoi   ath9k

Of course I've tried booting with irqpoll, but it doesn't change anything (and it still suggests me, to try this).

Architecture: x86_64
Laptop: ASUS k52ju
lspci -v:

03:00.0 Network controller: Atheros Communications Inc. AR9285 Wireless Network Adapter (PCI-Express) (rev 01)
        Subsystem: AzureWave Device 1089
        Flags: bus master, fast devsel, latency 0, IRQ 17
        Memory at d2a00000 (64-bit, non-prefetchable) [size=64K]
        Capabilities: [40] Power Management version 3
        Capabilities: [50] MSI: Enable- Count=1/1 Maskable- 64bit-
        Capabilities: [60] Express Legacy Endpoint, MSI 00
        Capabilities: [100] Advanced Error Reporting
        Capabilities: [140] Virtual Channel
        Capabilities: [160] Device Serial Number 00-15-17-ff-ff-24-14-12
        Capabilities: [170] Power Budgeting <?>
        Kernel driver in use: ath9k
        Kernel modules: ath9k

Last edited by kazuldur (2011-10-22 20:19:48)

Offline

#2 2011-10-22 20:21:18

Gusar
Member
Registered: 2009-08-25
Posts: 3,607

Re: Ath9k crash after suspend/hibernation.

Put this in /etc/pm/config.d/modules

SUSPEND_MODULES="ath9k"

Offline

#3 2011-10-23 09:04:14

kazuldur
Member
Registered: 2011-05-28
Posts: 13

Re: Ath9k crash after suspend/hibernation.

I've already tried that, it doesn't work. Doing it by myself doesn't work neither:

[root@Dmitrij kaz]# iwlist wlan0 scan | head -n5
wlan0     Scan completed :
          Cell 01 - Address: 74:EA:3A:E3:B1:C8
                    Channel:1
                    Frequency:2.412 GHz (Channel 1)
                    Quality=41/70  Signal level=-69 dBm
[root@Dmitrij kaz]# rmmod ath9k
[root@Dmitrij kaz]# pm-suspend
[root@Dmitrij kaz]# modprobe ath9k
[root@Dmitrij kaz]# iwlist wlan0 scan | head -n5
wlan0     No scan results

Last edited by kazuldur (2011-10-23 09:15:48)

Offline

#4 2012-06-28 15:58:02

androith
Member
Registered: 2009-03-16
Posts: 14

Re: Ath9k crash after suspend/hibernation.

I run Ubuntu now, but putting

SUSPEND_MODULES="ath9k ath9k_hw ath9k_common"

into /etc/pm/config.d/modules worked for me. I got that from arch's pm-utils wiki page.

Offline

#5 2012-06-29 15:49:03

kazuldur
Member
Registered: 2011-05-28
Posts: 13

Re: Ath9k crash after suspend/hibernation.

I don't have this issue for a few months now, one of updates fixed it smile. My SYSPEND_MODULES has only ath9k (and xhci, but that's another thing).

Offline

Board footer

Powered by FluxBB