[opensuse] opensuse and virtualbox.
I'm sure this issue has come up before (found several references in google, all with URLs that point into oblivion since changes. e.g. http://en.opensuse.org/VirtualBox_installation) I seem to have something weird.. installed opensuse 11.3, tried compiling my own version of virtual box OSE, then realized there was something in a repository for it, picked the virtualbox-ose packages in yast, installed, run and now get: 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 exec uting '/etc/init.d/vboxdrv setup' as root. Users of Ubuntu, Fedora or Mandriva should install the DKMS package fir st. This package keeps track of Linux kernel changes and recompiles the vboxdrv kernel module if necessary. if I try to run the vboxdrv script, it gives me: Recompiling VirtualBox kernel modules, NOT. It has been packaged...done so some hints would be helpful. I can't really go to the full version of virtual box on this particular machine. -- Even the Magic 8 ball has an opinion on email clients: Outlook not so good. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Fri, Aug 27, 2010 at 15:20, zGreenfelder wrote:
I'm sure this issue has come up before (found several references in google, all with URLs that point into oblivion since changes. e.g. http://en.opensuse.org/VirtualBox_installation)
The old page is still available and linked from the page you linked above: http://old-en.opensuse.org/VirtualBox_installation So ,the openSUSE specific info is still there.
I seem to have something weird.. installed opensuse 11.3, tried compiling my own version of virtual box OSE, then realized there was something in a repository for it,
How far did you get on compiling your own version? Did you get as far as a make install?
picked the virtualbox-ose packages in yast, installed, run and now get:
Kernel driver not installed (rc=-1908)
Do you have kernel sources installed? C. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
The old page is still available and linked from the page you linked above: http://old-en.opensuse.org/VirtualBox_installation So ,the openSUSE specific info is still there.
I'll dig into that and see what I can find. Thanks.
How far did you get on compiling your own version? Did you get as far as a make install?
I did the make install, but had the similar errors with the compiled version
Do you have kernel sources installed?
Aye, Kernel source installed. uninstalled all the ose via yast, now trying to reinstall the PAE kernel and reboot to make sure I'm at close to a base level.
C. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
-- Even the Magic 8 ball has an opinion on email clients: Outlook not so good. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Do you have kernel sources installed?
Aye, Kernel source installed. uninstalled all the ose via yast, now trying to reinstall the PAE kernel and reboot to make sure I'm at close to a base level.
I think you may need the headers, too. fwiw, I switched to the Oracle maintained repository, not just because of the USB support not in OSE but because it is just easier as it keeps itself consistent with kernel updates, and new versions appear in that repo before OSE is updated. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Friday 27 Aug 2010 15:16:48 dwgallien wrote:
Do you have kernel sources installed?
Aye, Kernel source installed. uninstalled all the ose via yast, now trying to reinstall the PAE kernel and reboot to make sure I'm at close to a base level.
I think you may need the headers, too.
fwiw, I switched to the Oracle maintained repository, not just because of the USB support not in OSE but because it is just easier as it keeps itself consistent with kernel updates, and new versions appear in that repo before OSE is updated.
I agree with using the Oracle version. To install the VirtualBoxAdditions, you need the kernel-source package,as well as gcc and make. The latter two are not installed in openSUSE by default. Bob -- Registered Linux User #463880 FSFE Member #1300 GPG-FP: A6C1 457C 6DBA B13E 5524 F703 D12A FB79 926B 994E openSUSE 11.3, Kernel 2.6.34.12-desktop, KDE 4.4.4 Intel Core2 Quad Q9400 2.66GHz, 8GB DDR RAM, nVidia GeForce 9600GT -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
For anyone who might be curious about such things (even morbidly), the latest in the saga... reinstalled pae kernel, switched to using /etc/init.d/vboxdrv start because apparently the 'setup' in the distribution is hardcoded to not try to compile stuff (which makes sense, if I stop to think about it) got an error message about /usr/lib/modules/2.6.35-12-0ae/updates/vboxdrv.ko missing, reinstalled the host-kmp and could modprobe in vboxdrv (getting closer... ) now getitng an error that /lib/modules/2.6.34-12-pae/updates/vboxnetflt.ko is a bad file. spider:~ # /etc/init.d/vboxdrv start Starting VirtualBox kernel module failed (modprobe vboxnetflt failed. Please use 'dmesg' to find out why) spider:~ # file /lib/modules/2.6.34-12-pae/updates/vboxnetflt.ko /lib/modules/2.6.34-12-pae/updates/vboxnetflt.ko: ELF 32-bit LSB relocatable, Intel 80386, version 1 (SYSV), not stripped spider:~ # modprobe vboxnetflt FATAL: Error inserting vboxnetflt (/lib/modules/2.6.34-12-pae/updates/vboxnetflt.ko): Invalid module format dmesg: [ 1201.874844] vboxdrv: TSC mode is 'synchronous', kernel timer mode is 'normal'. [ 1201.874855] vboxdrv: Successfully loaded version 3.2.6_OSE (interface 0x00140001). [ 1211.808736] vboxguest: exports duplicate symbol RTMemExecFree (owned by vboxdrv) [ 1217.970657] vboxguest: exports duplicate symbol RTMemExecFree (owned by vboxdrv) [ 1636.350752] vboxguest: exports duplicate symbol RTMemExecFree (owned by vboxdrv) [ 1649.111603] vboxguest: exports duplicate symbol RTMemExecFree (owned by vboxdrv) -- Even the Magic 8 ball has an opinion on email clients: Outlook not so good. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On 27/08/10 15:22, zGreenfelder wrote:
For anyone who might be curious about such things (even morbidly), the latest in the saga... reinstalled pae kernel, switched to using /etc/init.d/vboxdrv start because apparently the 'setup' in the distribution is hardcoded to not try to compile stuff (which makes sense, if I stop to think about it) got an error message about /usr/lib/modules/2.6.35-12-0ae/updates/vboxdrv.ko missing, reinstalled the host-kmp and could modprobe in vboxdrv (getting closer... )
now getitng an error that /lib/modules/2.6.34-12-pae/updates/vboxnetflt.ko is a bad file.
spider:~ # /etc/init.d/vboxdrv start Starting VirtualBox kernel module failed (modprobe vboxnetflt failed. Please use 'dmesg' to find out why) spider:~ # file /lib/modules/2.6.34-12-pae/updates/vboxnetflt.ko /lib/modules/2.6.34-12-pae/updates/vboxnetflt.ko: ELF 32-bit LSB relocatable, Intel 80386, version 1 (SYSV), not stripped spider:~ # modprobe vboxnetflt FATAL: Error inserting vboxnetflt (/lib/modules/2.6.34-12-pae/updates/vboxnetflt.ko): Invalid module format
dmesg:
[ 1201.874844] vboxdrv: TSC mode is 'synchronous', kernel timer mode is 'normal'. [ 1201.874855] vboxdrv: Successfully loaded version 3.2.6_OSE (interface 0x00140001). [ 1211.808736] vboxguest: exports duplicate symbol RTMemExecFree (owned by vboxdrv) [ 1217.970657] vboxguest: exports duplicate symbol RTMemExecFree (owned by vboxdrv) [ 1636.350752] vboxguest: exports duplicate symbol RTMemExecFree (owned by vboxdrv) [ 1649.111603] vboxguest: exports duplicate symbol RTMemExecFree (owned by vboxdrv)
*If you are installing virtualbox from the distribution, no compilation is needed* I am confused how you got to this state ... you seem to have both host+guest modules installed at the very least ... My guess is that there is some cruft from your earlier compilation attempts lying around, and also you've got too many virtualbox packages installed. Uninstall everything virtualbox related. (make sure /lib/modules has no more vbox modules, make sure /usr/lib/virtualbox is empty, make sure rpm -qa | grep -i virtualbox is empty ). Feel free to remove any kernel development packages you had installed too, you don't need them. Make sure the following is the only virtualbox repo in zypper: Virtualization http://download.opensuse.org/repositories/Virtualization/openSUSE_11.3/ (you can add it with zypper ar -f --repo http://r.opensu.se/Virtualization.repo ) do zypper in --from Virtualization virtualbox-ose virtualbox-ose-host-kmp-pae Add yourself to the "vboxusers" group Restart to make sure kernel modules loaded, and to get accepted into the group. Run VirtualBox. The virtualbox-ose-guest-kmp packages contain the VirtualBox guest additions, and are to be installed ONLY if you are running openSUSE as a guest in virtualbox - never in the host. Regards, Tejas -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (5)
-
Bob Williams
-
C
-
dwgallien
-
Tejas Guruswamy
-
zGreenfelder