From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mark Sutton Date: Fri, 5 Mar 2010 15:04:38 -0800 Subject: [ath9k-devel] AR5008 hanging computer In-Reply-To: <1266543366.5200.17.camel@mj> References: <20100218203126.GA22471@lazo.ca> <20100218215812.GA2904@lazo.ca> <1266543366.5200.17.camel@mj> Message-ID: <20100305230438.GA4942@lazo.ca> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: ath9k-devel@lists.ath9k.org > > Pid: 621, comm: phy0 Not tainted (2.6.32.7 #2) Portable PC > > EIP: 0060:[] EFLAGS: 00000292 CPU: 0 > > EIP is at yenta_interrupt+0x1f/0xf0 [yenta_socket] > > That's the PCMCIA subsystem, not ath9k. We could suspect ath9k to cause > it if it was immediately after ath9k was loaded, but there were other > things going on after the ath9k initialization. > Sorry about that Pavel, this was a boot hang after a crash caused through an ath9k hang. I thought it was the same problem, but the card is mini-pci, so shouldn't have to do with yenta. I can cause the hang every time if I boot the machine with no configured AP available. I have rebuilt ath9k with debugging and configured kdump. I was just trying to make a core dump by unplugging the AP. This time it took 55 seconds for the machine to hang. I say hang not crash since after two or so minutes (not knowing what should happen with a kdump kernel, there is no "stop-a" like on sparc) it came back. I have included the traces from dmesg. I can also pass debug mask or I guess force a dump, which ever is more useful. The driver will also not scan for APs after a suspend to ram. Booting the machine in an area without wifi will cause a hang every time, even just booting to a cli login prompt. Time frame is 30 to 120 seconds. I suppose now it would come back if an AP were turned on. Logging in as root and rmmod ath9k, problem goes away. The driver/card will run for weeks if associated. Is it possible this is a hardware issue? Thanks, mark wlan0: direct probe to AP 00:0c:e5:48:f9:2f (try 1) wlan0: direct probe responded wlan0: authenticate with AP 00:0c:e5:48:f9:2f (try 1) wlan0: authenticated wlan0: associate with AP 00:0c:e5:48:f9:2f (try 1) wlan0: RX AssocResp from 00:0c:e5:48:f9:2f (capab=0x401 status=0 aid=1) wlan0: associated No probe response from AP 00:0c:e5:48:f9:2f after 500ms, disconnecting. BUG: soft lockup - CPU#0 stuck for 61s! [phy0:604] Modules linked in: usbhid hid nvidia(P) acpi_cpufreq cpufreq_stats cpufreq_userspace cpufreq_ondemand cpufreq_powersave freq_table cpufreq_conservative lm90 adm1021 arc4 ecb snd_intel8x0 snd_ac97_codec ac97_bus snd_pcm ath9k pcmcia snd_seq mac80211 snd_timer yenta_socket snd_seq_device ath fan rsrc_nonstatic uhci_hcd thermal cfg80211 video snd processor toshiba_acpi pcmcia_core ehci_hcd thermal_sys led_class rtc_cmos e100 soundcore rtc_core battery ac evdev hwmon mii rtc_lib output rfkill snd_page_alloc intel_agp usbcore psmouse agpgart button Pid: 604, comm: phy0 Tainted: P (2.6.32.7 #4) Portable PC EIP: 0060:[] EFLAGS: 00000296 CPU: 0 EIP is at ioread32+0x32/0x40 EAX: 00000000 EBX: edc40000 ECX: f0c40000 EDX: f0c48258 ESI: edc40000 EDI: 00001000 EBP: 00000000 ESP: ed899d24 DS: 007b ES: 007b FS: 0000 GS: 0000 SS: 0068 CR0: 8005003b CR2: b7868000 CR3: 27fc7000 CR4: 000006d0 DR0: 00000000 DR1: 00000000 DR2: 00000000 DR3: 00000000 DR6: ffff0ff0 DR7: 00000400 Call Trace: [] ? ath9k_hw_procmibevent+0x36/0x140 [ath9k] [] ? ath_isr+0x140/0x180 [ath9k] [] ? handle_IRQ_event+0x45/0x190 [] ? mask_and_ack_8259A+0x5c/0x100 [] ? handle_level_irq+0x7d/0x120 [] ? handle_irq+0x15/0x20 [] ? do_IRQ+0x3a/0xa0 [] ? common_interrupt+0x29/0x30 [] ? __do_softirq+0x3d/0x1d0 [] ? handle_IRQ_event+0x45/0x190 [] ? mask_and_ack_8259A+0x5c/0x100 [] ? enable_8259A_irq+0x40/0x70 [] ? do_softirq+0x2d/0x40 [] ? irq_exit+0x65/0x70 [] ? do_IRQ+0x43/0xa0 [] ? common_interrupt+0x29/0x30 [] ? ioread32+0x32/0x40 [] ? ath9k_hw_set_interrupts+0x294/0x350 [ath9k] [] ? ath_set_channel+0x19d/0x1a0 [ath9k] [] ? ath9k_config+0x2ed/0x340 [ath9k] [] ? ieee80211_hw_config+0x56/0xa0 [mac80211] [] ? ieee80211_scan_work+0x28d/0x530 [mac80211] [] ? prepare_to_wait_exclusive+0x40/0x90 [] ? ieee80211_scan_work+0x0/0x530 [mac80211] [] ? worker_thread+0x13a/0x2b0 [] ? pick_next_task_fair+0xb1/0x100 [] ? autoremove_wake_function+0x0/0x40 [] ? worker_thread+0x0/0x2b0 [] ? kthread+0x74/0x80 [] ? kthread+0x0/0x80 [] ? kernel_thread_helper+0x7/0x14 BUG: soft lockup - CPU#0 stuck for 61s! [phy0:604] Modules linked in: usbhid hid nvidia(P) acpi_cpufreq cpufreq_stats cpufreq_userspace cpufreq_ondemand cpufreq_powersave freq_table cpufreq_conservative lm90 adm1021 arc4 ecb snd_intel8x0 snd_ac97_codec ac97_bus snd_pcm ath9k pcmcia snd_seq mac80211 snd_timer yenta_socket snd_seq_device ath fan rsrc_nonstatic uhci_hcd thermal cfg80211 video snd processor toshiba_acpi pcmcia_core ehci_hcd thermal_sys led_class rtc_cmos e100 soundcore rtc_core battery ac evdev hwmon mii rtc_lib output rfkill snd_page_alloc intel_agp usbcore psmouse agpgart button Pid: 604, comm: phy0 Tainted: P (2.6.32.7 #4) Portable PC EIP: 0060:[] EFLAGS: 00000296 CPU: 0 EIP is at ioread32+0x32/0x40 EAX: 00000000 EBX: edc40000 ECX: f0c40000 EDX: f0c48258 ESI: edc40000 EDI: 00001000 EBP: 00000000 ESP: ed899c7c DS: 007b ES: 007b FS: 0000 GS: 0000 SS: 0068 CR0: 8005003b CR2: b7868000 CR3: 27fc7000 CR4: 000006d0 DR0: 00000000 DR1: 00000000 DR2: 00000000 DR3: 00000000 DR6: ffff0ff0 DR7: 00000400 Call Trace: [] ? ath9k_hw_procmibevent+0x36/0x140 [ath9k] [] ? ath_isr+0x140/0x180 [ath9k] [] ? handle_IRQ_event+0x45/0x190 [] ? handle_level_irq+0xc3/0x120 [] ? mask_and_ack_8259A+0x5c/0x100 [] ? handle_level_irq+0x7d/0x120 [] ? handle_irq+0x15/0x20 [] ? do_IRQ+0x3a/0xa0 [] ? common_interrupt+0x29/0x30 [] ? ath9k_configure_filter+0x40/0x70 [ath9k] [] ? handle_IRQ_event+0x16/0x190 [] ? mask_and_ack_8259A+0x5c/0x100 [] ? handle_level_irq+0x7d/0x120 [] ? handle_irq+0x15/0x20 [] ? do_IRQ+0x3a/0xa0 [] ? common_interrupt+0x29/0x30 [] ? __do_softirq+0x3d/0x1d0 [] ? handle_IRQ_event+0x45/0x190 [] ? mask_and_ack_8259A+0x5c/0x100 [] ? enable_8259A_irq+0x40/0x70 [] ? do_softirq+0x2d/0x40 [] ? irq_exit+0x65/0x70 [] ? do_IRQ+0x43/0xa0 [] ? common_interrupt+0x29/0x30 [] ? ioread32+0x32/0x40 [] ? ath9k_hw_set_interrupts+0x294/0x350 [ath9k] [] ? ath_set_channel+0x19d/0x1a0 [ath9k] [] ? ath9k_config+0x2ed/0x340 [ath9k] [] ? ieee80211_hw_config+0x56/0xa0 [mac80211] [] ? ieee80211_scan_work+0x28d/0x530 [mac80211] [] ? prepare_to_wait_exclusive+0x40/0x90 [] ? ieee80211_scan_work+0x0/0x530 [mac80211] [] ? worker_thread+0x13a/0x2b0 [] ? pick_next_task_fair+0xb1/0x100 [] ? autoremove_wake_function+0x0/0x40 [] ? worker_thread+0x0/0x2b0 [] ? kthread+0x74/0x80 [] ? kthread+0x0/0x80 [] ? kernel_thread_helper+0x7/0x14 BUG: soft lockup - CPU#0 stuck for 61s! [phy0:604] Modules linked in: usbhid hid nvidia(P) acpi_cpufreq cpufreq_stats cpufreq_userspace cpufreq_ondemand cpufreq_powersave freq_table cpufreq_conservative lm90 adm1021 arc4 ecb snd_intel8x0 snd_ac97_codec ac97_bus snd_pcm ath9k pcmcia snd_seq mac80211 snd_timer yenta_socket snd_seq_device ath fan rsrc_nonstatic uhci_hcd thermal cfg80211 video snd processor toshiba_acpi pcmcia_core ehci_hcd thermal_sys led_class rtc_cmos e100 soundcore rtc_core battery ac evdev hwmon mii rtc_lib output rfkill snd_page_alloc intel_agp usbcore psmouse agpgart button Pid: 604, comm: phy0 Tainted: P (2.6.32.7 #4) Portable PC EIP: 0060:[] EFLAGS: 00000246 CPU: 0 EIP is at handle_IRQ_event+0x16/0x190 EAX: 0000000b EBX: eea10580 ECX: 00020101 EDX: eea10580 ESI: 0000000b EDI: 00000000 EBP: ed899d10 ESP: ed899ca4 DS: 007b ES: 007b FS: 0000 GS: 0000 SS: 0068 CR0: 8005003b CR2: b7868000 CR3: 27fc7000 CR4: 000006d0 DR0: 00000000 DR1: 00000000 DR2: 00000000 DR3: 00000000 DR6: ffff0ff0 DR7: 00000400 Call Trace: [] ? handle_level_irq+0xc3/0x120 [] ? mask_and_ack_8259A+0x5c/0x100 [] ? handle_level_irq+0x7d/0x120 [] ? handle_irq+0x15/0x20 [] ? do_IRQ+0x3a/0xa0 [] ? common_interrupt+0x29/0x30 [] ? ath9k_configure_filter+0x40/0x70 [ath9k] [] ? handle_IRQ_event+0x16/0x190 [] ? mask_and_ack_8259A+0x5c/0x100 [] ? handle_level_irq+0x7d/0x120 [] ? handle_irq+0x15/0x20 [] ? do_IRQ+0x3a/0xa0 [] ? common_interrupt+0x29/0x30 [] ? __do_softirq+0x3d/0x1d0 [] ? handle_IRQ_event+0x45/0x190 [] ? mask_and_ack_8259A+0x5c/0x100 [] ? enable_8259A_irq+0x40/0x70 [] ? do_softirq+0x2d/0x40 [] ? irq_exit+0x65/0x70 [] ? do_IRQ+0x43/0xa0 [] ? common_interrupt+0x29/0x30 [] ? ioread32+0x32/0x40 [] ? ath9k_hw_set_interrupts+0x294/0x350 [ath9k] [] ? ath_set_channel+0x19d/0x1a0 [ath9k] [] ? ath9k_config+0x2ed/0x340 [ath9k] [] ? ieee80211_hw_config+0x56/0xa0 [mac80211] [] ? ieee80211_scan_work+0x28d/0x530 [mac80211] [] ? prepare_to_wait_exclusive+0x40/0x90 [] ? ieee80211_scan_work+0x0/0x530 [mac80211] [] ? worker_thread+0x13a/0x2b0 [] ? pick_next_task_fair+0xb1/0x100 [] ? autoremove_wake_function+0x0/0x40 [] ? worker_thread+0x0/0x2b0 [] ? kthread+0x74/0x80 [] ? kthread+0x0/0x80 [] ? kernel_thread_helper+0x7/0x14 BUG: soft lockup - CPU#0 stuck for 61s! [phy0:604] Modules linked in: usbhid hid nvidia(P) acpi_cpufreq cpufreq_stats cpufreq_userspace cpufreq_ondemand cpufreq_powersave freq_table cpufreq_conservative lm90 adm1021 arc4 ecb snd_intel8x0 snd_ac97_codec ac97_bus snd_pcm ath9k pcmcia snd_seq mac80211 snd_timer yenta_socket snd_seq_device ath fan rsrc_nonstatic uhci_hcd thermal cfg80211 video snd processor toshiba_acpi pcmcia_core ehci_hcd thermal_sys led_class rtc_cmos e100 soundcore rtc_core battery ac evdev hwmon mii rtc_lib output rfkill snd_page_alloc intel_agp usbcore psmouse agpgart button Pid: 604, comm: phy0 Tainted: P (2.6.32.7 #4) Portable PC EIP: 0060:[] EFLAGS: 00000296 CPU: 0 EIP is at ioread32+0x32/0x40 EAX: 00000000 EBX: edc40000 ECX: f0c40000 EDX: f0c4402c ESI: 00000000 EDI: f0c29bed EBP: f4041071 ESP: ed899c60 DS: 007b ES: 007b FS: 0000 GS: 0000 SS: 0068 CR0: 8005003b CR2: b7868000 CR3: 27fc7000 CR4: 000006d0 DR0: 00000000 DR1: 00000000 DR2: 00000000 DR3: 00000000 DR6: ffff0ff0 DR7: 00000400 Call Trace: [] ? ath9k_hw_set_interrupts+0x344/0x350 [ath9k] [] ? ath_isr+0x139/0x180 [ath9k] [] ? handle_IRQ_event+0x45/0x190 [] ? handle_level_irq+0xc3/0x120 [] ? mask_and_ack_8259A+0x5c/0x100 [] ? handle_level_irq+0x7d/0x120 [] ? handle_irq+0x15/0x20 [] ? do_IRQ+0x3a/0xa0 [] ? common_interrupt+0x29/0x30 [] ? ath9k_configure_filter+0x40/0x70 [ath9k] [] ? handle_IRQ_event+0x16/0x190 [] ? mask_and_ack_8259A+0x5c/0x100 [] ? handle_level_irq+0x7d/0x120 [] ? handle_irq+0x15/0x20 [] ? do_IRQ+0x3a/0xa0 [] ? common_interrupt+0x29/0x30 [] ? __do_softirq+0x3d/0x1d0 [] ? handle_IRQ_event+0x45/0x190 [] ? mask_and_ack_8259A+0x5c/0x100 [] ? enable_8259A_irq+0x40/0x70 [] ? do_softirq+0x2d/0x40 [] ? irq_exit+0x65/0x70 [] ? do_IRQ+0x43/0xa0 [] ? common_interrupt+0x29/0x30 [] ? ioread32+0x32/0x40 [] ? ath9k_hw_set_interrupts+0x294/0x350 [ath9k] [] ? ath_set_channel+0x19d/0x1a0 [ath9k] [] ? ath9k_config+0x2ed/0x340 [ath9k] [] ? ieee80211_hw_config+0x56/0xa0 [mac80211] [] ? ieee80211_scan_work+0x28d/0x530 [mac80211] [] ? prepare_to_wait_exclusive+0x40/0x90 [] ? ieee80211_scan_work+0x0/0x530 [mac80211] [] ? worker_thread+0x13a/0x2b0 [] ? pick_next_task_fair+0xb1/0x100 [] ? autoremove_wake_function+0x0/0x40 [] ? worker_thread+0x0/0x2b0 [] ? kthread+0x74/0x80 [] ? kthread+0x0/0x80 [] ? kernel_thread_helper+0x7/0x14 wlan0: direct probe to AP 00:0c:e5:48:f9:2f (try 1) wlan0: direct probe responded wlan0: authenticate with AP 00:0c:e5:48:f9:2f (try 1) wlan0: authenticated wlan0: associate with AP 00:0c:e5:48:f9:2f (try 1) wlan0: RX AssocResp from 00:0c:e5:48:f9:2f (capab=0x401 status=0 aid=1) wlan0: associated