DKMS build failure no reason in log or output
location: ubuntuforums.com - date: February 16, 2012
I have a Makefile for a package that includes a kernel module. I just want to build the module. When I compile the target "all", which includes "modules", I have no problem. When I try to just compile "modules", I get this error:
$ cat /var/lib/dkms/nslink/4.28.1/build/make.log
DKMS make.log for nslink-4.28.1 for kernel 3.2.0-15-generic-pae (i686)
Thu Feb 16 08:50:01 CST 2012
Makefile:31: LINUX_VERSION: 3.2
Makefile:32: LINUX_SRC: /usr/src/linux-headers-3.2.0-15-generic-pae
cc -c -o nslink.o nslink.c
nslink.c:87:28: fatal error: linux/compiler.h: No such file or directory
make: *** [nslink.o] Error 1
Here are the relevant parts of the Makefile:
# Retrieve the running kernel version
KVER=$(shell uname -r)
PWD:= $(shell pwd)
CURRENTDATE=$(shell date +%Y%m%d%H%M%S)
# Find the kernel source/headers.
# **** you, I know where it will always be
Dkms fails to build nvidia module for kernel 3.001
location: ubuntuforums.com - date: June 10, 2011
New 3 series kernel (3.0-01) rc2 will be soon in Oneiric repos.
State in Launchpad is still new, so to test this, it must be downloaded manually.
I did try to install this kernel.
I am using nvidia-current (propietary dirvers) version 275.09.
However, nvidia module installation failed, dkms could not build it.
Could it be that nvidia drivers do not yet support this kernel.
install DKMS package? VM problem [SOLVED]
location: ubuntuforums.com - date: May 6, 2009
my sun VirtualBox stopped working after the last kernel update. when i try to virtualize windows, it gives me the following error msg:
The VirtualBox Linux kernel driver (vboxdrv) is either not loaded or there is a permission problem with /dev/vboxdrv. Re-setup the kernel module by executing
as root. Users of Ubuntu or Fedora should install the DKMS package at first. This package keeps track of Linux kernel changes and recompiles the vboxdrv kernel module if necessary.
just running $sudo /etc/init.d/vboxdrv setup does not appear to get the VM running windows again. how do i install the DKMS package?
Thanks in advance for any suggestions.
Synaptics dkms errors
location: ubuntuforums.com - date: April 24, 2011
Hi guys, I've been using ubuntu for a few weeks now and I really like it.
I used a 9.04 live cd and installed it on my laptop in a new partition
The problem is, whenever I install something, whether it be an application installed through the software center, or when I upgraded to 9.10 and then to 10.04 (which i'm using now) I get the following error:
Error! Cannot locate /usr/src/synaptics-1.0.0.dkms.tar.gz
File does not exist.
dpkg: error processing snyaptics-dkms (--configure):
subprocess installed post-installation script returned error exit status 2
Errors were encountered while processing:
A pop-up also says that the installation was unsuccessful, although the applications I have installed seem to work fine.
dkms kernel panic error DLink DWA160B2 driver
location: linuxquestions.com - date: November 9, 2013
So, what I have now is a Toshiba Satellite C855 dual booting Ubuntu 12.04 and some other OS with a start button I think as I rarely use that side LOL. I have the onboard 2.4 ghz wireless working fine. I recently bought a DWA-160 usb adapter and installed (as seems many have) according to info here ..
Occasionally, I get a kernel panic referencing something about a dkms error. I suppose my question is 'Where can I find a log file of the actual error that is being reported?' so as to 1. Maybe learn something myself, and 2. Provide more useable info here.
Bus 003 Device 004: ID 2001:3c1a D-Link Corp.
lsmod (among other things, these seem relevant)
Module Size Used by
rtl8192ce 58733 0
rtl8192c_common 49561 1 rtl8192ce
drm_kms_helper 49597 1 i915
rtlwifi 81225 1 rtl8192ce
My guess is that something with updating the drive
HOWTO: Install Nvidia drivers including DKMS module
location: ubuntuforums.com - date: January 11, 2009
I figured out the last days how to correctly setup DKMS for newer Versions of the NVidia-Driver. In case you dont know, DKMS is a nifty little system that will ensure you dont run into trouble if you install a new kernel. Running a new Kernel requires ALL modules to be recompiled, and in the case of propietary drivers (ie drivers you dint install through apt-get) this task is left to you.
DKMS is there to automate this very task, you wont ever have to care for kernel-upgrades again.
I wrote a little script(attached) that extracts the necessary parts from the NVIDIA-Driver and can configure DKMS.
Who can use this tutorial
Theoretically the procedure should work on all Ubuntus that have the necessary packages (Gutsy and later), I only tested this on Intrepid tough. It should work with all current and future NVIDIA-Installers (180, 173, 96 and 71 Series ).
Your OS should be Ubuntu - Gutsy or later. Earlier versions should work too if you manage to manually install DKMS but I wont
Virtualbox DKMS with 3.13rc2 Not compiling
location: ubuntuforums.com - date: November 30, 2013
In Ubuntu 13.10 I have installed the 3.13rc2 kernel (Ubuntu Mainline). It runs fine except that I get errors with the virtualbox DKMS when installing. As a result I cannot run virtualbox.
Here's the error I got when installing the kernel (sudo dpkg -i linux-headers-3.13*.deb linux-image-3.13*.deb):
run-parts: executing /etc/kernel/postinst.d/dkms 3.13.0-031300rc2-generic /boot/vmlinuz-3.13.0-031300rc2-generic
Error! Bad return status for module build on kernel: 3.13.0-031300rc2-generic (x86_64)
Consult /var/lib/dkms/virtualbox/4.2.16/build/make.log for more information.
And here's the log file listing the issue. Unfortuantely I have no idea how to fix this
DKMS make.log for virtualbox-4.2.16 for kernel 3.13.0-031300rc2-generic (x86_64)
Sat Nov 30 08:22:49 CET 2013
make: Entering directory `/usr/src/linux-headers-3.13.0-031300rc2-generic'
Can't build anything with dkms anymore
location: ubuntuforums.com - date: February 24, 2014
After trying to install the NVIDIA driver from upstream to test a bug and uninstalling the driver afterwards I'm having troubles to build any module like virtualbox or nvidia-331-updates with dkms. Here is the log from virtualbox:
DKMS make.log for virtualbox-4.3.6 for kernel 3.13.0-10-generic (x86_64)
Wed Feb 19 22:59:50 CET 2014
make: Entering directory `/usr/src/linux-headers-3.13.0-10-generic'
CC [M] /var/lib/dkms/virtualbox/4.3.6/build/vboxdrv/linux/SUPDrv-linux.o
In file included from /var/lib/dkms/virtualbox/4.3.6/build/include/VBox/types.h:30:0,
/var/lib/dkms/virtualbox/4.3.6/build/include/iprt/types.h:99:22: fatal error: stddef.h: No such file
DKMS tree problem
- date: December 3, 2008
I got this problem:
:~$ sudo apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages have been kept back:
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
1 not fully installed or removed.
After this operation, 0B of additional disk space will be used.
Do you want to continue [Y/n]? y
Setting up kvm-source (1:72+dfsg-1ubuntu6) ...
Error! DKMS tree already contains: kvm-72
You cannot add the same module/version combo more than once.
dpkg: error processing kvm-source (--configure):
subprocess post-installation script returned error exit status 3
Errors were encountered while processing:
E: Sub-process /usr/bin/dpkg returned an error code (1)
how can i fix it? thanks
Is anyone else trying Siduction?
location: ubuntuforums.com - date: May 24, 2012
I installed the new Siduction 12.1 release with the LXDE option. It is already using the brand new Linux 3.4 kernel. So far, I am pretty impressed.
Is anyone else giving it a try?