[vbox-dev] vboxdrv setup fails
remotestar at live.com
Sun Aug 2 21:16:21 PDT 2009
> Date: Sun, 2 Aug 2009 21:36:01 +0200
> From: Frank.Mehnert at Sun.COM
> To: vbox-dev at virtualbox.org
> Subject: Re: [vbox-dev] vboxdrv setup fails
> if you use a self-compiled kernel then you have to make sure that
> /lib/modules/`uname -r`/build
> points to the directory where you built your kernel. Changing
> sensible kernel config options (preemption is one of them) will
> change the module versions slightly.
> Kind regards,
> On Sunday 02 August 2009, Markus Kesaromous wrote:
>> Dear List,
>> I am on FC11, kernel-188.8.131.52-213.fc11.i586.
>> This kernel was built from source in order to enable the rt2860sta driver,
>> which is by default disabled on the stock ditribution kernel.
>> kerne-devel-184.108.40.206-213.fc11.i586.rpm is installed as well as
>> I had installed installed VirtualBox-3.0.2_49928_fedora11-1.i586
>> PRIOR to recompiling the kernel from source in order to enable rt2860sta
>> If I type service vboxdrv setup, the compilation proceeds without any
>> Now if i type service vbosdrv start, I get:
>> # service vboxdrv start
>> Starting VirtualBox kernel module [FAILED]
>> (modprobe vboxdrv failed. Please use 'dmesg' to find out why)
>> dmesg does not reveal any messages regarding the starting or loading of the
>> vboxdrv driver.
>> If I do
>> modproble -f vboxdrv
>> I get:
>> modprobe -f vboxdrv
>> FATAL: Error inserting vboxdrv
>> (/lib/modules/220.127.116.11-213.fc11.i586/misc/vboxdrv.ko): Invalid module
>> So, I do not understand what the problem with the format is. All I can
>> extract from the module is:
>> # file /lib/modules/18.104.22.168-213.fc11.i586/misc/vboxdrv>
>> /lib/modules/22.214.171.124-213.fc11.i586/misc/vboxdrv.ko: ELF 32-bit LSB
>> relocatable, Intel 80386, version 1 (SYSV), not stripped
>> This is the same info I get about the loaded drivers as well, i.e.:
>> ELF 32-bit LSB relocatable, Intel 80386, version 1 (SYSV), not stripped
>> So, what is this invalid format problem caused by?
>> # uname -r
>> uname -a
>> Linux localhost.localdomain 126.96.36.199-213.fc11.i586 #2 PREEMPT Sat Aug 1
>> 23:17:53 PDT 2009 i686 athlon i386 GNU/Linux
>> The PREEMPT is displayed because I chose a preemptible kernel option which
>> helps improve interactive response time. The difference between preemptible
>> kernel and non-preemptible kernel as far as response time is concerned, is
>> noticeable on my uniprocessor laptop.
>> Thank you for your help.
>> If you need any further info, please let me know.
>> Best regards,
>> Get back to school stuff for them and cashback for you.
>> vbox-dev mailing list
>> vbox-dev at virtualbox.org
> Dr.-Ing. Frank Mehnert Sun Microsystems, Inc. www.sun.com
OK - You were right Frank - however, making the sym links
build or source point to ...BUILD/kernel-2.6.29/linux-2.6.29.i586
and then building the vboxdrv exposed another problem:
missing header file include/linx/bounds.h
This file is prsent in /usr/src/kernels/188.8.131.52-213.fc11.i586
but not in the BUILD area which is set up by rpmbuild -bb kernel.spec
I don't know why this is so.
But, in order for me t move forward, I copied the missing header file
to the build area and the driver built and loaded without a problem.
And Just as
w41te stated, I did a make clean first before I ran
the vboxdrv setup.
Thank you for your help.
Get your vacation photos on your phone!
More information about the vbox-dev