Comment 241 for bug 1268257

Revision history for this message
Martin Spacek (mspacek) wrote :

@dino99

This is not fixed with nvidia-340. I have Xubuntu 14.04 with nvidia-340 and nvidia-304-uvm installed from the xorg-edgers PPA. It seems nvidia-libopencl1-340 depends on nvidia-340-uvm. I just installed the 3.19.3 vivid kernel from here:

http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.19.3-vivid/

And got the usual error:

Unpacking linux-image-3.19.3-031903-generic (3.19.3-031903.201503261036) ...
Setting up linux-headers-3.19.3-031903 (3.19.3-031903.201503261036) ...
Setting up linux-headers-3.19.3-031903-generic (3.19.3-031903.201503261036) ...
Examining /etc/kernel/header_postinst.d.
run-parts: executing /etc/kernel/header_postinst.d/dkms 3.19.3-031903-generic /boot/vmlinuz-3.19.3-031903-generic
Error! Bad return status for module build on kernel: 3.19.3-031903-generic (x86_64)
Consult /var/lib/dkms/nvidia-340/340.76/build/make.log for more information.

I tried examining /var/lib/dkms/nvidia-340/340.76/build/make.log, but the file does not exist.

The usual:

$ sudo dpkg-reconfigure nvidia-340

and:

$ sudo dpkg-reconfigure nvidia-340-uvm

seem to have worked:

$ sudo dpkg-reconfigure nvidia-340
Stopping nvidia-persistenced
nvidia-persistenced: no process found
Done.
Removing all DKMS Modules
Done.
update-initramfs: deferring update (trigger activated)
update-initramfs: Generating /boot/initrd.img-3.16.0-33-generic
INFO:Enable nvidia-340
DEBUG:Parsing /usr/share/ubuntu-drivers-common/quirks/put_your_quirks_here
DEBUG:Parsing /usr/share/ubuntu-drivers-common/quirks/dell_latitude
DEBUG:Parsing /usr/share/ubuntu-drivers-common/quirks/lenovo_thinkpad
Loading new nvidia-340-340.76 DKMS files...
Building for 3.16.0-33-generic and 3.19.3-031903-generic
Building for architecture x86_64
Building initial module for 3.16.0-33-generic
Done.

nvidia_340:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/3.16.0-33-generic/updates/dkms/

depmod....

DKMS: install completed.
Building initial module for 3.19.3-031903-generic
Done.

nvidia_340:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/3.19.3-031903-generic/updates/dkms/

depmod....

DKMS: install completed.

$ sudo dpkg-reconfigure nvidia-340-uvm
Removing all DKMS Modules
Done.
Loading new nvidia-340-uvm-340.76 DKMS files...
Building for 3.16.0-33-generic and 3.19.3-031903-generic
Building for architecture x86_64
Building initial module for 3.16.0-33-generic
Done.

nvidia-340-uvm:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/3.16.0-33-generic/updates/dkms/

depmod....

DKMS: install completed.
Building initial module for 3.19.3-031903-generic
Done.

nvidia-340-uvm:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/3.19.3-031903-generic/updates/dkms/

depmod....

DKMS: install completed.