Virtualbox kernel modules won't load after updating kernel in openSUSE 11.0
Hi everyone,
I'm running openSUSE 11.0. I recently updated the kernel from 2.6.25.5-1.1-default to 2.6.25.18-0.2-default via the openSUSE Updater. While this solved some minor problems which I was having, it's introduced a new one, namely that VirtualBox doesn't work any more. The Virtualbox packages installed on my system are: virtualbox-ose version 1.5.6-33.1-i586 virtualbox-ose-guest-tools version 1.5.6-33.1-i586 virtualbox-ose-kmp-default version 1.5.6_2.6.25.5_1.1-33.1-i586 xorg-x11-driver-virtualbox-ose version 1.5.6-33.1-i586 All of these are from download.opensuse.org/distribution/11.0/repo/oss/. After the kernel update, I launched VirtualBox in the usual way, selected the virtual machine that I wanted to open and hit 'Start', and was presented with the message: Quote:
So as instructed, I ran /etc/init.d/vboxdrv setup as root, and got this: Quote:
Trying to load the Virtualbox kernel modules manually, I ran the command modprobe vboxdrv.ko, which completed successfully, but modprobe vboxadd and modprobe vboxfs both failed: Quote:
Quote:
As always, all suggestions and advice are greatly appreciated. Thanks James. |
Quote:
|
Thanks Xian, I thought that was the case but just wanted to see if there was a quick workaround.
I've now downloaded and installed the VirtualBox 2.10 rpm for openSUSE 11.0 from http://www.virtualbox.org/wiki/Linux_Downloads, it went in fine and is now up and running. I have one further question though: I currently have one guest machine set up under Virtualbox. If I launch VirtualBox and try to access the Settings of my guest machine, I get a warning message saying: Quote:
Quote:
Thanks James. |
The USB issue is covered in the V/Box FAQ page.
|
The VBox FAQ page says:
Quote:
|
Hi there
A "Get around" is to say mount the USB as a conventional disk on the Host system with either FAT / NTFS (if your guest is a Windows machine). md /mnt/usbdev1 mount - t ntfs-3g -o rw /dev/sdx / mnt/usbdev1 where sdx is the physical partition of the USB device. Ensure you (and the network users) have READ / WRITE access to /mnt/usbdev1 and any sub directories. Now use SAMBA to share the device with the virtual machine Bit of a pain but this method ALWAYS works. The details of setting this up are beyond the scope of this post but the documentation on this topic is quite straight forward - just google a bit on SAMBA. If your Guest VM is another Linux machine the shared networking should still work using NFS. Disadvantage of this is that it's not Plug and play but you can mount and unmount the device Note current linux kernels have NTFS read write facilty now if you are sharing with windows - it's the FUSE module in the kernel. When mounting NTFS for read write the file type is ntfs-3g. For Networking treat a Virtual machine exactly as you do a physical machine. You might have a choice of the "Virtual" network adapter - usually you get 3 choices in most types of Virtual Machine software: 1) Host Only -- the VM can network with the Host but no outside LAN or Internet 2) NAT the VM can see the rest of the network including the Internet but uses "shares" the same IP address as the host 3) Bridged the VM gets it's own IP address - your router / LAN will see the VM machine as being on a totally different address. For testing it's usually easier to start with Host Only and disable firewalls. cheers -K |
1kyle,
Thank you for these very clear instructions, I'll give it a try. J. |
All times are GMT -5. The time now is 07:53 PM. |