Malformed patch, package nvidia-current 256.53-0ubuntu1 failed to install/upgrade: nvidia-current kernel module failed to build

Bug #630690 reported by plun
20
This bug affects 3 people
Affects Status Importance Assigned to Milestone
nvidia-graphics-drivers (Ubuntu)
Fix Released
Medium
Alberto Milone

Bug Description

nvidia-graphics-drivers (256.53-0ubuntu1) maverick; urgency=low

  [ Robert Hooker ]
  * debian/dkms/patches/nvidia-2.6.36-ioctl.patch:
    - Add patch from nvnews to add compatibility with kernel
      2.6.36.

The patch fails.....

Building initial module for 2.6.36-020636rc3-generic
patch: **** malformed patch at line 5: static struct file_operations nv_fops = {
Error! Application of patch nvidia-2.6.36-ioctl.patch failed.
Check /var/lib/dkms/nvidia-current/256.53/build/ for more information.
dpkg: error processing nvidia-current (--configure):
 subprocess installed post-installation script returned error exit status 6

Info: (a line removal)
http://www.nvnews.net/vbulletin/showpost.php?p=2303016&postcount=3

Manual line removal and manual driver install without any issues, works just fine

ProblemType: Package
DistroRelease: Ubuntu 10.10
Package: nvidia-current 256.53-0ubuntu1
Uname: Linux 2.6.36-020636rc3-generic x86_64
NonfreeKernelModules: nvidia
Architecture: amd64
Date: Sun Sep 5 09:57:11 2010
ErrorMessage: nvidia-current kernel module failed to build
InstallationMedia: Ubuntu 10.04 LTS "Lucid Lynx" - Release amd64 (20100429)
PackageVersion: 256.53-0ubuntu1
SourcePackage: nvidia-graphics-drivers
Title: package nvidia-current 256.53-0ubuntu1 failed to install/upgrade: nvidia-current kernel module failed to build
system:
 distro: Ubuntu
 codename: maverick
 architecture: x86_64
 kernel: 2.6.36-020636rc3-generic

Revision history for this message
plun (plun) wrote :
Revision history for this message
Filippo Magni (fil0) wrote :

It affects me too.
I resolved removing the script inside the file /var/lib/dkms/nvidia-current/256.53/source/patches/nvidia-2.6.36-ioctl.patch (leaving the empty patch inside the folder) then I replaced line 426 of /var/lib/dkms/nvidia-current/256.53/source/nv.c with ".unlocked_ioctl = nv_kern_unlocked_ioctl," and at the end I reinstalled linux kernel headers --> rebuild nvidia-current kernel module.

Revision history for this message
Harry (harry33) wrote :

Could perhaps Robert Hooker or Alberto Milone comment on this.
The development of the kernel 2.6.36 is quite far now and a number of interested users might want to try it in Maverick.

Changed in nvidia-graphics-drivers (Ubuntu):
status: New → Confirmed
importance: Undecided → Medium
assignee: nobody → Alberto Milone (albertomilone)
Revision history for this message
Launchpad Janitor (janitor) wrote :

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

---------------
nvidia-graphics-drivers (256.53-0ubuntu2) maverick; urgency=low

  * debian/dkms/patches/nvidia-2.6.36-ioctl.patch:
    - Fix malformed patch (LP: #630690).
 -- Alberto Milone <email address hidden> Mon, 06 Sep 2010 12:02:08 +0200

Changed in nvidia-graphics-drivers (Ubuntu):
status: Confirmed → Fix Released
Revision history for this message
plun (plun) wrote :

Works just fine... !

Thanks !

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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