← Back to team overview

desktop-packages team mailing list archive

[Bug 1399856] Re: nvidia-331 331.20-0ubuntu0.0.2: nvidia-331 kernel module failed to build

 

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

** This bug has been marked a duplicate of bug 1370859
   Error! Bad return status for module build on kernel: 3.16.0-16-generic (x86_64)

-- 
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/1399856

Title:
  nvidia-331 331.20-0ubuntu0.0.2: nvidia-331 kernel module failed to
  build

Status in nvidia-graphics-drivers-331 package in Ubuntu:
  Confirmed

Bug description:
  From upgrade:
  Examining /etc/kernel/postinst.d.
  run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 3.2.0-72-generic /boot/vmlinuz-3.2.0-72-generic
  run-parts: executing /etc/kernel/postinst.d/dkms 3.2.0-72-generic /boot/vmlinuz-3.2.0-72-generic
  Error! Bad return status for module build on kernel: 3.2.0-72-generic (x86_64)
  Consult /var/lib/dkms/nvidia-331/331.20/build/make.log for more information.

  Contents of  above:
  DKMS make.log for nvidia-331-331.20 for kernel 3.2.0-72-generic (x86_64)
  Sat Dec  6 14:54:26 AEDT 2014
  NVIDIA: calling KBUILD...
  make[1]: Entering directory `/usr/src/linux-headers-3.2.0-72-generic'
  test -e include/generated/autoconf.h -a -e include/config/auto.conf || (                \
          echo;                                                           \
          echo "  ERROR: Kernel configuration is invalid.";               \
          echo "         include/generated/autoconf.h or include/config/auto.conf are missing.";\
          echo "         Run 'make oldconfig && make prepare' on kernel src to fix it.";  \
          echo;                                                           \
          /bin/false)
  mkdir -p /var/lib/dkms/nvidia-331/331.20/build/.tmp_versions ; rm -f /var/lib/dkms/nvidia-331/331.20/build/.tmp_versions/*
  make -f scripts/Makefile.build obj=/var/lib/dkms/nvidia-331/331.20/build
    cc -Wp,-MD,/var/lib/dkms/nvidia-331/331.20/build/.nv.o.d  -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/4.6/include  -I/usr/src/linux-headers-3.2.0-72-generic/arch/x86/include -Iarch/x86/include/generated -Iinclude  -include /usr/src/linux-headers-3.2.0-72-generic/include/linux/kconfig.h -Iubuntu/include  -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -fno-delete-null-pointer-checks -O2 -m64 -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -fstack-protector -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -Wframe-larger-than=1024 -Wno-unused-but-set-variable -fno-omit-frame-pointer -fno-optimize-sibling-calls -fno-var-tracking-assignments -pg -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -DCC_HAVE_ASM_GOTO -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/var/lib/dkms/nvidia-331/331.20/build -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"331.20\" -Wno-unused-function -Wuninitialized -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME=\"nvidia\"  -DMODULE  -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv)"  -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /var/lib/dkms/nvidia-331/331.20/build/.tmp_nv.o /var/lib/dkms/nvidia-331/331.20/build/nv.c
  In file included from include/linux/kernel.h:17:0,
                   from include/linux/sched.h:55,
                   from include/linux/utsname.h:35,
                   from /var/lib/dkms/nvidia-331/331.20/build/nv-linux.h:44,
                   from /var/lib/dkms/nvidia-331/331.20/build/nv.c:13:
  include/linux/bitops.h: In function ‘hweight_long’:
  include/linux/bitops.h:49:41: warning: signed and unsigned type in conditional expression [-Wsign-compare]
  In file included from /usr/src/linux-headers-3.2.0-72-generic/arch/x86/include/asm/uaccess.h:575:0,
                   from include/linux/poll.h:14,
                   from /var/lib/dkms/nvidia-331/331.20/build/nv-linux.h:97,
                   from /var/lib/dkms/nvidia-331/331.20/build/nv.c:13:
  /usr/src/linux-headers-3.2.0-72-generic/arch/x86/include/asm/uaccess_64.h: In function ‘copy_from_user’:
  /usr/src/linux-headers-3.2.0-72-generic/arch/x86/include/asm/uaccess_64.h:53:6: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  objdump: '/var/lib/dkms/nvidia-331/331.20/build/.tmp_nv.o': No such file
  mv: cannot stat `/var/lib/dkms/nvidia-331/331.20/build/.tmp_nv.o': No such file or directory
  make[2]: *** [/var/lib/dkms/nvidia-331/331.20/build/nv.o] Error 1
  make[1]: *** [_module_/var/lib/dkms/nvidia-331/331.20/build] Error 2
  make[1]: Leaving directory `/usr/src/linux-headers-3.2.0-72-generic'
  NVIDIA: left KBUILD.
   nvidia.ko failed to build!
  make: *** [nvidia.ko] Error 1

  ProblemType: Package
  DistroRelease: Ubuntu 12.04
  Package: nvidia-331 331.20-0ubuntu0.0.2
  ProcVersionSignature: Ubuntu 3.2.0-70.105-generic 3.2.63
  Uname: Linux 3.2.0-70-generic x86_64
  NonfreeKernelModules: nvidia
  ApportVersion: 2.0.1-0ubuntu17.8
  Architecture: amd64
  DKMSKernelVersion: 3.2.0-72-generic
  Date: Sat Dec  6 14:55:24 2014
  InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Release amd64 (20111012)
  MarkForUpload: True
  PackageVersion: 331.20-0ubuntu0.0.2
  SourcePackage: nvidia-graphics-drivers-331
  Title: nvidia-331 331.20-0ubuntu0.0.2: nvidia-331 kernel module failed to build
  UpgradeStatus: Upgraded to precise on 2013-01-31 (673 days ago)

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


References