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

All Gurus once were Newbies
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Please stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions prefer the other forums within the support section.
Before you post please read this

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

Postby thebluesky on Thu Feb 28, 2013 6:44 pm

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
thebluesky
Level 1
Level 1
 
Posts: 21
Joined: Fri Nov 09, 2012 6:09 pm

Linux Mint is funded by ads and donations.
 

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

Postby passerby on Thu Feb 28, 2013 6:46 pm

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.
Home PC: Xubuntu 14.04 x64, Nvidia GTX650, i7 3770K, 16GB RAM, Asus Xonar DX
Work PC: Mint 13 x64 XFCE, Nvidia GT620, i5 3470, 8GB RAM
Laptop: System76 Kudu Pro, Xubuntu 14.04 x64

My HTML5 login themes + screenshots
User avatar
passerby
Level 6
Level 6
 
Posts: 1375
Joined: Sun Dec 16, 2012 7:29 pm

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

Postby catweazel on Fri Mar 01, 2013 2:43 am

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.
Mint Testing Team & Mint Donor #3606
KDE 4.12.0, custom preemptive kernel 3.12.5,
Intel i7 4770K @ 4.7GHz, 16GB 2666MHz XMP,
4 Samsung 840 PRO 512GB SSDs in RAID0,
6TB HW RAID10, dual 24" Acer X243H,
Gigabyte nVidia GTX 680 Super Overclock
User avatar
catweazel
Level 7
Level 7
 
Posts: 1656
Joined: Fri Oct 12, 2012 9:44 pm


Return to Newbie Questions

Who is online

Users browsing this forum: Bing [Bot], chetvaldes, Mute Ant, richyrich and 37 guests