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’)

Bug #590931 reported by jwmislan
28
This bug affects 4 people
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://launchpad.net/~bojo42/+archive/rt ). After synaptic processing completed, Notice area showed that nvidia-current failed to install.

 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://kernel.ubuntu.com/~kernel-ppa/mainline plus some changes for realtime usage. So if you run into any problems check if got them with the mainline kernel as well, if that isn't the case you know that it's specific to the realtime patches and configuration.

In case i miss an update of the rt patchset (http://www.kernel.org/pub/linux/kernel/projects/rt/) just ping me: https://launchpad.net/~bojo42/+contactuser

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
ProcVersionSignature: Ubuntu 2.6.32-22.36-generic 2.6.32.11+drm33.2
Uname: Linux 2.6.32-22-generic x86_64
NonfreeKernelModules: nvidia
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=/boot/vmlinuz-2.6.32-22-generic root=UUID=e4a15ee3-df48-45fb-b50e-ca8144993e32 ro splash
SourcePackage: nvidia-graphics-drivers
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.asset.tag: To Be Filled By O.E.M.
dmi.board.name: MS-1633X
dmi.board.vendor: MSI
dmi.board.version: Ver 1.000
dmi.chassis.asset.tag: To Be Filled By O.E.M.
dmi.chassis.type: 10
dmi.chassis.vendor: To Be Filled By O.E.M.
dmi.chassis.version: To Be Filled By O.E.M.
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvrA1633NMSV7.09:bd07/31/2007:svnMicro-StarInternational:pnMS-1633X:pvrMS-1633:rvnMSI:rnMS-1633X:rvrVer1.000:cvnToBeFilledByO.E.M.:ct10:cvrToBeFilledByO.E.M.:
dmi.product.name: MS-1633X
dmi.product.version: MS-1633
dmi.sys.vendor: Micro-Star International
system:
 distro: Ubuntu
 codename: lucid
 architecture: x86_64
 kernel: 2.6.32-22-generic

Revision history for this message
jwmislan (jwmislan) wrote :
Revision history for this message
Noel J. Bergman (noeljb) wrote :

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.

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’)
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in nvidia-graphics-drivers (Ubuntu):
status: New → Confirmed
Revision history for this message
dino99 (9d9) wrote :

That version is no more supported; please open a new bug report if the actual archive found version also has the same issue.

Changed in nvidia-graphics-drivers (Ubuntu):
status: Confirmed → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.