← Back to team overview

ubuntu-x-swat team mailing list archive

Re: [Bug 627022] Re: package nvidia-current 195.36.24-0ubuntu1~10.04 failed to install/upgrade: nvidia-current kernel module failed to build (nv.c:417: error: unknown field ‘ioctl’ specified in initializer)

 

I am in the habit of installing all updates from Canonical as soon as
available, and noted some time ago that the problem no longer seemed to
exist after a routine update.  Unfortunately I did not note the date or time
of the update that did the trick.

On Tue, Oct 11, 2011 at 11:09 PM, Zerin Sakech
<627022@xxxxxxxxxxxxxxxxxx>wrote:

> ok, so I reinstalled Ubuntu 10.04.1 64bit (added the pre-released updates
> source) and did the all the normal updates, including the 2.6.32-34-generic
> kernel upgrade. then I installed the recommended hardware drivers from the
> GUI. Everything seemed to work perfectly fine the way a casual user might
> do
> it. It installed the 195.36.24 nvidia drivers for my gts 250 nvidia. If you
> need any more info, tell me.
>
>
> On Mon, Oct 3, 2011 at 11:58 PM, Daniel van Vugt <vanvugt@xxxxxxxxx>
> wrote:
>
> > Verification done using the test case in the description. I downloaded
> the
> > (i386) packages directly:
> >
> >
> https://launchpad.net/ubuntu/lucid/i386/nvidia-current/195.36.24-0ubuntu1~10.04.1
> > https://launchpad.net/ubuntu/lucid/i386/nvidia-96/96.43.17-0ubuntu1.1
> >
> > However this was done in a VM as I no longer have nvidia hardware.
> > Someone with actual nvidia hardware needs to test the packages too.
> >
> > --
> > You received this bug notification because you are subscribed to a
> > duplicate bug report (787838).
> > https://bugs.launchpad.net/bugs/627022
> >
> > Title:
> >  package nvidia-current 195.36.24-0ubuntu1~10.04 failed to
> >  install/upgrade: nvidia-current kernel module failed to build
> >  (nv.c:417: error: unknown field ‘ioctl’ specified in initializer)
> >
> > Status in “nvidia-graphics-drivers” package in Ubuntu:
> >  In Progress
> > Status in “nvidia-graphics-drivers-96” package in Ubuntu:
> >  In Progress
> > Status in “nvidia-graphics-drivers” source package in Lucid:
> >  Fix Committed
> > Status in “nvidia-graphics-drivers-96” source package in Lucid:
> >  Fix Committed
> > Status in Gentoo Linux:
> >  Fix Released
> >
> > Bug description:
> >  IMPACT:
> >
> >  The NVIDIA driver fails to build on Ubuntu 10.04 LTS if you have
> >  upgraded your kernel to >= 2.6.36. The offending kernel change was
> >  commit b19dd42faf413b4705d4adb38521e82d73fa4249 in 2.6.36 stable.
> >
> >
> >  TEST CASE:
> >
> >  Starting with a clean Ubuntu 10.04 installation...
> >      sudo apt-add-repository ppa:kernel-ppa/ppa && sudo apt-get update
> >      sudo apt-get install linux-image-generic-lts-backport-natty
> > linux-headers-generic-lts-backport-natty
> >      sudo apt-get install nvidia-current
> >  Installation of nvidia-current will fail for the newer kernel. Now to
> > verify it's the same error at nv.c:417:
> >      tail /var/lib/dkms/nvidia-current/*/build/make.log
> >  ("error: unknown field ‘ioctl’ specified in initializer")
> >
> >
> >  FIX:
> >
> >  ifdef out the deprecated structure field, which is no longer present
> >  in Linux kernels >= 2.6.36. NVIDIA have already implemented a similar
> >  fix upstream, apparently in driver version ~260.19.06 onward.
> >
> >
> >  NOTES:
> >
> >  This seems to be the same bug in both the 96 and 195 series nvidia
> > drivers:
> >  nv.c:244 (nvidia-96 96.43.17-0ubuntu1) == nv.c:417 (nvidia-current
> > 195.36.24-0ubuntu1~10.04)
> >
> >
> >  REGRESSION POTENTIAL:
> >
> >  Low. We are only #ifdef'ing out a structure member that no longer
> >  exists. Its replacement is already present in both newer and older
> >  kernels, and is used (redundantly) by the NVIDIA driver source because
> >  the removal of the 'ioctl' field had been planned for a long time.
> >
> >
> >  ORIGINAL BUG REPORT:
> >
> >  ProblemType: Package
> >  DistroRelease: Ubuntu 10.04
> >  Package: nvidia-current 195.36.24-0ubuntu1~10.04
> >  ProcVersionSignature: Ubuntu 2.6.35-19.25~lucid1-generic 2.6.35.3
> >  Uname: Linux 2.6.35-19-generic x86_64
> >  NonfreeKernelModules: nvidia
> >  Architecture: amd64
> >  Date: Mon Aug 30 15:20:49 2010
> >  ErrorMessage: nvidia-current kernel module failed to build
> >  InstallationMedia: Ubuntu 10.04 LTS "Lucid Lynx" - Release amd64
> > (20100427.1)
> >  Lsusb:
> >   Bus 002 Device 002: ID 1241:1503 Belkin Keyboard
> >   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: Gigabyte Technology Co., Ltd. M61P-S3
> >  PackageVersion: 195.36.24-0ubuntu1~10.04
> >  ProcCmdLine: BOOT_IMAGE=/vmlinuz-2.6.35-19-generic
> > root=UUID=854b6439-6806-4a32-ae7b-c2024e888b20 ro quiet splash
> >  SourcePackage: nvidia-graphics-drivers
> >  Title: package nvidia-current 195.36.24-0ubuntu1~10.04 failed to
> > install/upgrade: nvidia-current kernel module failed to build
> >  dmi.bios.date: 06/18/2009
> >  dmi.bios.vendor: Award Software International, Inc.
> >  dmi.bios.version: F7f
> >  dmi.board.name: M61P-S3
> >  dmi.board.vendor: Gigabyte Technology Co., Ltd.
> >  dmi.chassis.type: 3
> >  dmi.chassis.vendor: Gigabyte Technology Co., Ltd.
> >  dmi.modalias:
> >
> dmi:bvnAwardSoftwareInternational,Inc.:bvrF7f:bd06/18/2009:svnGigabyteTechnologyCo.,Ltd.:pnM61P-S3:pvr:rvnGigabyteTechnologyCo.,Ltd.:rnM61P-S3:rvr:cvnGigabyteTechnologyCo.,Ltd.:ct3:cvr:
> >  dmi.product.name: M61P-S3
> >  dmi.sys.vendor: Gigabyte Technology Co., Ltd.
> >  system:
> >   distro:             Ubuntu
> >   codename:           lucid
> >   architecture:       x86_64
> >   kernel:             2.6.35-19-generic
> >
> > To manage notifications about this bug go to:
> >
> >
> https://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-drivers/+bug/627022/+subscriptions
> >
>
>
> --
> Later, like from, Zerin Sakech
>
> --
> You received this bug notification because you are subscribed to a
> duplicate bug report (796091).
> https://bugs.launchpad.net/bugs/627022
>
> Title:
>  package nvidia-current 195.36.24-0ubuntu1~10.04 failed to
>  install/upgrade: nvidia-current kernel module failed to build
>  (nv.c:417: error: unknown field ‘ioctl’ specified in initializer)
>
> Status in “nvidia-graphics-drivers” package in Ubuntu:
>  In Progress
> Status in “nvidia-graphics-drivers-96” package in Ubuntu:
>  In Progress
> Status in “nvidia-graphics-drivers” source package in Lucid:
>  Fix Committed
> Status in “nvidia-graphics-drivers-96” source package in Lucid:
>  Fix Committed
> Status in Gentoo Linux:
>  Fix Released
>
> Bug description:
>  IMPACT:
>
>  The NVIDIA driver fails to build on Ubuntu 10.04 LTS if you have
>  upgraded your kernel to >= 2.6.36. The offending kernel change was
>  commit b19dd42faf413b4705d4adb38521e82d73fa4249 in 2.6.36 stable.
>
>
>  TEST CASE:
>
>  Starting with a clean Ubuntu 10.04 installation...
>      sudo apt-add-repository ppa:kernel-ppa/ppa && sudo apt-get update
>      sudo apt-get install linux-image-generic-lts-backport-natty
> linux-headers-generic-lts-backport-natty
>      sudo apt-get install nvidia-current
>  Installation of nvidia-current will fail for the newer kernel. Now to
> verify it's the same error at nv.c:417:
>      tail /var/lib/dkms/nvidia-current/*/build/make.log
>  ("error: unknown field ‘ioctl’ specified in initializer")
>
>
>  FIX:
>
>  ifdef out the deprecated structure field, which is no longer present
>  in Linux kernels >= 2.6.36. NVIDIA have already implemented a similar
>  fix upstream, apparently in driver version ~260.19.06 onward.
>
>
>  NOTES:
>
>  This seems to be the same bug in both the 96 and 195 series nvidia
> drivers:
>  nv.c:244 (nvidia-96 96.43.17-0ubuntu1) == nv.c:417 (nvidia-current
> 195.36.24-0ubuntu1~10.04)
>
>
>  REGRESSION POTENTIAL:
>
>  Low. We are only #ifdef'ing out a structure member that no longer
>  exists. Its replacement is already present in both newer and older
>  kernels, and is used (redundantly) by the NVIDIA driver source because
>  the removal of the 'ioctl' field had been planned for a long time.
>
>
>  ORIGINAL BUG REPORT:
>
>  ProblemType: Package
>  DistroRelease: Ubuntu 10.04
>  Package: nvidia-current 195.36.24-0ubuntu1~10.04
>  ProcVersionSignature: Ubuntu 2.6.35-19.25~lucid1-generic 2.6.35.3
>  Uname: Linux 2.6.35-19-generic x86_64
>  NonfreeKernelModules: nvidia
>  Architecture: amd64
>  Date: Mon Aug 30 15:20:49 2010
>  ErrorMessage: nvidia-current kernel module failed to build
>  InstallationMedia: Ubuntu 10.04 LTS "Lucid Lynx" - Release amd64
> (20100427.1)
>  Lsusb:
>   Bus 002 Device 002: ID 1241:1503 Belkin Keyboard
>   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: Gigabyte Technology Co., Ltd. M61P-S3
>  PackageVersion: 195.36.24-0ubuntu1~10.04
>  ProcCmdLine: BOOT_IMAGE=/vmlinuz-2.6.35-19-generic
> root=UUID=854b6439-6806-4a32-ae7b-c2024e888b20 ro quiet splash
>  SourcePackage: nvidia-graphics-drivers
>  Title: package nvidia-current 195.36.24-0ubuntu1~10.04 failed to
> install/upgrade: nvidia-current kernel module failed to build
>  dmi.bios.date: 06/18/2009
>  dmi.bios.vendor: Award Software International, Inc.
>  dmi.bios.version: F7f
>  dmi.board.name: M61P-S3
>  dmi.board.vendor: Gigabyte Technology Co., Ltd.
>  dmi.chassis.type: 3
>  dmi.chassis.vendor: Gigabyte Technology Co., Ltd.
>  dmi.modalias:
> dmi:bvnAwardSoftwareInternational,Inc.:bvrF7f:bd06/18/2009:svnGigabyteTechnologyCo.,Ltd.:pnM61P-S3:pvr:rvnGigabyteTechnologyCo.,Ltd.:rnM61P-S3:rvr:cvnGigabyteTechnologyCo.,Ltd.:ct3:cvr:
>  dmi.product.name: M61P-S3
>  dmi.sys.vendor: Gigabyte Technology Co., Ltd.
>  system:
>   distro:             Ubuntu
>   codename:           lucid
>   architecture:       x86_64
>   kernel:             2.6.35-19-generic
>
> To manage notifications about this bug go to:
>
> https://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-drivers/+bug/627022/+subscriptions
>

-- 
You received this bug notification because you are a member of Ubuntu-X,
which is subscribed to nvidia-graphics-drivers in Ubuntu.
https://bugs.launchpad.net/bugs/627022

Title:
  package nvidia-current 195.36.24-0ubuntu1~10.04 failed to
  install/upgrade: nvidia-current kernel module failed to build
  (nv.c:417: error: unknown field ‘ioctl’ specified in initializer)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-drivers/+bug/627022/+subscriptions


References