BUG: scheduling while atomic: chcpu/6197/0x00000002
Hi there ...
I run into the BUG by running 'chcpu --disable 1' on an "Intel(R) Core(TM)2 CPU" machine. I used 3.4.2-rt10 and I seems not to happen in vanilla 3.4.2.
I'll try 3.4.3 and 3.4.3-rt10 next and I'll send their results as a reply to this mail.
(Please CC: me, I'm not on LKML)
Thanks
Thomas
[ 554.815919] BUG: scheduling while atomic: chcpu/6197/0x00000002 [ 554.815923] Modules linked in: loop rfcomm bnep btusb hid_microsoft usbhid hid uhci_hcd ehci_hcd 3c59x mii e1000e sg usbcore usb_common [ 554.815942] Pid: 6197, comm: chcpu Not tainted 3.4.2-rt10 #19 [ 554.815945] Call Trace: [ 554.815953] [<c103df4d>] __schedule_bug+0x3d/0x42 [ 554.815958] [<c1355334>] __schedule+0x68/0x571 [ 554.815964] [<c1045844>] ? enqueue_entity+0x313/0x3d8 [ 554.815969] [<c13558e2>] schedule+0x60/0x70 [ 554.815972] [<c1354902>] schedule_timeout+0x17/0x160 [ 554.815977] [<c103ed57>] ? check_preempt_curr+0x29/0x64 [ 554.815981] [<c13551ed>] wait_for_common+0xa3/0xff [ 554.815985] [<c10412e2>] ? try_to_wake_up+0x391/0x391 [ 554.815989] [<c13552ca>] wait_for_completion+0x12/0x14 [ 554.815993] [<c103781c>] kthread_create_on_node+0x71/0xb5 [ 554.815997] [<c102542c>] ? put_online_cpus+0x44/0x44 [ 554.816002] [<c1350101>] ? init_amd+0x56f/0x64f [ 554.816007] [<c134719f>] _cpu_down+0x106/0x2b4 [ 554.816021] [<c102542c>] ? put_online_cpus+0x44/0x44 [ 554.816027] [<c1347372>] cpu_down+0x25/0x34 [ 554.816030] [<c13489b6>] store_online+0x29/0x70 [ 554.816034] [<c134898d>] ? acpi_processor_start+0xf7/0xf7 [ 554.816038] [<c127b037>] dev_attr_store+0x1b/0x23 [ 554.816043] [<c10eb6c6>] sysfs_write_file+0xae/0xe7 [ 554.816048] [<c10ab93e>] vfs_write+0x8c/0x122 [ 554.816052] [<c10eb618>] ? sysfs_poll+0x77/0x77 [ 554.816056] [<c10abb8f>] sys_write+0x3b/0x60 [ 554.816061] [<c1357823>] sysenter_do_call+0x12/0x2c [ 554.817316] BUG: scheduling while atomic: chcpu/6197/0x00000002 [ 554.817319] Modules linked in: loop rfcomm bnep btusb hid_microsoft usbhid hid uhci_hcd ehci_hcd 3c59x mii e1000e sg usbcore usb_common [ 554.817335] Pid: 6197, comm: chcpu Not tainted 3.4.2-rt10 #19 [ 554.817337] Call Trace: [ 554.817343] [<c103df4d>] __schedule_bug+0x3d/0x42 [ 554.817347] [<c1355334>] __schedule+0x68/0x571 [ 554.817351] [<c1356a61>] ? _raw_spin_unlock_irqrestore+0x1a/0x2f [ 554.817356] [<c103a992>] ? __hrtimer_start_range_ns+0x2cf/0x2f6 [ 554.817360] [<c13558e2>] schedule+0x60/0x70 [ 554.817364] [<c1354dea>] schedule_hrtimeout_range_clock+0xc5/0xec [ 554.817368] [<c103a202>] ? update_rmtp+0x68/0x68 [ 554.817372] [<c1354e1b>] schedule_hrtimeout_range+0xa/0xc [ 554.817376] [<c1354e29>] schedule_hrtimeout+0xc/0xe [ 554.817380] [<c103f197>] wait_task_inactive+0xc5/0xd6 [ 554.817385] [<c1037773>] kthread_bind+0x13/0x4b [ 554.817389] [<c13471ba>] _cpu_down+0x121/0x2b4 [ 554.817394] [<c1347372>] cpu_down+0x25/0x34 [ 554.817397] [<c13489b6>] store_online+0x29/0x70 [ 554.817401] [<c134898d>] ? acpi_processor_start+0xf7/0xf7 [ 554.817405] [<c127b037>] dev_attr_store+0x1b/0x23 [ 554.817409] [<c10eb6c6>] sysfs_write_file+0xae/0xe7 [ 554.817413] [<c10ab93e>] vfs_write+0x8c/0x122 [ 554.817417] [<c10eb618>] ? sysfs_poll+0x77/0x77 [ 554.817421] [<c10abb8f>] sys_write+0x3b/0x60 [ 554.817425] [<c1357823>] sysenter_do_call+0x12/0x2c [ 554.819134] BUG: scheduling while atomic: chcpu/6197/0x00000002 [ 554.819137] Modules linked in: loop rfcomm bnep btusb hid_microsoft usbhid hid uhci_hcd ehci_hcd 3c59x mii e1000e sg usbcore usb_common [ 554.819153] Pid: 6197, comm: chcpu Not tainted 3.4.2-rt10 #19 [ 554.819155] Call Trace: [ 554.819160] [<c103df4d>] __schedule_bug+0x3d/0x42 [ 554.819164] [<c1355334>] __schedule+0x68/0x571 [ 554.819170] [<c1008017>] ? sched_clock+0x9/0xd [ 554.819173] [<c10428f9>] ? sched_clock_local+0x11/0x12f [ 554.819178] [<c13558e2>] schedule+0x60/0x70 [ 554.819182] [<c1354902>] schedule_timeout+0x17/0x160 [ 554.819186] [<c13551ed>] wait_for_common+0xa3/0xff [ 554.819190] [<c10412e2>] ? try_to_wake_up+0x391/0x391 [ 554.819195] [<c13552ca>] wait_for_completion+0x12/0x14 [ 554.819199] [<c13471c9>] _cpu_down+0x130/0x2b4 [ 554.819203] [<c1347372>] cpu_down+0x25/0x34 [ 554.819207] [<c13489b6>] store_online+0x29/0x70 [ 554.819210] [<c134898d>] ? acpi_processor_start+0xf7/0xf7 [ 554.819214] [<c127b037>] dev_attr_store+0x1b/0x23 [ 554.819219] [<c10eb6c6>] sysfs_write_file+0xae/0xe7 [ 554.819223] [<c10ab93e>] vfs_write+0x8c/0x122 [ 554.819227] [<c10eb618>] ? sysfs_poll+0x77/0x77 [ 554.819230] [<c10abb8f>] sys_write+0x3b/0x60 [ 554.819235] [<c1357823>] sysenter_do_call+0x12/0x2c [ 554.819269] BUG: scheduling while atomic: chcpu/6197/0x00000002 [ 554.819271] Modules linked in: loop rfcomm bnep btusb hid_microsoft usbhid hid uhci_hcd ehci_hcd 3c59x mii e1000e sg usbcore usb_common [ 554.819287] Pid: 6197, comm: chcpu Not tainted 3.4.2-rt10 #19 [ 554.819289] Call Trace: [ 554.819293] [<c103df4d>] __schedule_bug+0x3d/0x42 [ 554.819297] [<c1355334>] __schedule+0x68/0x571 [ 554.819302] [<c1008017>] ? sched_clock+0x9/0xd [ 554.819306] [<c10428f9>] ? sched_clock_local+0x11/0x12f [ 554.819312] [<c13558e2>] schedule+0x60/0x70 [ 554.819316] [<c1354902>] schedule_timeout+0x17/0x160 [ 554.819320] [<c13551ed>] wait_for_common+0xa3/0xff [ 554.819324] [<c10412e2>] ? try_to_wake_up+0x391/0x391 [ 554.819328] [<c13552ca>] wait_for_completion+0x12/0x14 [ 554.819332] [<c1037742>] kthread_stop+0x2d/0x4b [ 554.819337] [<c10330fa>] destroy_worker+0x54/0x74 [ 554.819341] [<c1348d37>] workqueue_cpu_down_callback+0x193/0x251 [ 554.819346] [<c1185d3d>] ? compute_batch_value+0x19/0x29 [ 554.819350] [<c1353d1e>] ? percpu_counter_hotcpu_callback+0x13/0x8b [ 554.819354] [<c103b6b9>] notifier_call_chain+0x26/0x48 [ 554.819358] [<c103b6fd>] __raw_notifier_call_chain+0xe/0x10 [ 554.819362] [<c1025331>] __cpu_notify+0x15/0x29 [ 554.819367] [<c13471f1>] _cpu_down+0x158/0x2b4 [ 554.819371] [<c1347372>] cpu_down+0x25/0x34 [ 554.819375] [<c13489b6>] store_online+0x29/0x70 [ 554.819378] [<c134898d>] ? acpi_processor_start+0xf7/0xf7 [ 554.819382] [<c127b037>] dev_attr_store+0x1b/0x23 [ 554.819386] [<c10eb6c6>] sysfs_write_file+0xae/0xe7 [ 554.819390] [<c10ab93e>] vfs_write+0x8c/0x122 [ 554.819394] [<c10eb618>] ? sysfs_poll+0x77/0x77 [ 554.819398] [<c10abb8f>] sys_write+0x3b/0x60 [ 554.819402] [<c1357823>] sysenter_do_call+0x12/0x2c [ 554.819421] BUG: scheduling while atomic: chcpu/6197/0x00000002 [ 554.819424] Modules linked in: loop rfcomm bnep btusb hid_microsoft usbhid hid uhci_hcd ehci_hcd 3c59x mii e1000e sg usbcore usb_common [ 554.819439] Pid: 6197, comm: chcpu Not tainted 3.4.2-rt10 #19 [ 554.819442] Call Trace: [ 554.819446] [<c103df4d>] __schedule_bug+0x3d/0x42 [ 554.819450] [<c1355334>] __schedule+0x68/0x571 [ 554.819455] [<c1008017>] ? sched_clock+0x9/0xd [ 554.819459] [<c10428f9>] ? sched_clock_local+0x11/0x12f [ 554.819463] [<c13558e2>] schedule+0x60/0x70 [ 554.819466] [<c1354902>] schedule_timeout+0x17/0x160 [ 554.819471] [<c13551ed>] wait_for_common+0xa3/0xff [ 554.819475] [<c10412e2>] ? try_to_wake_up+0x391/0x391 [ 554.819478] [<c13552ca>] wait_for_completion+0x12/0x14 [ 554.819482] [<c1037742>] kthread_stop+0x2d/0x4b [ 554.819486] [<c10330fa>] destroy_worker+0x54/0x74 [ 554.819491] [<c1348d37>] workqueue_cpu_down_callback+0x193/0x251 [ 554.819495] [<c1185d3d>] ? compute_batch_value+0x19/0x29 [ 554.819499] [<c1353d1e>] ? percpu_counter_hotcpu_callback+0x13/0x8b [ 554.819504] [<c103b6b9>] notifier_call_chain+0x26/0x48 [ 554.819508] [<c103b6fd>] __raw_notifier_call_chain+0xe/0x10 [ 554.819512] [<c1025331>] __cpu_notify+0x15/0x29 [ 554.819516] [<c13471f1>] _cpu_down+0x158/0x2b4 [ 554.819521] [<c1347372>] cpu_down+0x25/0x34 [ 554.819524] [<c13489b6>] store_online+0x29/0x70 [ 554.819528] [<c134898d>] ? acpi_processor_start+0xf7/0xf7 [ 554.819532] [<c127b037>] dev_attr_store+0x1b/0x23 [ 554.819536] [<c10eb6c6>] sysfs_write_file+0xae/0xe7 [ 554.819540] [<c10ab93e>] vfs_write+0x8c/0x122 [ 554.819544] [<c10eb618>] ? sysfs_poll+0x77/0x77 [ 554.819548] [<c10abb8f>] sys_write+0x3b/0x60 [ 554.819552] [<c1357823>] sysenter_do_call+0x12/0x2c
Vanilla 3.4.3 seems to work, but 3.4.3-rt10 bugs too:
[ 247.758134] BUG: scheduling while atomic: chcpu/2947/0x00000002 [ 247.758137] Modules linked in: loop rfcomm bnep btusb hid_microsoft usbhid hid 3c59x uhci_hcd mii ehci_hcd e1000e usbcore usb_common sg [ 247.758157] Pid: 2947, comm: chcpu Not tainted 3.4.3-rt10 #22 [ 247.758159] Call Trace: [ 247.758168] [<c103df4d>] __schedule_bug+0x3d/0x42 [ 247.758173] [<c1355394>] __schedule+0x68/0x571 [ 247.758179] [<c1045840>] ? enqueue_entity+0x313/0x3d8 [ 247.758183] [<c103e7da>] ? resched_task+0x3c/0x5a [ 247.758187] [<c1355942>] schedule+0x60/0x70 [ 247.758191] [<c1354962>] schedule_timeout+0x17/0x160 [ 247.758195] [<c103ed57>] ? check_preempt_curr+0x29/0x64 [ 247.758200] [<c135524d>] wait_for_common+0xa3/0xff [ 247.758204] [<c10412e2>] ? try_to_wake_up+0x391/0x391 [ 247.758208] [<c135532a>] wait_for_completion+0x12/0x14 [ 247.758213] [<c103781c>] kthread_create_on_node+0x71/0xb5 [ 247.758217] [<c102542c>] ? put_online_cpus+0x44/0x44 [ 247.758222] [<c1350101>] ? init_amd+0x50f/0x64f [ 247.758227] [<c13471ff>] _cpu_down+0x106/0x2b4 [ 247.758231] [<c102542c>] ? put_online_cpus+0x44/0x44 [ 247.758236] [<c13473d2>] cpu_down+0x25/0x34 [ 247.758240] [<c1348a16>] store_online+0x29/0x70 [ 247.758244] [<c13489ed>] ? acpi_processor_start+0xf7/0xf7 [ 247.758248] [<c127b06f>] dev_attr_store+0x1b/0x23 [ 247.758254] [<c10eb6ce>] sysfs_write_file+0xae/0xe7 [ 247.758259] [<c10ab946>] vfs_write+0x8c/0x122 [ 247.758263] [<c10eb620>] ? sysfs_poll+0x77/0x77 [ 247.758267] [<c10abb97>] sys_write+0x3b/0x60 [ 247.758272] [<c1357863>] sysenter_do_call+0x12/0x2c [ 247.758297] BUG: scheduling while atomic: chcpu/2947/0x00000002 [ 247.758299] Modules linked in: loop rfcomm bnep btusb hid_microsoft usbhid hid 3c59x uhci_hcd mii ehci_hcd e1000e usbcore usb_common sg [ 247.758315] Pid: 2947, comm: chcpu Not tainted 3.4.3-rt10 #22 [ 247.758317] Call Trace: [ 247.758322] [<c103df4d>] __schedule_bug+0x3d/0x42 [ 247.758326] [<c1355394>] __schedule+0x68/0x571 [ 247.758331] [<c1356ac1>] ? _raw_spin_unlock_irqrestore+0x1a/0x2f [ 247.758335] [<c103a992>] ? __hrtimer_start_range_ns+0x2cf/0x2f6 [ 247.758340] [<c1355942>] schedule+0x60/0x70 [ 247.758344] [<c1354e4a>] schedule_hrtimeout_range_clock+0xc5/0xec [ 247.758348] [<c103a202>] ? update_rmtp+0x68/0x68 [ 247.758352] [<c1354e7b>] schedule_hrtimeout_range+0xa/0xc [ 247.758356] [<c1354e89>] schedule_hrtimeout+0xc/0xe [ 247.758361] [<c103f197>] wait_task_inactive+0xc5/0xd6 [ 247.758365] [<c1037773>] kthread_bind+0x13/0x4b [ 247.758369] [<c134721a>] _cpu_down+0x121/0x2b4 [ 247.758374] [<c13473d2>] cpu_down+0x25/0x34 [ 247.758378] [<c1348a16>] store_online+0x29/0x70 [ 247.758381] [<c13489ed>] ? acpi_processor_start+0xf7/0xf7 [ 247.758385] [<c127b06f>] dev_attr_store+0x1b/0x23 [ 247.758390] [<c10eb6ce>] sysfs_write_file+0xae/0xe7 [ 247.758394] [<c10ab946>] vfs_write+0x8c/0x122 [ 247.758398] [<c10eb620>] ? sysfs_poll+0x77/0x77 [ 247.758402] [<c10abb97>] sys_write+0x3b/0x60 [ 247.758406] [<c1357863>] sysenter_do_call+0x12/0x2c [ 247.761021] BUG: scheduling while atomic: chcpu/2947/0x00000002 [ 247.761024] Modules linked in: loop rfcomm bnep btusb hid_microsoft usbhid hid 3c59x uhci_hcd mii ehci_hcd e1000e usbcore usb_common sg [ 247.761040] Pid: 2947, comm: chcpu Not tainted 3.4.3-rt10 #22 [ 247.761042] Call Trace: [ 247.761048] [<c103df4d>] __schedule_bug+0x3d/0x42 [ 247.761052] [<c1355394>] __schedule+0x68/0x571 [ 247.761058] [<c1008017>] ? sched_clock+0x9/0xd [ 247.761062] [<c10428f5>] ? sched_clock_local+0x11/0x12f [ 247.761067] [<c1355942>] schedule+0x60/0x70 [ 247.761070] [<c1354962>] schedule_timeout+0x17/0x160 [ 247.761075] [<c135524d>] wait_for_common+0xa3/0xff [ 247.761079] [<c10412e2>] ? try_to_wake_up+0x391/0x391 [ 247.761083] [<c135532a>] wait_for_completion+0x12/0x14 [ 247.761087] [<c1347229>] _cpu_down+0x130/0x2b4 [ 247.761092] [<c13473d2>] cpu_down+0x25/0x34 [ 247.761095] [<c1348a16>] store_online+0x29/0x70 [ 247.761099] [<c13489ed>] ? acpi_processor_start+0xf7/0xf7 [ 247.761103] [<c127b06f>] dev_attr_store+0x1b/0x23 [ 247.761108] [<c10eb6ce>] sysfs_write_file+0xae/0xe7 [ 247.761112] [<c10ab946>] vfs_write+0x8c/0x122 [ 247.761116] [<c10eb620>] ? sysfs_poll+0x77/0x77 [ 247.761120] [<c10abb97>] sys_write+0x3b/0x60 [ 247.761124] [<c1357863>] sysenter_do_call+0x12/0x2c [ 247.761159] BUG: scheduling while atomic: chcpu/2947/0x00000002 [ 247.761161] Modules linked in: loop rfcomm bnep btusb hid_microsoft usbhid hid 3c59x uhci_hcd mii ehci_hcd e1000e usbcore usb_common sg [ 247.761177] Pid: 2947, comm: chcpu Not tainted 3.4.3-rt10 #22 [ 247.761179] Call Trace: [ 247.761184] [<c103df4d>] __schedule_bug+0x3d/0x42 [ 247.761188] [<c1355394>] __schedule+0x68/0x571 [ 247.761193] [<c1008017>] ? sched_clock+0x9/0xd [ 247.761197] [<c10428f5>] ? sched_clock_local+0x11/0x12f [ 247.761201] [<c1355942>] schedule+0x60/0x70 [ 247.761205] [<c1354962>] schedule_timeout+0x17/0x160 [ 247.761210] [<c135524d>] wait_for_common+0xa3/0xff [ 247.761214] [<c10412e2>] ? try_to_wake_up+0x391/0x391 [ 247.761218] [<c135532a>] wait_for_completion+0x12/0x14 [ 247.761222] [<c1037742>] kthread_stop+0x2d/0x4b [ 247.761227] [<c10330fa>] destroy_worker+0x54/0x74 [ 247.761231] [<c1348d97>] workqueue_cpu_down_callback+0x193/0x251 [ 247.761236] [<c1185d7d>] ? compute_batch_value+0x19/0x29 [ 247.761240] [<c1353d7e>] ? percpu_counter_hotcpu_callback+0x13/0x8b [ 247.761245] [<c103b6b9>] notifier_call_chain+0x26/0x48 [ 247.761249] [<c103b6fd>] __raw_notifier_call_chain+0xe/0x10 [ 247.761253] [<c1025331>] __cpu_notify+0x15/0x29 [ 247.761257] [<c1347251>] _cpu_down+0x158/0x2b4 [ 247.761262] [<c13473d2>] cpu_down+0x25/0x34 [ 247.761266] [<c1348a16>] store_online+0x29/0x70 [ 247.761269] [<c13489ed>] ? acpi_processor_start+0xf7/0xf7 [ 247.761273] [<c127b06f>] dev_attr_store+0x1b/0x23 [ 247.761278] [<c10eb6ce>] sysfs_write_file+0xae/0xe7 [ 247.761282] [<c10ab946>] vfs_write+0x8c/0x122 [ 247.761286] [<c10eb620>] ? sysfs_poll+0x77/0x77 [ 247.761290] [<c10abb97>] sys_write+0x3b/0x60 [ 247.761294] [<c1357863>] sysenter_do_call+0x12/0x2c [ 247.761301] BUG: scheduling while atomic: chcpu/2947/0x00000002 [ 247.761303] Modules linked in: loop rfcomm bnep btusb hid_microsoft usbhid hid 3c59x uhci_hcd mii ehci_hcd e1000e usbcore usb_common sg [ 247.761319] Pid: 2947, comm: chcpu Not tainted 3.4.3-rt10 #22 [ 247.761322] Call Trace: [ 247.761326] [<c103df4d>] __schedule_bug+0x3d/0x42 [ 247.761330] [<c1355394>] __schedule+0x68/0x571 [ 247.761335] [<c1008017>] ? sched_clock+0x9/0xd [ 247.761341] [<c10428f5>] ? sched_clock_local+0x11/0x12f [ 247.761345] [<c1355942>] schedule+0x60/0x70 [ 247.761349] [<c1354962>] schedule_timeout+0x17/0x160 [ 247.761353] [<c135524d>] wait_for_common+0xa3/0xff [ 247.761357] [<c10412e2>] ? try_to_wake_up+0x391/0x391 [ 247.761361] [<c135532a>] wait_for_completion+0x12/0x14 [ 247.761365] [<c1037742>] kthread_stop+0x2d/0x4b [ 247.761369] [<c10330fa>] destroy_worker+0x54/0x74 [ 247.761373] [<c1348d97>] workqueue_cpu_down_callback+0x193/0x251 [ 247.761378] [<c1185d7d>] ? compute_batch_value+0x19/0x29 [ 247.761382] [<c1353d7e>] ? percpu_counter_hotcpu_callback+0x13/0x8b [ 247.761387] [<c103b6b9>] notifier_call_chain+0x26/0x48 [ 247.761391] [<c103b6fd>] __raw_notifier_call_chain+0xe/0x10 [ 247.761395] [<c1025331>] __cpu_notify+0x15/0x29 [ 247.761399] [<c1347251>] _cpu_down+0x158/0x2b4 [ 247.761404] [<c13473d2>] cpu_down+0x25/0x34 [ 247.761407] [<c1348a16>] store_online+0x29/0x70 [ 247.761411] [<c13489ed>] ? acpi_processor_start+0xf7/0xf7 [ 247.761415] [<c127b06f>] dev_attr_store+0x1b/0x23 [ 247.761420] [<c10eb6ce>] sysfs_write_file+0xae/0xe7 [ 247.761424] [<c10ab946>] vfs_write+0x8c/0x122 [ 247.761428] [<c10eb620>] ? sysfs_poll+0x77/0x77 [ 247.761432] [<c10abb97>] sys_write+0x3b/0x60 [ 247.761436] [<c1357863>] sysenter_do_call+0x12/0x2c [ 247.761455] BUG: scheduling while atomic: chcpu/2947/0x00000002 [ 247.761457] Modules linked in: loop rfcomm bnep btusb hid_microsoft usbhid hid 3c59x uhci_hcd mii ehci_hcd e1000e usbcore usb_common sg [ 247.761473] Pid: 2947, comm: chcpu Not tainted 3.4.3-rt10 #22 [ 247.761475] Call Trace: [ 247.761479] [<c103df4d>] __schedule_bug+0x3d/0x42 [ 247.761483] [<c1355394>] __schedule+0x68/0x571 [ 247.761489] [<c1008017>] ? sched_clock+0x9/0xd [ 247.761492] [<c10428f5>] ? sched_clock_local+0x11/0x12f [ 247.761497] [<c1355942>] schedule+0x60/0x70 [ 247.761501] [<c1354962>] schedule_timeout+0x17/0x160 [ 247.761505] [<c135524d>] wait_for_common+0xa3/0xff [ 247.761509] [<c10412e2>] ? try_to_wake_up+0x391/0x391 [ 247.761513] [<c135532a>] wait_for_completion+0x12/0x14 [ 247.761517] [<c1037742>] kthread_stop+0x2d/0x4b [ 247.761521] [<c10330fa>] destroy_worker+0x54/0x74 [ 247.761525] [<c1348d97>] workqueue_cpu_down_callback+0x193/0x251 [ 247.761530] [<c1185d7d>] ? compute_batch_value+0x19/0x29 [ 247.761534] [<c1353d7e>] ? percpu_counter_hotcpu_callback+0x13/0x8b [ 247.761539] [<c103b6b9>] notifier_call_chain+0x26/0x48 [ 247.761543] [<c103b6fd>] __raw_notifier_call_chain+0xe/0x10 [ 247.761547] [<c1025331>] __cpu_notify+0x15/0x29 [ 247.761551] [<c1347251>] _cpu_down+0x158/0x2b4 [ 247.761556] [<c13473d2>] cpu_down+0x25/0x34 [ 247.761560] [<c1348a16>] store_online+0x29/0x70 [ 247.761563] [<c13489ed>] ? acpi_processor_start+0xf7/0xf7 [ 247.761567] [<c127b06f>] dev_attr_store+0x1b/0x23 [ 247.761572] [<c10eb6ce>] sysfs_write_file+0xae/0xe7 [ 247.761576] [<c10ab946>] vfs_write+0x8c/0x122 [ 247.761580] [<c10eb620>] ? sysfs_poll+0x77/0x77 [ 247.761584] [<c10abb97>] sys_write+0x3b/0x60 [ 247.761588] [<c1357863>] sysenter_do_call+0x12/0x2c
Still in 3.4.3-rt11:
[ 191.423385] BUG: scheduling while atomic: chcpu/2831/0x00000002 [ 191.423389] Modules linked in: loop rfcomm bnep btusb hid_microsoft usbhid hid uhci_hcd e1000e ehci_hcd usbcore 3c59x mii usb_common sg [ 191.423408] Pid: 2831, comm: chcpu Not tainted 3.4.3-rt11 #29 [ 191.423411] Call Trace: [ 191.423419] [<c103df4d>] __schedule_bug+0x3d/0x42 [ 191.423424] [<c1355394>] __schedule+0x68/0x571 [ 191.423430] [<c1045840>] ? enqueue_entity+0x313/0x3d8 [ 191.423434] [<c1355942>] schedule+0x60/0x70 [ 191.423438] [<c1354962>] schedule_timeout+0x17/0x160 [ 191.423442] [<c103ed57>] ? check_preempt_curr+0x29/0x64 [ 191.423447] [<c135524d>] wait_for_common+0xa3/0xff [ 191.423451] [<c10412e2>] ? try_to_wake_up+0x391/0x391 [ 191.423455] [<c135532a>] wait_for_completion+0x12/0x14 [ 191.423459] [<c103781c>] kthread_create_on_node+0x71/0xb5 [ 191.423464] [<c102542c>] ? put_online_cpus+0x44/0x44 [ 191.423469] [<c1350101>] ? init_amd+0x50f/0x64f [ 191.423474] [<c13471ff>] _cpu_down+0x106/0x2b4 [ 191.423478] [<c102542c>] ? put_online_cpus+0x44/0x44 [ 191.423483] [<c13473d2>] cpu_down+0x25/0x34 [ 191.423486] [<c1348a16>] store_online+0x29/0x70 [ 191.423490] [<c13489ed>] ? acpi_processor_start+0xf7/0xf7 [ 191.423495] [<c127b06f>] dev_attr_store+0x1b/0x23 [ 191.423500] [<c10eb6ce>] sysfs_write_file+0xae/0xe7 [ 191.423505] [<c10ab946>] vfs_write+0x8c/0x122 [ 191.423509] [<c10eb620>] ? sysfs_poll+0x77/0x77 [ 191.423513] [<c10abb97>] sys_write+0x3b/0x60 [ 191.423518] [<c1357863>] sysenter_do_call+0x12/0x2c [ 191.423543] BUG: scheduling while atomic: chcpu/2831/0x00000002 [ 191.423545] Modules linked in: loop rfcomm bnep btusb hid_microsoft usbhid hid uhci_hcd e1000e ehci_hcd usbcore 3c59x mii usb_common sg [ 191.423560] Pid: 2831, comm: chcpu Not tainted 3.4.3-rt11 #29 [ 191.423563] Call Trace: [ 191.423567] [<c103df4d>] __schedule_bug+0x3d/0x42 [ 191.423571] [<c1355394>] __schedule+0x68/0x571 [ 191.423576] [<c1356ac1>] ? _raw_spin_unlock_irqrestore+0x1a/0x2f [ 191.423580] [<c103a992>] ? __hrtimer_start_range_ns+0x2cf/0x2f6 [ 191.423585] [<c1355942>] schedule+0x60/0x70 [ 191.423589] [<c1354e4a>] schedule_hrtimeout_range_clock+0xc5/0xec [ 191.423593] [<c103a202>] ? update_rmtp+0x68/0x68 [ 191.423598] [<c1354e7b>] schedule_hrtimeout_range+0xa/0xc [ 191.423602] [<c1354e89>] schedule_hrtimeout+0xc/0xe [ 191.423606] [<c103f197>] wait_task_inactive+0xc5/0xd6 [ 191.423610] [<c1037773>] kthread_bind+0x13/0x4b [ 191.423615] [<c134721a>] _cpu_down+0x121/0x2b4 [ 191.423619] [<c13473d2>] cpu_down+0x25/0x34 [ 191.423623] [<c1348a16>] store_online+0x29/0x70 [ 191.423627] [<c13489ed>] ? acpi_processor_start+0xf7/0xf7 [ 191.423631] [<c127b06f>] dev_attr_store+0x1b/0x23 [ 191.423635] [<c10eb6ce>] sysfs_write_file+0xae/0xe7 [ 191.423639] [<c10ab946>] vfs_write+0x8c/0x122 [ 191.423643] [<c10eb620>] ? sysfs_poll+0x77/0x77 [ 191.423647] [<c10abb97>] sys_write+0x3b/0x60 [ 191.423652] [<c1357863>] sysenter_do_call+0x12/0x2c [ 191.426368] BUG: scheduling while atomic: chcpu/2831/0x00000002 [ 191.426371] Modules linked in: loop rfcomm bnep btusb hid_microsoft usbhid hid uhci_hcd e1000e ehci_hcd usbcore 3c59x mii usb_common sg [ 191.426387] Pid: 2831, comm: chcpu Not tainted 3.4.3-rt11 #29 [ 191.426389] Call Trace: [ 191.426394] [<c103df4d>] __schedule_bug+0x3d/0x42 [ 191.426399] [<c1355394>] __schedule+0x68/0x571 [ 191.426405] [<c1008017>] ? sched_clock+0x9/0xd [ 191.426409] [<c10428f5>] ? sched_clock_local+0x11/0x12f [ 191.426413] [<c1355942>] schedule+0x60/0x70 [ 191.426417] [<c1354962>] schedule_timeout+0x17/0x160 [ 191.426421] [<c135524d>] wait_for_common+0xa3/0xff [ 191.426425] [<c10412e2>] ? try_to_wake_up+0x391/0x391 [ 191.426430] [<c135532a>] wait_for_completion+0x12/0x14 [ 191.426434] [<c1347229>] _cpu_down+0x130/0x2b4 [ 191.426439] [<c13473d2>] cpu_down+0x25/0x34 [ 191.426442] [<c1348a16>] store_online+0x29/0x70 [ 191.426446] [<c13489ed>] ? acpi_processor_start+0xf7/0xf7 [ 191.426450] [<c127b06f>] dev_attr_store+0x1b/0x23 [ 191.426454] [<c10eb6ce>] sysfs_write_file+0xae/0xe7 [ 191.426459] [<c10ab946>] vfs_write+0x8c/0x122 [ 191.426463] [<c10eb620>] ? sysfs_poll+0x77/0x77 [ 191.426467] [<c10abb97>] sys_write+0x3b/0x60 [ 191.426471] [<c1357863>] sysenter_do_call+0x12/0x2c [ 191.426507] BUG: scheduling while atomic: chcpu/2831/0x00000002 [ 191.426509] Modules linked in: loop rfcomm bnep btusb hid_microsoft usbhid hid uhci_hcd e1000e ehci_hcd usbcore 3c59x mii usb_common sg [ 191.426525] Pid: 2831, comm: chcpu Not tainted 3.4.3-rt11 #29 [ 191.426527] Call Trace: [ 191.426531] [<c103df4d>] __schedule_bug+0x3d/0x42 [ 191.426535] [<c1355394>] __schedule+0x68/0x571 [ 191.426540] [<c1008017>] ? sched_clock+0x9/0xd [ 191.426544] [<c10428f5>] ? sched_clock_local+0x11/0x12f [ 191.426549] [<c1355942>] schedule+0x60/0x70 [ 191.426553] [<c1354962>] schedule_timeout+0x17/0x160 [ 191.426557] [<c135524d>] wait_for_common+0xa3/0xff [ 191.426561] [<c10412e2>] ? try_to_wake_up+0x391/0x391 [ 191.426565] [<c135532a>] wait_for_completion+0x12/0x14 [ 191.426569] [<c1037742>] kthread_stop+0x2d/0x4b [ 191.426574] [<c10330fa>] destroy_worker+0x54/0x74 [ 191.426578] [<c1348d97>] workqueue_cpu_down_callback+0x193/0x251 [ 191.426583] [<c1185d7d>] ? compute_batch_value+0x19/0x29 [ 191.426588] [<c1353d7e>] ? percpu_counter_hotcpu_callback+0x13/0x8b [ 191.426593] [<c103b6b9>] notifier_call_chain+0x26/0x48 [ 191.426597] [<c103b6fd>] __raw_notifier_call_chain+0xe/0x10 [ 191.426601] [<c1025331>] __cpu_notify+0x15/0x29 [ 191.426605] [<c1347251>] _cpu_down+0x158/0x2b4 [ 191.426610] [<c13473d2>] cpu_down+0x25/0x34 [ 191.426614] [<c1348a16>] store_online+0x29/0x70 [ 191.426617] [<c13489ed>] ? acpi_processor_start+0xf7/0xf7 [ 191.426622] [<c127b06f>] dev_attr_store+0x1b/0x23 [ 191.426626] [<c10eb6ce>] sysfs_write_file+0xae/0xe7 [ 191.426630] [<c10ab946>] vfs_write+0x8c/0x122 [ 191.426634] [<c10eb620>] ? sysfs_poll+0x77/0x77 [ 191.426638] [<c10abb97>] sys_write+0x3b/0x60 [ 191.426643] [<c1357863>] sysenter_do_call+0x12/0x2c [ 191.426650] BUG: scheduling while atomic: chcpu/2831/0x00000002 [ 191.426652] Modules linked in: loop rfcomm bnep btusb hid_microsoft usbhid hid uhci_hcd e1000e ehci_hcd usbcore 3c59x mii usb_common sg [ 191.426667] Pid: 2831, comm: chcpu Not tainted 3.4.3-rt11 #29 [ 191.426670] Call Trace: [ 191.426674] [<c103df4d>] __schedule_bug+0x3d/0x42 [ 191.426678] [<c1355394>] __schedule+0x68/0x571 [ 191.426683] [<c1008017>] ? sched_clock+0x9/0xd [ 191.426687] [<c10428f5>] ? sched_clock_local+0x11/0x12f [ 191.426691] [<c1355942>] schedule+0x60/0x70 [ 191.426695] [<c1354962>] schedule_timeout+0x17/0x160 [ 191.426699] [<c135524d>] wait_for_common+0xa3/0xff [ 191.426703] [<c10412e2>] ? try_to_wake_up+0x391/0x391 [ 191.426708] [<c135532a>] wait_for_completion+0x12/0x14 [ 191.426712] [<c1037742>] kthread_stop+0x2d/0x4b [ 191.426716] [<c10330fa>] destroy_worker+0x54/0x74 [ 191.426720] [<c1348d97>] workqueue_cpu_down_callback+0x193/0x251 [ 191.426724] [<c1185d7d>] ? compute_batch_value+0x19/0x29 [ 191.426729] [<c1353d7e>] ? percpu_counter_hotcpu_callback+0x13/0x8b [ 191.426733] [<c103b6b9>] notifier_call_chain+0x26/0x48 [ 191.426738] [<c103b6fd>] __raw_notifier_call_chain+0xe/0x10 [ 191.426742] [<c1025331>] __cpu_notify+0x15/0x29 [ 191.426746] [<c1347251>] _cpu_down+0x158/0x2b4 [ 191.426751] [<c13473d2>] cpu_down+0x25/0x34 [ 191.426754] [<c1348a16>] store_online+0x29/0x70 [ 191.426758] [<c13489ed>] ? acpi_processor_start+0xf7/0xf7 [ 191.426762] [<c127b06f>] dev_attr_store+0x1b/0x23 [ 191.426766] [<c10eb6ce>] sysfs_write_file+0xae/0xe7 [ 191.426771] [<c10ab946>] vfs_write+0x8c/0x122 [ 191.426775] [<c10eb620>] ? sysfs_poll+0x77/0x77 [ 191.426779] [<c10abb97>] sys_write+0x3b/0x60 [ 191.426783] [<c1357863>] sysenter_do_call+0x12/0x2c [ 191.426789] BUG: scheduling while atomic: chcpu/2831/0x00000002 [ 191.426791] Modules linked in: loop rfcomm bnep btusb hid_microsoft usbhid hid uhci_hcd e1000e ehci_hcd usbcore 3c59x mii usb_common sg [ 191.426807] Pid: 2831, comm: chcpu Not tainted 3.4.3-rt11 #29 [ 191.426809] Call Trace: [ 191.426813] [<c103df4d>] __schedule_bug+0x3d/0x42 [ 191.426817] [<c1355394>] __schedule+0x68/0x571 [ 191.426822] [<c1008017>] ? sched_clock+0x9/0xd [ 191.426828] [<c10428f5>] ? sched_clock_local+0x11/0x12f [ 191.426832] [<c1355942>] schedule+0x60/0x70 [ 191.426836] [<c1354962>] schedule_timeout+0x17/0x160 [ 191.426840] [<c135524d>] wait_for_common+0xa3/0xff [ 191.426845] [<c10412e2>] ? try_to_wake_up+0x391/0x391 [ 191.426849] [<c135532a>] wait_for_completion+0x12/0x14 [ 191.426853] [<c1037742>] kthread_stop+0x2d/0x4b [ 191.426857] [<c10330fa>] destroy_worker+0x54/0x74 [ 191.426861] [<c1348d97>] workqueue_cpu_down_callback+0x193/0x251 [ 191.426865] [<c1185d7d>] ? compute_batch_value+0x19/0x29 [ 191.426870] [<c1353d7e>] ? percpu_counter_hotcpu_callback+0x13/0x8b [ 191.426874] [<c103b6b9>] notifier_call_chain+0x26/0x48 [ 191.426879] [<c103b6fd>] __raw_notifier_call_chain+0xe/0x10 [ 191.426883] [<c1025331>] __cpu_notify+0x15/0x29 [ 191.426887] [<c1347251>] _cpu_down+0x158/0x2b4 [ 191.426892] [<c13473d2>] cpu_down+0x25/0x34 [ 191.426895] [<c1348a16>] store_online+0x29/0x70 [ 191.426899] [<c13489ed>] ? acpi_processor_start+0xf7/0xf7 [ 191.426903] [<c127b06f>] dev_attr_store+0x1b/0x23 [ 191.426907] [<c10eb6ce>] sysfs_write_file+0xae/0xe7 [ 191.426912] [<c10ab946>] vfs_write+0x8c/0x122 [ 191.426916] [<c10eb620>] ? sysfs_poll+0x77/0x77 [ 191.426920] [<c10abb97>] sys_write+0x3b/0x60 [ 191.426924] [<c1357863>] sysenter_do_call+0x12/0x2c [ 191.426943] BUG: scheduling while atomic: chcpu/2831/0x00000002 [ 191.426945] Modules linked in: loop rfcomm bnep btusb hid_microsoft usbhid hid uhci_hcd e1000e ehci_hcd usbcore 3c59x mii usb_common sg [ 191.426960] Pid: 2831, comm: chcpu Not tainted 3.4.3-rt11 #29 [ 191.426963] Call Trace: [ 191.426967] [<c103df4d>] __schedule_bug+0x3d/0x42 [ 191.426971] [<c1355394>] __schedule+0x68/0x571 [ 191.426976] [<c1008017>] ? sched_clock+0x9/0xd [ 191.426980] [<c10428f5>] ? sched_clock_local+0x11/0x12f [ 191.426985] [<c1355942>] schedule+0x60/0x70 [ 191.426988] [<c1354962>] schedule_timeout+0x17/0x160 [ 191.426993] [<c135524d>] wait_for_common+0xa3/0xff [ 191.426997] [<c10412e2>] ? try_to_wake_up+0x391/0x391 [ 191.427010] [<c135532a>] wait_for_completion+0x12/0x14 [ 191.427014] [<c1037742>] kthread_stop+0x2d/0x4b [ 191.427019] [<c10330fa>] destroy_worker+0x54/0x74 [ 191.427023] [<c1348d97>] workqueue_cpu_down_callback+0x193/0x251 [ 191.427027] [<c1185d7d>] ? compute_batch_value+0x19/0x29 [ 191.427032] [<c1353d7e>] ? percpu_counter_hotcpu_callback+0x13/0x8b [ 191.427036] [<c103b6b9>] notifier_call_chain+0x26/0x48 [ 191.427040] [<c103b6fd>] __raw_notifier_call_chain+0xe/0x10 [ 191.427044] [<c1025331>] __cpu_notify+0x15/0x29 [ 191.427049] [<c1347251>] _cpu_down+0x158/0x2b4 [ 191.427053] [<c13473d2>] cpu_down+0x25/0x34 [ 191.427057] [<c1348a16>] store_online+0x29/0x70 [ 191.427061] [<c13489ed>] ? acpi_processor_start+0xf7/0xf7 [ 191.427065] [<c127b06f>] dev_attr_store+0x1b/0x23 [ 191.427069] [<c10eb6ce>] sysfs_write_file+0xae/0xe7 [ 191.427073] [<c10ab946>] vfs_write+0x8c/0x122 [ 191.427077] [<c10eb620>] ? sysfs_poll+0x77/0x77 [ 191.427081] [<c10abb97>] sys_write+0x3b/0x60 [ 191.427086] [<c1357863>] sysenter_do_call+0x12/0x2c
Hi again ...
seems there is a little progress in 3.4.3-rt12-rc1: While the BUG message still is in 'dmesg' and the call trace is identical to 3.4.3-rt11 (except the PID of 'chcpu' and the order of the list of modules), the 'chcpu' process doesn't hang anymore and the machine can be rebooted after the BUG occured.
Thomas
Linux dragon 3.4.4-rt13 #2 SMP PREEMPT Tue Jun 26 12:22:23 CEST 2012 i686 Intel(R) Core(TM)2 CPU 6300 @ 1.86GHz GenuineIntel GNU/Linux
still BUG message in dmesg:
[ 105.585086] BUG: scheduling while atomic: chcpu/2817/0x00000002 [ 105.585090] Modules linked in: loop rfcomm bnep btusb hid_microsoft usbhid hid uhci_hcd ehci_hcd 3c59x usbcore e1000e mii usb_common sg [ 105.585109] Pid: 2817, comm: chcpu Not tainted 3.4.4-rt13 #2 [ 105.585111] Call Trace: [ 105.585119] [<c103df4d>] __schedule_bug+0x3d/0x42 [ 105.585124] [<c1355474>] __schedule+0x68/0x571 [ 105.585130] [<c1045840>] ? enqueue_entity+0x313/0x3d8 [ 105.585134] [<c1355a22>] schedule+0x60/0x70 [ 105.585138] [<c1354a42>] schedule_timeout+0x17/0x160 [ 105.585142] [<c103ed57>] ? check_preempt_curr+0x29/0x64 [ 105.585146] [<c135532d>] wait_for_common+0xa3/0xff [ 105.585150] [<c10412e2>] ? try_to_wake_up+0x391/0x391 [ 105.585154] [<c135540a>] wait_for_completion+0x12/0x14 [ 105.585158] [<c103781c>] kthread_create_on_node+0x71/0xb5 [ 105.585162] [<c102542c>] ? put_online_cpus+0x44/0x44 [ 105.585167] [<c1350101>] ? init_amd+0x42f/0x64f [ 105.585172] [<c134727f>] _cpu_down+0x106/0x2b4 [ 105.585176] [<c102542c>] ? put_online_cpus+0x44/0x44 [ 105.585180] [<c1347452>] cpu_down+0x25/0x34 [ 105.585183] [<c1348a96>] store_online+0x29/0x70 [ 105.585187] [<c1348a6d>] ? acpi_processor_start+0xf7/0xf7 [ 105.585192] [<c127b0ef>] dev_attr_store+0x1b/0x23 [ 105.585197] [<c10eb73e>] sysfs_write_file+0xae/0xe7 [ 105.585201] [<c10ab9b6>] vfs_write+0x8c/0x122 [ 105.585205] [<c10eb690>] ? sysfs_poll+0x77/0x77 [ 105.585209] [<c10abc07>] sys_write+0x3b/0x60 [ 105.585214] [<c1357963>] sysenter_do_call+0x12/0x2c [ 105.585242] BUG: scheduling while atomic: chcpu/2817/0x00000002 [ 105.585244] Modules linked in: loop rfcomm bnep btusb hid_microsoft usbhid hid uhci_hcd ehci_hcd 3c59x usbcore e1000e mii usb_common sg [ 105.585260] Pid: 2817, comm: chcpu Not tainted 3.4.4-rt13 #2 [ 105.585262] Call Trace: [ 105.585266] [<c103df4d>] __schedule_bug+0x3d/0x42 [ 105.585270] [<c1355474>] __schedule+0x68/0x571 [ 105.585275] [<c1356ba1>] ? _raw_spin_unlock_irqrestore+0x1a/0x2f [ 105.585279] [<c103a992>] ? __hrtimer_start_range_ns+0x2cf/0x2f6 [ 105.585283] [<c1355a22>] schedule+0x60/0x70 [ 105.585287] [<c1354f2a>] schedule_hrtimeout_range_clock+0xc5/0xec [ 105.585291] [<c103a202>] ? update_rmtp+0x68/0x68 [ 105.585295] [<c1354f5b>] schedule_hrtimeout_range+0xa/0xc [ 105.585299] [<c1354f69>] schedule_hrtimeout+0xc/0xe [ 105.585303] [<c103f197>] wait_task_inactive+0xc5/0xd6 [ 105.585307] [<c1037773>] kthread_bind+0x13/0x4b [ 105.585312] [<c134729a>] _cpu_down+0x121/0x2b4 [ 105.585316] [<c1347452>] cpu_down+0x25/0x34 [ 105.585319] [<c1348a96>] store_online+0x29/0x70 [ 105.585323] [<c1348a6d>] ? acpi_processor_start+0xf7/0xf7 [ 105.585327] [<c127b0ef>] dev_attr_store+0x1b/0x23 [ 105.585331] [<c10eb73e>] sysfs_write_file+0xae/0xe7 [ 105.585335] [<c10ab9b6>] vfs_write+0x8c/0x122 [ 105.585339] [<c10eb690>] ? sysfs_poll+0x77/0x77 [ 105.585342] [<c10abc07>] sys_write+0x3b/0x60 [ 105.585347] [<c1357963>] sysenter_do_call+0x12/0x2c
[...]
CC'ing the right guys...
---------- Forwarded message ----------
From: Thomas Sattler <[email protected]>
Date: Wed, Jun 27, 2012 at 1:41 PM
Subject: Re: BUG: scheduling while atomic: chcpu/6197/0x00000002
To: Linux Kernel Mailing List <[email protected]>
Cc: Ingo Molnar <[email protected]>, Thomas Gleixner <[email protected]>
Linux dragon 3.4.4-rt13 #2 SMP PREEMPT Tue Jun 26 12:22:23 CEST 2012 i686 Intel(R) Core(TM)2 CPU 6300 @ 1.86GHz GenuineIntel GNU/Linux
still BUG message in dmesg:
[ 105.585086] BUG: scheduling while atomic: chcpu/2817/0x00000002 [ 105.585090] Modules linked in: loop rfcomm bnep btusb hid_microsoft usbhid hid uhci_hcd ehci_hcd 3c59x usbcore e1000e mii usb_common sg [ 105.585109] Pid: 2817, comm: chcpu Not tainted 3.4.4-rt13 #2 [ 105.585111] Call Trace:
[ 105.585119] [<c103df4d>] __schedule_bug+0x3d/0x42
[ 105.585124] [<c1355474>] __schedule+0x68/0x571
[ 105.585130] [<c1045840>] ? enqueue_entity+0x313/0x3d8
[ 105.585134] [<c1355a22>] schedule+0x60/0x70
[ 105.585138] [<c1354a42>] schedule_timeout+0x17/0x160
[ 105.585142] [<c103ed57>] ? check_preempt_curr+0x29/0x64 [ 105.585146] [<c135532d>] wait_for_common+0xa3/0xff
[ 105.585150] [<c10412e2>] ? try_to_wake_up+0x391/0x391
[ 105.585154] [<c135540a>] wait_for_completion+0x12/0x14 [ 105.585158] [<c103781c>] kthread_create_on_node+0x71/0xb5 [ 105.585162] [<c102542c>] ? put_online_cpus+0x44/0x44
[ 105.585167] [<c1350101>] ? init_amd+0x42f/0x64f
[ 105.585172] [<c134727f>] _cpu_down+0x106/0x2b4
[ 105.585176] [<c102542c>] ? put_online_cpus+0x44/0x44
[ 105.585180] [<c1347452>] cpu_down+0x25/0x34
[ 105.585183] [<c1348a96>] store_online+0x29/0x70
[ 105.585187] [<c1348a6d>] ? acpi_processor_start+0xf7/0xf7 [ 105.585192] [<c127b0ef>] dev_attr_store+0x1b/0x23
[ 105.585197] [<c10eb73e>] sysfs_write_file+0xae/0xe7
[ 105.585201] [<c10ab9b6>] vfs_write+0x8c/0x122
[ 105.585205] [<c10eb690>] ? sysfs_poll+0x77/0x77
[ 105.585209] [<c10abc07>] sys_write+0x3b/0x60
[ 105.585214] [<c1357963>] sysenter_do_call+0x12/0x2c
[ 105.585242] BUG: scheduling while atomic: chcpu/2817/0x00000002 [ 105.585244] Modules linked in: loop rfcomm bnep btusb hid_microsoft usbhid hid uhci_hcd ehci_hcd 3c59x usbcore e1000e mii usb_common sg [ 105.585260] Pid: 2817, comm: chcpu Not tainted 3.4.4-rt13 #2 [ 105.585262] Call Trace:
[ 105.585266] [<c103df4d>] __schedule_bug+0x3d/0x42
[ 105.585270] [<c1355474>] __schedule+0x68/0x571
[ 105.585275] [<c1356ba1>] ? _raw_spin_unlock_irqrestore+0x1a/0x2f [ 105.585279] [<c103a992>] ? __hrtimer_start_range_ns+0x2cf/0x2f6 [ 105.585283] [<c1355a22>] schedule+0x60/0x70
[ 105.585287] [<c1354f2a>] schedule_hrtimeout_range_clock+0xc5/0xec [ 105.585291] [<c103a202>] ? update_rmtp+0x68/0x68
[ 105.585295] [<c1354f5b>] schedule_hrtimeout_range+0xa/0xc [ 105.585299] [<c1354f69>] schedule_hrtimeout+0xc/0xe
[ 105.585303] [<c103f197>] wait_task_inactive+0xc5/0xd6
[ 105.585307] [<c1037773>] kthread_bind+0x13/0x4b
[ 105.585312] [<c134729a>] _cpu_down+0x121/0x2b4
[ 105.585316] [<c1347452>] cpu_down+0x25/0x34
[ 105.585319] [<c1348a96>] store_online+0x29/0x70
[ 105.585323] [<c1348a6d>] ? acpi_processor_start+0xf7/0xf7 [ 105.585327] [<c127b0ef>] dev_attr_store+0x1b/0x23
[ 105.585331] [<c10eb73e>] sysfs_write_file+0xae/0xe7
[ 105.585335] [<c10ab9b6>] vfs_write+0x8c/0x122
[ 105.585339] [<c10eb690>] ? sysfs_poll+0x77/0x77
[ 105.585342] [<c10abc07>] sys_write+0x3b/0x60
[ 105.585347] [<c1357963>] sysenter_do_call+0x12/0x2c
[...]
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Signature · 6 lines
Thanks, //richard -- To unsubscribe from this list: send the line "unsubscribe linux-rt-users" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
Quoted 10 lines · richard -rw- weinberger
[ 105.585086] BUG: scheduling while atomic: chcpu/2817/0x00000002 [ 105.585090] Modules linked in: loop rfcomm bnep btusb hid_microsoft usbhid hid uhci_hcd ehci_hcd 3c59x usbcore e1000e mii usb_common sg [ 105.585109] Pid: 2817, comm: chcpu Not tainted 3.4.4-rt13 #2 [ 105.585111] Call Trace: [ 105.585119] [<c103df4d>] __schedule_bug+0x3d/0x42 [ 105.585124] [<c1355474>] __schedule+0x68/0x571 [ 105.585130] [<c1045840>] ? enqueue_entity+0x313/0x3d8 [ 105.585134] [<c1355a22>] schedule+0x60/0x70 [ 105.585138] [<c1354a42>] schedule_timeout+0x17/0x160
Quoted 8 lines
[ 105.585142] [<c103ed57>] ? check_preempt_curr+0x29/0x64 [ 105.585146] [<c135532d>] wait_for_common+0xa3/0xff [ 105.585150] [<c10412e2>] ? try_to_wake_up+0x391/0x391 [ 105.585154] [<c135540a>] wait_for_completion+0x12/0x14 [ 105.585158] [<c103781c>] kthread_create_on_node+0x71/0xb5 [ 105.585162] [<c102542c>] ? put_online_cpus+0x44/0x44 [ 105.585167] [<c1350101>] ? init_amd+0x42f/0x64f [ 105.585172] [<c134727f>] _cpu_down+0x106/0x2b4
I believe CPU hotplug is still an issue with -rt, and this is a known problem.
-- Steve
Quoted 13 lines
[ 105.585176] [<c102542c>] ? put_online_cpus+0x44/0x44 [ 105.585180] [<c1347452>] cpu_down+0x25/0x34 [ 105.585183] [<c1348a96>] store_online+0x29/0x70 [ 105.585187] [<c1348a6d>] ? acpi_processor_start+0xf7/0xf7 [ 105.585192] [<c127b0ef>] dev_attr_store+0x1b/0x23 [ 105.585197] [<c10eb73e>] sysfs_write_file+0xae/0xe7 [ 105.585201] [<c10ab9b6>] vfs_write+0x8c/0x122 [ 105.585205] [<c10eb690>] ? sysfs_poll+0x77/0x77 [ 105.585209] [<c10abc07>] sys_write+0x3b/0x60 [ 105.585214] [<c1357963>] sysenter_do_call+0x12/0x2c [ 105.585242] BUG: scheduling while atomic: chcpu/2817/0x00000002 [ 105.585244] Modules linked in: loop rfcomm bnep btusb hid_microsoftusbhid hid
uhci_hcdehci_hcd3c59x usbcore e1000e miiusb_commonsg
Quoted 2 lines
I believe CPU hotplug is still an issue with -rt, and this is a known problem.
Is there an (un-)official list of known problems? I'd like to help by reporting issues without repeating already known issues over and over again. :-)
Thomas
I'm interested in this as well. -Tim
Quoted 12 lines · Thomas Sattler
Quoted 2 lines
I believe CPU hotplug is still an issue with -rt, and this is a known problem.
Is there an (un-)official list of known problems? I'd like to help by reporting issues without repeating already known issues over and over again. :-)
Thomas
--
To unsubscribe from this list: send the line "unsubscribe linux-rt-users" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Quoted 9 lines · Tim Sally
I'm interested in this as well. -Tim
Quoted 6 lines · Thomas Sattler
Quoted 2 lines
I believe CPU hotplug is still an issue with -rt, and this is a known problem.
Is there an (un-)official list of known problems? I'd like to help by reporting issues without repeating already known issues over and over again. :-)
Unfortunately, I do not believe such a list exists. Perhaps one should be created ;-)
-- Steve
Quoted 14 lines · Thomas Sattler
Linux dragon 3.4.4-rt13 #2 SMP PREEMPT Tue Jun 26 12:22:23 CEST 2012 i686 Intel(R) Core(TM)2 CPU 6300 @ 1.86GHz GenuineIntel GNU/Linux
still BUG message in dmesg:
[ 105.585086] BUG: scheduling while atomic: chcpu/2817/0x00000002 [ 105.585090] Modules linked in: loop rfcomm bnep btusb hid_microsoft usbhid hid uhci_hcd ehci_hcd 3c59x usbcore e1000e mii usb_common sg [ 105.585109] Pid: 2817, comm: chcpu Not tainted 3.4.4-rt13 #2 [ 105.585111] Call Trace: [ 105.585119] [<c103df4d>] __schedule_bug+0x3d/0x42 [ 105.585124] [<c1355474>] __schedule+0x68/0x571 [ 105.585130] [<c1045840>] ? enqueue_entity+0x313/0x3d8 [ 105.585134] [<c1355a22>] schedule+0x60/0x70
Quoted 8 lines
[ 105.585138] [<c1354a42>] schedule_timeout+0x17/0x160 [ 105.585142] [<c103ed57>] ? check_preempt_curr+0x29/0x64 [ 105.585146] [<c135532d>] wait_for_common+0xa3/0xff [ 105.585150] [<c10412e2>] ? try_to_wake_up+0x391/0x391 [ 105.585154] [<c135540a>] wait_for_completion+0x12/0x14 [ 105.585158] [<c103781c>] kthread_create_on_node+0x71/0xb5 [ 105.585162] [<c102542c>] ? put_online_cpus+0x44/0x44 [ 105.585167] [<c1350101>] ? init_amd+0x42f/0x64f
^^^^^^^^
AFAICT, this shouldn't run on Intel hw. Can you send your .config. Also, can you try latest mainline linux from Linus' git?
Thanks.
Signature · 2 lines
Regards/Gruss, Boris.
Am 27.06.2012 19:46, schrieb Borislav Petkov:
Quoted 23 lines · Thomas Sattler
Quoted 14 lines
Linux dragon 3.4.4-rt13 #2 SMP PREEMPT Tue Jun 26 12:22:23 CEST 2012 i686 Intel(R) Core(TM)2 CPU 6300 @ 1.86GHz GenuineIntel GNU/Linux
still BUG message in dmesg:
[ 105.585086] BUG: scheduling while atomic: chcpu/2817/0x00000002 [ 105.585090] Modules linked in: loop rfcomm bnep btusb hid_microsoft usbhid hid uhci_hcd ehci_hcd 3c59x usbcore e1000e mii usb_common sg [ 105.585109] Pid: 2817, comm: chcpu Not tainted 3.4.4-rt13 #2 [ 105.585111] Call Trace: [ 105.585119] [<c103df4d>] __schedule_bug+0x3d/0x42 [ 105.585124] [<c1355474>] __schedule+0x68/0x571 [ 105.585130] [<c1045840>] ? enqueue_entity+0x313/0x3d8 [ 105.585134] [<c1355a22>] schedule+0x60/0x70Quoted 8 lines
[ 105.585138] [<c1354a42>] schedule_timeout+0x17/0x160 [ 105.585142] [<c103ed57>] ? check_preempt_curr+0x29/0x64 [ 105.585146] [<c135532d>] wait_for_common+0xa3/0xff [ 105.585150] [<c10412e2>] ? try_to_wake_up+0x391/0x391 [ 105.585154] [<c135540a>] wait_for_completion+0x12/0x14 [ 105.585158] [<c103781c>] kthread_create_on_node+0x71/0xb5 [ 105.585162] [<c102542c>] ? put_online_cpus+0x44/0x44 [ 105.585167] [<c1350101>] ? init_amd+0x42f/0x64f
Quoted 3 lines
^^^^^^^^AFAICT, this shouldn't run on Intel hw. Can you send your .config.
/proc/config.gz is attached. Please note, that it's an -rt kernel.
Thomas
Quoted 24 lines · Thomas Sattler
Am 27.06.2012 19:46, schrieb Borislav Petkov:
Quoted 23 lines · Thomas Sattler
Quoted 22 lines
Linux dragon 3.4.4-rt13 #2 SMP PREEMPT Tue Jun 26 12:22:23 CEST 2012 i686 Intel(R) Core(TM)2 CPU 6300 @ 1.86GHz GenuineIntel GNU/Linux
still BUG message in dmesg:
[ 105.585086] BUG: scheduling while atomic: chcpu/2817/0x00000002 [ 105.585090] Modules linked in: loop rfcomm bnep btusb hid_microsoft usbhid hid uhci_hcd ehci_hcd 3c59x usbcore e1000e mii usb_common sg [ 105.585109] Pid: 2817, comm: chcpu Not tainted 3.4.4-rt13 #2 [ 105.585111] Call Trace: [ 105.585119] [<c103df4d>] __schedule_bug+0x3d/0x42 [ 105.585124] [<c1355474>] __schedule+0x68/0x571 [ 105.585130] [<c1045840>] ? enqueue_entity+0x313/0x3d8 [ 105.585134] [<c1355a22>] schedule+0x60/0x70 [ 105.585138] [<c1354a42>] schedule_timeout+0x17/0x160 [ 105.585142] [<c103ed57>] ? check_preempt_curr+0x29/0x64 [ 105.585146] [<c135532d>] wait_for_common+0xa3/0xff [ 105.585150] [<c10412e2>] ? try_to_wake_up+0x391/0x391 [ 105.585154] [<c135540a>] wait_for_completion+0x12/0x14 [ 105.585158] [<c103781c>] kthread_create_on_node+0x71/0xb5 [ 105.585162] [<c102542c>] ? put_online_cpus+0x44/0x44 [ 105.585167] [<c1350101>] ? init_amd+0x42f/0x64f
Quoted 5 lines
Quoted 3 lines
^^^^^^^^AFAICT, this shouldn't run on Intel hw. Can you send your .config.
/proc/config.gzis attached. Please note, that it's an -rt kernel.
I know.
But I don't see anything that sticks out in your .config.
So the stack trace, since it shows that the init_amd address is unreliable, could be red herring...
Any chance you could try a non-rt kernel, possibly latest linus from git.kernel.org to rule out an -rt issue?
Also, looks like your cpu can do 64-bit. Can you try a 64-bit kernel?
Also, what is the exact command line you're running with chcpu?
Thanks.
Signature · 2 lines
Regards/Gruss, Boris.
Quoted 1 line
Any chance you could try a non-rt kernel,
Earlier in this thread I wrote, that 3.4.[23] are in fact unaffected. Only 3.4.[234]-rt1[0123] show this BUG in dmesg.
Quoted 1 line
to rule out an -rt issue?
Steven Rostedt wrote (w/o CC:LKML) that he believes CPU hotplug is still an issue with -rt. So, are you still interested to follow the "amd on intel" thing?
Quoted 2 lines
Also, looks like your cpu can do 64-bit. Can you
try a 64-bit kernel?
Yes, it's a 32-bit userland on 64-bit hardware. So far I didn't compile 64-bit kernels on 32-bit user- land but in case you're still interested in the result, I'll give it a try.
Quoted 2 lines
Also, what is the exact command line you're running with chcpu?
# chcpu --disable 1
Thomas
Quoted 11 lines · Thomas Sattler
Quoted 1 line
Any chance you could try a non-rt kernel,
Earlier in this thread I wrote, that 3.4.[23] are in fact unaffected. Only 3.4.[234]-rt1[0123] show this BUG in dmesg.
Quoted 1 line
to rule out an -rt issue?
Steven Rostedt wrote (w/o CC:LKML) that he believes CPU hotplug is still an issue with -rt. So, are you still interested to follow the "amd on intel" thing?
I don't think it is an "amd on intel" issue - it is probably the stack trace dumping code wrongly finding the init_amd symbol due to CPU_SUP_AMD bring compiled in or so...
Rather, it looks like the issue is what Steve said.
Quoted 7 lines
Quoted 2 lines
Also, looks like your cpu can do 64-bit. Can you
try a 64-bit kernel?Yes, it's a 32-bit userland on 64-bit hardware. So far I didn't compile 64-bit kernels on 32-bit user- land but in case you're still interested in the result, I'll give it a try.
Well, if you have a 64-bit cpu, you could consider running a 64-bit kernel for many reasons. The most important one being that 64-bit code is enjoying orders of magnitude more testing because the world has moved to 64-bit already. -rt included.
Signature · 2 lines
Regards/Gruss, Boris.