Mandriva 2008.0 and VirtualBox 1.5.0

Discussions related to using VirtualBox on Linux hosts.
Post Reply
hman
Posts: 5
Joined: 11. Oct 2007, 16:09
Primary OS: Linux other
VBox Version: OSE other
Guest OSses: Linux CentOS 7

Mandriva 2008.0 and VirtualBox 1.5.0

Post by hman »

Hi, i used Mandriva 2008.0 i586 but i can't compile driver of VirtualBox (non OSE) because receive an error (wrong module format).
I saw on forum that probably kernel 2.6.23 solve this problem or VirtualBox 1.5.2.

So, when could be release v1.5.2 of VirtualBox ?

thanks
hman
Posts: 5
Joined: 11. Oct 2007, 16:09
Primary OS: Linux other
VBox Version: OSE other
Guest OSses: Linux CentOS 7

Post by hman »

Anyone could help me ?

I'm without VirtualBox :-(
hman
Posts: 5
Joined: 11. Oct 2007, 16:09
Primary OS: Linux other
VBox Version: OSE other
Guest OSses: Linux CentOS 7

Post by hman »

to compiling correctly virtualbox driver after installed VirtualBox 1.5.0 you must install the package of source headers that for mandriva kernel 2.6.22.9 is
kernel-desktop586-devel-2.6.22.9-1mdv-1-1mdv2008.0.i586.rpm
after you can do:
# /etc/init.d/vboxdrv setup

and... work fine... you will have 3 [ OK ]

bye
hman
sitor
Posts: 20
Joined: 28. Sep 2007, 13:20
Contact:

Post by sitor »

hman,

How did you install Virtualbox? From OSE RPM, Innotek RPM for 2007.1, Innotek RPM for all distributions or from source?

I've been trying to get the non-OSE version installed, because I need USB support, and tried several things but no success so far.

Ciao,

Sitor
skid
Posts: 19
Joined: 19. Sep 2007, 16:33

Post by skid »

Same here.... the result is the following:

Code: Select all

[root@lutr init.d]# ./vboxdrv setup
Stopping VirtualBox kernel module                               [   OK   ]
Recompiling VirtualBox kernel module                            [   OK   ]
Starting VirtualBox kernel module FATAL: Error inserting vboxdrv (/lib/modules/2                                                          .6.17-15mdv/misc/vboxdrv.ko): Invalid module format
                                                                [FALLITO ]
(modprobe vboxdrv failed)
[root@lutr init.d]#
Running on Mandriva 2007.1 spring, I installed the kernel module listed above....
hman
Posts: 5
Joined: 11. Oct 2007, 16:09
Primary OS: Linux other
VBox Version: OSE other
Guest OSses: Linux CentOS 7

Post by hman »

first of all i installed kernel source from my kernel (2.6.22.9-1mdv)

after i installed rpm from VirtualBox Download page (for Mandriva 2007.1)
from this link: http://www.virtualbox.org/download/1.5. ... 86.rpm.run

after i installed kernel devel from my kernel (2.6.22.9-1 mandriva):
kernel-desktop586-devel-2.6.22.9-1mdv-1-1mdv2008.0.i586.rpm

after i lunch driver build:
# /etc/init.d/vboxdrv setup

and i had 3 [ OK ]


Finish :-)

i tryed this steps on Mandriva 2008 Live CD and 2008 i586 DVD installation. Always success.
sitor
Posts: 20
Joined: 28. Sep 2007, 13:20
Contact:

Post by sitor »

hmm,

I don't even get so far. The kernel sources are installed.
[root@localhost Download]# uname -r
2.6.22.9-laptop-1mdv
Following pacakges are installed: kernel-laptop-devel-2.6.22.9-1mdv, kernel-source-2.6.22.9-1mdv, kernel-source-latest, kernel-laptop-devel-latest

