SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
At first I though while using localmodconfig I must have selected / deselected some thing while building 2.6.32.1 kernel, so I used the generic config this time and rebuilt the 2.6.32.1 kernel, still the issue arises:
Code:
/etc/rc.d/rc.vboxdrv start
Starting VirtualBox kernel module ...failed!
(modprobe vboxdrv failed. Please use 'dmesg' to find out why)
dmesg shows:
Code:
vboxdrv: Trying to deactivate the NMI watchdog permanently...
vboxdrv: NMI watchdog either active or at least initialized. Please disable the NMI
vboxdrv: watchdog by specifying 'nmi_watchdog=0' at kernel command line.
Just got through installing VirtualBox-3.1.0-55467-Linux_amd64.run with
Linux silas64 2.6.32.1 #2 SMP Tue Dec 15 22:22:20 CST 2009 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 5000+ AuthenticAMD GNU/Linux
Everything working fine here.
I've always run setup once and never anything else.
I assume installing VirtualBox takes care of that,
because it's there and I didn't manually add it.
Hmm, but are the modules "vboxdrv, vboxnetflt and vboxnetadp" loded automatically for you? It doesn't for me unless I insmod or modprobe them manually.
Did you (re)install VirtualBox after having upgraded to 2.6.32 ?
Whenever you make a new kernel, afterwards you need to make and install again VirtualBox modules for it. I removed VB now but as far as I remember just do this as root:
Code:
cd /opt/VirtualBox-<version>/src
make all
make install
make load
Then VirtualBox should work.
Last edited by Didier Spaier; 12-15-2009 at 11:09 PM.
Hi, I have indeed done that. Here let me post snaps instead so that people can get a clear picture of what's happening and tell me why it's happening. http://omploader.org/vMzA2Yw/snapshot2.png
Then I try to manually load them using rc.vboxdrv:
1 - aria2c http://www.jp.kernel.org/pub/linux/kernel/v2.6/linux-2.6.32.1.tar.bz2{,,,,,,,,,,}
2 - aria2c ftp://download.nvidia.com/XFree86/Linux-x86_64/190.42/NVIDIA-Linux-x86_64-190.42-pkg0.run{,,,,,,,,,,}
3 - aria2c http://download.virtualbox.org/virtualbox/3.1.0/VirtualBox-3.1.0-55467-Linux_amd64.run{,,,,,,,,,,}
4 - build and install new kernel
5 - sudo sh VirtualBox-3.1.0-55467-Linux_amd64.run (had version 3.0.8)
6 - reboot
7 - sh /server2/Linux-apps/NVIDIA-Linux-x86_64-190.42-pkg0.run
8 - /etc/rc.d/rc.vboxdrv setup
Yes, Didier Spaier, you must build VirtualBox modules for new kernels.
Here's a copy and paste from "acroread /opt/VirtualBox/UserManual.pdf"
Quote:
2. The kernel of your Linux host got updated. In that case, the kernel module will
need to be reinstalled by executing (as root):
/etc/init.d/vboxdrv setup
Only thing is, Slackware has a different $PATH:
Code:
mingdao@silas64:~$ ls -l /etc/init.d/vboxdrv
ls: cannot access /etc/init.d/vboxdrv: No such file or directory
mingdao@silas64:~$ ls -l /etc/rc.d/rc.vboxdrv
-rwxr-xr-x 1 root root 11147 2009-12-16 07:42 /etc/rc.d/rc.vboxdrv
Maybe I did it wrong, but the manual is usually helpful.
Hi, can you please check your /etc/rc.d/rc.local to see if the rc.vboxdrv is started for you?
Regards
See your post #8 and my post #9. That was obviously added by
VirtualBox because (a) I didn't do it, (b) it's not in my .bash_history,
and (c) it has no comments by me, which it would if I entered it.
Code:
mingdao@silas64:~$ cat /etc/rc.d/rc.local
#!/bin/sh
#
# /etc/rc.d/rc.local: Local system initialization script.
#
# Put any local startup commands in here. Also, if you have
# anything that needs to be run at shutdown time you can
# make an /etc/rc.d/rc.local_shutdown script and put those
# commands in there.
# Start vboxdrv
# If you do not wish this to be executed here then comment it out,
# and the installer will skip it next time.
if [ -x /etc/rc.d/rc.vboxdrv ]; then
/etc/rc.d/rc.vboxdrv start
fi
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.