This bug is missing log files that will aid in diagnosing the problem.
While running an Ubuntu kernel (not a mainline or third-party kernel)
please enter the following command in a terminal window:
apport-collect 1668464
and then change the status of the bug to 'Confirmed'.
If, due to the nature of the issue you have encountered, you are unable
to run this command, please add a comment stating that fact and change
the bug status to 'Confirmed'.
This change has been made by an automated script, maintained by the
Ubuntu Kernel Team.
** Changed in: linux (Ubuntu)
Status: New => Incomplete
** Tags added: yakkety
--
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1668464
Title:
ath9k Unable to reset hardware; reset status -22 lead to kernel panic
Status in linux package in Ubuntu:
Incomplete
Bug description:
Trying to put the card in monitor mode on the PCEngines APU on Ubuntu
16.04.2 using Compex WLE200NX (AR9280), using ath9k. The interface is
down. Using airmon-ng to turn on monitor mode like on any mac80211
device, I get the following output (and kernel panic):
root@ubuntu:~# airmon-ng start wlp5s0
Found 1 processes that could cause trouble.
If airodump-ng, aireplay-ng or airtun-ng stops working after
a short period of time, you may want to run 'airmon-ng check kill'
PID Name
17292 dhclient
PHY Interface Driver Chipset
phy0 wlp5s0 ath9k Qualcomm Atheros AR928X Wireless
Network Adapter (PCI-Express) (rev 01)
[ 4767.061074] ath: phy0: Chip reset failed
[ 4767.065038] ath: phy0: Unable to reset hardware; reset status -22 (freq
2412 MHz)
[ 4767.072861] BUG: unable to handle kernel NULL pointer dereference at
(null)
[ 4767.080789] IP: [<ffffffffc07edf85>] ath9k_hw_set_txpowerlimit+0x25/0x70
[ath9k_hw]
[ 4767.088562] PGD 116fcb067 PUD 1147df067 PMD 0
[ 4767.093092] Oops: 0000 [#1] SMP
[ 4767.096249] Modules linked in: arc4 ath9k ath9k_common kvm_amd ath9k_hw
kvm ath irqbypass mac80211 cfg80211 k10temp i2c_piix4 shpchp mac_hid ib_iser
rdma_cm iw_cm ib_cm ib_core configfs iscsi_tcp libiscsi_tcp libiscsi
scsi_transport_iscsi autofs4 btrfs raid10 raid456 async_raid6_recov
async_memcpy async_pq async_xor async_tx xor raid6_pq libcrc32c raid1 raid0
multipath linear ahci libahci r8169 mii uas usb_storage
[ 4767.134085] CPU: 1 PID: 17424 Comm: ip Not tainted 4.8.0-39-generic
#42~16.04.1-Ubuntu
[ 4767.142007] Hardware name: PC Engines APU/APU, BIOS 4.0 09/08/2014
[ 4767.148193] task: ffff9f7f18c3ec00 task.stack: ffff9f7f1672c000
[ 4767.154122] RIP: 0010:[<ffffffffc07edf85>] [<ffffffffc07edf85>]
ath9k_hw_set_txpowerlimit+0x25/0x70 [ath9k_hw]
[ 4767.164271] RSP: 0018:ffff9f7f1672f630 EFLAGS: 00010246
[ 4767.169591] RAX: 000000000000003f RBX: ffff9f7f15774018 RCX:
000000000000003f
[ 4767.176735] RDX: 0000000000000000 RSI: 0000000000000000 RDI:
ffff9f7f15774018
[ 4767.183876] RBP: ffff9f7f1672f640 R08: 0000000000000100 R09:
0000000000000000
[ 4767.191028] R10: 0000000000000000 R11: 0000000000000000 R12:
ffff9f7f12993712
[ 4767.198179] R13: 0000000000000000 R14: ffff9f7f15774318 R15:
ffff9f7f15774018
[ 4767.205332] FS: 00007f841ce73700(0000) GS:ffff9f7f1ed00000(0000)
knlGS:0000000000000000
[ 4767.213442] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 4767.219205] CR2: 0000000000000000 CR3: 000000011666f000 CR4:
00000000000006e0
[ 4767.226355] Stack:
[ 4767.228390] ffff9f7f15774018 ffff9f7f12993712 ffff9f7f1672f660
ffffffffc05c35f7
[ 4767.235910] ffff9f7f12991580 ffff9f7f15774018 ffff9f7f1672f688
ffffffffc072c043
[ 4767.243433] ffff9f7f12991580 ffff9f7f12991f88 ffff9f7f12991f84
ffff9f7f1672f6c8
[ 4767.250948] Call Trace:
[ 4767.253427] [<ffffffffc05c35f7>] ath9k_cmn_update_txpow+0x27/0x40
[ath9k_common]
[ 4767.260944] [<ffffffffc072c043>] ath_complete_reset+0x53/0x140 [ath9k]
[ 4767.267634] [<ffffffffc072c502>] ath9k_start+0x142/0x210 [ath9k]
[ 4767.273831] [<ffffffffc05db7d4>] drv_start+0x44/0x110 [mac80211]
[ 4767.280052] [<ffffffffc05f1be6>] ieee80211_do_open+0x2a6/0x980 [mac80211]
[ 4767.287059] [<ffffffffc05f2318>] ieee80211_open+0x58/0x60 [mac80211]
[ 4767.293570] [<ffffffff93d834c8>] __dev_open+0xc8/0x140
[ 4767.298818] [<ffffffff93d837dd>] __dev_change_flags+0x9d/0x160
[ 4767.304757] [<ffffffff93d838c9>] dev_change_flags+0x29/0x70
[ 4767.310434] [<ffffffff93d92b83>] do_setlink+0x693/0xce0
[ 4767.315768] [<ffffffff93a5be12>] ? nla_parse+0x32/0x100
[ 4767.321103] [<ffffffff93d96ef3>] rtnl_newlink+0x5a3/0x890
[ 4767.326609] [<ffffffff93800c16>] ? alloc_pages_vma+0xb6/0x260
[ 4767.332470] [<ffffffff93973200>] ? security_capget+0x40/0x70
[ 4767.338240] [<ffffffff9368d678>] ? ns_capable_common+0x68/0x80
[ 4767.344182] [<ffffffff9368d6a3>] ? ns_capable+0x13/0x20
[ 4767.349514] [<ffffffff93d972c6>] rtnetlink_rcv_msg+0xe6/0x220
[ 4767.355367] [<ffffffff9380e3cf>] ? __kmalloc_node_track_caller+0x1ef/0x2c0
[ 4767.362351] [<ffffffff93d6a007>] ? __alloc_skb+0x87/0x1e0
[ 4767.367853] [<ffffffff93d971e0>] ? rtnl_newlink+0x890/0x890
[ 4767.373531] [<ffffffff93db7b44>] netlink_rcv_skb+0xa4/0xc0
[ 4767.379122] [<ffffffff93d91ef8>] rtnetlink_rcv+0x28/0x30
[ 4767.384537] [<ffffffff93db751c>] netlink_unicast+0x18c/0x240
[ 4767.390302] [<ffffffff93db78cb>] netlink_sendmsg+0x2fb/0x3a0
[ 4767.396066] [<ffffffff939cb631>] ? aa_sock_msg_perm+0x61/0x150
[ 4767.402007] [<ffffffff93d61a58>] sock_sendmsg+0x38/0x50
[ 4767.407343] [<ffffffff93d62562>] ___sys_sendmsg+0x2c2/0x2d0
[ 4767.413022] [<ffffffff93800c16>] ? alloc_pages_vma+0xb6/0x260
[ 4767.418874] [<ffffffff9382486e>] ? mem_cgroup_commit_charge+0x7e/0x4b0
[ 4767.425512] [<ffffffff937b37a6>] ?
lru_cache_add_active_or_unevictable+0x36/0xb0
[ 4767.433019] [<ffffffff937db646>] ? handle_mm_fault+0xf86/0x1410
[ 4767.439050] [<ffffffff9384c104>] ? dput+0x214/0x250
[ 4767.444032] [<ffffffff93d62eb4>] __sys_sendmsg+0x54/0x90
[ 4767.449451] [<ffffffff93d62f02>] SyS_sendmsg+0x12/0x20
[ 4767.454693] [<ffffffff93e9b7f6>] entry_SYSCALL_64_fastpath+0x1e/0xa8
[ 4767.461147] Code: 84 00 00 00 00 00 0f 1f 44 00 00 89 f0 48 8b b7 60 05 00
00 55 83 f8 3f b9 3f 00 00 00 0f 47 c1 84 d2 48 89 e5 41 54 53 48 89 fb <4c> 8b
26 66 89 87 66 01 00 00 75 0c 31 d2 e8 c8 ec ff ff 5b 41
[ 4767.481700] RIP [<ffffffffc07edf85>] ath9k_hw_set_txpowerlimit+0x25/0x70
[ath9k_hw]
[ 4767.489516] RSP <ffff9f7f1672f630>
[ 4767.493023] CR2: 0000000000000000
[ 4767.496366] ---[ end trace 70712bce3dff4673 ]---
[ 4767.501000] Kernel panic - not syncing: Fatal exception in interrupt
[ 4767.507481] Kernel Offset: 0x12600000 from 0xffffffff81000000 (relocation
range: 0xffffffff80000000-0xffffffffbfffffff)
[ 4767.518290] ---[ end Kernel panic - not syncing: Fatal exception in
interrupt
[ 4767.525474] ------------[ cut here ]------------
[ 4767.530167] WARNING: CPU: 1 PID: 17424 at
/build/linux-hwe-6_oOe5/linux-hwe-4.8.0/arch/x86/kernel/smp.c:125
native_smp_send_reschedule+0x3f/0x50
[ 4767.543137] Modules linked in: arc4 ath9k ath9k_common kvm_amd ath9k_hw
kvm ath irqbypass mac80211 cfg80211 k10temp i2c_piix4 shpchp mac_hid ib_iser
rdma_cm iw_cm ib_cm ib_core configfs iscsi_tcp libiscsi_tcp libiscsi
scsi_transport_iscsi autofs4 btrfs raid10 raid456 async_raid6_recov
async_memcpy async_pq async_xor async_tx xor raid6_pq libcrc32c raid1 raid0
multipath linear ahci libahci r8169 mii uas usb_storage
[ 4767.581017] CPU: 1 PID: 17424 Comm: ip Tainted: G D
4.8.0-39-generic #42~16.04.1-Ubuntu
[ 4767.590172] Hardware name: PC Engines APU/APU, BIOS 4.0 09/08/2014
[ 4767.596370] 0000000000000086 0000000089a80dc7 ffff9f7f1ed03c28
ffffffff93a2e043
[ 4767.603887] 0000000000000000 0000000000000000 ffff9f7f1ed03c68
ffffffff9368313b
[ 4767.611400] 0000007d00000000 0000000000000000 ffff9f7f16775100
ffff9f7f1ec19300
[ 4767.618915] Call Trace:
[ 4767.621379] <IRQ> [<ffffffff93a2e043>] dump_stack+0x63/0x90
[ 4767.627176] [<ffffffff9368313b>] __warn+0xcb/0xf0
[ 4767.631986] [<ffffffff9368326d>] warn_slowpath_null+0x1d/0x20
[ 4767.637836] [<ffffffff93650adf>] native_smp_send_reschedule+0x3f/0x50
[ 4767.644383] [<ffffffff936ad4a6>] resched_curr+0x66/0xc0
[ 4767.649721] [<ffffffff936adf54>] check_preempt_curr+0x54/0x90
[ 4767.655571] [<ffffffff936adfa9>] ttwu_do_wakeup+0x19/0xe0
[ 4767.661075] [<ffffffff936ae0df>] ttwu_do_activate+0x6f/0x80
[ 4767.666753] [<ffffffff936aed20>] try_to_wake_up+0x1a0/0x3e0
[ 4767.672430] [<ffffffff936af002>] default_wake_function+0x12/0x20
[ 4767.678540] [<ffffffff936c7482>] autoremove_wake_function+0x12/0x40
[ 4767.684909] [<ffffffff936c6da2>] __wake_up_common+0x52/0x90
[ 4767.690585] [<ffffffff936c6e19>] __wake_up+0x39/0x50
[ 4767.695657] [<ffffffff936dd630>] wake_up_klogd_work_func+0x40/0x60
[ 4767.701942] [<ffffffff9377e3f8>] irq_work_run_list+0x48/0x70
[ 4767.707706] [<ffffffff93705990>] ? tick_sched_handle.isra.12+0x60/0x60
[ 4767.714336] [<ffffffff9377e5d0>] irq_work_tick+0x40/0x50
[ 4767.719754] [<ffffffff936f5a22>] update_process_times+0x42/0x60
[ 4767.725777] [<ffffffff93705955>] tick_sched_handle.isra.12+0x25/0x60
[ 4767.732233] [<ffffffff937059cd>] tick_sched_timer+0x3d/0x70
[ 4767.737912] [<ffffffff936f64b3>] __hrtimer_run_queues+0xf3/0x280
[ 4767.744022] [<ffffffff936f6c78>] hrtimer_interrupt+0xa8/0x1a0
[ 4767.749874] [<ffffffff936531a8>] local_apic_timer_interrupt+0x38/0x60
[ 4767.756417] [<ffffffff93e9e11d>] smp_apic_timer_interrupt+0x3d/0x50
[ 4767.762787] [<ffffffff93e9d432>] apic_timer_interrupt+0x82/0x90
[ 4767.768806] <EOI> [<ffffffff9379e7af>] ? panic+0x1e6/0x226
[ 4767.774523] [<ffffffff93630dbc>] oops_end+0xcc/0xd0
[ 4767.779507] [<ffffffff9366ab93>] no_context+0x133/0x380
[ 4767.784836] [<ffffffff9366ae61>] __bad_area_nosemaphore+0x81/0x1c0
[ 4767.791121] [<ffffffff9366afb4>] bad_area_nosemaphore+0x14/0x20
[ 4767.797144] [<ffffffff9366b35e>] __do_page_fault+0xce/0x4e0
[ 4767.802831] [<ffffffffc07282e8>] ? ath9k_reg_rmw+0x58/0xd0 [ath9k]
[ 4767.809120] [<ffffffffc0728088>] ? ath9k_iowrite32+0x38/0x90 [ath9k]
[ 4767.815581] [<ffffffff9366b792>] do_page_fault+0x22/0x30
[ 4767.820997] [<ffffffff93e9cb98>] page_fault+0x28/0x30
[ 4767.826178] [<ffffffffc07edf85>] ? ath9k_hw_set_txpowerlimit+0x25/0x70
[ath9k_hw]
[ 4767.833822] [<ffffffffc05c35f7>] ath9k_cmn_update_txpow+0x27/0x40
[ath9k_common]
[ 4767.841341] [<ffffffffc072c043>] ath_complete_reset+0x53/0x140 [ath9k]
[ 4767.848031] [<ffffffffc072c502>] ath9k_start+0x142/0x210 [ath9k]
[ 4767.854201] [<ffffffffc05db7d4>] drv_start+0x44/0x110 [mac80211]
[ 4767.860425] [<ffffffffc05f1be6>] ieee80211_do_open+0x2a6/0x980 [mac80211]
[ 4767.867430] [<ffffffffc05f2318>] ieee80211_open+0x58/0x60 [mac80211]
[ 4767.873939] [<ffffffff93d834c8>] __dev_open+0xc8/0x140
[ 4767.879182] [<ffffffff93d837dd>] __dev_change_flags+0x9d/0x160
[ 4767.885120] [<ffffffff93d838c9>] dev_change_flags+0x29/0x70
[ 4767.890797] [<ffffffff93d92b83>] do_setlink+0x693/0xce0
[ 4767.896128] [<ffffffff93a5be12>] ? nla_parse+0x32/0x100
[ 4767.901457] [<ffffffff93d96ef3>] rtnl_newlink+0x5a3/0x890
[ 4767.906963] [<ffffffff93800c16>] ? alloc_pages_vma+0xb6/0x260
[ 4767.912823] [<ffffffff93973200>] ? security_capget+0x40/0x70
[ 4767.918592] [<ffffffff9368d678>] ? ns_capable_common+0x68/0x80
[ 4767.924530] [<ffffffff9368d6a3>] ? ns_capable+0x13/0x20
[ 4767.929859] [<ffffffff93d972c6>] rtnetlink_rcv_msg+0xe6/0x220
[ 4767.935712] [<ffffffff9380e3cf>] ? __kmalloc_node_track_caller+0x1ef/0x2c0
[ 4767.942689] [<ffffffff93d6a007>] ? __alloc_skb+0x87/0x1e0
[ 4767.948191] [<ffffffff93d971e0>] ? rtnl_newlink+0x890/0x890
[ 4767.953867] [<ffffffff93db7b44>] netlink_rcv_skb+0xa4/0xc0
[ 4767.959459] [<ffffffff93d91ef8>] rtnetlink_rcv+0x28/0x30
[ 4767.964876] [<ffffffff93db751c>] netlink_unicast+0x18c/0x240
[ 4767.970640] [<ffffffff93db78cb>] netlink_sendmsg+0x2fb/0x3a0
[ 4767.976405] [<ffffffff939cb631>] ? aa_sock_msg_perm+0x61/0x150
[ 4767.982343] [<ffffffff93d61a58>] sock_sendmsg+0x38/0x50
[ 4767.987671] [<ffffffff93d62562>] ___sys_sendmsg+0x2c2/0x2d0
[ 4767.993352] [<ffffffff93800c16>] ? alloc_pages_vma+0xb6/0x260
[ 4767.999208] [<ffffffff9382486e>] ? mem_cgroup_commit_charge+0x7e/0x4b0
[ 4768.005841] [<ffffffff937b37a6>] ?
lru_cache_add_active_or_unevictable+0x36/0xb0
[ 4768.013356] [<ffffffff937db646>] ? handle_mm_fault+0xf86/0x1410
[ 4768.019386] [<ffffffff9384c104>] ? dput+0x214/0x250
[ 4768.024372] [<ffffffff93d62eb4>] __sys_sendmsg+0x54/0x90
[ 4768.029789] [<ffffffff93d62f02>] SyS_sendmsg+0x12/0x20
[ 4768.035031] [<ffffffff93e9b7f6>] entry_SYSCALL_64_fastpath+0x1e/0xa8
[ 4768.041488] ---[ end trace 70712bce3dff4674 ]---
if I put the interface up using ifconfig wlp5s0 up then run airmon-ng,
it doesn't crash.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1668464/+subscriptions
--
Mailing list: https://launchpad.net/~kernel-packages
Post to : [email protected]
Unsubscribe : https://launchpad.net/~kernel-packages
More help : https://help.launchpad.net/ListHelp