Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 285266 - x11-drivers/nvidia-drivers-185.18.31 fails to compile with 2.6.31-rt10 kernel
Summary: x11-drivers/nvidia-drivers-185.18.31 fails to compile with 2.6.31-rt10 kernel
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Doug Goldstein (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-09-17 04:26 UTC by Tom Smith
Modified: 2010-02-05 12:42 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tom Smith 2009-09-17 04:26:34 UTC
I receive the following error when emerging nvidia-drivers-185.18.31 with my vanilla-sources-2.6.31 kernel with the -rt10 patch applied:

/var/tmp/portage/x11-drivers/nvidia-drivers-185.18.31/work/NVIDIA-Linux-x86_64-185.18.31-pkg2/usr/src/nv/nv.c: In function 'nv_alloc_file_private':
/var/tmp/portage/x11-drivers/nvidia-drivers-185.18.31/work/NVIDIA-Linux-x86_64-185.18.31-pkg2/usr/src/nv/nv.c:1897: error: implicit declaration of function 'init_MUTEX'
make[3]: *** [/var/tmp/portage/x11-drivers/nvidia-drivers-185.18.31/work/NVIDIA-Linux-x86_64-185.18.31-pkg2/usr/src/nv/nv.o] Error 1
make[2]: *** [_module_/var/tmp/portage/x11-drivers/nvidia-drivers-185.18.31/work/NVIDIA-Linux-x86_64-185.18.31-pkg2/usr/src/nv] Error 2
NVIDIA: left KBUILD.
nvidia.ko failed to build!
make[1]: *** [module] Error 1
make: *** [module] Error 2

The init_MUTEX macro has been removed in the latest kernel. The fix seems pretty trivial, a patch is provided here:
http://lkml.org/lkml/2009/7/30/74

Reproducible: Always

Steps to Reproduce:
1. Install and compile a 2.6.31 realtime kernel
2. emerge nvidia-drivers-185.18.31
Comment 1 Doug Goldstein (RETIRED) gentoo-dev 2009-10-29 19:59:09 UTC
NVIDIA does not support the real time kernel patchset and so nor can we.
Comment 2 james 2010-02-05 12:42:44 UTC
gotta love that "[proprietary company name here] don't support it so nor can we" attitude, !.