[vbox-dev] vboxdrv setup fails

Frank Mehnert Frank.Mehnert at Sun.COM
Sun Aug 2 19:36:01 GMT 2009


Markus,

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,

Frank

On Sunday 02 August 2009, Markus Kesaromous wrote:
> Dear List,
> I am on FC11, kernel-2.6.29.6-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-2.6.29.6-213.fc11.i586.rpm  is installed as well as
> kerne-headers-2.6.29.6-213.fc11.i586.rpm
> I had installed installed VirtualBox-3.0.2_49928_fedora11-1.i586
> PRIOR to recompiling the kernel from source in order to enable rt2860sta
> driver.
>
> If I type service vboxdrv setup, the compilation proceeds without any
> problems.
>
> 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/2.6.29.6-213.fc11.i586/misc/vboxdrv.ko): Invalid module
> format
>
> So, I do not understand what the problem with the format is. All I can
> extract from the module is:
>
> # file /lib/modules/2.6.29.6-213.fc11.i586/misc/vboxdrv>
> /lib/modules/2.6.29.6-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
> 2.6.29.6-213.fc11.i586
>
> uname -a
> Linux localhost.localdomain 2.6.29.6-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,
>
> MK
>
>
> _________________________________________________________________
> Get back to school stuff for them and cashback for you.
> http://www.bing.com/cashback?form=MSHYCB&publ=WLHMTAG&crea=TEXT_MSHYCB_Back
>ToSchool_Cashback_BTSCashback_1x1
> _______________________________________________
> vbox-dev mailing list
> vbox-dev at virtualbox.org
> http://vbox.innotek.de/mailman/listinfo/vbox-dev



-- 
Dr.-Ing. Frank Mehnert    Sun Microsystems, Inc.    www.sun.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
URL: <http://www.virtualbox.org/pipermail/vbox-dev/attachments/20090802/3613562c/attachment.sig>


More information about the vbox-dev mailing list