Subject: [mac80211_hwsim] BUG: unable to handle kernel paging request at ce1db404

From: Fengguang Wu <[email-masked]>
Date: Wed, 5 Mar 2014 21:23:17 +0800

Hi Martin,

Here is another dmesg for the same commit.

+--------------------------------------------+--------------+--------------+
|                                            | ddc4db2e3d53 | b148a42ba782 |
+--------------------------------------------+--------------+--------------+
| boot_successes                             | 51           | 0            |
| boot_failures                              | 18           | 19           |
| BUG:kernel_boot_crashed                    | 14           |              |
| BUG:kernel_boot_hang                       | 4            |              |
| BUG:unable_to_handle_kernel_paging_request | 0            | 19           |
| Oops:PREEMPT_SMP_DEBUG_PAGEALLOC           | 0            | 19           |
| EIP_is_at_kobject_get                      | 0            | 19           |
| Kernel_panic-not_syncing:Fatal_exception   | 0            | 19           |
| backtrace:platform_driver_unregister       | 0            | 19           |
| backtrace:init_mac80211_hwsim              | 0            | 19           |
| backtrace:kernel_init_freeable             | 0            | 19           |
+--------------------------------------------+--------------+--------------+

[    3.944168] ieee80211 phy0: Failed to select rate control algorithm
[    3.945121] ieee80211 phy0: Failed to initialize rate control algorithm
[    3.951133] mac80211_hwsim: ieee80211_register_hw failed (-2)
[    3.952918] BUG: unable to handle kernel paging request at ce1db404
[    3.953756] IP: [<c1179574>] kobject_get+0xf/0x3c
[    3.953756] *pdpt = 0000000001dfd001 *pde = 000000000fbf4067 *pte = 800000000e1db060 
[    3.953756] Oops: 0002 [#1] PREEMPT SMP DEBUG_PAGEALLOC
[    3.953756] CPU: 1 PID: 1 Comm: swapper/0 Not tainted 3.14.0-rc4-next-20140228-05738-gb148a42 #8
[    3.953756] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011
[    3.953756] task: c0020000 ti: c0022000 task.ti: c0022000
[    3.953756] EIP: 0060:[<c1179574>] EFLAGS: 00010286 CPU: 1
[    3.953756] EIP is at kobject_get+0xf/0x3c
[    3.953756] EAX: 00000001 EBX: ce1db3e8 ECX: c123a140 EDX: ce1da174
[    3.953756] ESI: c1ba75bc EDI: 00000000 EBP: c0023ee4 ESP: c0023ee0
[    3.953756]  DS: 007b ES: 007b FS: 00d8 GS: 0000 SS: 0068
[    3.953756] CR0: 8005003b CR2: ce1db404 CR3: 01e00000 CR4: 000006b0
[    3.953756] Stack:
[    3.953756]  ce1db3e0 c0023eec c12377de c0023f00 c123a165 c1ba75bc fffffffe 00000000
[    3.953756]  c0023f0c c1239433 c1ba75bc c0023f18 c123a535 00000000 c0023f20 c123b3aa
[    3.953756]  c0023f34 c1c4ac9f c1c4a8fa 00000000 c1ca3f34 c0023f90 c1c1e9d4 cfff99e1
[    3.953756] Call Trace:
[    3.953756]  [<c12377de>] get_device+0xf/0x17
[    3.953756]  [<c123a165>] driver_detach+0x38/0x8f
[    3.953756]  [<c1239433>] bus_remove_driver+0x53/0x66
[    3.953756]  [<c123a535>] driver_unregister+0x38/0x3d
[    3.953756]  [<c123b3aa>] platform_driver_unregister+0xb/0xd
[    3.953756]  [<c1c4ac9f>] init_mac80211_hwsim+0x3a5/0x3b6
[    3.953756]  [<c1c4a8fa>] ? carl9170_driver_init+0x16/0x16
[    3.953756]  [<c1c1e9d4>] do_one_initcall+0x6e/0xec
[    3.953756]  [<c1c1e400>] ? do_early_param+0x54/0x73
[    3.953756]  [<c1047e61>] ? parse_args+0x16d/0x207
[    3.953756]  [<c1c1ebd9>] kernel_init_freeable+0x187/0x1ff
[    3.953756]  [<c172f2e1>] kernel_init+0x8/0xb8
[    3.953756]  [<c173ff37>] ret_from_kernel_thread+0x1b/0x28
[    3.953756]  [<c172f2d9>] ? rest_init+0x10d/0x10d
[    3.953756] Code: c1 50 53 68 54 80 a7 c1 e8 b6 a6 5b 00 e8 4c ca 5b 00 83 c4 0c 8d 65 f8 5b 5e 5d c3 55 85 c0 89 e5 53 89 c3 74 2d b8 01 00 00 00 <f0> 0f c1 43 1c 40 48 7f 1f 80 3d 87 5c c1 c1 00 75 16 ba 2f 00
[    3.953756] EIP: [<c1179574>] kobject_get+0xf/0x3c SS:ESP 0068:c0023ee0
[    3.953756] CR2: 00000000ce1db404
[    3.953756] ---[ end trace 2a524e21791d1385 ]---
[    3.953756] Kernel panic - not syncing: Fatal exception

git bisect start v3.10 v3.9 --
git bisect  bad ff89acc563a0bd49965674f56552ad6620415fe2  # 03:01      0-      2  Merge branch 'rcu/urgent' of git://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu
git bisect  bad 24d0c2542b38963ae4d5171ecc0a2c1326c656bc  # 03:03      0-      2  Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs
git bisect good 151173e8ce9b95bbbbd7eedb9035cfaffbdb7cb2  # 03:11     20+     20  Merge tag 'for-v3.10' of git://git.infradead.org/battery-2.6
git bisect  bad e95893004104054d49406fd108fefa3ddc054366  # 03:13      0-      4  Merge tag 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mst/vhost
git bisect good 8a72f3820c4d14b27ad5336aed00063a7a7f1bef  # 03:19     20+     20  Merge git://git.kernel.org/pub/scm/linux/kernel/git/cmetcalf/linux-tile
git bisect  bad 600fe9751aeb6f6b72de84076a05c5b8c04152c0  # 03:21      0-      5  ipc_schedule_free() can do vfree() directly now
git bisect  bad 126de6b20bfb82cc19012d5048f11f339ae5a021  # 03:23      0-      1  linkage.h: fix build breakage due to symbol prefix handling
git bisect good 251df49db3327c64bf917bfdba94491fde2b4ee0  # 03:27     20+     20  Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input
git bisect  bad 73287a43cc79ca06629a88d1a199cd283f42456a  # 03:29      0-      2  Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next
git bisect good 953c96e0d85615d1ab1f100e525d376053294dc2  # 03:37     20+      0  tg3: Use bool not int
git bisect  bad 4fc4118cdb29ab946b8a586fc766ebb6ae1e1c90  # 03:39      0-      2  wil6210: more Rx descriptor accessor functions
git bisect good e73dcfbf061b524fe9aaef56cf3c2e234a45ec19  # 03:46     20+      7  Bluetooth: hidp: fix sending output reports on intr channel
git bisect good d5590bba37f3c7d496195648532d5313abb43891  # 03:50     20+      0  NFC: pn533: Re-group fields in struct pn533
git bisect  bad 06d961a8e210035bff7e82f466107f9ab4a8fd94  # 03:52      0-      7  mac80211/minstrel: use the new rate control API
git bisect  bad 97990a060e6757f48b931a3946b17c1c4362c3fb  # 03:54      0-      3  nl80211: allow using wdev identifiers to get scan results
git bisect  bad 85220d71bf3ca1ba9129e0744247ae5f61bec559  # 03:56      1-      5  mac80211: support secondary channel offset in CSA
git bisect  bad 0ca54f6c5fd4ce58aa044d1fc7f00d7f6cf2801c  # 03:57      1-      6  mac80211: provide SSID in IBSS mode
git bisect  bad 3088f7d2db42925808c4b43a6258647ee4d1dd5f  # 03:59      3-      8  mac80211: stringify another plink state
git bisect  bad 9d6d6f4924133567a108a862d9cf949cd03f71cb  # 04:02      0-      2  mac80211: unset FC retry bit in mesh fwding path
git bisect  bad 9ea927748ced4953f1e9a0f1fa1fdeacd1018b4e  # 04:05      0-      9  mac80211_hwsim: Register and bind to driver
# first bad commit: [9ea927748ced4953f1e9a0f1fa1fdeacd1018b4e] mac80211_hwsim: Register and bind to driver
git bisect good ddc4db2e3d5393ede7a9222bb3b7522a603a4678  # 04:27     69+     18  mac80211: make ieee802_11_parse_elems an inline
git bisect  bad b148a42ba7823e34971cd4e5b05a5c74fa3311ed  # 04:27      0-     19  Add linux-next specific files for 20140228
git bisect  bad d8efcf38b13df3e9e889cf7cc214cb85dc53600c  # 04:30      0-      3  Merge tag 'for-linus' of git://git.kernel.org/pub/scm/virt/kvm/kvm
git bisect  bad b148a42ba7823e34971cd4e5b05a5c74fa3311ed  # 04:30      0-     19  Add linux-next specific files for 20140228

Thanks,
Fengguang