Greetings,
I got the below dmesg and the first bad commit is
commit 9ea927748ced4953f1e9a0f1fa1fdeacd1018b4e
Author: Martin Pitt <[email protected]>
AuthorDate: Mon Apr 8 11:30:01 2013 +0200
Commit: Johannes Berg <[email protected]>
CommitDate: Wed Apr 10 20:23:50 2013 +0200
mac80211_hwsim: Register and bind to driver
[ 3.588600] mac80211_hwsim: ieee80211_register_hw failed (-2)
[ 3.590170] ------------[ cut here ]------------
[ 3.590170] ------------[ cut here ]------------
[ 3.591332] WARNING: CPU: 0 PID: 1 at include/linux/kref.h:47 kobject_get+0x33/0x50()
...
[ 3.695323] WARNING: CPU: 0 PID: 1 at fs/kernfs/dir.c:1216 kernfs_remove_by_name_ns+0x31/0x80()
...
[ 3.814723] BUG: unable to handle kernel paging requestpaging request at 883d11f0
Bisect log shows that the problems are also present in linux-next.
git bisect start v3.10 v3.9 --
git bisect bad ff89acc563a0bd49965674f56552ad6620415fe2 # 22:47 0- 6 Merge branch 'rcu/urgent' of git://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu
git bisect bad 24d0c2542b38963ae4d5171ecc0a2c1326c656bc # 22:52 0- 2 Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs
git bisect good 151173e8ce9b95bbbbd7eedb9035cfaffbdb7cb2 # 23:00 23+ 23 Merge tag 'for-v3.10' of git://git.infradead.org/battery-2.6
git bisect bad e95893004104054d49406fd108fefa3ddc054366 # 23:03 0- 1 Merge tag 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mst/vhost
git bisect good 8a72f3820c4d14b27ad5336aed00063a7a7f1bef # 23:09 23+ 23 Merge git://git.kernel.org/pub/scm/linux/kernel/git/cmetcalf/linux-tile
git bisect bad 600fe9751aeb6f6b72de84076a05c5b8c04152c0 # 23:12 0- 3 ipc_schedule_free() can do vfree() directly now
git bisect bad 126de6b20bfb82cc19012d5048f11f339ae5a021 # 23:16 0- 3 linkage.h: fix build breakage due to symbol prefix handling
git bisect good 251df49db3327c64bf917bfdba94491fde2b4ee0 # 23:22 23+ 23 Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input
git bisect bad 73287a43cc79ca06629a88d1a199cd283f42456a # 23:25 0- 1 Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next
git bisect good 953c96e0d85615d1ab1f100e525d376053294dc2 # 23:37 23+ 0 tg3: Use bool not int
git bisect bad 4fc4118cdb29ab946b8a586fc766ebb6ae1e1c90 # 23:42 0- 7 wil6210: more Rx descriptor accessor functions
git bisect good e73dcfbf061b524fe9aaef56cf3c2e234a45ec19 # 23:52 23+ 0 Bluetooth: hidp: fix sending output reports on intr channel
git bisect good d5590bba37f3c7d496195648532d5313abb43891 # 23:58 23+ 0 NFC: pn533: Re-group fields in struct pn533
git bisect bad 06d961a8e210035bff7e82f466107f9ab4a8fd94 # 00:07 0- 16 mac80211/minstrel: use the new rate control API
git bisect bad 97990a060e6757f48b931a3946b17c1c4362c3fb # 00:11 0- 4 nl80211: allow using wdev identifiers to get scan results
git bisect bad 85220d71bf3ca1ba9129e0744247ae5f61bec559 # 00:12 0- 1 mac80211: support secondary channel offset in CSA
git bisect bad 0ca54f6c5fd4ce58aa044d1fc7f00d7f6cf2801c # 00:14 0- 1 mac80211: provide SSID in IBSS mode
git bisect bad 3088f7d2db42925808c4b43a6258647ee4d1dd5f # 00:15 0- 2 mac80211: stringify another plink state
git bisect bad 9d6d6f4924133567a108a862d9cf949cd03f71cb # 00:17 0- 1 mac80211: unset FC retry bit in mesh fwding path
git bisect bad 9ea927748ced4953f1e9a0f1fa1fdeacd1018b4e # 00:21 0- 2 mac80211_hwsim: Register and bind to driver
# first bad commit: [9ea927748ced4953f1e9a0f1fa1fdeacd1018b4e] mac80211_hwsim: Register and bind to driver
git bisect good ddc4db2e3d5393ede7a9222bb3b7522a603a4678 # 00:35 69+ 0 mac80211: make ieee802_11_parse_elems an inline
git bisect bad faa2e6fb0a98c9caa8995acf3222db9f7f029395 # 00:35 0- 19 Add linux-next specific files for 20140221
git bisect bad 8427defd087ae6c5eaea9d609dfe7f165568accd # 00:38 0- 2 MAINTAINERS: add maintainer entry for Armada DRM driver
git bisect bad b148a42ba7823e34971cd4e5b05a5c74fa3311ed # 00:41 0- 2 Add linux-next specific files for 20140228
Thanks,
Fengguang
On Sat, Mar 15, 2014 at 9:11 PM, Johannes Berg
<[email protected]> wrote:
> On Sat, 2014-03-15 at 21:03 +0530, Krishna Chaitanya wrote:
>
>> > > what RC are u using? Default should be minstrel, i dont see
>> > > a reason for rc alloc to fail (remote reason kmalloc failure),
>> > > so did you disable RC completely? No prints either w.r.t RC either in
>> > > dmesg?
>> >
>> > Pay attention to the .config.
>> >
>> Missed the attachment, thanks for pointing.
>> As guessed the rate control is empty causing the registration fail.
>
> It still shouldn't crash though. Looks like there's a fix in this
> thread, can somebody verify & post it?
>
Yes, it should not crash. The change suggested by martin is not correct
there is no double free as the the list he mentioned will be empty.
(Only after successful registration we will add the radio to the list)
the problem here is platform_driver_unregister internally calls the
driver_unregister
which tries to get the kobject through get_device, but we have already
freed the kobject using
device_unregister (which calls device_del which frees the kobject).
In other failures cases we use mac80211_hwsim_free() and return, so the call to
platform_driver_unregister is not there, hence no crash.
Hey Fengguang,
Fengguang Wu [2014-03-05 21:23 +0800]:
> 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
I noticed that this bisect list didn't include Sasha Levin's followup fix:
http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/drivers/net/wireless/mac80211_hwsim.c?id=c07fe5ae06
That was supposed to fix problems at registration. Is that actually
inclued in your bisection? I suppose it is, but it's quite clear that
with only 9ea927 you'd get crashes with building it statically.
I have no real idea why ieee80211_register_hw() would fail (but then
again, I'm a kernel n00b). It's apparently related to doing
platform_driver_register() before, so perhaps it's missing another
field in the struct. "unable to handle kernel paging request", is that
a normal error message if a driver fails to initialize? I would have
assumed that the kernel would't panic if a single driver fails to
initialize. Or does that mean it actually tries to access uninit'ed
memory?
I can certainly check out linux-next, build the whole thing
statically, and try to twiddle things a bit, but I'm afraid that's
just going to take a while (both because this is all new to me and I'm
working on other things ATM), so please don't hold your breath. :-)
Thanks,
Martin
--
Martin Pitt | http://www.piware.de
Ubuntu Developer (http://www.ubuntu.com) | Debian Developer (http://www.debian.org)
Fengguang Wu [2014-03-08 20:11 +0800]:
> [ 4.429993] mac80211_hwsim: ieee80211_register_hw failed (-2)
> [...]
> [ 4.431924] [<c12377de>] get_device+0xf/0x17
> [ 4.431924] [<c123a165>] driver_detach+0x38/0x8f
> [ 4.431924] [<c1239433>] bus_remove_driver+0x53/0x66
> [ 4.431924] [<c123a535>] driver_unregister+0x38/0x3d
> [ 4.431924] [<c123b3aa>] platform_driver_unregister+0xb/0xd
> [ 4.431924] [<c1c4ac9f>] init_mac80211_hwsim+0x3a5/0x3b6
So that first message is from
http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/tree/drivers/net/wireless/mac80211_hwsim.c?id=9ea927748#n2428
At this point we registered the platform driver and the class, and it
should have created two devices (at least for the default radios=2).
What's odd is that I don't see this printk in your kernel log:
mac80211_hwsim: Initializing radio %d
If for some reasons "radio" is 0, it would not show this and not
initialize data->dev, but then you shouldn't get to
ieee80211_register_hw() either as it's in the same loop. So that's a
bit of a mystery to me.
On failure, above ieee80211_register_hw() jumps to the cleanup:
| failed_hw:
| device_unregister(data->dev);
| failed_drvdata:
| ieee80211_free_hw(hw);
| failed:
| mac80211_hwsim_free();
| failed_unregister_driver:
| driver_unregister(&mac80211_hwsim_driver);
| return err;
| }
The mac80211_hwsim_free() function again calls
device_unregister(data->dev) for a list (not sure which, I'm not
certain how to interpret
list_for_each_entry_safe(data, tmpdata, &tmplist, list)
) Could that be the double free causing the memory corruption?
If you are in a position to do quick builds and tests, does the crash
go away with this?
printk(KERN_DEBUG "mac80211_hwsim: device_bind_driver failed (%d)\n",
err);
- goto failed_hw;
+ goto failed_drvdata;
}
(I'm not claiming that this is correct, just taking a stab at
understanding what happens) If not, does it go away with changing the
goto to failed_unregister_driver()?
Thanks,
Martin
--
Martin Pitt | http://www.piware.de
Ubuntu Developer (http://www.ubuntu.com) | Debian Developer (http://www.debian.org)
On Wed, Mar 12, 2014 at 11:04 PM, Martin Pitt <[email protected]> wrote:
>
> Fengguang Wu [2014-03-08 20:11 +0800]:
> > [ 4.429993] mac80211_hwsim: ieee80211_register_hw failed (-2)
> > [...]
> > [ 4.431924] [<c12377de>] get_device+0xf/0x17
> > [ 4.431924] [<c123a165>] driver_detach+0x38/0x8f
> > [ 4.431924] [<c1239433>] bus_remove_driver+0x53/0x66
> > [ 4.431924] [<c123a535>] driver_unregister+0x38/0x3d
> > [ 4.431924] [<c123b3aa>] platform_driver_unregister+0xb/0xd
> > [ 4.431924] [<c1c4ac9f>] init_mac80211_hwsim+0x3a5/0x3b6
>
>
> So that first message is from
> http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/tree/drivers/net/wireless/mac80211_hwsim.c?id=9ea927748#n2428
>
> At this point we registered the platform driver and the class, and it
> should have created two devices (at least for the default radios=2).
> What's odd is that I don't see this printk in your kernel log:
>
> mac80211_hwsim: Initializing radio %d
>
> If for some reasons "radio" is 0, it would not show this and not
> initialize data->dev, but then you shouldn't get to
> ieee80211_register_hw() either as it's in the same loop. So that's a
> bit of a mystery to me.
>
> On failure, above ieee80211_register_hw() jumps to the cleanup:
>
> | failed_hw:
> | device_unregister(data->dev);
> | failed_drvdata:
> | ieee80211_free_hw(hw);
> | failed:
> | mac80211_hwsim_free();
> | failed_unregister_driver:
> | driver_unregister(&mac80211_hwsim_driver);
> | return err;
> | }
>
>
> The mac80211_hwsim_free() function again calls
> device_unregister(data->dev) for a list (not sure which, I'm not
> certain how to interpret
>
> list_for_each_entry_safe(data, tmpdata, &tmplist, list)
>
> ) Could that be the double free causing the memory corruption?
>
> If you are in a position to do quick builds and tests, does the crash
> go away with this?
>
> printk(KERN_DEBUG "mac80211_hwsim: device_bind_driver failed (%d)\n",
> err);
> - goto failed_hw;
> + goto failed_drvdata;
> }
>
> (I'm not claiming that this is correct, just taking a stab at
> understanding what happens) If not, does it go away with changing the
> goto to failed_unregister_driver()?
>
>From the logs it looks like "rate_control_alloc" is failed,
causing ieee80211_register_hw to fail triggering the crash.
what RC are u using? Default should be minstrel, i dont see
a reason for rc alloc to fail (remote reason kmalloc failure),
so did you disable RC completely? No prints either w.r.t RC either in
dmesg?
On Thu, 2014-03-13 at 02:15 +0530, Krishna Chaitanya wrote:
> From the logs it looks like "rate_control_alloc" is failed,
> causing ieee80211_register_hw to fail triggering the crash.
Yes.
> what RC are u using? Default should be minstrel, i dont see
> a reason for rc alloc to fail (remote reason kmalloc failure),
> so did you disable RC completely? No prints either w.r.t RC either in
> dmesg?
Pay attention to the .config.
johannes
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
On Sat, Mar 15, 2014 at 8:50 PM, Johannes Berg
<[email protected]> wrote:
>
> On Thu, 2014-03-13 at 02:15 +0530, Krishna Chaitanya wrote:
>
> > From the logs it looks like "rate_control_alloc" is failed,
> > causing ieee80211_register_hw to fail triggering the crash.
>
> Yes.
>
> > what RC are u using? Default should be minstrel, i dont see
> > a reason for rc alloc to fail (remote reason kmalloc failure),
> > so did you disable RC completely? No prints either w.r.t RC either in
> > dmesg?
>
> Pay attention to the .config.
>
Missed the attachment, thanks for pointing.
As guessed the rate control is empty causing the registration fail.
CONFIG_MAC80211=y
# CONFIG_MAC80211_RC_PID is not set
# CONFIG_MAC80211_RC_MINSTREL is not set
CONFIG_MAC80211_RC_DEFAULT=""
Martin,
These are long term bug and is still showing up in linux-next.
It can be reliably reproduced with the below KVM script.
#!/bin/bash
kvm=(
qemu-system-x86_64 -cpu kvm64 -enable-kvm
-kernel $1
-smp 2
-m 256M
-net nic,vlan=0,macaddr=00:00:00:00:00:00,model=virtio
-net user,vlan=0
-net nic,vlan=1,model=e1000
-net user,vlan=1
-boot order=nc
-no-reboot
-watchdog i6300esb
-display none
-serial stdio
-monitor null
)
append=(
debug
sched_debug
apic=debug
ignore_loglevel
earlyprintk=ttyS0,115200
sysrq_always_enabled
panic=10
prompt_ramdisk=0
console=ttyS0,115200
console=tty0
vga=normal
root=/dev/ram0
rcupdate.rcu_cpu_stall_timeout=100
rw
)
"${kvm[@]}" --append "${append[*]}"
% kvm-0day.sh /kernel/i386-randconfig-c5-03010009/b148a42ba7823e34971cd4e5b05a5c74fa3311ed/vmlinuz-3.14.0-rc4-next-20140228-05738-gb148a42
early console in setup code
[ 0.000000] Initializing cgroup subsys cpuset
[ 0.000000] Initializing cgroup subsys cpu
[ 0.000000] Linux version 3.14.0-rc4-next-20140228-05738-gb148a42 (kbuild@cairo) (gcc version 4.8.1 (Debian 4.8.1-8) ) #8 SMP PREEMPT Sat Mar 1 01:05:21 CST 2014
[ 0.000000] KERNEL supported cpus:
[ 0.000000] Intel GenuineIntel
[ 0.000000] Transmeta GenuineTMx86
[ 0.000000] Transmeta TransmetaCPU
[ 0.000000] e820: BIOS-provided physical RAM map:
[ 0.000000] BIOS-e820: [mem 0x0000000000000000-0x000000000009fbff] usable
[ 0.000000] BIOS-e820: [mem 0x000000000009fc00-0x000000000009ffff] reserved
[ 0.000000] BIOS-e820: [mem 0x00000000000f0000-0x00000000000fffff] reserved
[ 0.000000] BIOS-e820: [mem 0x0000000000100000-0x000000000fffdfff] usable
[ 0.000000] BIOS-e820: [mem 0x000000000fffe000-0x000000000fffffff] reserved
[ 0.000000] BIOS-e820: [mem 0x00000000feffc000-0x00000000feffffff] reserved
[ 0.000000] BIOS-e820: [mem 0x00000000fffc0000-0x00000000ffffffff] reserved
[ 0.000000] debug: ignoring loglevel setting.
[ 0.000000] NX (Execute Disable) protection: active
[ 0.000000] SMBIOS 2.4 present.
[ 0.000000] DMI: Bochs Bochs, BIOS Bochs 01/01/2011
[ 0.000000] Hypervisor detected: KVM
[ 0.000000] e820: update [mem 0x00000000-0x00000fff] usable ==> reserved
[ 0.000000] e820: remove [mem 0x000a0000-0x000fffff] usable
[ 0.000000] e820: last_pfn = 0xfffe max_arch_pfn = 0x1000000
[ 0.000000] MTRR default type: write-back
[ 0.000000] MTRR fixed ranges enabled:
[ 0.000000] 00000-9FFFF write-back
[ 0.000000] A0000-BFFFF uncachable
[ 0.000000] C0000-FFFFF write-protect
[ 0.000000] MTRR variable ranges enabled:
[ 0.000000] 0 base 0080000000 mask FF80000000 uncachable
[ 0.000000] 1 disabled
[ 0.000000] 2 disabled
[ 0.000000] 3 disabled
[ 0.000000] 4 disabled
[ 0.000000] 5 disabled
[ 0.000000] 6 disabled
[ 0.000000] 7 disabled
[ 0.000000] Scan for SMP in [mem 0x00000000-0x000003ff]
[ 0.000000] Scan for SMP in [mem 0x0009fc00-0x0009ffff]
[ 0.000000] Scan for SMP in [mem 0x000f0000-0x000fffff]
[ 0.000000] found SMP MP-table at [mem 0x000f1840-0x000f184f] mapped at [c00f1840]
[ 0.000000] mpc: f1850-f193c
[ 0.000000] Scanning 1 areas for low memory corruption
[ 0.000000] initial memory mapped: [mem 0x00000000-0x027fffff]
[ 0.000000] Base memory trampoline at [c009b000] 9b000 size 16384
[ 0.000000] init_memory_mapping: [mem 0x00000000-0x000fffff]
[ 0.000000] [mem 0x00000000-0x000fffff] page 4k
[ 0.000000] init_memory_mapping: [mem 0x0fc00000-0x0fdfffff]
[ 0.000000] [mem 0x0fc00000-0x0fdfffff] page 4k
[ 0.000000] BRK [0x023ac000, 0x023acfff] PGTABLE
[ 0.000000] init_memory_mapping: [mem 0x0c000000-0x0fbfffff]
[ 0.000000] [mem 0x0c000000-0x0fbfffff] page 4k
[ 0.000000] BRK [0x023ad000, 0x023adfff] PGTABLE
[ 0.000000] BRK [0x023ae000, 0x023aefff] PGTABLE
[ 0.000000] BRK [0x023af000, 0x023affff] PGTABLE
[ 0.000000] BRK [0x023b0000, 0x023b0fff] PGTABLE
[ 0.000000] BRK [0x023b1000, 0x023b1fff] PGTABLE
[ 0.000000] init_memory_mapping: [mem 0x00100000-0x0bffffff]
[ 0.000000] [mem 0x00100000-0x0bffffff] page 4k
[ 0.000000] init_memory_mapping: [mem 0x0fe00000-0x0fffdfff]
[ 0.000000] [mem 0x0fe00000-0x0fffdfff] page 4k
[ 0.000000] ACPI: RSDP 0x000F16B0 000014 (v00 BOCHS )
[ 0.000000] ACPI: RSDT 0x0FFFE3F0 000034 (v01 BOCHS BXPCRSDT 00000001 BXPC 00000001)
[ 0.000000] ACPI: FACP 0x0FFFFF80 000074 (v01 BOCHS BXPCFACP 00000001 BXPC 00000001)
[ 0.000000] ACPI: DSDT 0x0FFFE430 001137 (v01 BXPC BXDSDT 00000001 INTL 20100528)
[ 0.000000] ACPI: FACS 0x0FFFFF40 000040
[ 0.000000] ACPI: SSDT 0x0FFFF6A0 000899 (v01 BOCHS BXPCSSDT 00000001 BXPC 00000001)
[ 0.000000] ACPI: APIC 0x0FFFF5B0 000080 (v01 BOCHS BXPCAPIC 00000001 BXPC 00000001)
[ 0.000000] ACPI: HPET 0x0FFFF570 000038 (v01 BOCHS BXPCHPET 00000001 BXPC 00000001)
[ 0.000000] ACPI: Local APIC address 0xfee00000
[ 0.000000] mapped APIC to ffffb000 ( fee00000)
[ 0.000000] 255MB LOWMEM available.
[ 0.000000] mapped low ram: 0 - 0fffe000
[ 0.000000] low ram: 0 - 0fffe000
[ 0.000000] kvm-clock: Using msrs 4b564d01 and 4b564d00
[ 0.000000] kvm-clock: cpu 0, msr 0:fffd001, primary cpu clock
[ 0.000000] Zone ranges:
[ 0.000000] Normal [mem 0x00001000-0x0fffdfff]
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x00001000-0x0009efff]
[ 0.000000] node 0: [mem 0x00100000-0x0fffdfff]
[ 0.000000] On node 0 totalpages: 65436
[ 0.000000] free_area_init_node: node 0, pgdat c1c14660, node_mem_map cfb5a024
[ 0.000000] Normal zone: 576 pages used for memmap
[ 0.000000] Normal zone: 0 pages reserved
[ 0.000000] Normal zone: 65436 pages, LIFO batch:15
[ 0.000000] Using APIC driver default
[ 0.000000] ACPI: PM-Timer IO Port: 0xb008
[ 0.000000] ACPI: Local APIC address 0xfee00000
[ 0.000000] mapped APIC to ffffb000 ( fee00000)
[ 0.000000] ACPI: LAPIC (acpi_id[0x00] lapic_id[0x00] enabled)
[ 0.000000] ACPI: LAPIC (acpi_id[0x01] lapic_id[0x01] enabled)
[ 0.000000] ACPI: LAPIC_NMI (acpi_id[0xff] dfl dfl lint[0x1])
[ 0.000000] ACPI: IOAPIC (id[0x00] address[0xfec00000] gsi_base[0])
[ 0.000000] IOAPIC[0]: apic_id 0, version 17, address 0xfec00000, GSI 0-23
[ 0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl)
[ 0.000000] Int: type 0, pol 0, trig 0, bus 00, IRQ 00, APIC ID 0, APIC INT 02
[ 0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 5 global_irq 5 high level)
[ 0.000000] Int: type 0, pol 1, trig 3, bus 00, IRQ 05, APIC ID 0, APIC INT 05
[ 0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 high level)
[ 0.000000] Int: type 0, pol 1, trig 3, bus 00, IRQ 09, APIC ID 0, APIC INT 09
[ 0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 10 global_irq 10 high level)
[ 0.000000] Int: type 0, pol 1, trig 3, bus 00, IRQ 0a, APIC ID 0, APIC INT 0a
[ 0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 11 global_irq 11 high level)
[ 0.000000] Int: type 0, pol 1, trig 3, bus 00, IRQ 0b, APIC ID 0, APIC INT 0b
[ 0.000000] ACPI: IRQ0 used by override.
[ 0.000000] Int: type 0, pol 0, trig 0, bus 00, IRQ 01, APIC ID 0, APIC INT 01
[ 0.000000] ACPI: IRQ2 used by override.
[ 0.000000] Int: type 0, pol 0, trig 0, bus 00, IRQ 03, APIC ID 0, APIC INT 03
[ 0.000000] Int: type 0, pol 0, trig 0, bus 00, IRQ 04, APIC ID 0, APIC INT 04
[ 0.000000] ACPI: IRQ5 used by override.
[ 0.000000] Int: type 0, pol 0, trig 0, bus 00, IRQ 06, APIC ID 0, APIC INT 06
[ 0.000000] Int: type 0, pol 0, trig 0, bus 00, IRQ 07, APIC ID 0, APIC INT 07
[ 0.000000] Int: type 0, pol 0, trig 0, bus 00, IRQ 08, APIC ID 0, APIC INT 08
[ 0.000000] ACPI: IRQ9 used by override.
[ 0.000000] ACPI: IRQ10 used by override.
[ 0.000000] ACPI: IRQ11 used by override.
[ 0.000000] Int: type 0, pol 0, trig 0, bus 00, IRQ 0c, APIC ID 0, APIC INT 0c
[ 0.000000] Int: type 0, pol 0, trig 0, bus 00, IRQ 0d, APIC ID 0, APIC INT 0d
[ 0.000000] Int: type 0, pol 0, trig 0, bus 00, IRQ 0e, APIC ID 0, APIC INT 0e
[ 0.000000] Int: type 0, pol 0, trig 0, bus 00, IRQ 0f, APIC ID 0, APIC INT 0f
[ 0.000000] Using ACPI (MADT) for SMP configuration information
[ 0.000000] ACPI: HPET id: 0x8086a201 base: 0xfed00000
[ 0.000000] smpboot: Allowing 2 CPUs, 0 hotplug CPUs
[ 0.000000] mapped IOAPIC to ffffa000 (fec00000)
[ 0.000000] nr_irqs_gsi: 40
[ 0.000000] e820: [mem 0x10000000-0xfeffbfff] available for PCI devices
[ 0.000000] Booting paravirtualized kernel on KVM
[ 0.000000] setup_percpu: NR_CPUS:8 nr_cpumask_bits:8 nr_cpu_ids:2 nr_node_ids:1
[ 0.000000] PERCPU: Embedded 331 pages/cpu @cf8c4000 s1340104 r0 d15672 u1355776
[ 0.000000] pcpu-alloc: s1340104 r0 d15672 u1355776 alloc=331*4096
[ 0.000000] pcpu-alloc: [0] 0 [0] 1
[ 0.000000] KVM setup async PF for cpu 0
[ 0.000000] kvm-stealtime: cpu 0, msr f8c6600
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 64860
[ 0.000000] Kernel command line: debug sched_debug apic=debug ignore_loglevel earlyprintk=ttyS0,115200 sysrq_always_enabled panic=10 prompt_ramdisk=0 console=ttyS0,115200 console=tty0 vga=normal root=/dev/ram0 rcupdate.rcu_cpu_stall_timeout=100 rw
[ 0.000000] PID hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
[ 0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
[ 0.000000] Initializing CPU#0
[ 0.000000] Memory: 235920K/261744K available (7426K kernel code, 865K rwdata, 4108K rodata, 1900K init, 5736K bss, 25824K reserved)
[ 0.000000] virtual kernel memory layout:
[ 0.000000] fixmap : 0xfff15000 - 0xfffff000 ( 936 kB)
[ 0.000000] vmalloc : 0xd07fe000 - 0xfff13000 ( 759 MB)
[ 0.000000] lowmem : 0xc0000000 - 0xcfffe000 ( 255 MB)
[ 0.000000] .init : 0xc1c1e000 - 0xc1df9000 (1900 kB)
[ 0.000000] .data : 0xc1740d21 - 0xc1c1d600 (4978 kB)
[ 0.000000] .text : 0xc1000000 - 0xc1740d21 (7427 kB)
[ 0.000000] Checking if this processor honours the WP bit even in supervisor mode...Ok.
[ 0.000000] Preemptible hierarchical RCU implementation.
[ 0.000000] RCU debugfs-based tracing is enabled.
[ 0.000000] RCU lockdep checking is enabled.
[ 0.000000] RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=2.
[ 0.000000] Offload RCU callbacks from CPU 0
[ 0.000000] Offload RCU callbacks from CPUs: 0.
[ 0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=2
[ 0.000000] NR_IRQS:2304 nr_irqs:512 16
[ 0.000000] CPU 0 irqstacks, hard=c0090000 soft=c0092000
[ 0.000000] ACPI: Core revision 20140114
[ 0.000000] ACPI: All ACPI Tables successfully acquired
[ 0.000000] console [ttyS0] enabled
[ 0.000000] Lock dependency validator: Copyright (c) 2006 Red Hat, Inc., Ingo Molnar
[ 0.000000] ... MAX_LOCKDEP_SUBCLASSES: 8
[ 0.000000] ... MAX_LOCK_DEPTH: 48
[ 0.000000] ... MAX_LOCKDEP_KEYS: 8191
[ 0.000000] ... CLASSHASH_SIZE: 4096
[ 0.000000] ... MAX_LOCKDEP_ENTRIES: 16384
[ 0.000000] ... MAX_LOCKDEP_CHAINS: 32768
[ 0.000000] ... CHAINHASH_SIZE: 16384
[ 0.000000] memory used by lock dependency info: 3823 kB
[ 0.000000] per task-struct memory footprint: 1920 bytes
[ 0.000000] hpet clockevent registered
[ 0.000000] tsc: Detected 2693.508 MHz processor
[ 0.003000] Calibrating delay loop (skipped) preset value.. 5387.01 BogoMIPS (lpj=2693508)
[ 0.004011] pid_max: default: 4096 minimum: 301
[ 0.005105] Security Framework initialized
[ 0.005797] SELinux: Initializing.
[ 0.006070] SELinux: Starting in enforcing mode
[ 0.007054] Mount-cache hash table entries: 512
[ 0.009101] Initializing cgroup subsys debug
[ 0.009831] Initializing cgroup subsys freezer
[ 0.010024] Initializing cgroup subsys net_cls
[ 0.011013] Initializing cgroup subsys perf_event
[ 0.012021] Initializing cgroup subsys net_prio
[ 0.013124] Last level iTLB entries: 4KB 0, 2MB 0, 4MB 0
[ 0.013124] Last level dTLB entries: 4KB 0, 2MB 0, 4MB 0, 1GB 0
[ 0.013124] tlb_flushall_shift: 6
[ 0.015182] debug: unmapping init [mem 0xc1df9000-0xc1dfcfff]
[ 0.017692] Getting VERSION: 50014
[ 0.018016] Getting VERSION: 50014
[ 0.018572] Getting ID: 0
[ 0.019015] Getting ID: f000000
[ 0.020014] Getting LVT0: 8700
[ 0.020526] Getting LVT1: 8400
[ 0.021010] Enabling APIC mode: Flat. Using 1 I/O APICs
[ 0.022070] enabled ExtINT on CPU#0
[ 0.023742] ENABLING IO-APIC IRQs
[ 0.024014] init IO_APIC IRQs
[ 0.025008] apic 0 pin 0 not connected
[ 0.025665] IOAPIC[0]: Set routing entry (0-1 -> 0x31 -> IRQ 1 Mode:0 Active:0 Dest:1)
[ 0.026033] IOAPIC[0]: Set routing entry (0-2 -> 0x30 -> IRQ 0 Mode:0 Active:0 Dest:1)
[ 0.027029] IOAPIC[0]: Set routing entry (0-3 -> 0x33 -> IRQ 3 Mode:0 Active:0 Dest:1)
[ 0.028030] IOAPIC[0]: Set routing entry (0-4 -> 0x34 -> IRQ 4 Mode:0 Active:0 Dest:1)
[ 0.029028] IOAPIC[0]: Set routing entry (0-5 -> 0x35 -> IRQ 5 Mode:1 Active:0 Dest:1)
[ 0.030029] IOAPIC[0]: Set routing entry (0-6 -> 0x36 -> IRQ 6 Mode:0 Active:0 Dest:1)
[ 0.031028] IOAPIC[0]: Set routing entry (0-7 -> 0x37 -> IRQ 7 Mode:0 Active:0 Dest:1)
[ 0.032047] IOAPIC[0]: Set routing entry (0-8 -> 0x38 -> IRQ 8 Mode:0 Active:0 Dest:1)
[ 0.033041] IOAPIC[0]: Set routing entry (0-9 -> 0x39 -> IRQ 9 Mode:1 Active:0 Dest:1)
[ 0.034045] IOAPIC[0]: Set routing entry (0-10 -> 0x3a -> IRQ 10 Mode:1 Active:0 Dest:1)
[ 0.035041] IOAPIC[0]: Set routing entry (0-11 -> 0x3b -> IRQ 11 Mode:1 Active:0 Dest:1)
[ 0.036046] IOAPIC[0]: Set routing entry (0-12 -> 0x3c -> IRQ 12 Mode:0 Active:0 Dest:1)
[ 0.037042] IOAPIC[0]: Set routing entry (0-13 -> 0x3d -> IRQ 13 Mode:0 Active:0 Dest:1)
[ 0.038041] IOAPIC[0]: Set routing entry (0-14 -> 0x3e -> IRQ 14 Mode:0 Active:0 Dest:1)
[ 0.039042] IOAPIC[0]: Set routing entry (0-15 -> 0x3f -> IRQ 15 Mode:0 Active:0 Dest:1)
[ 0.040034] apic 0 pin 16 not connected
[ 0.041008] apic 0 pin 17 not connected
[ 0.042008] apic 0 pin 18 not connected
[ 0.043008] apic 0 pin 19 not connected
[ 0.044009] apic 0 pin 20 not connected
[ 0.045008] apic 0 pin 21 not connected
[ 0.046008] apic 0 pin 22 not connected
[ 0.047008] apic 0 pin 23 not connected
[ 0.048165] ..TIMER: vector=0x30 apic1=0 pin1=2 apic2=-1 pin2=-1
[ 0.049009] smpboot: CPU0: Intel Common KVM processor (fam: 0f, model: 06, stepping: 01)
[ 0.051009] Using local APIC timer interrupts.
[ 0.051009] calibrating APIC timer ...
[ 0.053000] ... lapic delta = 6250096
[ 0.053000] ... PM-Timer delta = 357998
[ 0.053000] ... PM-Timer result ok
[ 0.053000] ..... delta 6250096
[ 0.053000] ..... mult: 268439579
[ 0.053000] ..... calibration result: 1000015
[ 0.053000] ..... CPU clock speed is 2693.0692 MHz.
[ 0.053000] ..... host bus clock speed is 1000.0015 MHz.
[ 0.053100] Performance Events: unsupported Netburst CPU model 6 no PMU driver, software events only.
[ 0.062433] CPU 1 irqstacks, hard=c0104000 soft=c0106000
[ 0.063011] x86: Booting SMP configuration:
[ 0.064008] .... node #0, CPUs: #1
[ 0.003000] Initializing CPU#1
[ 0.003000] kvm-clock: cpu 1, msr 0:fffd021, secondary cpu clock
[ 0.003000] masked ExtINT on CPU#1
[ 0.079215] KVM setup async PF for cpu 1
[ 0.079304] x86: Booted up 1 node, 2 CPUs
[ 0.079311] ----------------
[ 0.079312] | NMI testsuite:
[ 0.079312] --------------------
[ 0.079215] remote IPI:
[ 0.079215] kvm-stealtime: cpu 1, msr fa11600
[ 0.084190] ok |
[ 0.084582] local IPI: ok |
[ 0.089162] --------------------
[ 0.089782] Good, all 2 testcases passed! |
[ 0.090006] ---------------------------------
[ 0.091006] smpboot: Total of 2 processors activated (10774.03 BogoMIPS)
[ 0.092491] CPU0 attaching sched-domain:
[ 0.093007] domain 0: span 0-1 level CPU
[ 0.094004] groups: 0 (cpu_power = 1011) 1 (cpu_power = 1016)
[ 0.095074] CPU1 attaching sched-domain:
[ 0.095722] domain 0: span 0-1 level CPU
[ 0.096299] groups: 1 (cpu_power = 1016) 0 (cpu_power = 1011)
[ 0.098882] devtmpfs: initialized
[ 0.101039] EVM: security.selinux
[ 0.101677] EVM: security.capability
[ 0.103098] atomic64 test passed for i586+ platform with CX8 and with SSE
[ 0.104677] regulator-dummy: no parameters
[ 0.106035] NET: Registered protocol family 16
[ 0.107747] EISA bus registered
[ 0.108016] cpuidle: using governor ladder
[ 0.109466] ACPI: bus type PCI registered
[ 0.110506] PCI : PCI BIOS area is rw and x. Use pci=nobios if you want it NX.
[ 0.111007] PCI: PCI BIOS revision 2.10 entry at 0xfd4e3, last bus=0
[ 0.112005] PCI: Using configuration type 1 for base access
[ 0.137799] gpio-f7188x: Not a Fintek device at 0x0000002e
[ 0.139036] gpio-f7188x: Not a Fintek device at 0x0000004e
[ 0.140875] ACPI: Added _OSI(Module Device)
[ 0.141007] ACPI: Added _OSI(Processor Device)
[ 0.142006] ACPI: Added _OSI(3.0 _SCP Extensions)
[ 0.143008] ACPI: Added _OSI(Processor Aggregator Device)
[ 0.159907] ACPI: Interpreter enabled
[ 0.160016] ACPI Exception: AE_NOT_FOUND, While evaluating Sleep State [\_S1_] (20140114/hwxface-580)
[ 0.162011] ACPI Exception: AE_NOT_FOUND, While evaluating Sleep State [\_S2_] (20140114/hwxface-580)
[ 0.163415] ACPI: (supports S0 S3 S5)
[ 0.164006] ACPI: Using IOAPIC for interrupt routing
[ 0.165243] PCI: Using host bridge windows from ACPI; if necessary, use "pci=nocrs" and report a bug
[ 0.189539] ACPI: PCI Root Bridge [PCI0] (domain 0000 [bus 00-ff])
[ 0.190015] acpi PNP0A03:00: _OSC: OS supports [Segments]
[ 0.191064] acpi PNP0A03:00: _OSC failed (AE_NOT_FOUND); disabling ASPM
[ 0.193407] acpi PNP0A03:00: fail to add MMCONFIG information, can't access extended PCI configuration space under this bridge.
[ 0.195529] PCI host bridge to bus 0000:00
[ 0.196010] pci_bus 0000:00: root bus resource [bus 00-ff]
[ 0.197009] pci_bus 0000:00: root bus resource [io 0x0000-0x0cf7]
[ 0.198007] pci_bus 0000:00: root bus resource [io 0x0d00-0xffff]
[ 0.199008] pci_bus 0000:00: root bus resource [mem 0x000a0000-0x000bffff]
[ 0.200009] pci_bus 0000:00: root bus resource [mem 0x80000000-0xfebfffff]
[ 0.202092] pci 0000:00:00.0: [8086:1237] type 00 class 0x060000
[ 0.204033] pci 0000:00:01.0: [8086:7000] type 00 class 0x060100
[ 0.206115] pci 0000:00:01.1: [8086:7010] type 00 class 0x010180
[ 0.209734] pci 0000:00:01.1: reg 0x20: [io 0xc060-0xc06f]
[ 0.212687] pci 0000:00:01.3: [8086:7113] type 00 class 0x068000
[ 0.214247] pci 0000:00:01.3: quirk: [io 0xb000-0xb03f] claimed by PIIX4 ACPI
[ 0.215017] pci 0000:00:01.3: quirk: [io 0xb100-0xb10f] claimed by PIIX4 SMB
[ 0.217477] pci 0000:00:02.0: [1013:00b8] type 00 class 0x030000
[ 0.220865] pci 0000:00:02.0: reg 0x10: [mem 0xfc000000-0xfdffffff pref]
[ 0.224030] pci 0000:00:02.0: reg 0x14: [mem 0xfebe2000-0xfebe2fff]
[ 0.233034] pci 0000:00:02.0: reg 0x30: [mem 0xfebd0000-0xfebdffff pref]
[ 0.235379] pci 0000:00:03.0: [1af4:1000] type 00 class 0x020000
[ 0.237008] pci 0000:00:03.0: reg 0x10: [io 0xc040-0xc05f]
[ 0.239008] pci 0000:00:03.0: reg 0x14: [mem 0xfebe1000-0xfebe1fff]
[ 0.244464] pci 0000:00:03.0: reg 0x30: [mem 0xfebc0000-0xfebcffff pref]
[ 0.247342] pci 0000:00:04.0: [8086:100e] type 00 class 0x020000
[ 0.249008] pci 0000:00:04.0: reg 0x10: [mem 0xfeb80000-0xfeb9ffff]
[ 0.251008] pci 0000:00:04.0: reg 0x14: [io 0xc000-0xc03f]
[ 0.256477] pci 0000:00:04.0: reg 0x30: [mem 0xfeba0000-0xfebbffff pref]
[ 0.259007] pci 0000:00:05.0: [8086:25ab] type 00 class 0x088000
[ 0.260515] pci 0000:00:05.0: reg 0x10: [mem 0xfebe0000-0xfebe000f]
[ 0.265501] pci_bus 0000:00: on NUMA node 0
[ 0.267900] ACPI: PCI Interrupt Link [LNKA] (IRQs 5 *10 11)
[ 0.269317] ACPI: PCI Interrupt Link [LNKB] (IRQs 5 *10 11)
[ 0.270631] ACPI: PCI Interrupt Link [LNKC] (IRQs 5 10 *11)
[ 0.272120] ACPI: PCI Interrupt Link [LNKD] (IRQs 5 10 *11)
[ 0.273242] ACPI: PCI Interrupt Link [LNKS] (IRQs *9)
[ 0.275860] ACPI: Enabled 16 GPEs in block 00 to 0F
[ 0.279488] vgaarb: device added: PCI:0000:00:02.0,decodes=io+mem,owns=io+mem,locks=none
[ 0.280010] vgaarb: loaded
[ 0.281005] vgaarb: bridge control possible 0000:00:02.0
[ 0.284335] ACPI: bus type USB registered
[ 0.285192] usbcore: registered new interface driver usbfs
[ 0.286179] usbcore: registered new interface driver hub
[ 0.287280] usbcore: registered new device driver usb
[ 0.288359] Linux video capture interface: v2.00
[ 0.289040] pps_core: LinuxPPS API ver. 1 registered
[ 0.290005] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <[email protected]>
[ 0.291030] PTP clock support registered
[ 0.293376] Advanced Linux Sound Architecture Driver Initialized.
[ 0.294012] PCI: Using ACPI for IRQ routing
[ 0.295009] PCI: pci_cache_line_size set to 64 bytes
[ 0.296095] e820: reserve RAM buffer [mem 0x0009fc00-0x0009ffff]
[ 0.297019] e820: reserve RAM buffer [mem 0x0fffe000-0x0fffffff]
[ 0.299481] NET: Registered protocol family 23
[ 0.300100] Bluetooth: Core ver 2.19
[ 0.301074] NET: Registered protocol family 31
[ 0.301818] Bluetooth: HCI device and connection manager initialized
[ 0.302035] Bluetooth: HCI socket layer initialized
[ 0.303134] Bluetooth: L2CAP socket layer initialized
[ 0.304072] Bluetooth: SCO socket layer initialized
[ 0.306303] cfg80211: Calling CRDA to update world regulatory domain
[ 0.307099] NetLabel: Initializing
[ 0.308006] NetLabel: domain hash size = 128
[ 0.308707] NetLabel: protocols = UNLABELED CIPSOv4
[ 0.309300] NetLabel: unlabeled traffic allowed by default
[ 0.311402] nfc: nfc_init: NFC Core ver 0.1
[ 0.312090] NET: Registered protocol family 39
[ 0.313582] Switched to clocksource kvm-clock
[ 0.314277] pnp: PnP ACPI init
[ 0.314874] ACPI: bus type PNP registered
[ 0.315701] IOAPIC[0]: Set routing entry (0-8 -> 0x38 -> IRQ 8 Mode:0 Active:0 Dest:3)
[ 0.317303] pnp 00:00: Plug and Play ACPI device, IDs PNP0b00 (active)
[ 0.318478] IOAPIC[0]: Set routing entry (0-1 -> 0x31 -> IRQ 1 Mode:0 Active:0 Dest:3)
[ 0.319936] pnp 00:01: Plug and Play ACPI device, IDs PNP0303 (active)
[ 0.321075] IOAPIC[0]: Set routing entry (0-12 -> 0x3c -> IRQ 12 Mode:0 Active:0 Dest:3)
[ 0.322702] pnp 00:02: Plug and Play ACPI device, IDs PNP0f13 (active)
[ 0.323924] IOAPIC[0]: Set routing entry (0-6 -> 0x36 -> IRQ 6 Mode:0 Active:0 Dest:3)
[ 0.325271] pnp 00:03: [dma 2]
[ 0.325956] pnp 00:03: Plug and Play ACPI device, IDs PNP0700 (active)
[ 0.327327] IOAPIC[0]: Set routing entry (0-7 -> 0x37 -> IRQ 7 Mode:0 Active:0 Dest:3)
[ 0.328923] pnp 00:04: Plug and Play ACPI device, IDs PNP0400 (active)
[ 0.330134] IOAPIC[0]: Set routing entry (0-4 -> 0x34 -> IRQ 4 Mode:0 Active:0 Dest:3)
[ 0.331614] pnp 00:05: Plug and Play ACPI device, IDs PNP0501 (active)
[ 0.333751] pnp 00:06: Plug and Play ACPI device, IDs PNP0103 (active)
[ 0.335398] pnp: PnP ACPI: found 7 devices
[ 0.336084] ACPI: bus type PNP unregistered
[ 0.374955] pci_bus 0000:00: resource 4 [io 0x0000-0x0cf7]
[ 0.376040] pci_bus 0000:00: resource 5 [io 0x0d00-0xffff]
[ 0.376958] pci_bus 0000:00: resource 6 [mem 0x000a0000-0x000bffff]
[ 0.378006] pci_bus 0000:00: resource 7 [mem 0x80000000-0xfebfffff]
[ 0.379157] NET: Registered protocol family 2
[ 0.380963] TCP established hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.382341] TCP bind hash table entries: 2048 (order: 4, 90112 bytes)
[ 0.384677] TCP: Hash tables configured (established 2048 bind 2048)
[ 0.385920] TCP: reno registered
[ 0.386495] UDP hash table entries: 128 (order: 1, 12288 bytes)
[ 0.387602] UDP-Lite hash table entries: 128 (order: 1, 12288 bytes)
[ 0.389257] NET: Registered protocol family 1
[ 0.390020] pci 0000:00:00.0: Limiting direct PCI/PCI transfers
[ 0.391008] pci 0000:00:01.0: PIIX3: Enabling Passive Release
[ 0.391976] pci 0000:00:01.0: Activating ISA DMA hang workarounds
[ 0.393033] pci 0000:00:02.0: Boot video device
[ 0.393819] PCI: CLS 0 bytes, default 64
[ 0.396285] microcode: CPU0 sig=0xf61, pf=0x1, revision=0x1
[ 0.397423] microcode: CPU1 sig=0xf61, pf=0x1, revision=0x1
[ 0.398684] microcode: Microcode Update Driver: v2.00 <[email protected]>, Peter Oruba
[ 0.401004] Scanning for low memory corruption every 60 seconds
[ 0.406347] PCLMULQDQ-NI instructions are not detected.
[ 0.407424] The force parameter has not been set to 1. The Iris poweroff handler will not be installed.
[ 0.409006] NatSemi SCx200 Driver
[ 0.412226] Initializing RT-Tester: OK
[ 0.414389] futex hash table entries: 16 (order: -2, 1024 bytes)
[ 0.415543] Initialise system trusted keyring
[ 0.416337] audit: initializing netlink subsys (disabled)
[ 0.417331] audit: type=2000 audit(1394067047.252:1): initialized
[ 0.419205] HugeTLB registered 2 MB page size, pre-allocated 0 pages
[ 0.420622] VFS: Disk quotas dquot_6.5.2
[ 0.421309] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[ 0.423589] jffs2: version 2.2. © 2001-2006 Red Hat, Inc.
[ 0.424788] fuse init (API version 7.22)
[ 0.426241] SELinux: Registering netfilter hooks
[ 0.444720] alg: No test for crc32 (crc32-table)
[ 0.446093] alg: No test for lz4 (lz4-generic)
[ 0.446983] alg: No test for stdrng (krng)
[ 0.457375] alg: No test for fips(ansi_cprng) (fips_ansi_cprng)
[ 0.458883] NET: Registered protocol family 38
[ 0.459744] Key type asymmetric registered
[ 0.460485] list_sort_test: start testing list_sort()
[ 0.468103] crc32: CRC_LE_BITS = 1, CRC_BE BITS = 1
[ 0.469085] crc32: self tests passed, processed 225944 bytes in 2646431 nsec
[ 0.473281] crc32c: CRC_LE_BITS = 1
[ 0.474060] crc32c: self tests passed, processed 225944 bytes in 1495319 nsec
[ 0.832926] crc32_combine: 8373 self tests passed
[ 1.398637] tsc: Refined TSC clocksource calibration: 2693.422 MHz
[ 1.458227] crc32c_combine: 8373 self tests passed
[ 1.461824] xz_dec_test: module loaded
[ 1.463588] xz_dec_test: Create a device node with 'mknod xz_dec_test c 252 0' and write .xz files to it.
[ 1.467222] rbtree testing -> 22292 cycles
[ 2.372809] augmented rbtree testing -> 34475 cycles
[ 3.758989] input: Power Button as /devices/LNXSYSTM:00/LNXPWRBN:00/input/input0
[ 3.762060] ACPI: Power Button [PWRF]
[ 3.860138] HDLC line discipline maxframe=4096
[ 3.860950] N_HDLC line discipline registered.
[ 3.861778] r3964: Philips r3964 Driver $Revision: 1.10 $
[ 3.862597] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
[ 3.885581] 00:05: ttyS0 at I/O 0x3f8 (irq = 4, base_baud = 115200) is a 16550A
[ 3.891756] serial: Freescale lpuart driver
[ 3.892610] Cyclades driver 2.6
[ 3.914550] MOXA Intellio family driver version 6.0k
[ 3.915964] MOXA Smartio/Industio family driver version 2.0.5
[ 3.916918] RocketPort device driver module, version 2.09, 12-June-2003
[ 3.917906] No rocketport ports found; unloading driver
[ 3.919295] DoubleTalk PC - not found
[ 3.920150] Non-volatile memory driver v1.3
[ 3.920791] scx200_gpio: no SCx200 gpio present
[ 3.921897] platform pc8736x_gpio.0: NatSemi pc8736x GPIO Driver Initializing
[ 3.922977] platform pc8736x_gpio.0: no device found
[ 3.924041] nsc_gpio initializing
[ 3.924718] telclk_interrupt = 0xf non-mcpbl0010 hw.
[ 3.925446] smapi::smapi_init, ERROR invalid usSmapiID
[ 3.926181] mwave: tp3780i::tp3780I_InitializeBoardData: Error: SMAPI is not available on this machine
[ 3.927538] mwave: mwavedd::mwave_init: Error: Failed to initialize board data
[ 3.928581] mwave: mwavedd::mwave_init: Error: Failed to initialize
[ 3.930558] [drm] Initialized drm 1.1.0 20060810
[ 3.932137] dummy-irq: no IRQ given. Use irq=N
[ 3.935236] usbcore: registered new interface driver viperboard
[ 3.937701] usbcore: registered new interface driver port100
[ 3.939376] mtdoops: mtd device (mtddev=name/number) must be supplied
[ 3.940363] L440GX flash mapping: failed to find PIIX4 ISA bridge, cannot continue
[ 3.941448] scx200_docflash: NatSemi SCx200 DOCCS Flash Driver
[ 3.942362] slram: not enough parameters.
[ 4.160609] No valid DiskOnChip devices found
[ 4.167287] libphy: Fixed MDIO Bus: probed
[ 4.169974] arcnet loaded.
[ 4.170440] arcnet: RFC1201 "standard" (`a') encapsulation support loaded.
[ 4.171435] arcnet: raw mode (`r') encapsulation support loaded.
[ 4.172285] arcnet: cap mode (`c') encapsulation support loaded.
[ 4.173404] arcnet: RIM I (entirely mem-mapped) support
[ 4.175536] E-mail me if you actually test the RIM I driver, please!
[ 4.178060] Given: node 00h, shmem 0h, irq 0
[ 4.179692] No autoprobe for RIM I; you must specify the shmem and irq!
[ 4.181629] ipddp.c:v0.01 8/28/97 Bradford W. Johnson <[email protected]>
[ 4.186977] ipddp0: Appletalk-IP Decap. mode by Jay Schulist <[email protected]>
[ 4.189538] slcan: serial line CAN interface driver
[ 4.191146] slcan: 10 dynamic interface channels.
[ 4.192939] CAN device driver interface
[ 4.194257] usbcore: registered new interface driver ems_usb
[ 4.196381] usbcore: registered new interface driver esd_usb2
[ 4.198659] usbcore: registered new interface driver kvaser_usb
[ 4.201037] usbcore: registered new interface driver usb_8dev
[ 4.254865] AX.25: Z8530 SCC driver version 3.0.dl1bke
[ 4.259137] AX.25: 6pack driver, Revision: 0.3.0
[ 4.260938] YAM driver version 0.8 by F1OAT/F6FBB
[ 4.272115] AX.25: bpqether driver version 004
[ 4.274022] baycom_ser_fdx: (C) 1996-2000 Thomas Sailer, HB9JNX/AE4WA
[ 4.274022] baycom_ser_fdx: version 0.10
[ 4.287488] hdlcdrv: (C) 1996-2000 Thomas Sailer HB9JNX/AE4WA
[ 4.289781] hdlcdrv: version 0.8
[ 4.290996] baycom_ser_hdx: (C) 1996-2000 Thomas Sailer, HB9JNX/AE4WA
[ 4.290996] baycom_ser_hdx: version 0.10
[ 4.304517] usbcore: registered new interface driver stir4200
[ 4.308489] usbcore: registered new interface driver mcs7780
[ 4.310686] usbcore: registered new interface driver kingsun-sir
[ 4.312987] usbcore: registered new interface driver ks959-sir
[ 4.315148] PPP generic driver version 2.4.2
[ 4.317677] PPP BSD Compression module registered
[ 4.319090] NET: Registered protocol family 24
[ 4.320445] PPTP driver version 0.8.5
[ 4.322146] hdlc: HDLC support module revision 1.22
[ 4.323499] DLCI driver v0.35, 4 Jan 1997, [email protected].
[ 4.324809] orinoco 0.15 (David Gibson <[email protected]>, Pavel Roskin <[email protected]>, et al)
[ 4.326875] usbcore: registered new interface driver orinoco_usb
[ 4.327927] Broadcom 43xx-legacy driver loaded [ Features: PLD ]
[ 4.328832] zd1211rw usb_init()
[ 4.329760] usbcore: registered new interface driver zd1211rw
[ 4.330647] zd1211rw initialized
[ 4.331701] usbcore: registered new interface driver rndis_wlan
[ 4.332661] usbcore: registered new interface driver zd1201
[ 4.333574] usbcore: registered new interface driver usb8xxx
[ 4.334432] libertas_sdio: Libertas SDIO driver
[ 4.335102] libertas_sdio: Copyright Pierre Ossman
[ 4.336331] libertas_spi: Libertas SPI driver
[ 4.337110] usbcore: registered new interface driver rt73usb
[ 4.338110] usbcore: registered new interface driver ath9k_htc
[ 4.339280] usbcore: registered new interface driver carl9170
[ 4.340953] cfg80211: Updating information on frequency 2412 MHz with regulatory rule:
[ 4.342088] cfg80211: 2402000 KHz - 2472000 KHz @ 40000 KHz), (600 mBi, 2000 mBm)
[ 4.343137] cfg80211: Updating information on frequency 2417 MHz with regulatory rule:
[ 4.344272] cfg80211: 2402000 KHz - 2472000 KHz @ 40000 KHz), (600 mBi, 2000 mBm)
[ 4.345325] cfg80211: Updating information on frequency 2422 MHz with regulatory rule:
[ 4.346631] cfg80211: 2402000 KHz - 2472000 KHz @ 40000 KHz), (600 mBi, 2000 mBm)
[ 4.347737] cfg80211: Updating information on frequency 2427 MHz with regulatory rule:
[ 4.348848] cfg80211: 2402000 KHz - 2472000 KHz @ 40000 KHz), (600 mBi, 2000 mBm)
[ 4.349902] cfg80211: Updating information on frequency 2432 MHz with regulatory rule:
[ 4.351050] cfg80211: 2402000 KHz - 2472000 KHz @ 40000 KHz), (600 mBi, 2000 mBm)
[ 4.352145] cfg80211: Updating information on frequency 2437 MHz with regulatory rule:
[ 4.353300] cfg80211: 2402000 KHz - 2472000 KHz @ 40000 KHz), (600 mBi, 2000 mBm)
[ 4.354359] cfg80211: Updating information on frequency 2442 MHz with regulatory rule:
[ 4.355593] cfg80211: 2402000 KHz - 2472000 KHz @ 40000 KHz), (600 mBi, 2000 mBm)
[ 4.356743] cfg80211: Updating information on frequency 2447 MHz with regulatory rule:
[ 4.358019] cfg80211: 2402000 KHz - 2472000 KHz @ 40000 KHz), (600 mBi, 2000 mBm)
[ 4.359268] cfg80211: Updating information on frequency 2452 MHz with regulatory rule:
[ 4.360637] cfg80211: 2402000 KHz - 2472000 KHz @ 40000 KHz), (600 mBi, 2000 mBm)
[ 4.361883] cfg80211: Updating information on frequency 2457 MHz with regulatory rule:
[ 4.363167] cfg80211: 2402000 KHz - 2472000 KHz @ 40000 KHz), (600 mBi, 2000 mBm)
[ 4.364802] cfg80211: Updating information on frequency 2462 MHz with regulatory rule:
[ 4.366426] cfg80211: 2402000 KHz - 2472000 KHz @ 40000 KHz), (600 mBi, 2000 mBm)
[ 4.367531] cfg80211: Updating information on frequency 2467 MHz with regulatory rule:
[ 4.368736] cfg80211: 2457000 KHz - 2482000 KHz @ 40000 KHz), (600 mBi, 2000 mBm)
[ 4.370161] cfg80211: Updating information on frequency 2472 MHz with regulatory rule:
[ 4.371332] cfg80211: 2457000 KHz - 2482000 KHz @ 40000 KHz), (600 mBi, 2000 mBm)
[ 4.372512] cfg80211: Updating information on frequency 2484 MHz with regulatory rule:
[ 4.373664] cfg80211: 2474000 KHz - 2494000 KHz @ 20000 KHz), (600 mBi, 2000 mBm)
[ 4.374945] cfg80211: Updating information on frequency 5180 MHz with regulatory rule:
[ 4.376169] cfg80211: 5170000 KHz - 5250000 KHz @ 160000 KHz), (600 mBi, 2000 mBm)
[ 4.377351] cfg80211: Updating information on frequency 5200 MHz with regulatory rule:
[ 4.378759] cfg80211: 5170000 KHz - 5250000 KHz @ 160000 KHz), (600 mBi, 2000 mBm)
[ 4.380436] cfg80211: Updating information on frequency 5220 MHz with regulatory rule:
[ 4.381729] cfg80211: 5170000 KHz - 5250000 KHz @ 160000 KHz), (600 mBi, 2000 mBm)
[ 4.382790] cfg80211: Updating information on frequency 5240 MHz with regulatory rule:
[ 4.383996] cfg80211: 5170000 KHz - 5250000 KHz @ 160000 KHz), (600 mBi, 2000 mBm)
[ 4.385175] cfg80211: Updating information on frequency 5260 MHz with regulatory rule:
[ 4.386339] cfg80211: 5250000 KHz - 5330000 KHz @ 160000 KHz), (600 mBi, 2000 mBm)
[ 4.387539] cfg80211: Updating information on frequency 5280 MHz with regulatory rule:
[ 4.388742] cfg80211: 5250000 KHz - 5330000 KHz @ 160000 KHz), (600 mBi, 2000 mBm)
[ 4.389895] cfg80211: Updating information on frequency 5300 MHz with regulatory rule:
[ 4.391090] cfg80211: 5250000 KHz - 5330000 KHz @ 160000 KHz), (600 mBi, 2000 mBm)
[ 4.392177] cfg80211: Updating information on frequency 5320 MHz with regulatory rule:
[ 4.393288] cfg80211: 5250000 KHz - 5330000 KHz @ 160000 KHz), (600 mBi, 2000 mBm)
[ 4.394428] cfg80211: Updating information on frequency 5500 MHz with regulatory rule:
[ 4.395600] cfg80211: 5490000 KHz - 5730000 KHz @ 160000 KHz), (600 mBi, 2000 mBm)
[ 4.396762] cfg80211: Updating information on frequency 5520 MHz with regulatory rule:
[ 4.397917] cfg80211: 5490000 KHz - 5730000 KHz @ 160000 KHz), (600 mBi, 2000 mBm)
[ 4.399032] cfg80211: Updating information on frequency 5540 MHz with regulatory rule:
[ 4.400292] cfg80211: 5490000 KHz - 5730000 KHz @ 160000 KHz), (600 mBi, 2000 mBm)
[ 4.401359] cfg80211: Updating information on frequency 5560 MHz with regulatory rule:
[ 4.402535] cfg80211: 5490000 KHz - 5730000 KHz @ 160000 KHz), (600 mBi, 2000 mBm)
[ 4.403786] cfg80211: Updating information on frequency 5580 MHz with regulatory rule:
[ 4.405032] cfg80211: 5490000 KHz - 5730000 KHz @ 160000 KHz), (600 mBi, 2000 mBm)
[ 4.406104] cfg80211: Updating information on frequency 5600 MHz with regulatory rule:
[ 4.407261] cfg80211: 5490000 KHz - 5730000 KHz @ 160000 KHz), (600 mBi, 2000 mBm)
[ 4.408336] cfg80211: Updating information on frequency 5620 MHz with regulatory rule:
[ 4.409509] cfg80211: 5490000 KHz - 5730000 KHz @ 160000 KHz), (600 mBi, 2000 mBm)
[ 4.410635] cfg80211: Updating information on frequency 5640 MHz with regulatory rule:
[ 4.411771] cfg80211: 5490000 KHz - 5730000 KHz @ 160000 KHz), (600 mBi, 2000 mBm)
[ 4.412887] cfg80211: Updating information on frequency 5660 MHz with regulatory rule:
[ 4.414024] cfg80211: 5490000 KHz - 5730000 KHz @ 160000 KHz), (600 mBi, 2000 mBm)
[ 4.415105] cfg80211: Updating information on frequency 5680 MHz with regulatory rule:
[ 4.416367] cfg80211: 5490000 KHz - 5730000 KHz @ 160000 KHz), (600 mBi, 2000 mBm)
[ 4.417438] cfg80211: Updating information on frequency 5700 MHz with regulatory rule:
[ 4.418578] cfg80211: 5490000 KHz - 5730000 KHz @ 160000 KHz), (600 mBi, 2000 mBm)
[ 4.419682] cfg80211: Disabling freq 5745 MHz
[ 4.420296] cfg80211: Disabling freq 5765 MHz
[ 4.420928] cfg80211: Disabling freq 5785 MHz
[ 4.421577] cfg80211: Disabling freq 5805 MHz
[ 4.422199] cfg80211: Disabling freq 5825 MHz
[ 4.424386] ieee80211 phy0: Failed to select rate control algorithm
[ 4.425487] ieee80211 phy0: Failed to initialize rate control algorithm
[ 4.429993] mac80211_hwsim: ieee80211_register_hw failed (-2)
[ 4.431132] BUG: unable to handle kernel paging request at cf3d7404
[ 4.431924] IP: [<c1179574>] kobject_get+0xf/0x3c
[ 4.431924] *pdpt = 0000000001dfd001 *pde = 000000000fdeb067 *pte = 800000000f3d7060
[ 4.431924] Oops: 0002 [#1] PREEMPT SMP DEBUG_PAGEALLOC
[ 4.431924] CPU: 1 PID: 1 Comm: swapper/0 Not tainted 3.14.0-rc4-next-20140228-05738-gb148a42 #8
[ 4.431924] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011
[ 4.431924] task: c0020000 ti: c0022000 task.ti: c0022000
[ 4.431924] EIP: 0060:[<c1179574>] EFLAGS: 00010286 CPU: 1
[ 4.431924] EIP is at kobject_get+0xf/0x3c
[ 4.431924] EAX: 00000001 EBX: cf3d73e8 ECX: c123a140 EDX: cf3d60b4
[ 4.431924] ESI: c1ba75bc EDI: 00000000 EBP: c0023ee4 ESP: c0023ee0
[ 4.431924] DS: 007b ES: 007b FS: 00d8 GS: 0000 SS: 0068
[ 4.431924] CR0: 8005003b CR2: cf3d7404 CR3: 01e00000 CR4: 000006b0
[ 4.431924] Stack:
[ 4.431924] cf3d73e0 c0023eec c12377de c0023f00 c123a165 c1ba75bc fffffffe 00000000
[ 4.431924] c0023f0c c1239433 c1ba75bc c0023f18 c123a535 00000000 c0023f20 c123b3aa
[ 4.431924] c0023f34 c1c4ac9f c1c4a8fa 00000000 c1ca3f34 c0023f90 c1c1e9d4 00000000
[ 4.431924] Call Trace:
[ 4.431924] [<c12377de>] get_device+0xf/0x17
[ 4.431924] [<c123a165>] driver_detach+0x38/0x8f
[ 4.431924] [<c1239433>] bus_remove_driver+0x53/0x66
[ 4.431924] [<c123a535>] driver_unregister+0x38/0x3d
[ 4.431924] [<c123b3aa>] platform_driver_unregister+0xb/0xd
[ 4.431924] [<c1c4ac9f>] init_mac80211_hwsim+0x3a5/0x3b6
[ 4.431924] [<c1c4a8fa>] ? carl9170_driver_init+0x16/0x16
[ 4.431924] [<c1c1e9d4>] do_one_initcall+0x6e/0xec
[ 4.431924] [<c1047c00>] ? param_set_charp+0x7/0x9f
[ 4.431924] [<c1047e61>] ? parse_args+0x16d/0x207
[ 4.431924] [<c1c1ebd9>] kernel_init_freeable+0x187/0x1ff
[ 4.431924] [<c172f2e1>] kernel_init+0x8/0xb8
[ 4.431924] [<c173ff37>] ret_from_kernel_thread+0x1b/0x28
[ 4.431924] [<c172f2d9>] ? rest_init+0x10d/0x10d
[ 4.431924] 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
[ 4.431924] EIP: [<c1179574>] kobject_get+0xf/0x3c SS:ESP 0068:c0023ee0
[ 4.431924] CR2: 00000000cf3d7404
[ 4.431924] ---[ end trace 794d003dd7f4bf37 ]---
[ 4.431924] Kernel panic - not syncing: Fatal exception
[ 4.431924] Kernel Offset: 0x0 from 0xc1000000 (relocation range: 0xc0000000-0xd07fdfff)
[ 4.431924] Rebooting in 10 seconds...
Hi Martin,
On Wed, Mar 12, 2014 at 06:08:06PM +0100, Martin Pitt wrote:
> Hey Fengguang,
>
> Fengguang Wu [2014-03-05 21:23 +0800]:
> > git bisect start v3.10 v3.9 --
[snip]
> > 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
>
> I noticed that this bisect list didn't include Sasha Levin's followup fix:
>
> http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/drivers/net/wireless/mac80211_hwsim.c?id=c07fe5ae06
>
> That was supposed to fix problems at registration. Is that actually
> inclued in your bisection? I suppose it is, but it's quite clear that
> with only 9ea927 you'd get crashes with building it statically.
The "git bisect start v3.10 v3.9" itself may not include that fixing
commit, however the bisect script will check latest mainline and
linux-next kernels at the end, and this line shows that linux-next at
that day is still bad:
> > git bisect bad b148a42ba7823e34971cd4e5b05a5c74fa3311ed # 04:30 0- 19 Add linux-next specific files for 20140228
I confirmed that b148a42ba7823e34971cd4e5b05a5c74fa3311ed does contain
the fixing commit c07fe5ae06.
Thanks,
Fengguang
On Sat, 2014-03-15 at 21:03 +0530, Krishna Chaitanya wrote:
> > > what RC are u using? Default should be minstrel, i dont see
> > > a reason for rc alloc to fail (remote reason kmalloc failure),
> > > so did you disable RC completely? No prints either w.r.t RC either in
> > > dmesg?
> >
> > Pay attention to the .config.
> >
> Missed the attachment, thanks for pointing.
> As guessed the rate control is empty causing the registration fail.
It still shouldn't crash though. Looks like there's a fix in this
thread, can somebody verify & post it?
Thx,
johannes