nvidia-319 319.32-0ubuntu7: nvidia-319 kernel module fails to build on kernel 3.12.x [error: ‘drm_fasync’ undeclared here]

Bug #1245007 reported by bp0
42
This bug affects 9 people
Affects Status Importance Assigned to Milestone
nvidia-graphics-drivers-319 (Ubuntu)
Fix Released
Low
Unassigned

Bug Description

I'm testing the 3.12 kernel in saucy and have an Acer Aspire v5-573g with a Nvidia Geforce GT 750m and bumblebee installed. Under 3.11 bumblebee fails to load (due to a known kernel bug/Acer bug). This appears to be fixed in 3.12 (see https://bugzilla.kernel.org/show_bug.cgi?id=60829 for details) but I can't test it, seemingly, as the Nvidia driver I have crashes. No idea why.

ProblemType: Package
DistroRelease: Ubuntu 13.10
Package: nvidia-319 319.32-0ubuntu7
Uname: Linux 3.12.0-031200rc6-generic x86_64
ApportVersion: 2.12.5-0ubuntu2.1
Architecture: amd64
DKMSKernelVersion: 3.12.0-031200rc6-generic
Date: Sat Oct 26 17:09:31 2013
DuplicateSignature: dkms:nvidia-319:319.32-0ubuntu7:/var/lib/dkms/nvidia-319/319.32/build/nv-drm.c:109:15: error: ‘drm_fasync’ undeclared here (not in a function)
InstallationDate: Installed on 2013-08-31 (55 days ago)
InstallationMedia: Ubuntu 13.10 "Saucy Salamander" - Alpha amd64 (20130830)
MarkForUpload: True
PackageVersion: 319.32-0ubuntu7
SourcePackage: nvidia-graphics-drivers-319
Title: nvidia-319 319.32-0ubuntu7: nvidia-319 kernel module failed to build
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
bp0 (bullet-proof-0) wrote :
tags: removed: need-duplicate-check
Revision history for this message
Daniel Letzeisen (dtl131) wrote :

The nvidia-319 package has not been patched for kernel 3.12.x yet. If it's the same patch that is needed for 3.11.x (which is possible because it spits out the same errors), then it should be a simple matter of changing this line to include 3.12:
PATCH_MATCH[1]="^3.[10-11]"
Reference: http://launchpadlibrarian.net/146910992/nvidia-graphics-drivers-319_319.32-0ubuntu5_319.32-0ubuntu6.diff.gz

Rather than waiting for a patch which may never come (binary drivers tend to not get patched for newer kernel support in non-development or non-LTS Ubuntu releases), you may want to just try the 325.x or 331.x nvidia driver from:
https://launchpad.net/~xorg-edgers/+archive/ppa?field.series_filter=saucy

summary: - nvidia-319 319.32-0ubuntu7: nvidia-319 kernel module failed to build
+ nvidia-319 319.32-0ubuntu7: nvidia-319 kernel module fails to build on
+ kernel 3.12.x [error: ‘drm_fasync’ undeclared here]
Changed in nvidia-graphics-drivers-319 (Ubuntu):
importance: Undecided → Low
status: New → Triaged
Revision history for this message
bp0 (bullet-proof-0) wrote :

Thank you for the advice, Daniel. I've installed nvidia-331 which works fine.

Revision history for this message
Daniel Letzeisen (dtl131) wrote :

You're welcome. Kernel 3.12 support has been added in Trusty/14.04:

nvidia-graphics-drivers-319 (319.60-0ubuntu1) trusty; urgency=low

  * New upstream release:
    - Added support for the following GPU:
      o GeForce GTX 760 Ti OEM
    - Fixed a bug that could cause OpenGL applications to
      crash during the initialization of new threads.
    - Fixed a bug that caused the GPU and Memory clock
      frequencies for some PowerMizer performance levels
      on Kepler boards to be reported incorrectly in the
      nvidia-settings control panel.
    - Fixed a bug that caused the X server to fail to
      start on certain laptops when the boot display was
      on an external DisplayPort monitor, for example if
      the laptop was booted while the lid was closed.
    - Fixed a bug in nvidia-installer that caused the
      32-bit libGL.la libtool library file to be
      installed to the wrong location.
    - Updated the NVIDIA OpenGL driver to write temporary
      files to $TMPDIR if it is set, instead of
      unconditionally writing to /tmp (LP: #1212425).
    - Updated a fallback of writing temporary files to
      $HOME/.nvidia to use $HOME/.nv instead, as the
      latter path is already used for other NVIDIA driver
      related files.
  * Add buildfix_kernel_3.12.patch:
    - Add support for Linux 3.12
  * Refresh buildfix_kernel_3.11.patch.
 -- Alberto Milone <email address hidden> Mon, 04 Nov 2013 17:10:17 +0100

Changed in nvidia-graphics-drivers-319 (Ubuntu):
status: Triaged → Fix Released
Revision history for this message
Thomas Templin (coastgnu) wrote :

Same problem in 3.13

nvidia-319 kernel module fails to build on

             kernel 3.13.x

[error: ‘drm_fasync’ undeclared here]

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.