vbox1.38 的ubuntu7死活安装不了。[成功解决]

Kvm、VMware、Virtualbox、Xen、Qemu 等
回复
taoyh
帖子: 108
注册时间: 2005-09-26 19:26

vbox1.38 的ubuntu7死活安装不了。[成功解决]

#1

帖子 taoyh » 2007-04-27 13:23

内核也安装好了。但是就是装不上。google了半天也没有用。
安装的包是官方的:
VirtualBox_1.3.8_Ubuntu_feisty_i386.deb

出现的问题:
sudo /etc/init.d/vboxdrv setup
* Stopping VirtualBox kernel module vboxdrv [ OK ]
* Recompiling VirtualBox kernel module vboxdrv [ OK ]
* Starting VirtualBox kernel module vboxdrv FATAL: Error inserting vboxdrv (/lib/modules/2.6.20-15-generic/kernel/ubuntu/misc/vbox/vboxdrv.ko): Invalid argument

* Modprobe vboxdrv failed. Please use 'dmesg' to find out why.

各位高手给个方法吧。 :lol:
上次由 taoyh 在 2007-04-27 15:10,总共编辑 1 次。
头像
windwiny
帖子: 2254
注册时间: 2007-03-13 17:26

#2

帖子 windwiny » 2007-04-27 13:31

让你用 dmesg 查看最后是什么出错了
taoyh
帖子: 108
注册时间: 2005-09-26 19:26

#3

帖子 taoyh » 2007-04-27 13:38

搞不懂什么意思。

[ 1981.416000] vboxdrv: Trying to deactivate NMI watchdog permanently...
[ 1981.416000] vboxdrv: NMI watchdog either active or at least initialized. Please disable the NMI
[ 1981.416000] vboxdrv: watchdog by specifying 'nmi_watchdog=0' at kernel command line.
[ 2936.912000] vboxdrv: Trying to deactivate NMI watchdog permanently...
[ 2936.912000] vboxdrv: NMI watchdog either active or at least initialized. Please disable the NMI
[ 2936.912000] vboxdrv: watchdog by specifying 'nmi_watchdog=0' at kernel command line.
头像
avauntage
帖子: 570
注册时间: 2005-09-22 10:15
来自: 北京

#4

帖子 avauntage » 2007-04-27 14:24

VirtualBox 1.3.8 UserManual
10.4.1. Linux kernel module refuses to load
If the VirtualBox kernel module (vboxdrv) refuses to load, i.e. you get an "Error inserting vboxdrv:
Invalid argument", check (as root) the output of the dmesg command.
In 90% of all cases, this will exhibit a problem with Linux 2.6.19 and higher, and the message will
be: "NMI watchdog active -- refused to load the kernel module! Please disable the NMI watchdog
by specifying 'nmi_watchdog=0' at kernel command line."
Add this option to your grub configuration, reboot, and the module should load.
也就是说,需要在/boot/grub/menu.lst中,你启动的那个内核后加个参数。
类似于:

代码: 全选

title           Ubuntu, kernel 2.6.20-15-generic
root            (hd0,2)
kernel          /boot/vmlinuz-2.6.20-15-generic root=UUID=f46e35e6-e014-4a56-be29-d43aaf0ba008 ro quiet splash nmi_watchdog=0
initrd          /boot/initrd.img-2.6.20-15-generic
savedefault
我的机器上没有此问题,所以这个方法不保证能行啊,楼主自己摸索吧。
空手把锄头,步行骑水牛;人在桥上过,人流水不流。
taoyh
帖子: 108
注册时间: 2005-09-26 19:26

已经成功!

#5

帖子 taoyh » 2007-04-27 15:06

特别感谢上面两位。
还有一个问题,这个watchdog是什么?前面的mni又是什么意思。
=========================================================
另外我的机器是 神舟天运 M363S 赛扬M360 。供其他有同样问题的朋友参考。
applnk
帖子: 1485
注册时间: 2007-02-13 15:24
来自: 地球

#6

帖子 applnk » 2007-04-27 17:39

标记
头像
wewe
帖子: 357
注册时间: 2006-05-26 23:40
来自: http://ubuntufans.com

Re: 已经成功!

#7

帖子 wewe » 2007-05-08 19:20

taoyh 写了:特别感谢上面两位。
还有一个问题,这个watchdog是什么?前面的mni又是什么意思。
=========================================================
另外我的机器是 神舟天运 M363S 赛扬M360 。供其他有同样问题的朋友参考。

我的也是这个型号的电脑,看来可能是电脑都问题,现在总算解决,哈哈,谢谢楼上两位
dajian0509
帖子: 397
注册时间: 2006-10-13 18:53
来自: 湖南农业大学

#8

帖子 dajian0509 » 2007-05-11 13:54

解决的办法是什么啊?
我现在也是一样的问题呢 !
回复