LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices

Reply
 
Search this Thread
Old 04-26-2013, 11:51 PM   #1
CollieJim
Member
 
Registered: Mar 2005
Distribution: Gentoo, Kubuntu
Posts: 434

Rep: Reputation: 19
Kernel build Virtualbox error


I have Mint 14 installed with kernel 3.5.0 on a Toshiba NB205-N210 netbook.
It frequently hangs. Input from mouse or keyboard gets things moving again.
I've been using gentoo on the machine for years with no problems, so I tried using its .config to build a new kernel.
I downloaded 3.8.9 from a kernel mirror, copied in .config, and 'make oldconfig' taking the default option in all cases.

The build worked, but the install failed with a problem with virtualbox?
Code:
/ # cd /usr/src/linux-3.8.9
linux-3.8.9 # make install
sh /usr/src/linux-3.8.9/arch/x86/boot/install.sh 3.8.9-01 arch/x86/boot/bzImage \
		System.map "/boot"
run-parts: executing /etc/kernel/postinst.d/dkms 3.8.9-01 /boot/vmlinuz-3.8.9-01
Error! Bad return status for module build on kernel: 3.8.9-01 (i686)
Consult /var/lib/dkms/virtualbox-guest/4.1.18/build/make.log for more information.
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 3.8.9-01 /boot/vmlinuz-3.8.9-01
update-initramfs: Generating /boot/initrd.img-3.8.9-01
Warning: No support for locale: en_AU.utf8
run-parts: executing /etc/kernel/postinst.d/pm-utils 3.8.9-01 /boot/vmlinuz-3.8.9-01
run-parts: executing /etc/kernel/postinst.d/update-notifier 3.8.9-01 /boot/vmlinuz-3.8.9-01
run-parts: executing /etc/kernel/postinst.d/zz-update-grub 3.8.9-01 /boot/vmlinuz-3.8.9-01
Generating grub.cfg ...
run-parts: /etc/kernel/postinst.d/zz-update-grub exited with return code 2
make[1]: *** [install] Error 1
make: *** [install] Error 2

linux-3.8.9 # cat /var/lib/dkms/virtualbox-guest/4.1.18/build/make.log
DKMS make.log for virtualbox-guest-4.1.18 for kernel 3.8.9-01 (i686)
Sat Apr 27 11:10:56 WST 2013
  LD      /var/lib/dkms/virtualbox-guest/4.1.18/build/built-in.o
  LD      /var/lib/dkms/virtualbox-guest/4.1.18/build/vboxguest/built-in.o
  CC [M]  /var/lib/dkms/virtualbox-guest/4.1.18/build/vboxguest/VBoxGuest-linux.o
/var/lib/dkms/virtualbox-guest/4.1.18/build/vboxguest/VBoxGuest-linux.c:206:49: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘g_VBoxGuestPciId’
/var/lib/dkms/virtualbox-guest/4.1.18/build/vboxguest/VBoxGuest-linux.c:216:1: error: ‘__mod_pci_device_table’ aliased to undefined symbol ‘g_VBoxGuestPciId’
make[4]: *** [/var/lib/dkms/virtualbox-guest/4.1.18/build/vboxguest/VBoxGuest-linux.o] Error 1
make[3]: *** [/var/lib/dkms/virtualbox-guest/4.1.18/build/vboxguest] Error 2
make[2]: *** [_module_/var/lib/dkms/virtualbox-guest/4.1.18/build] Error 2

linux-3.8.9 # grep -i vbox .config
linux-3.8.9 # grep -i virt .config
# CONFIG_PARAVIRT_GUEST is not set
CONFIG_VIRT_TO_BUS=y
CONFIG_REGULATOR_VIRTUAL_CONSUMER=m
# CONFIG_FB_VIRTUAL is not set
# CONFIG_SND_VIRTUOSO is not set
# Virtio drivers
# CONFIG_VIRTIO_PCI is not set
# CONFIG_VIRTIO_MMIO is not set
# CONFIG_VIRT_DRIVERS is not set
# CONFIG_DEBUG_VIRTUAL is not set
# CONFIG_VIRTUALIZATION is not set
As far as I know I do not have anything related to virtual enabled.

Thoughts?

Jim
 
Old 04-27-2013, 08:21 AM   #2
Sigg3.net
Member
 
Registered: Mar 2008
Location: Oslo, Norway
Distribution: Fedora 17, Ubuntu 12 LTS and Ubuntu server 10.04
Posts: 161

Rep: Reputation: 22
Try version 4.2.8 instead;
https://forums.virtualbox.org/viewtopic.php?f=3&t=53708
 
Old 04-27-2013, 10:21 AM   #3
CollieJim
Member
 
Registered: Mar 2005
Distribution: Gentoo, Kubuntu
Posts: 434

Original Poster
Rep: Reputation: 19
Thanks, but I do not want virtual on this machine. It is a netbook with a 1.6GHz single-core Atom processor.
 
Old 04-27-2013, 10:25 AM   #4
Sigg3.net
Member
 
Registered: Mar 2008
Location: Oslo, Norway
Distribution: Fedora 17, Ubuntu 12 LTS and Ubuntu server 10.04
Posts: 161

Rep: Reputation: 22
Oh, sorry!
Use the kernel config tool of your choice and remove the virtualbox flags.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Can't Build VirtualBox Kernel Module in 13.1 Woodsman Slackware 2 04-26-2011 10:52 PM
VirtualBox 3.1.6 kernel @ SlackBuild error - kernel include dir dc_eros Slackware 4 05-31-2010 11:24 PM
[SOLVED] VirtualBox < 3.1.4 module build fails on 2.6.33 kernel rpedrica Slackware 12 03-29-2010 07:23 AM
Virtualbox Error - Kernel driver not installed (rc=-1908) callumacrae Linux - Software 11 10-28-2009 02:13 PM
Virtualbox-ose compilation error using Sbo slack-build samac Slackware 11 10-30-2008 02:28 PM


All times are GMT -5. The time now is 03:47 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration