LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   SUSE / openSUSE (https://www.linuxquestions.org/questions/suse-opensuse-60/)
-   -   Virtualbox driver (https://www.linuxquestions.org/questions/suse-opensuse-60/virtualbox-driver-593253/)

collieman 10-20-2007 09:18 AM

Virtualbox driver
 
I have installed 10.3 on my laptop and 10.3x64 on desktop - Both working fine.

I added Virtualbox onto both through Yast.

I can run Virtualbox on both but get the same error when I try to start a virtual machine:

"VirtualBox kernel driver not installed. The virtual kernel module was either not loaded or /dev/vboxdrv was not created for some reason. Re-Setup the kernel module by '/etc/init.d/vboxdrv setup' as root

VBox status code: -1908 (VERR_VM_DRIVER_NOT_INSTALLED),"

I have searched for a file called 'vboxdrv' but not found.

Any guess' re problem.

Thanks

Luke

Brian1 10-21-2007 09:46 AM

I never used it before but quick read through the docs and forum from their site mentions this. Have you run this command? vboxdrv setup

If this does not help then check the forum and help docs on their site. Might find the answer from a search there. Also searching here showed similiar things to be done.

Brian

seelenbild28 10-21-2007 12:37 PM

looks like that you did a kernel upgrade, didn't you? this message says everything you have to do:

Re-Setup the kernel module by '/etc/init.d/vboxdrv setup' as root

that means, open a console, login as root via "su" password and run the command "/etc/init.d/vboxdrv setup". this compiles the vboxdrv kernel module again against the new kernel. then start virtualbox and it will work...

wer lesen kann ist klar im vorteil*g

collieman 10-21-2007 01:29 PM

Yes, I had tried that but could not find vboxdrv.

Deleted the installation and downloaded from the vbox site. All working now, many thanks for the replies.

Luke

seelenbild28 10-27-2007 04:18 PM

most probably you did not do that as root:

su
password
/etc/init.d/vboxdrv setup

finished....

you will have the same problem after a kernel upgrade...

garthkh 07-13-2008 06:54 AM

Virtualbox driver
 
I am running an upgrade from Suse 10.3 to Suse 11.0 and have the same problems as Collieman. I also can't run the driver from root. I get the following:
garthlinux:/home/garth # /etc/init.d/vboxdrv setup
Stopping VirtualBox kernel module done
Recompiling VirtualBox kernel module, NOT. It has been packaged. done
Starting VirtualBox kernel module failed
(Kernel module not found)
garthlinux:/home/garth #

I have done the installation from YAST from the DVD and installed every VirtualBox component.
I wondered about downloading fresh from the VirtualBox site but the latest download there is for Suse 10.3. Will this install ok in 11.0?

I had first tried to get XEN running but discovered that it needed a larger processor than I have (ie AMD 1800+). I'm sad about that as I was quite keen to see XEN working.

Where should I go from here?
Garth

pilotgi 07-13-2008 07:31 AM

You should be able to load the module manually by executing as root:

modprobe vboxdrv

garthkh 07-14-2008 09:29 AM

modprobe vboxdrv doesn't seem to do anything. I see the man on it says it will load a module but I see nothing and VirtualBox still give the same error.
How do I find out if I even have a vboxdrv module?

pilotgi 07-14-2008 04:23 PM

After using modprobe, use lsmod to see a list of all the modules that are loaded. If vboxdrv is there then the problem is elsewhere.

garthkh 07-31-2008 10:41 AM

Sorry I've taken a while to reply, I've been away.
Yes the lsmod command reveals that vboxdrv is there.
So where do I go to from here?

1kyle 08-01-2008 12:51 AM

You are much better off using VMWARE. Use the FREE part VMPLAYER.

Now the trick is to be able create Virtual machines as VMPLAYER can only run them not create them.

So what you do is download a nice little paackage called QEMU and follow the instructions

[http://johnbokma.com/vmware-player/c...-machines.html


Vmware is much more stable than virtual box and using vmplayer in combination with qemu you have most of the facilities of vmware workstation for FREE and a much more compatable virtual machine as any virtual machine you create on Linux will also run on Windows WITHOUT CHANGE (assuming you can copy the virtual machine to a writable Windows disk partition).

Cheers

-K

garthkh 08-01-2008 02:53 AM

Thanks 1Kyle. I will take a look into this. Will VMPLAYER handle Win98? And must I download a VMPLAYER - what do I need to have ... I haven't looked in my DVD setup for it yet? Is VMWARE and XEN the same thing?

Back to getting Virtualbox working so I can at least see what it does, I have another display now when I try to run it.....

The VirtualBox kernel driver is not accessible to the current user. Make sure that the user has write permissions for /dev/vboxdrv by adding them to the vboxusers groups. You will need to logout for the change to take effect..
VBox status code: -1909 (VERR_VM_DRIVER_NOT_ACCESSIBLE).

Result Code:
0x80004005
Component:
Console
Interface:
IConsole {1dea5c4b-0753-4193-b909-22330f64ec45}

I have taken a look (using YAST) at my User and Group security and I don't see anything re vboxdrv. How can I set up what this message is asking for?
Thanks
Garth

pilotgi 08-01-2008 11:26 AM

You need to add your user name to /etc/groups. I'm not in front of my Linux box right now but there's a line in /etc/groups for vboxdrv or vbox something.

Use your favorite editor to add you name to this line and save the file. You'll probably have to log out or reboot for it to take effect.

1kyle 08-02-2008 05:25 AM

Xen and vmware are quite separate. Vmware is a company that provides commercial (and free) software which enables you to create and run virtual machines based on a basic "common Hardware" set.

XEN works differently -- I'm not a guru so I can't tell you how it works but "Virtualisation" is done by quite different means than VMWARE (or Virtual Box for that matter).

Just download the vmplayer rpm -- it may even already be on the distribution disks. Otherwise down load from http://www.vmware.com

QEMU might also be on your distribution disks.

Vmplayer will certainly handle Win98 (and Win 95 and even Windows 3.1). That's the WHOLE point of Virtual machines --you can run a myriad of different operating systems on them.

Don't start too many Virtual machines at once as they are really MEMORY intensive --most modern physical machines have enough CPU power --a typical dual processor is more than enough to power 2 or 3 concurrent Virtual Machines --but You'll need at least 2GB (preferabbly 4 or 8GB) to use 3 or 4 Windows virtual machines concurrently.

Unless your Host operating system is VISTA (UGH HIDEOUS) then Windows itself will only see 3GB RAM max however much you've installed so in any case you are better off running Windows Virtual Machines on Linux.

Note a restriction however with Virtual Machines -- you won't necessarily be able to use hardware that doesn't use "Standard" processing calls -- in other words if your device actually by-passes windows itself and calls the BIOS directly you will probably get some problems -- this will occur mainly in some types of Video recording apps but most things will run fine on a VM.

Cheers

-K

garthkh 08-03-2008 12:21 AM

Thanks for giving such a detailed reply. I will try it out.
I did try to run vmware first from an rpm I downloaded and I got all sorts of missing dependencies. To save time I tried XEN from the DVD and got it up but it wouldn't allow any systems added and I found out that it needs a higher end processor than I am using. Thats when I started with VirtualBox.
I have some family and friends who are still using Win 98 for for software they don't want upgraded, so using the virtual machine facilities seems to be the way to go.
I even have a great OCR scanning program that I got in my Win98 days and I get tied of rebooting into 98 to get to that facility. I use OCR quite a bit and I haven't yet found anything free in Linux that comes anywhere close to really good OCR scanning software that is available on Windows.

garthkh 08-05-2008 09:33 AM

VirtualBox
I have got VirtualBox working and Win98 installed in it. I'm still having problems getting USB drivers to work to try out my scanner. Seems the devices in the PC are not naturally seen by the VM.

I have also have a problem finding a display driver that will get the VM display up to SVGA. Have found Display Doctor and that seems to work but seems to be a trial program. I couldn't get a downloaded VESA driver to come out of VGA mode. What other drivers are recommended?

Regarding the Processor speeds and overheating, I see their are warnings on this for Win 98. Is this a problem?

About Vmware Player and Qemu.
I now have downloaded Vmware Player and Qemu. Must I also download the accelerator kqemu? How do these two programs relate? Reading the notes on qemu it seems to be an independent virtual machine manager.

garyg007 08-07-2008 05:20 PM

Virtualbox works great in suse 11; but suse 11 does not play nice with the yast virtualbox install. There are problems with the yast install in suse 11.0 - I dont remember what they are but they are discussed in the opensuse forum.

Use the suse 10.3 rpm from the virtualbox website - it works just fine in opensuse 11.0.

Also after you install suse 11 make sure that you have the kernel headers installed.


Forget everything I said about suse 11 - since you are running 10.3.

garyg007 08-08-2008 09:04 AM

Your problem with usb, is that one of the suse developers removed the traditional method of supporting usb from the suse kernel. That screwed up a number of applications. There is a long bugzilla thread about this. After a lot of kicking and screaming, the damage was finally undone. If you have a current kernel for suse 10.3 then you should be able to get usb working.

Here is an excerpt from the VirtualBox user manual:
Quote:

11.5.7 USB not working
If USB is not working on your Linux host, make sure that the current user has permis-
sion to access the USB filesystem (usbfs), which VirtualBox relies on to retrieve valid
information about your host’s USB devices.
As usbfs is a virtual filesystem, a chmod on /proc/bus/usb has no effect. The
permissions for usbfs can therefore only be changed by editing the /etc/fstab file.
For example, most Linux distributions have a user group called usb or similar, of
which the current user must be a member. To give all users of that group access to
usbfs, make sure the following line is present:
# 85 is the USB group
none /proc/bus/usb usbfs devgid=85,devmode=664 0 0

Replace 85 with the group ID that matches your system (search /etc/group for “usb”
or similar). Alternatively, if you don’t mind the security hole, give all users access to
USB by changing “664” to “666”.
The various distributions are very creative from which script the usbfs filesys-
tem is mounted. Sometimes the command is hidden in unexpected places.

garthkh 08-11-2008 06:48 AM

I am running 11.0 not 10.3. Looking at /etc/fstab or /etc/group and looking into my user and group security setup in YAST I don't have any USB references to allocate to any user. My USB does however work fine normally with my printer and with other plugins like flash drives.

I'm going to start trying out 1kyle's Player and qemu to see if they set up better. I can't understand why a packaged system like VirtualBox isn't tested out by Novell. Why package it if it has problems?


All times are GMT -5. The time now is 04:07 PM.