View Single Post
Old 07-23-11, 08:57 AM   #6
rockob
Registered User
 
Join Date: Nov 2008
Posts: 95
Default Re: BUG: os_schedule: Attempted to yield the CPU while in atomic or interrupt context

I even experienced the freeze earlier today in Ubuntu's 2.6.38-10-generic kernel (not 3.0 for a change):

Code:
Jul 23 18:33:30 hercules kernel: [ 9321.694429] NVRM: Xid (0000:01:00): 13, 0006 00000000 00009197 00002490 00000030 00000000
Jul 23 18:33:30 hercules kernel: [ 9321.698052] NVRM: Xid (0000:01:00): 39, CCMDs 00000005 000090b5
Jul 23 18:33:32 hercules kernel: [ 9323.697393] NVRM: os_schedule: Attempted to yield the CPU while in atomic or interrupt context
Jul 23 18:33:36 hercules kernel: [ 9327.696157] NVRM: os_schedule: Attempted to yield the CPU while in atomic or interrupt context
Jul 23 18:33:59 hercules rtkit-daemon[1217]: The canary thread is apparently starving. Taking action.
Jul 23 18:33:59 hercules rtkit-daemon[1217]: Demoting known real-time threads.
Jul 23 18:33:59 hercules rtkit-daemon[1217]: Successfully demoted thread 1889 of process 1847 (n/a).
Jul 23 18:33:59 hercules rtkit-daemon[1217]: Successfully demoted thread 1888 of process 1847 (n/a).
Jul 23 18:33:59 hercules rtkit-daemon[1217]: Successfully demoted thread 1847 of process 1847 (n/a).
Jul 23 18:33:59 hercules rtkit-daemon[1217]: Demoted 3 threads.
and later on, this appeared several times:

Code:
Jul 23 18:42:08 hercules kernel: [ 9838.933046] INFO: task kworker/7:2:7007 blocked for more than 120 seconds.
Jul 23 18:42:08 hercules kernel: [ 9838.933050] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
Jul 23 18:42:08 hercules kernel: [ 9838.933053] kworker/7:2     D 0000000000000007     0  7007      2 0x00000000
Jul 23 18:42:08 hercules kernel: [ 9838.933059]  ffff880036de9be0 0000000000000046 ffff880036de9fd8 ffff880036de8000
Jul 23 18:42:08 hercules kernel: [ 9838.933064]  0000000000013d00 ffff88021198df38 ffff880036de9fd8 0000000000013d00
Jul 23 18:42:08 hercules kernel: [ 9838.933068]  ffff8800afc4db80 ffff88021198db80 00000000000052d0 7fffffffffffffff
Jul 23 18:42:08 hercules kernel: [ 9838.933072] Call Trace:
Jul 23 18:42:08 hercules kernel: [ 9838.933081]  [<ffffffff815c14dd>] schedule_timeout+0x26d/0x2e0
Jul 23 18:42:08 hercules kernel: [ 9838.933088]  [<ffffffff8105e316>] ? load_balance_fair+0xf6/0x140
Jul 23 18:42:08 hercules kernel: [ 9838.933093]  [<ffffffff815c0f99>] wait_for_common+0xd9/0x180
Jul 23 18:42:08 hercules kernel: [ 9838.933097]  [<ffffffff8105f600>] ? default_wake_function+0x0/0x20
Jul 23 18:42:08 hercules kernel: [ 9838.933303]  [<ffffffffa170ed90>] ? os_execute_work_item+0x0/0xa0 [nvidia]
Jul 23 18:42:08 hercules kernel: [ 9838.933309]  [<ffffffff815c111d>] wait_for_completion+0x1d/0x20
Jul 23 18:42:08 hercules kernel: [ 9838.933486]  [<ffffffffa170e24a>] os_acquire_sema+0x7a/0x90 [nvidia]
Jul 23 18:42:08 hercules kernel: [ 9838.933594]  [<ffffffffa10d830e>] ? _nv023034rm+0x9/0xb [nvidia]
Jul 23 18:42:08 hercules kernel: [ 9838.933771]  [<ffffffffa16dc384>] _nv023245rm+0x6/0x1f [nvidia]
Jul 23 18:42:08 hercules kernel: [ 9838.933970]  [<ffffffffa15cd3ee>] ? _nv003531rm+0x38/0x131 [nvidia]
Jul 23 18:42:08 hercules kernel: [ 9838.934149]  [<ffffffffa16e8088>] ? _nv002385rm+0xd/0x27 [nvidia]
Jul 23 18:42:08 hercules kernel: [ 9838.934323]  [<ffffffffa16ec474>] ? rm_execute_work_item+0x1c/0xe4 [nvidia]
Jul 23 18:42:08 hercules kernel: [ 9838.934498]  [<ffffffffa170ede0>] ? os_execute_work_item+0x50/0xa0 [nvidia]
Jul 23 18:42:08 hercules kernel: [ 9838.934505]  [<ffffffff8108284d>] ? process_one_work+0x11d/0x420
Jul 23 18:42:08 hercules kernel: [ 9838.934510]  [<ffffffff810832e9>] ? worker_thread+0x169/0x360
Jul 23 18:42:08 hercules kernel: [ 9838.934514]  [<ffffffff81083180>] ? worker_thread+0x0/0x360
Jul 23 18:42:08 hercules kernel: [ 9838.934518]  [<ffffffff81087866>] ? kthread+0x96/0xa0
Jul 23 18:42:08 hercules kernel: [ 9838.934523]  [<ffffffff8100ce24>] ? kernel_thread_helper+0x4/0x10
Jul 23 18:42:08 hercules kernel: [ 9838.934527]  [<ffffffff810877d0>] ? kthread+0x0/0xa0
Jul 23 18:42:08 hercules kernel: [ 9838.934531]  [<ffffffff8100ce20>] ? kernel_thread_helper+0x0/0x10
rockob is offline   Reply With Quote