[Pkg-virtualbox-devel] Bug#451742: Bug#451742: Don't modprobe vboxadd
Michael Meskes
meskes at debian.org
Sun Nov 18 12:09:10 UTC 2007
On Sun, Nov 18, 2007 at 03:19:28PM +1000, Kel Modderman wrote:
> Starting VirtualBox Additions...FATAL: Error inserting vboxadd (/lib/modules/2.6.23.8-slh-smp-2/misc/vboxadd.ko): No such device
> invoke-rc.d: initscript virtualbox-ose-guest-utils, action "start" failed.
> dpkg: error processing virtualbox-ose-guest-utils (--configure):
> subprocess post-installation script returned error exit status 1
> Errors were encountered while processing:
> virtualbox-ose-guest-utils
> E: Sub-process /usr/bin/dpkg returned an error code (1)
>
> $ dmesg | tail -n 2
> vboxadd: initializing version 0.5
> vboxadd: VirtualBox PCI device not found.
This looks like you're trying to install the guest-utils outside the
virtual machine. This won't work and does not make sense anyway. What I
will do for the next version is to check whether the script is run
inside the VM or not.
> Please just let udev do this, it works fine.
What did you do to get this to work. It definitely does not work for me.
> The unconditional modprobe of vboxadd is far from safe. Please also don't do
> this in the maintainer scripts, not even with a pipe to true.
This is already removed and will be fixed with the next upload. However,
your error message from above comes from calling
/etc/init.d/virtualbox-ose-guest-utils which has to modprobe the module.
Or at least I don't see an alternative atm.
> vboxvfs will be handled by its mount wrapper, or it should be. Please do not
> unconditionally modprobe it either.
Which wrapper? But then vboxvfs is not modprobed anyway. The only
occurence was in the postinst that I already fixed.
Michael
--
Michael Meskes
Email: Michael at Fam-Meskes dot De, Michael at Meskes dot (De|Com|Net|Org)
ICQ: 179140304, AIM/Yahoo: michaelmeskes, Jabber: meskes at jabber.org
Go SF 49ers! Go VfL Borussia! Use Debian GNU/Linux! Use PostgreSQL!
More information about the Pkg-virtualbox-devel
mailing list