One last attempt before abandoning Project

Discussions related to using VirtualBox on Linux hosts.
Post Reply
GirlNet
Posts: 8
Joined: 18. Sep 2008, 22:16

One last attempt before abandoning Project

Post by GirlNet »

I don't want to - but after a week of troubleshooting, I still get . . .

Code: Select all

No suitable module for running kernel found
In the /var/log/vbox-install.log, I find . . .

Code: Select all

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.";	\
When running . . .

Code: Select all

/etc/init.d/vboxdrv setup
The server abends.

I've updated every kernel/kernel dependent module such as kernel-devel, gcc, etc.

I can't even figure out how to uninstall 2.0, to install 1.6 which I is proven stable.

Anyone? Please help! I'd really like to use virtualbox, I hear it's great when installed properly.

Signed,
Hopeless in Detroit
MaidenFan
Posts: 33
Joined: 25. Sep 2008, 16:14
Primary OS: Fedora other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Fedora, CentOS, Ubuntu, Windows 7
Location: London, UK
Contact:

Post by MaidenFan »

What distro is your host?

If it's Debain-based (Ubuntu etc) then run:

Code: Select all

sudo apt-get remove VirtualBox
If it's RedHat-based (Fedora, CentOS etc) then run:

Code: Select all

su -
[Your root password]
yum remove VirtualBox
That should remove all traces of your current VirtualBox install. From there, download 2.0.2 and install as you would do normally (via RPM on RH or DEB on Debian).
GirlNet
Posts: 8
Joined: 18. Sep 2008, 22:16

Post by GirlNet »

