nvidia-304 (not installed): nvidia-304 kernel module failed to build
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
nvidia-graphics-drivers-304 (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
I had used nvidia-304 successfully in Lubuntu 16.04.
With Lubuntu 16.10, it would not load into the kernel.
I just recently downloaded a fixed 304.132 version, which loaded into the kernel, and was
usable, but a program (Hugin) which had started up fine under nouveau (but during the use of which nouveau had screen-crashed, forcing hard-shutdown), failed to start, with the following terminal output:
"
The program 'hugin' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadValue (integer parameter out of range for operation)'.
(Details: serial 541 error_code 2 request_code 154 minor_code 24)
(Note to programmers: normally, X errors are reported asynchronously;
that is, you will receive the error a while after causing it.
To debug your program, run it with the --sync command line
option to change this behavior. You can then get a meaningful
backtrace from your debugger if you break on the gdk_x_error() function.)
"
Since Hugin had worked fine in Lubuntu 16.04 with nvidia-304 - 304.131,
I found a version of that for Xenial Xerus (304.131-0ubuntu3) at
https:/
It failed to install, however...
"Building initial module for 4.8.0-27-generic
Error! Bad return status for module build on kernel: 4.8.0-27-generic (x86_64)
Consult /var/lib/
I will (try to) attach the log file for the install ("/var/
"echo >&2 " ERROR: Kernel configuration is invalid."; \
echo >&2 " include/
echo >&2 " Run 'make oldconfig && make prepare' on kernel src to fix it."; \
...
/var/lib/
ret = get_user_
In file included from /var/lib/
./include/
long get_user_
^
/var/lib/
cc1: some warnings being treated as errors
scripts/
make[3]: *** [/var/lib/
Makefile:1489: recipe for target '_module_
make[2]: *** [_module_
NVIDIA: left KBUILD.
nvidia.ko failed to build!
Makefile:255: recipe for target 'module' failed
make[1]: *** [module] Error 1
makefile:59: recipe for target 'module' failed
make: *** [module] Error 2
"
I am hoping that there is some simple way to get this older version to load/work,
as I am running out of options for being able to run Hugin:
1: nouveau screen-crashes in Hugin (which starts up fine) when I try to open the images from which to make the panorama
2: the fixed nvidia-304.132 loads in the kernal, but Hugin crashes upon starting up
3: the older nvidia-304.131 fails to install
4: I would consider going back to 16.04 (which is in one of 5 partitions which I reserve for different Lubuntu versions as they come along), but grub, in installing 16.10, somehow made booting 16.04 impossible (some sort of Emergency terminal starts up, and I don't know enough of what's happening to know what to do... The partition is fine - I can traverse the directory tree and look at files, etc. but I cannot boot it...)
If anyone knows what is going on when I attempt to install 304.131 here in Lubuntu 16.10,
and can advise me what to do. I would be very grateful.
-------
scott@scott-
Linux scott-ASUS-
scott@scott-
Ubuntu 16.10
yakkety
scott@scott-
Lubuntu
nvidia-
-------
ProblemType: Package
DistroRelease: Ubuntu 16.10
Package: nvidia-304 304.131-0ubuntu3
ProcVersionSign
Uname: Linux 4.8.0-27-generic x86_64
NonfreeKernelMo
ApportVersion: 2.20.3-0ubuntu8
Architecture: amd64
DKMSKernelVersion: 4.8.0-27-generic
Date: Fri Nov 11 15:48:41 2016
DuplicateSignature: dkms:nvidia-
InstallationDate: Installed on 2016-10-20 (22 days ago)
InstallationMedia: Lubuntu 16.10 "Yakkety Yak" - Release amd64 (20161012.1)
PackageVersion: (not installed)
RelatedPackageV
dpkg 1.18.10ubuntu1
apt 1.3.1
SourcePackage: nvidia-
Title: nvidia-304 (not installed): nvidia-304 kernel module failed to build
UpgradeStatus: No upgrade log present (probably fresh install)
modified.
Status changed to 'Confirmed' because the bug affects multiple users.