[PlanetCCRMA] problem starting X

Jeffrey Stephen Stephen.Jeffrey at climatechange.qld.gov.au
Tue Jun 5 15:15:46 PDT 2012


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:

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/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/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 at www.nvidia.com.
		>
		>
		>
		> -----Original Message-----
		> From: Fernando Lopez-Lezcano [mailto:nando at ccrma.Stanford.EDU]
		> Sent: Friday, 1 June 2012 4:02 AM
		> To: Jeffrey Stephen
		> Cc: planetccrma at ccrma.Stanford.EDU
		> 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
		> http://ccrma-mail.stanford.edu/mailman/listinfo/planetccrma
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://ccrma-mail.stanford.edu/pipermail/planetccrma/attachments/20120606/3b57f270/attachment-0001.html 


More information about the PlanetCCRMA mailing list