← Back to team overview

desktop-packages team mailing list archive

[Bug 1370859] Re: Error! Bad return status for module build on kernel: 3.16.0-16-generic (x86_64)


Still getting that error:

cd /var/lib/dkms/nvidia-331/331.89/build; make module SYSSRC=/lib/modules/3.16.0-22-generic/build SYSOUT=/lib/modules/3.16.0-22-generic/build KBUILD_EXTMOD=/var/lib/dkms/nvidia-331/331.89/build
make[1]: Entering directory '/var/lib/dkms/nvidia-331/331.89/build'
NVIDIA: calling KBUILD...
make[2]: Entering directory '/usr/src/linux-headers-3.16.0-22-generic'
test -e include/generated/autoconf.h -a -e include/config/auto.conf || (		\
echo >&2;							\
echo >&2 "  ERROR: Kernel configuration is invalid.";		\
echo >&2 "         include/generated/autoconf.h or include/config/auto.conf are missing.";\
echo >&2 "         Run 'make oldconfig && make prepare' on kernel src to fix it.";	\
echo >&2 ;	

Could not this be fixed ? That issue is met by many users.

Devtalk: https://devtalk.nvidia.com/default/topic/769055/dkms-fails-to-

You received this bug notification because you are a member of Desktop
Packages, which is subscribed to nvidia-graphics-drivers-331 in Ubuntu.

  Error! Bad return status for module build on kernel: 3.16.0-16-generic

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

Bug description:
  Installing a new kernel from a running gnome-shell session
  using the kernel 3.16.014, i'm getting:

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

  As apport also fails to report that issue (it simply does nothing, it
  even does not start and does not warns either), i'm joining the crash
  file and make.log for details.

  ProblemType: Bug
  DistroRelease: Ubuntu 14.10
  Package: nvidia-331 331.89-0ubuntu5
  ProcVersionSignature: Ubuntu 3.16.0-14.20-generic 3.16.2
  Uname: Linux 3.16.0-14-generic x86_64
  NonfreeKernelModules: nvidia
  ApportVersion: 2.14.7-0ubuntu2
  Architecture: amd64
  CurrentDesktop: GNOME
  Date: Thu Sep 18 07:13:23 2014
  SourcePackage: nvidia-graphics-drivers-331
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to: