[PlanetCCRMA] problem starting X

Jeffrey Stephen Stephen.Jeffrey at climatechange.qld.gov.au
Wed Jun 6 17:35:24 PDT 2012


Hi Fernando,

I still can't compile the nVidia driver. I have done the following:

1. installed the rt and rt-devel packages.
   - the machine would then not start X (it failed to build the 
     nVidia driver at boot time)

2. I installed akmod - this required me to install kmodtool,
   akmods and xorg-x11-drv-nvidia
   - the machine will now start X, but I can't run CUDA applications

I have tried to reinstall CUDA. This seems to require:
- installing an nVidia driver
- installing the CUDA toolkit
Installing the nVidia driver fails (see the log file below). 
What is the difference between the nVidia driver that I am trying to
build here, and what is in xorg-x11-drv-nvidia?

Do I need to install xorg-x11-drv-nvidia-devel?

Should I delete xorg-x11-drv-nvidia and then try to build an nVidia
driver that comes with CUDA? I think this is what you meant in your previous email - I tried this but it failed:
rpm --erase xorg-x11-drv-nvidia-280.13-1.fc14.x86_64
error: Failed dependencies:
        nvidia-kmod-common >= 1:280.13 is needed by (installed) akmod-nvidia-1:280.13-2.1.fc14.ccrma.3.x86_64
        nvidia-kmod-common >= 1:280.13 is needed by (installed) kmod-nvidia-2.6.33.13-149.rt31.2.fc14.ccrma.x86_64.rt-1:280.13-2.1.fc14.3.x86_64
        xorg-x11-drv-nvidia = 1:280.13-1.fc14 is needed by (installed) xorg-x11-drv-nvidia-libs-1:280.13-1.fc14.x86_64
- should I force the removal? I won't be able to reinstall akmod though.

I have the following installed:

> rpm -qa | egrep -i 'ccrma|kmod|nvidia' | sort
akmod-nvidia-280.13-2.1.fc14.ccrma.3.x86_64
akmods-0.3.8-3.fc14.noarch
alsa-tools-1.0.24.1-1.3.fc14.ccrma.x86_64
kernel-rt-2.6.33.13-149.rt31.2.fc14.ccrma.x86_64
kernel-rt-devel-2.6.33.13-149.rt31.2.fc14.ccrma.x86_64
kmod-nvidia-2.6.33.13-149.rt31.2.fc14.ccrma.x86_64.rt-280.13-2.1.fc14.3.x86_64
kmodtool-1-18.fc11.noarch
nvidia-settings-1.0-11.fc14.x86_64
nvidia-xconfig-1.0-9.fc14.x86_64
planetccrma-core-2011.05.11-1.fc14.ccrma.x86_64
rtirq-20090920-1.fc14.ccrma.x86_64
xorg-x11-drv-nvidia-280.13-1.fc14.x86_64
xorg-x11-drv-nvidia-libs-280.13-1.fc14.x86_64
nvidia-installer log file '/var/log/nvidia-installer.log'
creation time: Thu Jun  7 09:34:16 2012
installer version: 285.05.33

The log file generated when attempting to build the nVidia driver (the one that comes with CUDA) is shown below.

Cheers
steve

