desktop-packages team mailing list archive
-
desktop-packages team
-
Mailing list archive
-
Message #87986
[Bug 1401700] [NEW] nvidia-331 331.113-0ubuntu0.1: nvidia-331 kernel module failed to build
Public bug reported:
Just adding more data. When I wanted to `apt-get install linux-
headers-3.16.0-28 linux-headers-3.16.0-28-generic` I saw these errors:
run-parts: executing /etc/kernel/header_postinst.d/dkms 3.16.0-28-generic /boot/vmlinuz-3.16.0-28-generic
Error! Bad return status for module build on kernel: 3.16.0-28-generic (x86_64)
Here more context from the make.log:
$ cat /var/lib/dkms/nvidia-331/331.113/build/make.log
DKMS make.log for nvidia-331-331.113 for kernel 3.16.0-28-generic (x86_64)
Fri Dec 12 11:21:35 NZDT 2014
NVIDIA: calling KBUILD...
make[1]: Entering directory '/usr/src/linux-headers-3.16.0-28-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 ; \
/bin/false)
mkdir -p /var/lib/dkms/nvidia-331/331.113/build/.tmp_versions ; rm -f /var/lib/dkms/nvidia-331/331.113/build/.tmp_versions/*
make -f scripts/Makefile.build obj=/var/lib/dkms/nvidia-331/331.113/build
cc -Wp,-MD,/var/lib/dkms/nvidia-331/331.113/build/.nv.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/4.9/include -I./arch/x86/include -Iarch/x86/include/generated -Iinclude -I./arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I./include/uapi -Iinclude/generated/uapi -include ./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 -m64 -mno-mmx -mno-sse -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_X86_X32_ABI -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -fno-delete-null-pointer-checks -O2 -Wframe-larger-than=1024 -fstack-protector -Wno-unused-but-set-variable -fno-omit-frame-pointer -fno-optimize-sibling-calls -fno-var-tracking-assignments -pg -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -DCC_HAVE_ASM_GOTO -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/var/lib/dkms/nvidia-331/331.113/build -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"331.113\" -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.113/build/.tmp_nv.o /var/lib/dkms/nvidia-331/331.113/build/nv.c
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.113/build/nv-linux.h:44,
from /var/lib/dkms/nvidia-331/331.113/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.113/build/nv-linux.h:44,
from /var/lib/dkms/nvidia-331/331.113/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)
^
mv: cannot move ‘/var/lib/dkms/nvidia-331/331.113/build/.tmp_nv.o’ to ‘/var/lib/dkms/nvidia-331/331.113/build/nv.o’: No such file or directory
scripts/Makefile.build:257: recipe for target '/var/lib/dkms/nvidia-331/331.113/build/nv.o' failed
make[2]: *** [/var/lib/dkms/nvidia-331/331.113/build/nv.o] Error 1
Makefile:1345: recipe for target '_module_/var/lib/dkms/nvidia-331/331.113/build' failed
make[1]: *** [_module_/var/lib/dkms/nvidia-331/331.113/build] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-3.16.0-28-generic'
NVIDIA: left KBUILD.
nvidia.ko failed to build!
Makefile:180: recipe for target 'nvidia.ko' failed
make: *** [nvidia.ko] Error 1
ProblemType: Package
DistroRelease: Ubuntu 14.10
Package: nvidia-331 331.113-0ubuntu0.1
ProcVersionSignature: Ubuntu 3.16.0-24.32-generic 3.16.4
Uname: Linux 3.16.0-24-generic x86_64
NonfreeKernelModules: nvidia
ApportVersion: 2.14.7-0ubuntu8
Architecture: amd64
DKMSKernelVersion: 3.16.0-28-generic
Date: Fri Dec 12 11:21:48 2014
InstallationDate: Installed on 2014-10-31 (41 days ago)
InstallationMedia: Ubuntu 14.10 "Utopic Unicorn" - Release amd64 (20141022.1)
PackageVersion: 331.113-0ubuntu0.1
SourcePackage: nvidia-graphics-drivers-331
Title: nvidia-331 331.113-0ubuntu0.1: nvidia-331 kernel module failed to build
UpgradeStatus: No upgrade log present (probably fresh install)
** Affects: nvidia-graphics-drivers-331 (Ubuntu)
Importance: Undecided
Status: New
** Tags: amd64 apport-package third-party-packages utopic
--
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/1401700
Title:
nvidia-331 331.113-0ubuntu0.1: nvidia-331 kernel module failed to
build
Status in nvidia-graphics-drivers-331 package in Ubuntu:
New
Bug description:
Just adding more data. When I wanted to `apt-get install linux-
headers-3.16.0-28 linux-headers-3.16.0-28-generic` I saw these errors:
run-parts: executing /etc/kernel/header_postinst.d/dkms 3.16.0-28-generic /boot/vmlinuz-3.16.0-28-generic
Error! Bad return status for module build on kernel: 3.16.0-28-generic (x86_64)
Here more context from the make.log:
$ cat /var/lib/dkms/nvidia-331/331.113/build/make.log
DKMS make.log for nvidia-331-331.113 for kernel 3.16.0-28-generic (x86_64)
Fri Dec 12 11:21:35 NZDT 2014
NVIDIA: calling KBUILD...
make[1]: Entering directory '/usr/src/linux-headers-3.16.0-28-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 ; \
/bin/false)
mkdir -p /var/lib/dkms/nvidia-331/331.113/build/.tmp_versions ; rm -f /var/lib/dkms/nvidia-331/331.113/build/.tmp_versions/*
make -f scripts/Makefile.build obj=/var/lib/dkms/nvidia-331/331.113/build
cc -Wp,-MD,/var/lib/dkms/nvidia-331/331.113/build/.nv.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/4.9/include -I./arch/x86/include -Iarch/x86/include/generated -Iinclude -I./arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I./include/uapi -Iinclude/generated/uapi -include ./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 -m64 -mno-mmx -mno-sse -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_X86_X32_ABI -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -fno-delete-null-pointer-checks -O2 -Wframe-larger-than=1024 -fstack-protector -Wno-unused-but-set-variable -fno-omit-frame-pointer -fno-optimize-sibling-calls -fno-var-tracking-assignments -pg -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -DCC_HAVE_ASM_GOTO -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/var/lib/dkms/nvidia-331/331.113/build -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"331.113\" -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.113/build/.tmp_nv.o /var/lib/dkms/nvidia-331/331.113/build/nv.c
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.113/build/nv-linux.h:44,
from /var/lib/dkms/nvidia-331/331.113/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.113/build/nv-linux.h:44,
from /var/lib/dkms/nvidia-331/331.113/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)
^
mv: cannot move ‘/var/lib/dkms/nvidia-331/331.113/build/.tmp_nv.o’ to ‘/var/lib/dkms/nvidia-331/331.113/build/nv.o’: No such file or directory
scripts/Makefile.build:257: recipe for target '/var/lib/dkms/nvidia-331/331.113/build/nv.o' failed
make[2]: *** [/var/lib/dkms/nvidia-331/331.113/build/nv.o] Error 1
Makefile:1345: recipe for target '_module_/var/lib/dkms/nvidia-331/331.113/build' failed
make[1]: *** [_module_/var/lib/dkms/nvidia-331/331.113/build] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-3.16.0-28-generic'
NVIDIA: left KBUILD.
nvidia.ko failed to build!
Makefile:180: recipe for target 'nvidia.ko' failed
make: *** [nvidia.ko] Error 1
ProblemType: Package
DistroRelease: Ubuntu 14.10
Package: nvidia-331 331.113-0ubuntu0.1
ProcVersionSignature: Ubuntu 3.16.0-24.32-generic 3.16.4
Uname: Linux 3.16.0-24-generic x86_64
NonfreeKernelModules: nvidia
ApportVersion: 2.14.7-0ubuntu8
Architecture: amd64
DKMSKernelVersion: 3.16.0-28-generic
Date: Fri Dec 12 11:21:48 2014
InstallationDate: Installed on 2014-10-31 (41 days ago)
InstallationMedia: Ubuntu 14.10 "Utopic Unicorn" - Release amd64 (20141022.1)
PackageVersion: 331.113-0ubuntu0.1
SourcePackage: nvidia-graphics-drivers-331
Title: nvidia-331 331.113-0ubuntu0.1: nvidia-331 kernel module failed to build
UpgradeStatus: No upgrade log present (probably fresh install)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-drivers-331/+bug/1401700/+subscriptions
Follow ups
References