But the result is the following:
[root@localhost Download]# rpm -i ./VirtualBox-1.5.0_24069_mdv2007.1-2.i586.rpm

Creating group 'vboxusers'. VM users must be member of that group!

No precompiled module for this kernel found -- trying to build one. Messages
emitted during module compilation will be logged to /var/log/vbox-install.log.

Compilation of the kernel module FAILED! VirtualBox will not start until this
problem is fixed. Please consult /var/log/vbox-install.log to find out why the
kernel module does not compile. Most probably the kernel sources are not found.
Install them and reinstall this package.

[root@localhost Download]# /etc/init.d/vboxdrv setup
Stopping VirtualBox kernel module [ OK ]
Recompiling VirtualBox kernel module [FAILED]
(Look at /var/log/vbox-install.log to find out what went wrong)
[root@localhost Download]# /etc/init.d/vboxdrv setup
Stopping VirtualBox kernel module [ OK ]
Recompiling VirtualBox kernel module [FAILED]
(Look at /var/log/vbox-install.log to find out what went wrong)

The log they refer doesn't contain anything I can make something from. So that doesn't help me.

Maybe there are other pacakges that I should install. Should I install any of the following?
vboxadd-kernel-laptop-latest, vboxvfs-kernel-laptop-latest or virtualbox-kernel-laptop-latest?

Thanks for the help,

Sitor
hman
Posts: 5
Joined: 11. Oct 2007, 16:09
Primary OS: Linux other
VBox Version: OSE other
Guest OSses: Linux CentOS 7

Post by hman »

i think that can be a problem of laptop kernel.You can ask help on irc channel of virtualbox after read the log file

/var/log/vbox-install.log

irc.freenode.org
channel #vbox

i received a big help by fmehnert
skid
Posts: 19
Joined: 19. Sep 2007, 16:33

Post by skid »

Just to be sure 100% i tried also on my Home PC with same 2007.1 mandriva, and same RPM suggested.
Same result.
No way out in my case..... :(
skid
Posts: 19
Joined: 19. Sep 2007, 16:33

Post by skid »

Never say never....
in my case was a mismatch between the linux ver installed, and the kernel source.
Installed the correct kernel source both PC home and notebook are working now!!!
sitor
Posts: 20
Joined: 28. Sep 2007, 13:20
Contact:

Post by sitor »

Skid,

What is the kernel on that notebook that you are using? I have the impression that the source for the 2.6.22.9-laptop-1mdv kernel is not complete and hence I get the compilation problem. Of course if you are using the 2.6.22.9-laptop-1mdv on your notebook and it works in your case, then this impression is wrong of course.

Ciao,

Sitor
skid
Posts: 19
Joined: 19. Sep 2007, 16:33

Post by skid »

Hi,
I'm using the following:

kernel-desktop586-devel-2.6.22.9-1mdv

:roll:
sitor
Posts: 20
Joined: 28. Sep 2007, 13:20
Contact:

Post by sitor »

A desktop kernel on a notebook?
Jacky672
Posts: 45
Joined: 30. May 2007, 23:59
Primary OS: Debian Lenny
VBox Version: OSE Debian
Guest OSses: Linux
Location: France

Post by Jacky672 »

Hello everybody!

For Mandriva 2008 I found a solution :

- uninstall all virtualbox package.

- install kernel-source for your kernel

- download : http://www.virtualbox.org/download/1.5. ... 1.i586.rpm

- install : rpm -i VirtualBox-1.5.2_25433_mdv2007.1-1.i586.rpm

(Compilation of the kernel module FAILED)

- KERN_DIR=/usr/src/linux-2.6.22.9-desktop-1mdv/

- /usr/share/virtualbox/src/build_in_tmp install KERN_DIR=/usr/src/linux-2.6.22.9-desktop-1mdv/

- start vboxdrv : /etc/init.d/vboxdrv start

And it's works!

Don't forget to add user in vboxusers group.

I hope that it can help you.


Image
Post Reply