← Back to team overview

desktop-packages team mailing list archive

[Bug 1427924] Re: autopkgtest failures if nvidia dkms module fails to build

 

I'm not sure, what this discussion is about. But as far as i know, you
could fix Nvidia drivers:

In bug Bug #1409190 I wrote:
    ROOT CAUSE: In kernel headers, a feature that nvidia code depends on, has been removed in kernel 3.19:
    
        $ diff linux-headers-3.18.0-13/include/linux/fs.h linux-headers-3.19.0-7/include/linux/fs.h | grep f_dentry
        < #define f_dentry f_path.dentry
    
    WORKAROUND: Make nvidia code live without that feature:
    
        $ sudo sed -i~ s/f_dentry/f_path.dentry/ /usr/src/nvidia-304-304.125/nv.c
        $ apt list --installed 'linux*' | cut -d / -f 1 | grep 3.19 | xargs sudo apt install --reinstall

But if you are after a set of tests, that don't get bugged about failing
packages, that's another kettle...

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

Title:
  autopkgtest failures if nvidia dkms module fails to build

Status in nvidia-graphics-drivers-304 package in Ubuntu:
  Triaged
Status in nvidia-graphics-drivers-304-updates package in Ubuntu:
  Triaged
Status in ubuntu-drivers-common package in Ubuntu:
  New

Bug description:
  The ubuntu-drivers-common package is currently failing its
  autopkgtests:

  test_nvidia_304 (__main__.TestUbuntuDrivers)
  nvidia-304 ... 
  --- Error output from package installation ---
  dpkg-preconfigure: unable to re-open stdin: No such file or directory
  update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults
   * Setting up X socket directories...
     ...done.
  ERROR: ld.so: object 'libumockdev-preload.so.0' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
  INFO:Enable nvidia-304
  DEBUG:Parsing /usr/share/ubuntu-drivers-common/quirks/lenovo_thinkpad
  DEBUG:Parsing /usr/share/ubuntu-drivers-common/quirks/dell_latitude
  DEBUG:Parsing /usr/share/ubuntu-drivers-common/quirks/put_your_quirks_here
  Error! Bad return status for module build on kernel: 3.19.0-7-generic (x86_64)
  Consult /var/lib/dkms/nvidia-304/304.125/build/make.log for more information.

  ------
  FAIL
  test_nvidia_304_updates (__main__.TestUbuntuDrivers)
  nvidia-304-updates ... 
  --- Error output from package installation ---
  dpkg-preconfigure: unable to re-open stdin: No such file or directory
  update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults
   * Setting up X socket directories...
     ...done.
  INFO:Enable nvidia-304-updates
  DEBUG:Parsing /usr/share/ubuntu-drivers-common/quirks/lenovo_thinkpad
  DEBUG:Parsing /usr/share/ubuntu-drivers-common/quirks/dell_latitude
  DEBUG:Parsing /usr/share/ubuntu-drivers-common/quirks/put_your_quirks_here
  Error! Bad return status for module build on kernel: 3.19.0-7-generic (x86_64)
  Consult /var/lib/dkms/nvidia-304-updates/304.125/build/make.log for more information.

  ------
  FAIL

  https://jenkins.qa.ubuntu.com/job/vivid-adt-ubuntu-drivers-
  common/57/ARCH=amd64,label=adt/console

  This has been failing consistently since Feb 27.

  This is a bad test, because a failure of the nvidia dkms module to be
  buildable should be captured as a failure on the nvidia package and
  not on the ubuntu-drivers package which is testing all of drivers.
  For ubuntu-drivers-common, an unbuildable dkms module should be
  treated as a skipped test rather than a failed test.

  Also opening a task against the nvidia 304 package, which probably
  needs a fix for newer kernels or to be dropped from the archive if
  it's incompatible with linux 3.19.

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


References