nvidia-experimental-310 310.14-0ubuntu0.3: nvidia-experimental-310 kernel module failed to build
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
nvidia-graphics-drivers-experimental-310 (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
nvidia-
$ uname -r
3.8.0-26-generic #38~precise2
$ sudo dpkg-reconfigure nvidia-
Removing all DKMS Modules
Done.
update-initramfs: deferring update (trigger activated)
INFO:Enable nvidia-
DEBUG:Parsing /usr/share/
DEBUG:Parsing /usr/share/
DEBUG:Parsing /usr/share/
Loading new nvidia-
Building only for 3.8.0-26-generic
Building for architecture x86_64
Building initial module for 3.8.0-26-generic
Error! Bad return status for module build on kernel: 3.8.0-26-generic (x86_64)
Consult /var/lib/
$ cat /var/lib/
DKMS make.log for nvidia-
Sun Jul 14 13:34:21 CDT 2013
If you are using a Linux 2.4 kernel, please make sure
you either have configured kernel sources matching your
kernel or the correct set of kernel headers installed
on your system.
If you are using a Linux 2.6 kernel, please make sure
you have configured kernel sources matching your kernel
installed on your system. If you specified a separate
output directory using either the "KBUILD_OUTPUT" or
the "O" KBUILD parameter, make sure to specify this
directory with the SYSOUT environment variable or with
the equivalent nvidia-installer command line option.
Depending on where and how the kernel sources (or the
kernel headers) were installed, you may need to specify
their location with the SYSSRC environment variable or
the equivalent nvidia-installer command line option.
*** Unable to determine the target kernel version. ***
make: *** [select_makefile] Error 1
ProblemType: Package
DistroRelease: Ubuntu 12.04
Package: nvidia-
ProcVersionSign
Uname: Linux 3.8.0-26-generic x86_64
NonfreeKernelMo
ApportVersion: 2.0.1-0ubuntu17.3
Architecture: amd64
DKMSKernelVersion: 3.8.0-26-generic
Date: Sun Jul 14 13:30:53 2013
EcryptfsInUse: Yes
InstallationMedia: Ubuntu 12.04.1 LTS "Precise Pangolin" - Release amd64 (20120823.1)
MarkForUpload: True
PackageVersion: 310.14-0ubuntu0.3
SourcePackage: nvidia-
Title: nvidia-
UpgradeStatus: No upgrade log present (probably fresh install)
modified.
Maybe this package should depends on linux-source, once I did apt-get source linux-image-`uname -r`, I was able to build the binary driver just fine.