LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Virtualization and Cloud (https://www.linuxquestions.org/questions/linux-virtualization-and-cloud-90/)
-   -   Virtual machine software for Fedora 11 (https://www.linuxquestions.org/questions/linux-virtualization-and-cloud-90/virtual-machine-software-for-fedora-11-a-782139/)

bcbotha 01-14-2010 04:50 AM

Virtual machine software for Fedora 11
 
What virtual machine software is best for Fedora 11?

I tried installing Virtualbox 3.1.x and 3.0.x and both give me an error saying the software is not compactible with my system.

Thanks

Samael 01-14-2010 04:55 AM

VirtualBox is great and should work fine. Rather than try something else it'll be best to find out why it's not working and try to sort the problem out. You'll need to post more information though, what type of install where you doing, are you using 32-bit or 64-bit, etc etc

bcbotha 01-14-2010 06:12 AM

The last one I tried is a x86_64 for VirtualBox 3.0.12. Thanks for the suggestion, I completely forgot about the i386 version. I'll let you know if it doesn't or does work.
I'm wanting to do a command install, i'm lacking heavily in that area, if you are able to help me out with some commands and explain what they do I would be most gratefull

kirukan 01-14-2010 06:28 AM

see this
http://www.howtoforge.com/installing...ora-11-desktop

bcbotha 01-16-2010 10:59 AM

I have now installed the correct version of virtualbox but i'm having problems still. When I try start a virtual machine I get an error saying:
Code:

Kernel driver not installed (rc=-1908)

The VirtualBox Linux kernel driver (vboxdrv) is either not loaded or there is a permission problem with /dev/vboxdrv. Please reinstall the kernel module by executing

'/etc/init.d/vboxdrv setup'

as root. Users of Ubuntu, Fedora or Mandriva should install the DKMS package first. This package keeps track of Linux kernel changes and recompiles the vboxdrv kernel module if necessary.

I tried installing dkms but it said:
Code:

[root@user brendan]# yum install dkms
Loaded plugins: refresh-packagekit
adobe-linux-i386                                        |  951 B    00:00   
adobe-linux-i386/primary                                |  12 kB    00:00   
adobe-linux-i386                                                          17/17
Setting up Install Process
Package dkms-2.1.0.1-1.fc11.noarch already installed and latest version
Nothing to do

a website I went to said install PAE so I tried this:
Code:

[root@user brendan]# yum install kernel-PAE-devel.i686
Loaded plugins: refresh-packagekit
Setting up Install Process
Package kernel-PAE-devel-2.6.30.10-105.fc11.i686 already installed and latest version
Nothing to do

I then tried setting up vboxdrv:
Code:

[root@user brendan]# /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@user brendan]#

and this is my vbox-install.log:

Attempting to install using DKMS
removing old DKMS module vboxdrv version 3.1.2

------------------------------
Deleting module version: 3.1.2
completely from the DKMS tree.
------------------------------
Done.

Creating symlink /var/lib/dkms/vboxdrv/3.1.2/source ->
/usr/src/vboxdrv-3.1.2

DKMS: add Completed.

Kernel preparation unnecessary for this kernel. Skipping...

Building module:
cleaning build area....
make KERNELRELEASE=2.6.30.10-105.fc11.i686.PAE -C /lib/modules/2.6.30.10-105.fc11.i686.PAE/build M=/var/lib/dkms/vboxdrv/3.1.2/build....(bad exit status: 2)

Error! Bad return status for module build on kernel: 2.6.30.10-105.fc11.i686.PAE (i686)
Consult the make.log in the build directory
/var/lib/dkms/vboxdrv/3.1.2/build/ for more information.
4

DO YOU HAVE gcc INSTALLED???
0
Failed to install using DKMS, attempting to install without
make KBUILD_VERBOSE=1 -C /lib/modules/2.6.30.10-105.fc11.i686.PAE/build SUBDIRS=/tmp/vbox.0 SRCROOT=/tmp/vbox.0 modules
/usr/src/kernels/2.6.30.10-105.fc11.i686.PAE/scripts/gcc-version.sh: line 25: gcc: command not found
/usr/src/kernels/2.6.30.10-105.fc11.i686.PAE/scripts/gcc-version.sh: line 26: gcc: command not found
make[1]: gcc: Command not found
test -e include/linux/autoconf.h -a -e include/config/auto.conf || ( \
echo; \
echo " ERROR: Kernel configuration is invalid."; \
echo " include/linux/autoconf.h or include/config/auto.conf are missing."; \
echo " Run 'make oldconfig && make prepare' on kernel src to fix it."; \
echo; \
/bin/false)
mkdir -p /tmp/vbox.0/.tmp_versions ; rm -f /tmp/vbox.0/.tmp_versions/*
make -f scripts/Makefile.build obj=/tmp/vbox.0
gcc -Wp,-MD,/tmp/vbox.0/linux/.SUPDrv-linux.o.d -nostdinc -isystem -Iinclude -I/usr/src/kernels/2.6.30.10-105.fc11.i686.PAE/arch/x86/include -include include/linux/autoconf.h -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -fno-delete-null-pointer-checks -Os -msoft-float -mregparm=3 -freg-struct-return -march=i686 -ffreestanding -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -fno-omit-frame-pointer -fno-optimize-sibling-calls -g -pg -I/lib/modules/2.6.30.10-105.fc11.i686.PAE/build/include -I/tmp/vbox.0/ -I/tmp/vbox.0/include -I/tmp/vbox.0/r0drv/linux -D__KERNEL__ -DMODULE -DRT_OS_LINUX -DIN_RING0 -DIN_RT_R0 -DIN_SUP_R0 -DVBOX -DRT_WITH_VBOX -DVBOX_WITH_HARDENING -DCONFIG_VBOXDRV_AS_MISC -DRT_ARCH_X86 -DVBOX_WITH_64_BITS_GUESTS -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(SUPDrv_linux)" -D"KBUILD_MODNAME=KBUILD_STR(vboxdrv)" -D"DEBUG_HASH=27" -D"DEBUG_HASH2=27" -c -o /tmp/vbox.0/linux/SUPDrv-linux.o /tmp/vbox.0/linux/SUPDrv-linux.c
/bin/sh: gcc: command not found
make[2]: *** [/tmp/vbox.0/linux/SUPDrv-linux.o] Error 127
make[1]: *** [_module_/tmp/vbox.0] Error 2
make: *** [vboxdrv] Error 2


Any ideas what is wrong?

unSpawn 01-16-2010 05:39 PM

Quote:

Originally Posted by bcbotha (Post 3828779)
/usr/src/kernels/2.6.30.10-105.fc11.i686.PAE/scripts/gcc-version.sh: line 25: gcc: command not found

Install the compiler as in 'yum -y install gcc'?

bcbotha 01-19-2010 12:13 AM

Thanks unSpawn it's working beautifully now.


All times are GMT -5. The time now is 09:48 PM.