> cat /var/log/nvidia-installer.log
		PATH:
		/usr/local/cuda-4.2/cuda/bin:/usr/lib64/qt-3.3/bin:/usr/lib64/ccache:/usr/local
		/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin

		option status:
		  license pre-accepted               : false
		  update                             : false
		  force update                       : false
		  expert                             : false
		  uninstall                          : false
		  driver info                        : false
		  precompiled interfaces             : true
		  no ncurses color                   : false
		  query latest version               : false
		  no questions                       : false
		  silent                             : false
		  no recursion                       : false
		  no backup                          : false
		  kernel module only                 : false
		  sanity                             : false
		  add this kernel                    : false
		  no runlevel check                  : false
		  no network                         : false
		  no ABI note                        : false
		  no RPMs                            : false
		  no kernel module                   : false
		  force SELinux                      : default
		  no X server check                  : false
		  no cc version check                : false
		  run distro scripts                 : true
		  no nouveau check                   : false
		  run nvidia-xconfig                 : false
		  sigwinch work around               : true
		  force tls                          : (not specified)
		  force compat32 tls                 : (not specified)
		  X install prefix                   : (not specified)
		  X library install path             : (not specified)
		  X module install path              : (not specified)
		  OpenGL install prefix              : (not specified)
		  OpenGL install libdir              : (not specified)
		  compat32 install chroot            : (not specified)
		  compat32 install prefix            : (not specified)
		  compat32 install libdir            : (not specified)
		  utility install prefix             : (not specified)
		  utility install libdir             : (not specified)
		  installer prefix                   : (not specified)
		  doc install prefix                 : (not specified)
		  kernel name                        : (not specified)
		  kernel include path                : (not specified)
		  kernel source path                 : (not specified)
		  kernel output path                 : (not specified)
		  kernel install path                : (not specified)
		  precompiled kernel interfaces path : (not specified)
		  precompiled kernel interfaces url  : (not specified)
		  proc mount point                   : /proc
		  ui                                 : (not specified)
		  tmpdir                             : /tmp
		  ftp mirror                         : ftp://download.nvidia.com
		  RPM file list                      : (not specified)
		  selinux chcon type                 : (not specified)

		Using: nvidia-installer ncurses user interface
		-> Tagging shared libraries with chcon -t textrel_shlib_t.
		-> License accepted.
		-> Installing NVIDIA driver version 285.05.33.
		-> Performing CC sanity check with CC="cc".
		-> Performing CC version check with CC="cc".
		-> Kernel source path:
		   '/lib/modules/2.6.33.13-149.rt31.2.fc14.ccrma.x86_64.rt/source'
		-> Kernel output path:
		   '/lib/modules/2.6.33.13-149.rt31.2.fc14.ccrma.x86_64.rt/build'
		-> Performing rivafb check.
		-> Performing nvidiafb check.
		-> Performing Xen check.
		-> Cleaning kernel module build directory.
		   executing: 'cd ./kernel; make clean'...
		-> Building kernel module:
		   executing: 'cd ./kernel; make module SYSSRC=/lib/modules/2.6.33.13-149.rt31.
		   2.fc14.ccrma.x86_64.rt/source SYSOUT=/lib/modules/2.6.33.13-149.rt31.2.fc14.
		   ccrma.x86_64.rt/build'...
		   NVIDIA: calling KBUILD...
		   make -C /lib/modules/2.6.33.13-149.rt31.2.fc14.ccrma.x86_64.rt/build \
		   KBUILD_SRC=/usr/src/kernels/2.6.33.13-149.rt31.2.fc14.ccrma.x86_64.rt \
		   KBUILD_EXTMOD="/tmp/selfgz1790/NVIDIA-Linux-x86_64-285.05.33/kernel" -f /usr
		   /src/kernels/2.6.33.13-149.rt31.2.fc14.ccrma.x86_64.rt/Makefile \
		   modules
		   test -e include/generated/autoconf.h -a -e include/config/auto.conf || (		\
		   echo;								\
		   echo "  ERROR: Kernel configuration is invalid.";		\
		   echo "         include/generated/autoconf.h or include/config/auto.conf are 
		   missing.";\
		   echo "         Run 'make oldconfig && make prepare' on kernel src to fix it.
		   ";	\
		   echo;								\
		   /bin/false)
		   mkdir -p /tmp/selfgz1790/NVIDIA-Linux-x86_64-285.05.33/kernel/.tmp_versions 
		   ; rm -f /tmp/selfgz1790/NVIDIA-Linux-x86_64-285.05.33/kernel/.tmp_versions/*
		   make -f /usr/src/kernels/2.6.33.13-149.rt31.2.fc14.ccrma.x86_64.rt/scripts/M
		   akefile.build obj=/tmp/selfgz1790/NVIDIA-Linux-x86_64-285.05.33/kernel
		     cc -Wp,-MD,/tmp/selfgz1790/NVIDIA-Linux-x86_64-285.05.33/kernel/.nv.o.d  -
		   nostdinc -isystem /usr/lib/gcc/x86_64-redhat-linux/4.5.1/include -I/usr/src/
		   kernels/2.6.33.13-149.rt31.2.fc14.ccrma.x86_64.rt/arch/x86/include -Iinclude
		    -I/usr/src/kernels/2.6.33.13-149.rt31.2.fc14.ccrma.x86_64.rt/include -inclu
		   de include/generated/autoconf.h   -I/tmp/selfgz1790/NVIDIA-Linux-x86_64-285.
		   05.33/kernel -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -
		   fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-f
		   ormat-security -fno-delete-null-pointer-checks -Os -m64 -mtune=generic -mno-
		   red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -fstack
		   -protector -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_
		   SECTIONS=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse 
		   -mno-mmx -mno-sse2 -mno-3dnow -Wframe-larger-than=2048 -fno-omit-frame-point
		   er -fno-optimize-sibling-calls -g -Wdeclaration-after-statement -Wno-pointer
		   -sign -fno-strict-overflow -fno-dwarf2-cfi-asm -fconserve-stack   -I/tmp/sel
		   fgz1790/NVIDIA-Linux-x8
		   6_64-285.05.33/kernel -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D_
		   _KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"285.05.33\" -Wno-unused-func
		   tion -mno-red-zone -mcmodel=kernel -UDEBUG -U_DEBUG -DNDEBUG  -DMODULE -D"KB
		   UILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv)"  -D"KBUILD_MODNAME=KBUILD
		   _STR(nvidia)" -D"DEBUG_HASH=49" -D"DEBUG_HASH2=62" -c -o /tmp/selfgz1790/NVI
		   DIA-Linux-x86_64-285.05.33/kernel/nv.o /tmp/selfgz1790/NVIDIA-Linux-x86_64-2
		   85.05.33/kernel/nv.c
		   In file included from /usr/src/kernels/2.6.33.13-149.rt31.2.fc14.ccrma.x86_6
		   4.rt/arch/x86/include/asm/uaccess.h:573:0,
		                    from include/linux/poll.h:13,
		                    from /tmp/selfgz1790/NVIDIA-Linux-x86_64-285.05.33/kernel/n
		   v-linux.h:99,
		                    from /tmp/selfgz1790/NVIDIA-Linux-x86_64-285.05.33/kernel/n
		   v.c:13:
		   /usr/src/kernels/2.6.33.13-149.rt31.2.fc14.ccrma.x86_64.rt/arch/x86/include/
		   asm/uaccess_64.h: In function ‘copy_from_user’:
		   /usr/src/kernels/2.6.33.13-149.rt31.2.fc14.ccrma.x86_64.rt/arch/x86/include/
		   asm/uaccess_64.h:35:41: warning: comparison between signed and unsigned inte
		   ger expressions
		   In file included from /tmp/selfgz1790/NVIDIA-Linux-x86_64-285.05.33/kernel/n
		   v.c:13:0:
		   /tmp/selfgz1790/NVIDIA-Linux-x86_64-285.05.33/kernel/nv-linux.h: At top leve
		   l:
		   /tmp/selfgz1790/NVIDIA-Linux-x86_64-285.05.33/kernel/nv-linux.h:267:27: erro
		   r: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ befo
		   re ‘nv_spinlock_t’
		   In file included from /tmp/selfgz1790/NVIDIA-Linux-x86_64-285.05.33/kernel/n
		   v.c:13:0:
		   /tmp/selfgz1790/NVIDIA-Linux-x86_64-285.05.33/kernel/nv-linux.h:1468:5: erro
		   r: expected specifier-qualifier-list before ‘nv_spinlock_t’
		   /tmp/selfgz1790/NVIDIA-Linux-x86_64-285.05.33/kernel/nv.c: In function ‘nv
		   _alloc_file_private’:
		   /tmp/selfgz1790/NVIDIA-Linux-x86_64-285.05.33/kernel/nv.c:1730:9: error: imp
		   licit declaration of function ‘semaphore_init’
		   /tmp/selfgz1790/NVIDIA-Linux-x86_64-285.05.33/kernel/nv.c:1732:74: error: â€
		   ˜nv_file_private_t’ has no member named ‘waitqueue’
		   /tmp/selfgz1790/NVIDIA-Linux-x86_64-285.05.33/kernel/nv.c:1733:5: error: imp
		   licit declaration of function ‘atomic_spin_lock_init’
		   /tmp/selfgz1790/NVIDIA-Linux-x86_64-285.05.33/kernel/nv.c:1733:32: error: â€
		   ˜nv_file_private_t’ has no member named ‘fp_lock’
		   /tmp/selfgz1790/NVIDIA-Linux-x86_64-285.05.33/kernel/nv.c: In function ‘nv
		   _kern_poll’:
		   /tmp/selfgz1790/NVIDIA-Linux-x86_64-285.05.33/kernel/nv.c:2513:30: error: â€
		   ˜nv_file_private_t’ has no member named ‘waitqueue’
		   /tmp/selfgz1790/NVIDIA-Linux-x86_64-285.05.33/kernel/nv.c:2516:5: error: imp
		   licit declaration of function ‘atomic_spin_lock_irqsave’
		   /tmp/selfgz1790/NVIDIA-Linux-x86_64-285.05.33/kernel/nv.c:2516:35: error: â€
		   ˜nv_file_private_t’ has no member named ‘fp_lock’
		   /tmp/selfgz1790/NVIDIA-Linux-x86_64-285.05.33/kernel/nv.c:2527:5: error: imp
		   licit declaration of function ‘atomic_spin_unlock_irqrestore’
		   /tmp/selfgz1790/NVIDIA-Linux-x86_64-285.05.33/kernel/nv.c:2527:40: error: â€
		   ˜nv_file_private_t’ has no member named ‘fp_lock’
		   /tmp/selfgz1790/NVIDIA-Linux-x86_64-285.05.33/kernel/nv.c: In function ‘nv
		   _post_event’:
		   /tmp/selfgz1790/NVIDIA-Linux-x86_64-285.05.33/kernel/nv.c:3573:35: error: â€
		   ˜nv_file_private_t’ has no member named ‘fp_lock’
		   /tmp/selfgz1790/NVIDIA-Linux-x86_64-285.05.33/kernel/nv.c:3590:20: error: â€
		   ˜nv_file_private_t’ has no member named ‘waitqueue’
		   /tmp/selfgz1790/NVIDIA-Linux-x86_64-285.05.33/kernel/nv.c:3591:40: error: â€
		   ˜nv_file_private_t’ has no member named ‘fp_lock’
		   /tmp/selfgz1790/NVIDIA-Linux-x86_64-285.05.33/kernel/nv.c: In function ‘nv
		   _get_event’:
		   /tmp/selfgz1790/NVIDIA-Linux-x86_64-285.05.33/kernel/nv.c:3605:35: error: â€
		   ˜nv_file_private_t’ has no member named ‘fp_lock’
		   /tmp/selfgz1790/NVIDIA-Linux-x86_64-285.05.33/kernel/nv.c:3608:44: error: â€
		   ˜nv_file_private_t’ has no member named ‘fp_lock’
		   /tmp/selfgz1790/NVIDIA-Linux-x86_64-285.05.33/kernel/nv.c:3633:40: error: â€
		   ˜nv_file_private_t’ has no member named ‘fp_lock’
		   make[4]: *** [/tmp/selfgz1790/NVIDIA-Linux-x86_64-285.05.33/kernel/nv.o] Err
		   or 1
		   make[3]: *** [_module_/tmp/selfgz1790/NVIDIA-Linux-x86_64-285.05.33/kernel] 
		   Error 2
		   make[2]: *** [sub-make] Error 2
		   NVIDIA: left KBUILD.
		   nvidia.ko failed to build!
		   make[1]: *** [module] Error 1
		   make: *** [module] Error 2
		-> Error.
		ERROR: Unable to build the NVIDIA kernel module.
		ERROR: Installation has failed.  Please see the file
		       '/var/log/nvidia-installer.log' for details.  You may find suggestions
		       on fixing installation problems in the README available on the Linux
		       driver download page at www.nvidia.com.

-----Original Message-----
From: Fernando Lopez-Lezcano [mailto:nando at ccrma.Stanford.EDU] 
Sent: Wednesday, 6 June 2012 10:48 AM
To: Jeffrey Stephen
Cc: Fernando Lopez-Lezcano; planetccrma at ccrma.Stanford.EDU
Subject: Re: [PlanetCCRMA] problem starting X

On 06/05/2012 03:15 PM, Jeffrey Stephen wrote:
> Hi Fernando,
>
> I installed the akmod-nvidia package but I still get an error building 
> the nVidia driver. The CCRMA/akmod/nvidia packages I have installed are:

Hi Jefrey,
You need to uninstall the nvidia driver you installed - for it to work it would need to be patched as well. And maybe reinstall the akmod package again (I don't know if uninstalling the nvidia driver will do something to the packaged contents of the akmods).

Once you have a clean system, the akmod-nvidia is installed, and the kernel-rt-devel package is also installed the driver should be built and installed on the next boot. If you are booting graphically press the <ESC> key to see the text messages, you will see something in red if it fails (and then we have to see why).

-- Fernando


> akmod-nvidia-280.13-2.1.fc14.ccrma.3.x86_64
>
> akmods-0.3.8-3.fc14.noarch
>
> alsa-tools-1.0.24.1-1.3.fc14.ccrma.x86_64
>
> kernel-rt-2.6.33.13-149.rt31.2.fc14.ccrma.x86_64
>
> kernel-rt-devel-2.6.33.13-149.rt31.2.fc14.ccrma.x86_64
>
> kmod-nvidia-2.6.33.13-149.rt31.2.fc14.ccrma.x86_64.rt-280.13-2.1.fc14.
> 3.x86_64
>
> kmodtool-1-18.fc11.noarch
>
> nvidia-settings-1.0-11.fc14.x86_64
>
> nvidia-xconfig-1.0-9.fc14.x86_64
>
> planetccrma-core-2011.05.11-1.fc14.ccrma.x86_64
>
> rtirq-20090920-1.fc14.ccrma.x86_64
>
> xorg-x11-drv-nvidia-280.13-1.fc14.x86_64
>
> xorg-x11-drv-nvidia-libs-280.13-1.fc14.x86_64
>
> The error message I get is shown below.
>
> Cheers
>
> Steve
>
> PATH:
>
> /usr/local/cuda/bin:/usr/lib64/qt-3.3/bin:/usr/lib64/ccache:/usr/local
> /sbin:/us
>
> r/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin
>
> option status:
>
> license pre-accepted : false
>
> update : false
>
> force update : false
>
> expert : false
>
> uninstall : false
>
> driver info : false
>
> precompiled interfaces : true
>
> no ncurses color : false
>
> query latest version : false
>
> no questions : false
>
> silent : false
>
> no recursion : false
>
> no backup : false
>
> kernel module only : false
>
> sanity : false
>
> add this kernel : false
>
> no runlevel check : false
>
> no network : false
>
> no ABI note : false
>
> no RPMs : false
>
> no kernel module : false
>
> force SELinux : default
>
> no X server check : false
>
> no cc version check : false
>
> run distro scripts : true
>
> no nouveau check : false
>
> run nvidia-xconfig : false
>
> sigwinch work around : true
>
> force tls : (not specified)
>
> force compat32 tls : (not specified)
>
> X install prefix : (not specified)
>
> X library install path : (not specified)
>
> X module install path : (not specified)
>
> OpenGL install prefix : (not specified)
>
> OpenGL install libdir : (not specified)
>
> compat32 install chroot : (not specified)
>
> compat32 install prefix : (not specified)
>
> compat32 install libdir : (not specified)
>
> utility install prefix : (not specified)
>
> utility install libdir : (not specified)
>
> installer prefix : (not specified)
>
> doc install prefix : (not specified)
>
> kernel name : (not specified)
>
> kernel include path : (not specified)
>
> kernel source path : (not specified)
>
> kernel output path : (not specified)
>
> kernel install path : (not specified)
>
> precompiled kernel interfaces path : (not specified)
>
> precompiled kernel interfaces url : (not specified)
>
> proc mount point : /proc
>
> ui : (not specified)
>
> tmpdir : /tmp
>
> ftp mirror : ftp://download.nvidia.com
>
> RPM file list : (not specified)
>
> selinux chcon type : (not specified)
>
> Using: nvidia-installer ncurses user interface
>
> -> Tagging shared libraries with chcon -t textrel_shlib_t.
>
> -> License accepted.
>
> -> Installing NVIDIA driver version 285.05.33.
>
> -> Performing CC sanity check with CC="cc".
>
> -> Performing CC version check with CC="cc".
>
> -> Kernel source path:
>
> '/lib/modules/2.6.33.13-149.rt31.2.fc14.ccrma.x86_64.rt/source'
>
> -> Kernel output path:
>
> '/lib/modules/2.6.33.13-149.rt31.2.fc14.ccrma.x86_64.rt/build'
>
> -> Performing rivafb check.
>
> -> Performing nvidiafb check.
>
> -> Performing Xen check.
>
> -> Cleaning kernel module build directory.
>
> executing: 'cd ./kernel; make clean'...
>
> -> Building kernel module:
>
> executing: 'cd ./kernel; make module SYSSRC=/lib/modules/2.6.33.13-149.rt31.
>
> 2.fc14.ccrma.x86_64.rt/source SYSOUT=/lib/modules/2.6.33.13-149.rt31.2.fc14.
>
> ccrma.x86_64.rt/build'...
>
> NVIDIA: calling KBUILD...
>
> make -C /lib/modules/2.6.33.13-149.rt31.2.fc14.ccrma.x86_64.rt/build \
>
> KBUILD_SRC=/usr/src/kernels/2.6.33.13-149.rt31.2.fc14.ccrma.x86_64.rt 
> \
>
> KBUILD_EXTMOD="/tmp/selfgz4761/NVIDIA-Linux-x86_64-285.05.33/kernel" 
> -f /usr
>
> /src/kernels/2.6.33.13-149.rt31.2.fc14.ccrma.x86_64.rt/Makefile \
>
> modules
>
> test -e include/generated/autoconf.h -a -e include/config/auto.conf || 
> ( \
>
> echo; \
>
> echo " ERROR: Kernel configuration is invalid."; \
>
> echo " include/generated/autoconf.h or include/config/auto.conf are
>
> missing.";\
>
> echo " Run 'make oldconfig && make prepare' on kernel src to fix it.
>
> "; \
>
> echo; \
>
> /bin/false)
>
> mkdir -p 
> /tmp/selfgz4761/NVIDIA-Linux-x86_64-285.05.33/kernel/.tmp_versions
>
> ; rm -f 
> /tmp/selfgz4761/NVIDIA-Linux-x86_64-285.05.33/kernel/.tmp_versions/*
>
> make -f 
> /usr/src/kernels/2.6.33.13-149.rt31.2.fc14.ccrma.x86_64.rt/scripts/M
>
> akefile.build obj=/tmp/selfgz4761/NVIDIA-Linux-x86_64-285.05.33/kernel
>
> cc 
> -Wp,-MD,/tmp/selfgz4761/NVIDIA-Linux-x86_64-285.05.33/kernel/.nv.o.d -
>
> nostdinc -isystem /usr/lib/gcc/x86_64-redhat-linux/4.5.1/include 
> -I/usr/src/
>
> kernels/2.6.33.13-149.rt31.2.fc14.ccrma.x86_64.rt/arch/x86/include 
> -Iinclude
>
> -I/usr/src/kernels/2.6.33.13-149.rt31.2.fc14.ccrma.x86_64.rt/include 
> -inclu
>
> de include/generated/autoconf.h -I/tmp/selfgz4761/NVIDIA-Linux-x86_64-285.
>
> 05.33/kernel -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes 
> -Wno-trigraphs -
>
> fno-strict-aliasing -fno-common -Werror-implicit-function-declaration 
> -Wno-f
>
> ormat-security -fno-delete-null-pointer-checks -Os -m64 -mtune=generic 
> -mno-
>
> red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args 
> -fstack
>
> -protector -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 
> -DCONFIG_AS_CFI_
>
> SECTIONS=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables 
> -mno-sse
>
> -mno-mmx -mno-sse2 -mno-3dnow -Wframe-larger-than=2048 
> -fno-omit-frame-point
>
> er -fno-optimize-sibling-calls -g -Wdeclaration-after-statement 
> -Wno-pointer
>
> -sign -fno-strict-overflow -fno-dwarf2-cfi-asm -fconserve-stack 
> -I/tmp/sel
>
> fgz4761/NVIDIA-Linux-x8
>
> 6_64-285.05.33/kernel -Wall -MD -Wsign-compare -Wno-cast-qual 
> -Wno-error -D_
>
> _KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"285.05.33\" 
> -Wno-unused-func
>
> tion -mno-red-zone -mcmodel=kernel -UDEBUG -U_DEBUG -DNDEBUG -DMODULE 
> -D"KB
>
> UILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv)" 
> -D"KBUILD_MODNAME=KBUILD
>
> _STR(nvidia)" -D"DEBUG_HASH=18" -D"DEBUG_HASH2=14" -c -o 
> /tmp/selfgz4761/NVI
>
> DIA-Linux-x86_64-285.05.33/kernel/nv.o 
> /tmp/selfgz4761/NVIDIA-Linux-x86_64-2
>
> 85.05.33/kernel/nv.c
>
> In file included from 
> /usr/src/kernels/2.6.33.13-149.rt31.2.fc14.ccrma.x86_6
>
> 4.rt/arch/x86/include/asm/uaccess.h:573:0,
>
> from include/linux/poll.h:13,
>
> from /tmp/selfgz4761/NVIDIA-Linux-x86_64-285.05.33/kernel/n
>
> v-linux.h:99,
>
> from /tmp/selfgz4761/NVIDIA-Linux-x86_64-285.05.33/kernel/n
>
> v.c:13:
>
> /usr/src/kernels/2.6.33.13-149.rt31.2.fc14.ccrma.x86_64.rt/arch/x86/in
> clude/
>
> asm/uaccess_64.h: In function âcopy_from_userâ:
>
> /usr/src/kernels/2.6.33.13-149.rt31.2.fc14.ccrma.x86_64.rt/arch/x86/in
> clude/
>
> asm/uaccess_64.h:35:41: warning: comparison between signed and 
> unsigned inte
>
> ger expressions
>
> In file included from 
> /tmp/selfgz4761/NVIDIA-Linux-x86_64-285.05.33/kernel/n
>
> v.c:13:0:
>
> /tmp/selfgz4761/NVIDIA-Linux-x86_64-285.05.33/kernel/nv-linux.h: At 
> top leve
>
> l:
>
> /tmp/selfgz4761/NVIDIA-Linux-x86_64-285.05.33/kernel/nv-linux.h:267:27
> : erro
>
> r: expected â=â, â,â, â;â, âasmâ or â__attribute__â befo
>
> re ânv_spinlock_tâ
>
> In file included from 
> /tmp/selfgz4761/NVIDIA-Linux-x86_64-285.05.33/kernel/n
>
> v.c:13:0:
>
> /tmp/selfgz4761/NVIDIA-Linux-x86_64-285.05.33/kernel/nv-linux.h:1468:5
> : erro
>
> r: expected specifier-qualifier-list before ânv_spinlock_tâ
>
> /tmp/selfgz4761/NVIDIA-Linux-x86_64-285.05.33/kernel/nv.c: In function 
> ânv
>
> _alloc_file_privateâ:
>
> /tmp/selfgz4761/NVIDIA-Linux-x86_64-285.05.33/kernel/nv.c:1730:9: 
> error: imp
>
> licit declaration of function âsemaphore_initâ
>
> /tmp/selfgz4761/NVIDIA-Linux-x86_64-285.05.33/kernel/nv.c:1732:74:
> error: 342200
>
> 230nv_file_private_tâ has no member named âwaitqueueâ
>
> /tmp/selfgz4761/NVIDIA-Linux-x86_64-285.05.33/kernel/nv.c:1733:5: 
> error: imp
>
> licit declaration of function âatomic_spin_lock_initâ
>
> /tmp/selfgz4761/NVIDIA-Linux-x86_64-285.05.33/kernel/nv.c:1733:32:
> error: 342200
>
> 230nv_file_private_tâ has no member named âfp_lockâ
>
> /tmp/selfgz4761/NVIDIA-Linux-x86_64-285.05.33/kernel/nv.c: In function 
> ânv
>
> _kern_pollâ:
>
> /tmp/selfgz4761/NVIDIA-Linux-x86_64-285.05.33/kernel/nv.c:2513:30:
> error: 342200
>
> 230nv_file_private_tâ has no member named âwaitqueueâ
>
> /tmp/selfgz4761/NVIDIA-Linux-x86_64-285.05.33/kernel/nv.c:2516:5: 
> error: imp
>
> licit declaration of function âatomic_spin_lock_irqsaveâ
>
> /tmp/selfgz4761/NVIDIA-Linux-x86_64-285.05.33/kernel/nv.c:2516:35:
> error: 342200
>
> 230nv_file_private_tâ has no member named âfp_lockâ
>
> /tmp/selfgz4761/NVIDIA-Linux-x86_64-285.05.33/kernel/nv.c:2527:5: 
> error: imp
>
> licit declaration of function âatomic_spin_unlock_irqrestoreâ
>
> /tmp/selfgz4761/NVIDIA-Linux-x86_64-285.05.33/kernel/nv.c:2527:40:
> error: 342200
>
> 230nv_file_private_tâ has no member named âfp_lockâ
>
> /tmp/selfgz4761/NVIDIA-Linux-x86_64-285.05.33/kernel/nv.c: In function 
> ânv
>
> _post_eventâ:
>
> /tmp/selfgz4761/NVIDIA-Linux-x86_64-285.05.33/kernel/nv.c:3573:35:
> error: 342200
>
> 230nv_file_private_tâ has no member named âfp_lockâ
>
> /tmp/selfgz4761/NVIDIA-Linux-x86_64-285.05.33/kernel/nv.c:3590:20:
> error: 342200
>
> 230nv_file_private_tâ has no member named âwaitqueueâ
>
> /tmp/selfgz4761/NVIDIA-Linux-x86_64-285.05.33/kernel/nv.c:3591:40:
> error: 342200
>
> 230nv_file_private_tâ has no member named âfp_lockâ
>
> /tmp/selfgz4761/NVIDIA-Linux-x86_64-285.05.33/kernel/nv.c: In function 
> ânv
>
> _get_eventâ:
>
> /tmp/selfgz4761/NVIDIA-Linux-x86_64-285.05.33/kernel/nv.c:3605:35:
> error: 342200
>
> 230nv_file_private_tâ has no member named âfp_lockâ
>
> /tmp/selfgz4761/NVIDIA-Linux-x86_64-285.05.33/kernel/nv.c:3608:44:
> error: 342200
>
> 230nv_file_private_tâ has no member named âfp_lockâ
>
> /tmp/selfgz4761/NVIDIA-Linux-x86_64-285.05.33/kernel/nv.c:3633:40:
> error: 342200
>
> 230nv_file_private_tâ has no member named âfp_lockâ
>
> make[4]: *** 
> [/tmp/selfgz4761/NVIDIA-Linux-x86_64-285.05.33/kernel/nv.o] Err
>
> or 1
>
> make[3]: *** 
> [_module_/tmp/selfgz4761/NVIDIA-Linux-x86_64-285.05.33/kernel]
>
> Error 2
>
> make[2]: *** [sub-make] Error 2
>
> NVIDIA: left KBUILD.
>
> nvidia.ko failed to build!
>
> make[1]: *** [module] Error 1
>
> make: *** [module] Error 2
>
> -> Error.
>
>
>             -----Original Message-----
>             From: Fernando Lopez-Lezcano [mailto:nando at ccrma.Stanford.EDU]
>             Sent: Saturday, 2 June 2012 4:17 PM
>             To: Jeffrey Stephen
>             Cc: Fernando Lopez-Lezcano; planetccrma at ccrma.Stanford.EDU
>             Subject: Re: [PlanetCCRMA] problem starting X
>
>             On 05/31/2012 04:27 PM, Jeffrey Stephen wrote:
>
>             >  Hi Fernando,
>
>             >
>
>             >  I installed the rt-devel package but the build still
>             fails. I then
>
>             >  uninstalled the nvidia driver and tried the build again -
>             it still
>
>             >  fails. The build log is shown below.
>
>             The plain nvidia driver does not compile with the rt
>             kernels, it needs a patch. There is a (probably old by now)
>             package I created for this on the fc14 testing repository.
>
>             akmod-nvidia-280.13-2.1.fc14.ccrma.3
>
>             This should work as it has the patch included...
>
>             -- Fernando
>
>
>             >  nvidia-installer log file '/var/log/nvidia-installer.log'
>
>             >  creation time: Fri Jun 1 09:15:33 2012 installer version:
>             285.05.33
>
>             >
>
>             >  PATH:
>
>             >
>             
> /usr/local/cuda/bin:/usr/lib64/qt-3.3/bin:/usr/lib64/ccache:/usr/local
>
>             >  /s
>
>             >  bin:/us
>
>             >  r/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin
>
>             >
>
>             >  option status:
>
>             >  license pre-accepted : false
>
>             >  update : false
>
>             >  force update : false
>
>             >  expert : false
>
>             >  uninstall : false
>
>             >  driver info : false
>
>             >  precompiled interfaces : true
>
>             >  no ncurses color : false
>
>             >  query latest version : false
>
>             >  no questions : false
>
>             >  silent : false
>
>             >  no recursion : false
>
>             >  no backup : false
>
>             >  kernel module only : false
>
>             >  sanity : false
>
>             >  add this kernel : false
>
>             >  no runlevel check : false
>
>             >  no network : false
>
>             >  no ABI note : false
>
>             >  no RPMs : false
>
>             >  no kernel module : false
>
>             >  force SELinux : default
>
>             >  no X server check : false
>
>             >  no cc version check : false
>
>             >  run distro scripts : true
>
>             >  no nouveau check : false
>
>             >  run nvidia-xconfig : false
>
>             >  sigwinch work around : true
>
>             >  force tls : (not specified)
>
>             >  force compat32 tls : (not specified)
>
>             >  X install prefix : (not specified)
>
>             >  X library install path : (not specified)
>
>             >  X module install path : (not specified)
>
>             >  OpenGL install prefix : (not specified)
>
>             >  OpenGL install libdir : (not specified)
>
>             >  compat32 install chroot : (not specified)
>
>             >  compat32 install prefix : (not specified)
>
>             >  compat32 install libdir : (not specified)
>
>             >  utility install prefix : (not specified)
>
>             >  utility install libdir : (not specified)
>
>             >  installer prefix : (not specified)
>
>             >  doc install prefix : (not specified)
>
>             >  kernel name : (not specified)
>
>             >  kernel include path : (not specified)
>
>             >  kernel source path : (not specified)
>
>             >  kernel output path : (not specified)
>
>             >  kernel install path : (not specified)
>
>             >  precompiled kernel interfaces path : (not specified)
>
>             >  precompiled kernel interfaces url : (not specified)
>
>             >  proc mount point : /proc
>
>             >  ui : (not specified)
>
>             >  tmpdir : /tmp
>
>             >  ftp mirror :ftp://download.nvidia.com
>
>             >  RPM file list : (not specified)
>
>             >  selinux chcon type : (not specified)
>
>             >
>
>             >  Using: nvidia-installer ncurses user interface
>
>             >  -> Tagging shared libraries with chcon -t textrel_shlib_t.
>
>             >  -> License accepted.
>
>             >  -> Installing NVIDIA driver version 285.05.33.
>
>             >  -> Performing CC sanity check with CC="cc".
>
>             >  -> Performing CC version check with CC="cc".
>
>             >  -> Kernel source path:
>
>             >
>             '/lib/modules/2.6.33.13-149.rt31.2.fc14.ccrma.x86_64.rt/source'
>
>             >  -> Kernel output path:
>
>             >  '/lib/modules/2.6.33.13-149.rt31.2.fc14.ccrma.x86_64.rt/build'
>
>             >  -> Performing rivafb check.
>
>             >  -> Performing nvidiafb check.
>
>             >  -> Performing Xen check.
>
>             >  -> Cleaning kernel module build directory.
>
>             >  executing: 'cd ./kernel; make clean'...
>
>             >  -> Building kernel module:
>
>             >  executing: 'cd ./kernel; make module
>
>             >  SYSSRC=/lib/modules/2.6.33.13-149.rt31.
>
>             >  2.fc14.ccrma.x86_64.rt/source
>
>             >  SYSOUT=/lib/modules/2.6.33.13-149.rt31.2.fc14.
>
>             >  ccrma.x86_64.rt/build'...
>
>             >  NVIDIA: calling KBUILD...
>
>             >  make -C
>
>             >  
> /lib/modules/2.6.33.13-149.rt31.2.fc14.ccrma.x86_64.rt/build
>
>             >  \
>
>             >
>
>             >
>             
> KBUILD_SRC=/usr/src/kernels/2.6.33.13-149.rt31.2.fc14.ccrma.x86_64.rt
>
>             >  \
>
>             >
>             KBUILD_EXTMOD="/tmp/selfgz4897/NVIDIA-Linux-x86_64-285.05.33/kernel"
>
>             >  -f /usr
>
>             >
>             /src/kernels/2.6.33.13-149.rt31.2.fc14.ccrma.x86_64.rt/Makefile
>             \
>
>             >  modules
>
>             >  test -e include/generated/autoconf.h -a -e
>
>             >  include/config/auto.conf
>
>             >  || ( \
>
>             >  echo;
>
>             >  \
>
>             >  echo " ERROR: Kernel configuration is invalid."; \
>
>             >  echo " include/generated/autoconf.h or
>
>             >  include/config/auto.conf are
>
>             >  missing.";\
>
>             >  echo " Run 'make oldconfig&& make prepare' on kernel 
> src to
>
>             >  fix it.
>
>             >  "; \
>
>             >  echo;
>
>             >  \
>
>             >  /bin/false)
>
>             >  mkdir -p
>
>             >
>             
> /tmp/selfgz4897/NVIDIA-Linux-x86_64-285.05.33/kernel/.tmp_versions
>
>             >  ; rm -f
>
>             >
>             
> /tmp/selfgz4897/NVIDIA-Linux-x86_64-285.05.33/kernel/.tmp_versions/*
>
>             >  make -f
>
>             >
>             
> /usr/src/kernels/2.6.33.13-149.rt31.2.fc14.ccrma.x86_64.rt/scripts/M
>
>             >  akefile.build
>
>             >  
> obj=/tmp/selfgz4897/NVIDIA-Linux-x86_64-285.05.33/kernel
>
>             >  cc
>
>             >
>             -Wp,-MD,/tmp/selfgz4897/NVIDIA-Linux-x86_64-285.05.33/kernel/.nv.o.d
>             -
>
>             >  nostdinc -isystem
>             /usr/lib/gcc/x86_64-redhat-linux/4.5.1/include
>
>             >  -I/usr/src/
>
>             >
>             
> kernels/2.6.33.13-149.rt31.2.fc14.ccrma.x86_64.rt/arch/x86/include
>
>             >  -Iinclude
>
>             >
>
>             >
>             
> -I/usr/src/kernels/2.6.33.13-149.rt31.2.fc14.ccrma.x86_64.rt/include
>
>             >  -inclu
>
>             >  de include/generated/autoconf.h
>
>             >  -I/tmp/selfgz4897/NVIDIA-Linux-x86_64-285.
>
>             >  05.33/kernel -D__KERNEL__ -Wall -Wundef 
> -Wstrict-prototypes
>
>             >  -Wno-trigraphs -
>
>             >  fno-strict-aliasing -fno-common
>
>             >  -Werror-implicit-function-declaration
>
>             >  -Wno-f
>
>             >  ormat-security -fno-delete-null-pointer-checks -Os -m64
>
>             >  -mtune=generic -mno-
>
>             >  red-zone -mcmodel=kernel -funit-at-a-time
>
>             >  -maccumulate-outgoing-args -fstack
>
>             >  -protector -DCONFIG_AS_CFI=1 
> -DCONFIG_AS_CFI_SIGNAL_FRAME=1
>
>             >  -DCONFIG_AS_CFI_
>
>             >  SECTIONS=1 -pipe -Wno-sign-compare
>             -fno-asynchronous-unwind-tables
>
>             >  -mno-sse
>
>             >  -mno-mmx -mno-sse2 -mno-3dnow -Wframe-larger-than=2048
>
>             >  -fno-omit-frame-point
>
>             >  er -fno-optimize-sibling-calls -g
>             -Wdeclaration-after-statement
>
>             >  -Wno-pointer
>
>             >  -sign -fno-strict-overflow -fno-dwarf2-cfi-asm
>             -fconserve-stack
>
>             >  -I/tmp/sel
>
>             >  fgz4897/NVIDIA-Linux-x8
>
>             >  6_64-285.05.33/kernel -Wall -MD -Wsign-compare 
> -Wno-cast-qual
>
>             >  -Wno-error -D_
>
>             >  _KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"285.05.33\"
>
>             >  -Wno-unused-func
>
>             >  tion -mno-red-zone -mcmodel=kernel -UDEBUG -U_DEBUG 
> -DNDEBUG
>
>             >  -DMODULE -D"KB
>
>             >  UILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv)"
>
>             >  -D"KBUILD_MODNAME=KBUILD
>
>             >  _STR(nvidia)" -D"DEBUG_HASH=60" -D"DEBUG_HASH2=14" -c 
> -o
>
>             >  /tmp/selfgz4897/NVI
>
>             >  DIA-Linux-x86_64-285.05.33/kernel/nv.o
>
>             >  /tmp/selfgz4897/NVIDIA-Linux-x86_64-2
>
>             >  85.05.33/kernel/nv.c
>
>             >  In file included from
>
>             >  /usr/src/kernels/2.6.33.13-149.rt31.2.fc14.ccrma.x86_6
>
>             >  4.rt/arch/x86/include/asm/uaccess.h:573:0,
>
>             >  from include/linux/poll.h:13,
>
>             >  from
>
>             >  /tmp/selfgz4897/NVIDIA-Linux-x86_64-285.05.33/kernel/n
>
>             >  v-linux.h:99,
>
>             >  from
>
>             >  /tmp/selfgz4897/NVIDIA-Linux-x86_64-285.05.33/kernel/n
>
>             >  v.c:13:
>
>             >
>
>             >
>             
> /usr/src/kernels/2.6.33.13-149.rt31.2.fc14.ccrma.x86_64.rt/arch/x86/in
>
>             >  cl
>
>             >  ude/
>
>             >  asm/uaccess_64.h: In function 'copy_from_user':
>
>             >
>
>             >
>             
> /usr/src/kernels/2.6.33.13-149.rt31.2.fc14.ccrma.x86_64.rt/arch/x86/in
>
>             >  cl
>
>             >  ude/
>
>             >  asm/uaccess_64.h:35:41: warning: comparison between signed
>             and
>
>             >  unsigned inte
>
>             >  ger expressions
>
>             >  In file included from
>
>             >  /tmp/selfgz4897/NVIDIA-Linux-x86_64-285.05.33/kernel/n
>
>             >  v.c:13:0:
>
>             >
>             /tmp/selfgz4897/NVIDIA-Linux-x86_64-285.05.33/kernel/nv-linux.h:
>
>
>             >  At top leve
>
>             >  l:
>
>             >
>
>             >
>             /tmp/selfgz4897/NVIDIA-Linux-x86_64-285.05.33/kernel/nv-linux.h:267:27:
>
>             >  erro
>
>             >  r: expected '=', ',', ';', 'asm' or '__attribute__' 
> befo
>
>             >  re 'nv_spinlock_t'
>
>             >  In file included from
>
>             >  /tmp/selfgz4897/NVIDIA-Linux-x86_64-285.05.33/kernel/n
>
>             >  v.c:13:0:
>
>             >
>
>             >
>             /tmp/selfgz4897/NVIDIA-Linux-x86_64-285.05.33/kernel/nv-linux.h:1468:5:
>
>             >  erro
>
>             >  r: expected specifier-qualifier-list before 'nv_spinlock_t'
>
>             >  
> /tmp/selfgz4897/NVIDIA-Linux-x86_64-285.05.33/kernel/nv.c: In
>
>             >  function 'nv
>
>             >  _alloc_file_private':
>
>             >
>             /tmp/selfgz4897/NVIDIA-Linux-x86_64-285.05.33/kernel/nv.c:1730:9:
>
>             >  error: imp
>
>             >  licit declaration of function 'semaphore_init'
>
>             >
>             /tmp/selfgz4897/NVIDIA-Linux-x86_64-285.05.33/kernel/nv.c:1732:74:
>
>             >  error: 342200
>
>             >  230nv_file_private_t' has no member named 'waitqueue'
>
>             >
>             /tmp/selfgz4897/NVIDIA-Linux-x86_64-285.05.33/kernel/nv.c:1733:5:
>
>             >  error: imp
>
>             >  licit declaration of function 'atomic_spin_lock_init'
>
>             >
>             /tmp/selfgz4897/NVIDIA-Linux-x86_64-285.05.33/kernel/nv.c:1733:32:
>
>             >  error: 342200
>
>             >  230nv_file_private_t' has no member named 'fp_lock'
>
>             >  
> /tmp/selfgz4897/NVIDIA-Linux-x86_64-285.05.33/kernel/nv.c: In
>
>             >  function 'nv
>
>             >  _kern_poll':
>
>             >
>             /tmp/selfgz4897/NVIDIA-Linux-x86_64-285.05.33/kernel/nv.c:2513:30:
>
>             >  error: 342200
>
>             >  230nv_file_private_t' has no member named 'waitqueue'
>
>             >
>             /tmp/selfgz4897/NVIDIA-Linux-x86_64-285.05.33/kernel/nv.c:2516:5:
>
>             >  error: imp
>
>             >  licit declaration of function 'atomic_spin_lock_irqsave'
>
>             >
>             /tmp/selfgz4897/NVIDIA-Linux-x86_64-285.05.33/kernel/nv.c:2516:35:
>
>             >  error: 342200
>
>             >  230nv_file_private_t' has no member named 'fp_lock'
>
>             >
>             /tmp/selfgz4897/NVIDIA-Linux-x86_64-285.05.33/kernel/nv.c:2527:5:
>
>             >  error: imp
>
>             >  licit declaration of function 'atomic_spin_unlock_irqrestore'
>
>             >
>             /tmp/selfgz4897/NVIDIA-Linux-x86_64-285.05.33/kernel/nv.c:2527:40:
>
>             >  error: 342200
>
>             >  230nv_file_private_t' has no member named 'fp_lock'
>
>             >  
> /tmp/selfgz4897/NVIDIA-Linux-x86_64-285.05.33/kernel/nv.c: In
>
>             >  function 'nv
>
>             >  _post_event':
>
>             >
>             /tmp/selfgz4897/NVIDIA-Linux-x86_64-285.05.33/kernel/nv.c:3573:35:
>
>             >  error: 342200
>
>             >  230nv_file_private_t' has no member named 'fp_lock'
>
>             >
>             /tmp/selfgz4897/NVIDIA-Linux-x86_64-285.05.33/kernel/nv.c:3590:20:
>
>             >  error: 342200
>
>             >  230nv_file_private_t' has no member named 'waitqueue'
>
>             >
>             /tmp/selfgz4897/NVIDIA-Linux-x86_64-285.05.33/kernel/nv.c:3591:40:
>
>             >  error: 342200
>
>             >  230nv_file_private_t' has no member named 'fp_lock'
>
>             >  
> /tmp/selfgz4897/NVIDIA-Linux-x86_64-285.05.33/kernel/nv.c: In
>
>             >  function 'nv
>
>             >  _get_event':
>
>             >
>             /tmp/selfgz4897/NVIDIA-Linux-x86_64-285.05.33/kernel/nv.c:3605:35:
>
>             >  error: 342200
>
>             >  230nv_file_private_t' has no member named 'fp_lock'
>
>             >
>             /tmp/selfgz4897/NVIDIA-Linux-x86_64-285.05.33/kernel/nv.c:3608:44:
>
>             >  error: 342200
>
>             >  230nv_file_private_t' has no member named 'fp_lock'
>
>             >
>             /tmp/selfgz4897/NVIDIA-Linux-x86_64-285.05.33/kernel/nv.c:3633:40:
>
>             >  error: 342200
>
>             >  230nv_file_private_t' has no member named 'fp_lock'
>
>             >  make[4]: ***
>
>             >
>             
> [/tmp/selfgz4897/NVIDIA-Linux-x86_64-285.05.33/kernel/nv.o] Err
>
>             >  or 1
>
>             >  make[3]: ***
>
>             >  
> [_module_/tmp/selfgz4897/NVIDIA-Linux-x86_64-285.05.33/kernel]
>
>             >  Error 2
>
>             >  make[2]: *** [sub-make] Error 2
>
>             >  NVIDIA: left KBUILD.
>
>             >  nvidia.ko failed to build!
>
>             >  make[1]: *** [module] Error 1
>
>             >  make: *** [module] Error 2
>
>             >  -> Error.
>
>             >  ERROR: Unable to build the NVIDIA kernel module.
>
>             >  ERROR: Installation has failed. Please see the file
>
>             >  '/var/log/nvidia-installer.log' for details. You may 
> find
>
>             >  suggestions
>
>             >  on fixing installation problems in the README available on
>             the
>
>             >  Linux
>
>             >  driver download page atwww.nvidia.com<http://www.nvidia.com>.
>
>             >
>
>             >
>
>             >
>
>             >  -----Original Message-----
>
>             >  From: Fernando
>             
> Lopez-Lezcano[mailto:nando at ccrma.Stanford.EDU]<mailto:[mailto:nando at cc
> rma.Stanford.EDU]>
>
>             >  Sent: Friday, 1 June 2012 4:02 AM
>
>             >  To: Jeffrey Stephen
>
>             >
>             
> Cc:planetccrma at ccrma.Stanford.EDU<mailto:planetccrma at ccrma.Stanford.ED
> U>
>
>             >  Subject: Re: [PlanetCCRMA] problem starting X
>
>             >
>
>             >  On 05/30/2012 08:09 PM, Jeffrey Stephen wrote:
>
>             > > Hi
>
>             > >
>
>             > > I have just installed the planet-ccrma rt kernel on a
>             machine running
>
>             > > x86_64 FC14. When I attempt to start X, I get the error
>             message:
>
>             > >
>
>             > > Loading /usr/lib64/xorg/modules/drivers/nvidia_drv.so
>
>             > >
>
>             > > ...
>
>             > >
>
>             > > NVIDIA: Failed to load the NVIDIA kernel module.
>
>             > >
>
>             > > Previous posts to this mail list have indicated that I 
> need
>
>             >  kmod-nvidia
>
>             > >
>
>             > > for my kernel. It seems that I don't have this:
>
>             > >
>
>             > > rpm -qa | grep -i nvidia
>
>             > >
>
>             > > ------------------------
>
>             > >
>
>             > > --> no modules found
>
>             > >
>
>             > > rpm -qa | grep -i kmod
>
>             > >
>
>             > > ----------------------
>
>             > >
>
>             > > --> no modules found
>
>             > >
>
>             > > I then attempted to install the nVidia driver (is that
>             what it
>
>             >  needs?),
>
>             > >
>
>             > > but the installation stopped with the message:
>
>             > >
>
>             > > There appears to already be a driver installed on your 
> system
>
>             >  (version:
>
>             > >
>
>             > > 285.05.33). As part of installing this driver (version:
>             285.05.33),
>
>             >  the
>
>             > >
>
>             > > existing driver will be uninstalled. Are you sure you 
> want to
>
>             >  continue?
>
>             > >
>
>             > > ('no' will abort installation)
>
>             > >
>
>             > > If I continue with the installation, it fails with the
>             message:
>
>             > >
>
>             > >
>             
> ---------------------------------------------------------------
>
>             > >
>
>             > > ERROR: Unable to find the kernel source tree for the
>             currently
>
>             > > running
>
>             > >
>
>             > > kernel. Please make sure you have installed the kernel
>             source files
>
>             > >
>
>             > > for your kernel and that they are properly configured; on
>             Red Hat
>
>             > >
>
>             > > Linux systems, for example, be sure you have the
>             'kernel-source' or
>
>             > >
>
>             > > 'kernel-devel' RPM installed. If you know the correct
>             kernel source
>
>             > >
>
>             > > files are installed, you may specify the kernel source
>             path with the
>
>             > >
>
>             > > '--kernel-source-path' command line option.
>
>             > >
>
>             > > It appears as though I don't have the kernel source/devel
>             rpm for the
>
>             >  rt
>
>             > > kernel:
>
>             > >
>
>             > > rpm -qa | grep -i kernel
>
>             >
>
>             >  Try installing the kernel-rt-devel for your installed rt
>             kernel...
>
>             >  -- Fernando
>
>             >
>
>             >
>
>             >
>
>             >  ------------------------------
>
>             >  The information in this email together with any
>             attachments is intended only for the person or entity to
>             which it is addressed and may contain confidential and/or
>             privileged material. There is no waiver of any
>             confidentiality/privilege by your inadvertent receipt of
>             this material.
>
>             >  Any form of review, disclosure, modification, distribution
>             and/or publication of this email message is prohibited,
>             unless as a necessary part of Departmental business.
>
>             >  If you have received this message in error, you are asked
>             to inform the sender as quickly as possible and delete this
>             message and any copies of this message from your computer
>             and/or your computer system network.
>
>             >  ------------------------------
>
>             >
>
>             >
>
>             >  _______________________________________________
>
>             >  PlanetCCRMA mailing list
>
>             
> >PlanetCCRMA at ccrma.stanford.edu<mailto:PlanetCCRMA at ccrma.stanford.edu>
>
>             
> >http://ccrma-mail.stanford.edu/mailman/listinfo/planetccrma
>
>
>
> _______________________________________________
> PlanetCCRMA mailing list
> PlanetCCRMA at ccrma.stanford.edu
> http://ccrma-mail.stanford.edu/mailman/listinfo/planetccrma
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://ccrma-mail.stanford.edu/pipermail/planetccrma/attachments/20120607/7b6ea66d/attachment-0001.html 


More information about the PlanetCCRMA mailing list