Slackware This 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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
|
12-11-2009, 10:04 AM
|
#1
|
|
Senior Member
Registered: Jul 2008
Location: /dev/null
Posts: 1,173
Rep: 
|
nmi_watchdog / virtualbox issue
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.
However I passed at kernel parameter:
append = "nmi_watchdog=0"
Code:
$ cat /proc/interrupts | grep NMI
NMI: 0 0 Non-maskable interrupts
I'm using the virtualbox 3.1.0
Last edited by ~sHyLoCk~; 12-15-2009 at 11:22 PM.
|
|
|
|
12-11-2009, 11:23 AM
|
#2
|
|
Member
Registered: Apr 2006
Location: SE Texas
Distribution: Slack64-C ML
Posts: 859
Rep:
|
|
|
|
1 members found this post helpful.
|
12-11-2009, 04:58 PM
|
#3
|
|
Senior Member
Registered: Jul 2008
Location: /dev/null
Posts: 1,173
Original Poster
Rep: 
|
Ah so it's not supported yet for 2.6.32? Anyone else tried using vbox [puel] with this new kernel?
|
|
|
|
12-15-2009, 06:13 PM
|
#4
|
|
HCL Maintainer
Registered: Jun 2003
Location: Tupelo, MS
Distribution: Gentoo
Posts: 6,926
Rep: 
|
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.
|
|
|
|
12-15-2009, 08:08 PM
|
#5
|
|
Senior Member
Registered: Jul 2008
Location: /dev/null
Posts: 1,173
Original Poster
Rep: 
|
Now it works for me after the first try, weird.
Code:
/etc/rc.d/rc.vboxdrv start
Password:
Starting VirtualBox kernel module ...failed!
(modprobe vboxdrv failed. Please use 'dmesg' to find out why)
/etc/rc.d/rc.vboxdrv start
Starting VirtualBox kernel module ...done.
|
|
|
|
12-15-2009, 09:07 PM
|
#6
|
|
HCL Maintainer
Registered: Jun 2003
Location: Tupelo, MS
Distribution: Gentoo
Posts: 6,926
Rep: 
|
Quote:
Originally Posted by ~sHyLoCk~
Now it works for me after the first try, weird.
Code:
/etc/rc.d/rc.vboxdrv start
Password:
Starting VirtualBox kernel module ...failed!
(modprobe vboxdrv failed. Please use 'dmesg' to find out why)
/etc/rc.d/rc.vboxdrv start
Starting VirtualBox kernel module ...done.
|
My command was different:
Code:
root@silas64:~# /etc/rc.d/rc.vboxdrv setup
|
|
|
|
12-15-2009, 09:23 PM
|
#7
|
|
Senior Member
Registered: Jul 2008
Location: /dev/null
Posts: 1,173
Original Poster
Rep: 
|
Well the setup command is run once to compile the virtualbox modules, and then usually you add
Code:
if [ -x /etc/rc.d/rc.vboxdrv ]; then
/etc/rc.d/rc.vboxdrv start
fi
in rc.local to load the modules.
|
|
|
|
12-15-2009, 10:06 PM
|
#8
|
|
HCL Maintainer
Registered: Jun 2003
Location: Tupelo, MS
Distribution: Gentoo
Posts: 6,926
Rep: 
|
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.
|
|
|
1 members found this post helpful.
|
12-15-2009, 10:11 PM
|
#9
|
|
Senior Member
Registered: Jul 2008
Location: /dev/null
Posts: 1,173
Original Poster
Rep: 
|
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.
Regards
|
|
|
|
12-15-2009, 10:44 PM
|
#10
|
|
Senior Member
Registered: Nov 2008
Location: Paris, France
Distribution: Slackware-14.0 on a Lenovo T61 6457-4XG
Posts: 2,788
|
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.
|
|
|
1 members found this post helpful.
|
12-15-2009, 11:02 PM
|
#11
|
|
HCL Maintainer
Registered: Jun 2003
Location: Tupelo, MS
Distribution: Gentoo
Posts: 6,926
Rep: 
|
Code:
mingdao@silas64:~$ lsmod | grep vbox
vboxdrv 1705748 1
I didn't need or build the modules "vboxnetflt" and "vboxnetadp".
|
|
|
|
12-15-2009, 11:09 PM
|
#12
|
|
Senior Member
Registered: Jul 2008
Location: /dev/null
Posts: 1,173
Original Poster
Rep: 
|
Didier Spaier
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:
http://omploader.org/vMzA2ZA/snapshot3.png
Then it works obviously, but why isn't it working at startup?
Bruce Hill
Hi, can you please check your /etc/rc.d/rc.local to see if the rc.vboxdrv is started for you?
Regards
Last edited by ~sHyLoCk~; 12-15-2009 at 11:16 PM.
|
|
|
|
12-15-2009, 11:22 PM
|
#13
|
|
HCL Maintainer
Registered: Jun 2003
Location: Tupelo, MS
Distribution: Gentoo
Posts: 6,926
Rep: 
|
watch me copy from .bash_history
I did this fellers:
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.
That's all, folks!
|
|
|
|
12-15-2009, 11:30 PM
|
#14
|
|
HCL Maintainer
Registered: Jun 2003
Location: Tupelo, MS
Distribution: Gentoo
Posts: 6,926
Rep: 
|
Quote:
Originally Posted by ~sHyLoCk~
Bruce Hill
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
|
|
|
|
12-15-2009, 11:39 PM
|
#15
|
|
Senior Member
Registered: Jul 2008
Location: /dev/null
Posts: 1,173
Original Poster
Rep: 
|
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 09:46 AM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|