Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 7 Mar 2010 09:51:20 +0100
From:      "Enrico M." <enrico@majaglug.net>
To:        freebsd-emulation@freebsd.org
Subject:   Re: virtualbox status on 8.0-STABLE i386
Message-ID:  <201003070951.20385.enrico@majaglug.net>
In-Reply-To: <86vdd92lyj.fsf@kopusha.onet>
References:  <86zl2l2w9n.fsf@kopusha.onet> <201003062039.24881.e.mancini@tiscali.it> <86vdd92lyj.fsf@kopusha.onet>

next in thread | previous in thread | raw e-mail | index | archive | help
On Saturday 06 March 2010 22:12:52 Mikolaj Golub wrote:
> On Sat, 6 Mar 2010 20:39:24 +0100 Enrico Mancini wrote:
> > On Saturday 06 March 2010 18:30:12 Mikolaj Golub wrote:
> >> So I removed KPTmap[i386_btop(va)] with *vtopte(va) and have working
> >> virtualbox again, but I suppose this is rather the problem with
> >> virualbox and not with the kernel code.
> >
> > So, you removed "pa = KPTmap[i386_btop(va)];" with "pa = *vtopte(va);",
> > didn't you?
> 
> Yes.
> 
> > Did you rebuild the userland, the kernel or both?
> 
> kernel and emulators/virtualbox-ose-kmod
> 

Good!
Now virtualbox is working, but not perfectly.
In booting, the system sends this message:
"vboxNetFltInitGlobalsAndIdc failed -2
module_register_init: MOD_LOAD (ng_vboxnetflt, 0xc0d42160, 0xc0dfc7a0) error 
22"

If I try to run a vm with a briged network, the vm doesn't start and 
virtualbox gives this message:
"Failed to start the virtual machine FreeBSD8.
Failed to open/create the internal network 'HostInterfaceNetworking-nfe0' 
(VERR_SUPDRV_COMPONENT_NOT_FOUND).
Failed to attach the network LUN (VERR_SUPDRV_COMPONENT_NOT_FOUND).
Unknown error creating VM (VERR_SUPDRV_COMPONENT_NOT_FOUND).

Result Code: 
NS_ERROR_FAILURE (0x80004005)
Component: 
Console
Interface: 
IConsole {6375231a-c17c-464b-92cb-ae9e128d71c3}"

The problem disappears if I unload and reload vboxnetflt.ko and vboxnetadp.ko

This is my /boot/loader.conf:
zfs_load="YES"
vm.kmem_size_max="512M"
vm.kmem_size="512M"
vfs.zfs.arc_max="64M"
vfs.zfs.vdev.cache.size="8M"
vfs.zfs.zil_disable="1"
vfs.zfs.prefetch_disable="1"
vfs.root.mountfrom="zfs:hal/ROOT"
atapicam_load="YES"
hw.ata.atapi_dma="1"
cd9660_iconv_load="YES"
snd_ich_load="YES"
agp_load="YES"
vboxdrv_load="YES"
vboxnetflt_load="YES"
netgraph_load="YES"
ng_ether_load="YES"
vboxnetadp_load="YES"

Cheers,

Enrico M.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201003070951.20385.enrico>