← Back to team overview

desktop-packages team mailing list archive

[Bug 1379014] Re: nvidia-331 331.89-0ubuntu5: nvidia-331 kernel module failed to build

 

*** This bug is a duplicate of bug 1268257 ***
    https://bugs.launchpad.net/bugs/1268257

Thank you for taking the time to report this bug and helping to make
Ubuntu better. This particular bug has already been reported and is a
duplicate of bug 1268257, so it is being marked as such. Please look at
the other bug report to see if there is any missing information that you
can provide, or to see if there is a workaround for the bug.
Additionally, any further discussion regarding the bug should occur in
the other report. Feel free to continue to report any other bugs you may
find.

** This bug has been marked a duplicate of bug 1268257
   nvidia-331-updates 331.38-0ubuntu3: nvidia-331-updates kernel module failed to build, with only error: "objdump: '... .tmp_nv.o': No such file"

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

Title:
  nvidia-331 331.89-0ubuntu5: nvidia-331 kernel module failed to build

Status in “nvidia-graphics-drivers-331” package in Ubuntu:
  New

Bug description:
  1)
  Description:	Ubuntu Utopic Unicorn (development branch)
  Release:	14.10

  2) see below

  3) sudo apt-get update && sudo apt-get dist-upgrade && sudo apt-get
  autoremove && sudo apt-get clean

  4) Following error message:

  
  Error! Bad return status for module build on kernel: 3.16.0-21-generic (x86_64)
  Consult /var/lib/dkms/nvidia-331/331.89/build/make.log for more information.
  sed: -e Ausdruck #1, Zeichen 6: Unbekannter Befehl: `m'
  sed: -e Ausdruck #1, Zeichen 6: Unbekannter Befehl: `m'

  
  make.log

                   from /var/lib/dkms/nvidia-331/331.89/build/nv-linux.h:44,
                   from /var/lib/dkms/nvidia-331/331.89/build/nv.c:13:
  include/asm-generic/qrwlock.h: In function ‘queue_write_trylock’:
  include/asm-generic/qrwlock.h:93:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
            cnts, cnts | _QW_LOCKED) == cnts);
                                     ^
  include/linux/compiler.h:159:40: note: in definition of macro ‘likely’
   # define likely(x) __builtin_expect(!!(x), 1)
                                          ^
  In file included from include/uapi/linux/stddef.h:1:0,
                   from include/linux/stddef.h:4,
                   from ./include/uapi/linux/posix_types.h:4,
                   from include/uapi/linux/types.h:13,
                   from include/linux/types.h:5,
                   from include/uapi/linux/capability.h:16,
                   from include/linux/capability.h:15,
                   from include/linux/sched.h:15,
                   from include/linux/utsname.h:5,
                   from /var/lib/dkms/nvidia-331/331.89/build/nv-linux.h:44,
                   from /var/lib/dkms/nvidia-331/331.89/build/nv.c:13:
  ./arch/x86/include/asm/uaccess.h: In function ‘copy_from_user’:
  ./arch/x86/include/asm/uaccess.h:712:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
    if (likely(sz < 0 || sz >= n))
                            ^
  include/linux/compiler.h:159:40: note: in definition of macro ‘likely’
   # define likely(x) __builtin_expect(!!(x), 1)
                                          ^
  ./arch/x86/include/asm/uaccess.h: In function ‘copy_to_user’:
  ./arch/x86/include/asm/uaccess.h:730:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
    if (likely(sz < 0 || sz >= n))
                            ^
  include/linux/compiler.h:159:40: note: in definition of macro ‘likely’
   # define likely(x) __builtin_expect(!!(x), 1)
                                          ^
  objdump: ‚/var/lib/dkms/nvidia-331/331.89/build/.tmp_nv.o‛: Keine solche Datei
  mv: der Aufruf von stat für »/var/lib/dkms/nvidia-331/331.89/build/.tmp_nv.o“ ist nicht möglich: Datei oder Verzeichnis nicht gefunden
  scripts/Makefile.build:257: recipe for target '/var/lib/dkms/nvidia-331/331.89/build/nv.o' failed
  make[2]: *** [/var/lib/dkms/nvidia-331/331.89/build/nv.o] Error 1
  Makefile:1345: recipe for target '_module_/var/lib/dkms/nvidia-331/331.89/build' failed
  make[1]: *** [_module_/var/lib/dkms/nvidia-331/331.89/build] Error 2
  make[1]: Leaving directory '/usr/src/linux-headers-3.16.0-21-generic'
  NVIDIA: left KBUILD.
  nvidia.ko failed to build!
  Makefile:178: recipe for target 'nvidia.ko' failed
  make: *** [nvidia.ko] Error 1

  ProblemType: Package
  DistroRelease: Ubuntu 14.10
  Package: nvidia-331 331.89-0ubuntu5
  ProcVersionSignature: Ubuntu 3.13.0-24.47-generic 3.13.9
  Uname: Linux 3.13.0-24-generic x86_64
  NonfreeKernelModules: nvidia
  ApportVersion: 2.14.7-0ubuntu5
  Architecture: amd64
  DKMSKernelVersion: 3.16.0-21-generic
  Date: Wed Oct  8 21:47:35 2014
  InstallationDate: Installed on 2014-05-07 (154 days ago)
  InstallationMedia: Ubuntu 14.04 LTS "Trusty Tahr" - Alpha amd64 (20140224)
  PackageVersion: 331.89-0ubuntu5
  SourcePackage: nvidia-graphics-drivers-331
  Title: nvidia-331 331.89-0ubuntu5: nvidia-331 kernel module failed to build
  UpgradeStatus: Upgraded to utopic on 2014-07-23 (77 days ago)

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


References