View Single Post
Old 07-18-10, 09:52 PM   #6
gsking1
Registered User
 
Join Date: Jul 2010
Location: Ohio
Posts: 1
Default Re: Linux Real Time Kernel - a lot of BUG: sleeping function called from invalid cont

I would also like to ask for the nvidia drivers to work better on the real time kernels. I am using Fedora 13 with the CCRMA provided kernel (2.6.33.4-rt..) and self installed NVIDIA drivers (see reference below). Most all works fine except when trying to play any videos with VDPAU. Playing video with VDPAU will cause the below system errors, such as by using mplayer or smplayer (tested with mt2, h264, mp4, etc...) . However, using the generic Fedora 13 kernel (2.6.33.6) it works fine. I have experienced this on both the 2.6.31 and 2.6.33 series rt kernels under Fedora 12.

This system is 32bit dual core intel with 9500GT graphics card. Nvidia driver 256.35, but also had this on prior versions 195.xx I think under FC12.

There are not any other problems noticed otherwise and I really like the VDPAU options you've added to linux. Please consider improving this. The rt kernels are great for multi-media audio production and really do a great job. Please feel free to contact me should you have any questions or comments. Thanks, Geoff

Here's a mailing list reference:
http://ccrma-mail.stanford.edu/piper...ne/016961.html

Example system output using dmesg:

BUG: sleeping function called from invalid context at kernel/rtmutex.c:684
pcnt: 1 0 in_atomic(): 1, irqs_disabled(): 1, pid: 10, name: sirq-tasklet/0
Pid: 10, comm: sirq-tasklet/0 Tainted: P 2.6.33.4-106.rt20.1.fc13.ccrma.i686.rtPAE #1
Call Trace:
[<c042f632>] __might_sleep+0xcc/0xd4
[<c04654ab>] rt_spin_lock_fastlock.clone.1+0x26/0x5f
[<c0793442>] rt_spin_lock+0x8/0xa
[<c0433e2d>] __wake_up+0x14/0x34
[<fa7b45e7>] nv_post_event+0xbf/0xd3 [nvidia]
[<fa7906df>] _nv021435rm+0xc8/0x115 [nvidia]
[<fa51e5b3>] ? _nv010212rm+0x97/0xb3 [nvidia]
[<fa51e813>] ? _nv019434rm+0xae/0xbf [nvidia]
[<fa637474>] ? _nv015461rm+0xb81/0x11c5 [nvidia]
[<fa68423e>] ? _nv018492rm+0x4c7/0xacb [nvidia]
[<fa67c375>] ? _nv018471rm+0x95/0xd5 [nvidia]
[<fa7946cd>] ? _nv002115rm+0x59/0x81 [nvidia]
[<fa7998f6>] ? rm_isr_bh+0x52/0x7d [nvidia]
[<fa7b5107>] ? nv_kern_isr_bh+0x45/0x4e [nvidia]
[<c0443bfb>] ? __tasklet_action+0x78/0xd8
[<c0443cdf>] ? tasklet_action+0x40/0x44
[<c0444432>] ? run_ksoftirqd+0x138/0x236
[<c04442fa>] ? run_ksoftirqd+0x0/0x236
[<c0455736>] ? kthread+0x5f/0x64
[<c04556d7>] ? kthread+0x0/0x64
[<c040907e>] ? kernel_thread_helper+0x6/0x10

Last edited by gsking1; 07-18-10 at 09:55 PM. Reason: added more info
gsking1 is offline   Reply With Quote