Page 1 of 1

Kernel Update : Error! Bad return status for module build on

Posted: Thu Feb 28, 2013 6:44 pm
by thebluesky
Hi :D
I thave installed Mint 14 Cinnamon recently . I am newbee .Mint works fine except I couldnt get updated my Nvidia grapics card driver. while I have been trying to figure it out and I decided to try to update my Kernel version from 3.5 to 3.7 and I used this code on terminal:

Code: Select all

    cd /tmp 

    wget http://dl.dropbox.com/u/47950494/upubuntu.com/linux-kernel-3.7.1 -O linux-kernel-3.7.1 

    chmod +x linux-kernel-3.7.1 

    sudo sh linux-kernel-3.7.1 

    sudo reboot
After it start to download a few thing well, it ended up with a notice and stopped updating.The notice is :

"
..
..
..
..
Generating grub.cfg ...
Found linux image: /boot/vmlinuz-3.7.1-030701-generic
Found initrd image: /boot/initrd.img-3.7.1-030701-generic
Found linux image: /boot/vmlinuz-3.5.0-17-generic
Found initrd image: /boot/initrd.img-3.5.0-17-generic
Found memtest86+ image: /boot/memtest86+.bin
Found Windows 7 (loader) on /dev/sda1
Found Windows Recovery Environment (loader) on /dev/sda4
done
Setting up linux-headers-3.7.1-030701-generic (3.7.1-030701.201212171620) ...
Examining /etc/kernel/header_postinst.d.
run-parts: executing /etc/kernel/header_postinst.d/dkms 3.7.1-030701-generic /boot/vmlinuz-3.7.1-030701-generic
Error! Bad return status for module build on kernel: 3.7.1-030701-generic (x86_64)
Consult /var/lib/dkms/virtualbox-guest/4.1.18/build/make.log for more information.



after that I booted my laptop and ran terminal and wrote
uname -r on it
terminal said

3.7.1-030701-generic

so I have no idea if I did something wrong..now Mints works the same. but I wanna know more about linux so the notice has something to do with my Nvidia card driver?

when I looked the System Settings > Details > Grapics it says my driver is Gallium 0.4 on NVA8

I am sorry if I ask a question which is asked often already but I count find a solution on internet.
thanks

Re: Kernel Update : Error! Bad return status for module buil

Posted: Thu Feb 28, 2013 6:46 pm
by passerby
You didn't do anything wrong. The bad return status is for Virtualbox.
You'll need a newer version of Virtualbox for it to work properly with the new kernel.

From the same source as the kernel upgrade, you may want to give this a try: http://www.upubuntu.com/2012/10/virtual ... d-ppa.html
BUT replacing the first line with

Code: Select all

echo "deb http://download.virtualbox.org/virtualbox/debian quantal contrib" | sudo tee /etc/apt/sources.list.d/virtualbox.list
Probably followed by: http://www.upubuntu.com/2012/11/how-to- ... albox.html
(You may need to edit the command here depending on what version of virtualbox ends up being installed)
If all else fails, you can grab the packages manually from: https://www.virtualbox.org/wiki/Downloads

The comment on that first thread (and the need to modify the first command) is an example of why PPAs are generally not recommended for LM.
As long as you make that change, however, you probably won't encounter any problems with this install.

Re: Kernel Update : Error! Bad return status for module buil

Posted: Fri Mar 01, 2013 2:43 am
by catweazel
passerby wrote: As long as you make that change, however, you probably won't encounter any problems with this install.
The poster most certainly will encounter problems if those links you gave him/her don't define how to force dkms to support kernels above 3.5.0.