Thank you! I'm using RHEL 5.2. It worked. I'm have a issue with Xen (I'm a total newbie here).

Code: Select all

Error: Cannot retrieve repository metadata (repomd.xml) for repository: rhel-i386.
Is it possible this has something to do with it? I'm frustrated that I'm not more knowledgeable about this - but I'm working on it.
MaidenFan
Posts: 33
Joined: 25. Sep 2008, 16:14
Primary OS: Fedora other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Fedora, CentOS, Ubuntu, Windows 7
Location: London, UK
Contact:

Post by MaidenFan »

That error means that Yum (RHEL's package manager) can't access the relevant repositories on the Internet.

Check proxy settings, network connections and general internet browser access on the host. It may also be a good idea to clear the repo cache so that you get a fresh list next time you install something:

Code: Select all

su -
[Your root password]
yum clean all
Once you've removed VirtualBox, you can download the RPM from the VirtualBox download page and install it by running this command as root (if you still have the "su" window open from earlier you can miss this out):

Code: Select all

su -
[Your root password]
rpm -ivh /path/to/downloaded.rpm
Make sure you have the kernel-devel package installed for your relevant kernel. If you don't, the VBox installer will complain and fail.
sej7278
Volunteer
Posts: 1003
Joined: 5. Sep 2008, 14:40
Primary OS: Debian other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Solaris, Linux, Windows, OS/2, MacOSX, FreeBSD
Contact:

Post by sej7278 »

you say you have kernel-devel installed so i guess its redhat/fedora, have you got kernel-headers installed too - as its asking for .h files.....

yum install kernel-headers

and it has to be for your current running kernel, so if you've just installed a new kernel you have to reboot before running vboxdrv setup

vbox 2.0.2 worked out of the box for me with centos 5.2, you really should't be trying to do any virtualisation with the xen kernel installed though, you have to have the non-xen kernel.
GirlNet
Posts: 8
Joined: 18. Sep 2008, 22:16

Post by GirlNet »

Yep - got that too!

Code: Select all

[root@qadmirror ~]# yum list kernel*
Loading "rhnplugin" plugin
Loading "security" plugin
rhel-i386-server-5        100% |=========================| 1.4 kB    00:00     
Installed Packages
kernel.i686                              2.6.18-92.1.13.el5     installed       
kernel.i686                              2.6.18-92.1.10.el5     installed       
kernel-devel.i686                        2.6.18-92.1.10.el5     installed       
kernel-devel.i686                        2.6.18-92.1.13.el5     installed       
kernel-headers.i386                      2.6.18-92.1.13.el5     installed       
kernel-xen.i686                          2.6.18-92.el5          installed       
kernel-xen.i686                          2.6.18-92.1.13.el5     installed       
kernel-xen.i686                          2.6.18-92.1.10.el5     installed       
kernel-xen-devel.i686                    2.6.18-92.el5          installed       
kernel-xen-devel.i686                    2.6.18-92.1.13.el5     installed       
kernel-xen-devel.i686                    2.6.18-92.1.10.el5     installed       
Available Packages
kernel-PAE.i686                          2.6.18-92.1.13.el5     rhel-i386-server
kernel-PAE-devel.i686                    2.6.18-92.1.13.el5     rhel-i386-server
kernel-debug.i686                        2.6.18-92.1.13.el5     rhel-i386-server
kernel-debug-devel.i686                  2.6.18-92.1.13.el5     rhel-i386-server
kernel-doc.noarch                        2.6.18-92.1.13.el5     rhel-i386-server
GirlNet
Posts: 8
Joined: 18. Sep 2008, 22:16

Post by GirlNet »

sej7278 wrote:vbox 2.0.2 worked out of the box for me with centos 5.2, you really should't be trying to do any virtualisation with the xen kernel installed though, you have to have the non-xen kernel.
So, should I uninstall xen and install something else? Is that possible? I don't care what desktop I run as long as I can virtualize and put Linux 3 on it.
GirlNet
Posts: 8
Joined: 18. Sep 2008, 22:16

Post by GirlNet »

Well . . .

I did uninstall version 2.0.2 and installed 1.6.6 and the machine abended again. I did actually see an error before it rebooted - but I wasn't quick enough to read it.

Darn it! I'm a whole two weeks into Linux and I have to tell you - everything has been really difficult. I'm not complaining cause learning new things are difficult - but DANG! :?
MaidenFan
Posts: 33
Joined: 25. Sep 2008, 16:14
Primary OS: Fedora other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Fedora, CentOS, Ubuntu, Windows 7
Location: London, UK
Contact:

Post by MaidenFan »

I would uninstall Xen before you start playing with VirtualBox - I'm not exactly an expert on Xen but the two could create problems if they don't play well together.

Does Xen use a different kernel to the RHEL standard? If it is a non-standard kernel then it would definitely be possible that it could conflict with VBox.
GirlNet
Posts: 8
Joined: 18. Sep 2008, 22:16

Post by GirlNet »

Ok - here's what I did.

Code: Select all

yum remove xen.i386
yum remove xen-libs.i386
Ran

Code: Select all

rpm -ivh nameof package.rpm
Before it rebooted, I got this message "No precompile module for the kernel found". I had to be quick to get it!

Now I get a different error when I do a:

Code: Select all

/etc/init.d/vboxdrv start
(modprobe vboxdrv failed. Please use 'dmesg' to find out why)

When I fun dmesg, I get a whole lot of gobbly gook, that I can't make heads or tails from.

But . . . at least I'm getting a new error now!
:P
MaidenFan
Posts: 33
Joined: 25. Sep 2008, 16:14
Primary OS: Fedora other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Fedora, CentOS, Ubuntu, Windows 7
Location: London, UK
Contact:

Post by MaidenFan »

Try posting the contents of the /var/log/vbox-install.log file - that should give you why the install is failing. Are you choosing the right install RPM from the Download page?
sej7278
Volunteer
Posts: 1003
Joined: 5. Sep 2008, 14:40
Primary OS: Debian other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Solaris, Linux, Windows, OS/2, MacOSX, FreeBSD
Contact:

Post by sej7278 »

you have to replace that xen kernel with the vanilla one:

yum install kernel kernel-devel kernel-headers

yum remove kernel-xen*
Sasquatch
Volunteer
Posts: 17798
Joined: 17. Mar 2008, 13:41
Primary OS: Debian other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows XP, Windows 7, Linux
Location: /dev/random

Post by Sasquatch »

Be sure to boot to the proper kernel too. Only then will VB run and compile it's kernel module.
Read the Forum Posting Guide before opening a topic.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org

Retired from this Forum since OSSO introduction.
Post Reply