nvidia needs a small patch for Jaunty kernel 2.6.28

Bug #303107 reported by Anders Kaseorg
14
This bug affects 1 person
Affects Status Importance Assigned to Milestone
nvidia-graphics-drivers-177 (Ubuntu)
Fix Released
Medium
Alberto Milone

Bug Description

The nvidia driver is broken by some kernel API changes in 2.6.28:
* Some headers moved from include to arch/x86/include
* acpi_driver_data(device) changed from a macro to a function and no longer yields an lvalue

Attached is a patch extracted from the Mandriva SRPM:
http://rpm.pbone.net/index.php3/stat/4/idpl/10251610/com/dkms-nvidia-current-177.80-4mdv2009.0.i586.rpm.html

The conftest changes in this patch looks like they will break compilation on older kernels, so the patch may need to be modified for the Ubuntu package.

Until a fixed nvidia package is released, you can apply the attached patch in the /usr/src/nvidia-177.80 directory and invoke `sudo /etc/init.d/dkms_autoinstaller start` to get a working nvidia driver.

Revision history for this message
Anders Kaseorg (andersk) wrote :
Changed in nvidia-graphics-drivers-177:
assignee: nobody → albertomilone
importance: Undecided → Medium
status: New → Confirmed
Revision history for this message
Dean Loros (autocrosser) wrote :

This patch did not work for me--will retry later today. Fully updated Jaunty as of 29-11-08

Revision history for this message
Anders Kaseorg (andersk) wrote :

Dean: Are you running kernel 2.6.28? It is not currently installed by default in Jaunty; you need to install the linux-image-2.6.28-1-ub-generic package yourself.

Anyway, it turns out that the nvidia 180.08 beta driver already works on kernel 2.6.28, so a patch won’t be necessary if that gets into Jaunty.

Revision history for this message
Dean Loros (autocrosser) wrote :

I have downloaded it--have talked to Alberto about the status of the DKMS 180 driver--don't really want to "roll-my-own" been down that path too many times over the years.....Tried the patch again with no result, so I'll wait til the Official driver to come out---I'm sure that Alberto has it under development.

Thank you for the advisement.

Revision history for this message
Anders Kaseorg (andersk) wrote :

I now have 180.08 packages in my PPA, if you want to try them. I also ported linux-restricted-modules to 2.6.28.

<https://launchpad.net/~anders-kaseorg/+archive>

Revision history for this message
Dean Loros (autocrosser) wrote :

Sounds very good---I'll give them a try.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package nvidia-graphics-drivers-177 - 177.82-0ubuntu2

---------------
nvidia-graphics-drivers-177 (177.82-0ubuntu2) jaunty; urgency=low

  * Add debian.binary/patches/NVIDIA-177.82_2.6.28.patch to ensure compatibility
    with 2.6.28 kernels (LP: #303107)

 -- Alberto Milone (tseliot) <email address hidden> Mon, 01 Dec 2008 18:08:53 +0100

Changed in nvidia-graphics-drivers-177:
status: Confirmed → Fix Released
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.