package nvidia-current 195.36.15-0ubuntu3 failed to install/upgrade: nvidia-current kernel module failed to build (nv-linux.h:219: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘nv_spinlock_t’)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
nvidia-graphics-drivers (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Computer
Model MS-1633X (version MS-1633)
Manufacturer Micro-Star International
Form Factor Laptop - amd64 dual-core Turion X2 Mobil TL-56, with Nvidia chip sets
OS Ubuntu - Lucid Lynx/Studio 10.04 - Upgraded from Ubuntu Hardy/Studio 8.04
The Ubuntu 10.04 Studio installed software offers only the 2.6.31-10-rt kernel.
I have the Ubuntu 10.04 2.6.32-22-generic, and 2.6.32-22-preempt kernels installed that nvidia-current 195.36.15-0Ubuntu3 works well with.
The nvidia-current driver didn't work if I tried to boot to the 2.6.31-10-rt kernel, therefore I upgraded it through bojo42's PPA for RT Kernels ( https:/
I know that I compiled my nvidia-current to the standard 2.6.32-22-generic, and 2.6.32-22-preempt kernels, and that the 2.6.33-rt I installed is a newer non-matching number kernel. But I have never had problems with compiling nvidia proprietary drivers for this machine under Ubuntu Hardy, and so expected that the Lucid - Nvidia Hardware Drivers would work in a similar manner.
I'm at a loss for solutions at this point - after googling nvidia-current - the ubuntu forums - reading bug reports -etc. not much matching my current situation - probably because Ubuntu 10.04 is so new ?
( Excerpt from bojo42's PPA )
Ubuntu 10.04 uses a 2.6.32 based kernel with graphic drivers from 2.6.33, but for 2.6.32 there are no rt patches and so Ubuntu does only ship an old 2.6.31 based realtime kernel. This PPA provides a 2.6.33 based realtime kernel so you can have for example the full graphic experience of Ubuntu 10.04 and even some new features of 2.6.33.
The kernel itself is a plain vanilla 2.6.33.X with the latest rt patchset and configuration is based on the matching 2.6.33.X build from http://
In case i miss an update of the rt patchset (http://
BTW if you use a rt kernel on a desktop machine, you will notice that PulseAudio randomly crash at audio playback. See Bug #367671 for this.
#######
I'm not sure how to proceed with a solution here - Is Ubuntu - Debian, or Nvidia causing the driver not to compile for multiple kernel versions ?
In any case, it sure is not very user-friendly.
ProblemType: Package
DistroRelease: Ubuntu 10.04
Package: nvidia-current 195.36.15-0ubuntu3
ProcVersionSign
Uname: Linux 2.6.32-22-generic x86_64
NonfreeKernelMo
Architecture: amd64
Date: Mon Jun 7 13:24:28 2010
ErrorMessage: nvidia-current kernel module failed to build
Lsusb:
Bus 002 Device 002: ID 08ff:2580 AuthenTec, Inc. AES2501 Fingerprint Sensor
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
MachineType: Micro-Star International MS-1633X
PackageVersion: 195.36.15-0ubuntu3
ProcCmdLine: BOOT_IMAGE=
SourcePackage: nvidia-
Title: package nvidia-current 195.36.15-0ubuntu3 failed to install/upgrade: nvidia-current kernel module failed to build
dmi.bios.date: 07/31/2007
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: A1633NMS V7.09
dmi.board.
dmi.board.name: MS-1633X
dmi.board.vendor: MSI
dmi.board.version: Ver 1.000
dmi.chassis.
dmi.chassis.type: 10
dmi.chassis.vendor: To Be Filled By O.E.M.
dmi.chassis.
dmi.modalias: dmi:bvnAmerican
dmi.product.name: MS-1633X
dmi.product.
dmi.sys.vendor: Micro-Star International
system:
distro: Ubuntu
codename: lucid
architecture: x86_64
kernel: 2.6.32-22-generic
summary: |
package nvidia-current 195.36.15-0ubuntu3 failed to install/upgrade: - nvidia-current kernel module failed to build + nvidia-current kernel module failed to build (nv-linux.h:219: error: + expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘nv_spinlock_t’) |
I'm seeing the same problem with the new version (256.35) of nvidia-current that came out today, when applied to the Ubuntu Studio real-time kernel from the PPA (https:/ /launchpad. net/~abogani/ +archive/ ppa/+packages).
It did install cleanly for the low-latency kernel, but not the real-time kernel.