* Jaswinder Singh wrote:

> Hello Ingo,
>
> I am getting this while booting :
>
> hub 4-0:1.0: USB hub found
> hub 4-0:1.0: 2 ports detected
> BUG: scheduling while atomic: swapper/1/0x00000002
> Modules linked in:
> Pid: 1, comm: swapper Not tainted 2.6.27-rc1-tip #13
> [] schedule+0xa9/0x68a
> [] idr_get_empty_slot+0x13b/0x1e5
> [] idr_get_empty_slot+0x13b/0x1e5
> [] schedule_timeout+0x13/0x99
> [] __wake_up+0x29/0x39
> [] wait_for_common+0xab/0x105
> [] default_wake_function+0x0/0x8
> [] call_usermodehelper_exec+0x62/0xa2
> [] kobject_uevent_env+0x2d4/0x308
> [] device_add+0x3ab/0x4e6
> [] device_create_vargs+0x78/0x99
> [] device_create+0x1e/0x24
> [] misc_register+0xb4/0xef
> [] microcode_init+0x2a/0xb0
> [] _stext+0x3a/0x12a
> [] microcode_intel_module_init+0x0/0x35
> [] try_to_wake_up+0x154/0x15d
> [] __create_workqueue_key+0xcf/0x1c1
> [] kernel_init+0x177/0x1db
> [] kernel_init+0x0/0x1db
> [] kernel_thread_helper+0x7/0x10
> =======================
> BUG: scheduling while atomic: swapper/1/0x00000002
> Modules linked in:
> Pid: 1, comm: swapper Not tainted 2.6.27-rc1-tip #13
> [] schedule+0xa9/0x68a
> [] idr_get_empty_slot+0x13b/0x1e5
> [] schedule_timeout+0x13/0x99
> [] __wake_up+0x29/0x39
> [] wait_for_common+0xab/0x105
> [] default_wake_function+0x0/0x8
> [] call_usermodehelper_exec+0x62/0xa2
> [] kobject_uevent_env+0x2d4/0x308
> [] device_add+0x3ab/0x4e6
> [] strlcpy+0x11/0x3d
> [] platform_device_add+0xc9/0xf7
> [] platform_device_register_simple+0x34/0x4a
> [] microcode_init+0xa0/0xb0
> [] _stext+0x3a/0x12a
> [] microcode_intel_module_init+0x0/0x35
> [] try_to_wake_up+0x154/0x15d
> [] __create_workqueue_key+0xcf/0x1c1
> [] kernel_init+0x177/0x1db
> [] kernel_init+0x0/0x1db
> [] kernel_thread_helper+0x7/0x10
> =======================
> Microcode Update Driver: v2.00
>
> initcall microcode_intel_module_init+0x0/0x35 returned with preemption
> imbalance
> highmem bounce pool size: 64 pages
>
>
> Attaching config for reference.


i've Cc:-ed Peter Oruba who has changed this code recently. Peter,
there's apparently a preemption count leak in the new microcode
codepaths. Either a missing unlock or some cpu_get/put imbalance or
similar mishap. Any ideas?

Ingo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/