virtualbox status on 8.0-STABLE i386

Enrico M. enrico at majaglug.net
Sun Mar 7 08:51:26 UTC 2010


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.



More information about the freebsd-emulation mailing list