nvidia-331 331.38-0ubuntu7: nvidia-331 kernel module failed to build when compiling linux-3.15.2 from kernel.org

Bug #1335693 reported by Farkas Máté
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
nvidia-graphics-drivers-331 (Ubuntu)
New
Undecided
Unassigned

Bug Description

The kernel I was compiling was linux-3.15.2 from kernel.org

Compilation seemed succesfully.

On 'sudo make modules_install install' command it stopped after
 "run-parts: executing /etc/kernel/postinst.d/dkms 3.15.2 /boot/vmlinuz-3.15.2" output line and said:
"
Error! Bad return status for module build on kernel: 3.15.2 (x86_64)
Consult /var/lib/dkms/nvidia-331/331.38/build/make.log for more information.
"

The end of the make.log file is:

"
  cc -Wp,-MD,sound/pci/.snd-als300.mod.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/4.8/include -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/4.8/include -I/home/fola/src/linux-3.15.2/arch/x86/include -Iarch/x86/include/generated -Iinclude -I/home/fola/src/linux-3.15.2/arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I/home/fola/src/linux-3.15.2/include/uapi -Iinclude/generated/uapi -include /home/fola/src/linux-3.15.2/include/linux/kconfig.h -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 -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 -Wframe-larger-than=1024 -fno-stack-protector -Wno-unused-but-set-variable -fno-omit-frame-pointer -fno-optimize-sibling-calls -g -pg -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -DCC_HAVE_ASM_GOTO -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(snd_als300.mod)" -D"KBUILD_MODNAME=KBUILD_STR(snd_als300)" -DMODULE -c -o sound/pci/snd-als300.mod.o sound/pci/snd-als300.mod.c
  /usr/bin/ld.bfd -r -m elf_x86_64 -T /home/fola/src/linux-3.15.2/scripts/module-common.lds --build-id -o sound/pci/snd-als300.ko sound/pci/snd-als300.o sound/pci/snd-als300.mod.o
  cc -Wp,-MD,sound/.soundcore.mod.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/4.8/include -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/4.8/include -I/home/fola/src/linux-3.15.2/arch/x86/include -Iarch/x86/include/generated -Iinclude -I/home/fola/src/linux-3.15.2/arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I/home/fola/src/linux-3.15.2/include/uapi -Iinclude/generated/uapi -include /home/fola/src/linux-3.15.2/include/linux/kconfig.h -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 -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 -Wframe-larger-than=1024 -fno-stack-protector -Wno-unused-but-set-variable -fno-omit-frame-pointer -fno-optimize-sibling-calls -g -pg -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -DCC_HAVE_ASM_GOTO -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(soundcore.mod)" -D"KBUILD_MODNAME=KBUILD_STR(soundcore)" -DMODULE -c -o sound/soundcore.mod.o sound/soundcore.mod.c
  /usr/bin/ld.bfd -r -m elf_x86_64 -T /home/fola/src/linux-3.15.2/scripts/module-common.lds --build-id -o sound/soundcore.ko sound/soundcore.o sound/soundcore.mod.o
make -f /home/fola/src/linux-3.15.2/scripts/Makefile.fwinst obj=firmware __fw_modbuild
NVIDIA: left KBUILD.
 nvidia.ko failed to build!
make[2]: *** [nvidia.ko] Error 1
"

ProblemType: Package
DistroRelease: Ubuntu 14.04
Package: nvidia-331 331.38-0ubuntu7
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.1-0ubuntu3.2
Architecture: amd64
DKMSKernelVersion: 3.15.2
Date: Mon Jun 30 01:27:48 2014
InstallationDate: Installed on 2014-04-25 (65 days ago)
InstallationMedia: Lubuntu 14.04 LTS "Trusty Tahr" - Release amd64 (20140416.2)
PackageVersion: 331.38-0ubuntu7
SourcePackage: nvidia-graphics-drivers-331
Title: nvidia-331 331.38-0ubuntu7: nvidia-331 kernel module failed to build
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Farkas Máté (reklamnelkul) wrote :
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

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 1318252, 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.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.