View Single Post
Old 03-20-10, 07:16 PM   #1
Registered User
Join Date: Mar 2010
Posts: 3
Exclamation Linux Real Time Kernel - a lot of BUG: sleeping function called from invalid context

I'm running Fedora 12 with the Planet CCRMA Real Time kernel ... and it dumps regularly (every 10-15sec) the following BUG notification via klog:

BUG: sleeping function called from invalid context at kernel/rtmutex.c:684
in_atomic(): 1, irqs_disabled(): 1, pid: 9, name: sirq-tasklet/0
Pid: 9, comm: sirq-tasklet/0 Tainted: P  #1
Call Trace:
 [<ffffffff81042002>] __might_sleep+0xe6/0xe8
 [<ffffffff81083ade>] rt_spin_lock_fastlock.clone.1+0x34/0x79
 [<ffffffff814514bd>] rt_spin_lock+0xe/0x10
 [<ffffffff810474e3>] __wake_up+0x20/0x46
 [<ffffffffa06b8b38>] nv_post_event+0xc2/0xdd [nvidia]
 [<ffffffffa05d0b4f>] _nv005330rm+0xe7/0x131 [nvidia]
 [<ffffffffa0356118>] ? _nv015804rm+0xac/0xd1 [nvidia]
 [<ffffffffa01f9263>] ? _nv020367rm+0x9a/0xa9 [nvidia]
 [<ffffffffa01f922d>] ? _nv020367rm+0x64/0xa9 [nvidia]
 [<ffffffffa0694a49>] ? _nv010072rm+0x1a5/0x2e9 [nvidia]
 [<ffffffffa04e1d88>] ? _nv010120rm+0x6b/0x73 [nvidia]
 [<ffffffffa04e1d9e>] ? _nv010122rm+0xe/0x13 [nvidia]
 [<ffffffffa030fd85>] ? _nv016414rm+0x184/0x216 [nvidia]
 [<ffffffffa0514aa7>] ? _nv008600rm+0x30f/0x813 [nvidia]
 [<ffffffffa0513fc6>] ? _nv008603rm+0x66/0x90 [nvidia]
 [<ffffffffa05d2bc0>] ? _nv003827rm+0xa0/0xd3 [nvidia]
 [<ffffffffa05d8853>] ? rm_isr_bh+0x5a/0x8d [nvidia]
 [<ffffffffa06b99a9>] ? nv_kern_isr_bh+0x54/0x59 [nvidia]
 [<ffffffff8105aceb>] ? __tasklet_action+0x9a/0x109
 [<ffffffff8105adf0>] ? tasklet_action+0x4a/0x4c
 [<ffffffff8105ba28>] ? ksoftirqd+0x192/0x2ba
 [<ffffffff8105b896>] ? ksoftirqd+0x0/0x2ba
 [<ffffffff810720ff>] ? kthread+0x91/0x99
 [<ffffffff81012f1a>] ? child_rip+0xa/0x20
 [<ffffffff8107206e>] ? kthread+0x0/0x99
 [<ffffffff81012f10>] ? child_rip+0x0/0x20

I believe this is the classical issue with drivers not being tested on real time kernels (stock kernels with the PREEMPT RT kernel patch set), where spin locks are converted to sleeping spin locks - and they can be preempted by real time processes, iirc.

Please fix this ... as it really makes the nVidia driver useless for those of us using laptops with nVidia cards (not too easy to replace the card with a better working card) and the closed source driver on setups for audio/midi workstations (ie. music production).
Attached Files
File Type: gz nvidia-bug-report.log.gz (26.3 KB, 123 views)
dazo is offline   Reply With Quote