Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 18 Oct 2009 22:30:05 +0200
From:      David Naylor <naylor.b.david@gmail.com>
To:        Fredrik Lindberg <fli@shapeshifter.se>
Cc:        freebsd-emulation@freebsd.org
Subject:   Re: VirtualBox: vboxnetflt related problems
Message-ID:  <200910182230.08620.naylor.b.david@gmail.com>
In-Reply-To: <4ADB515A.4050309@shapeshifter.se>
References:  <200910151950.26620.naylor.b.david@gmail.com> <4ADB515A.4050309@shapeshifter.se>

next in thread | previous in thread | raw e-mail | index | archive | help
--nextPart1994853.9U7Iv6TqMT
Content-Type: Text/Plain;
  charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

On Sunday, 18 October 2009 19:33:14 Fredrik Lindberg wrote:
> David Naylor wrote:
> > Hi,
> >
> > Thanks for porting VirtualBox, it has proven most useful (no more slow
> > RDC).
> >
> > I've found some problems relating to VirtualBox's bridged networking:
> >
> > 1) loader doesn't pull in all the dependencies for vboxnetflt (kldload
> > does) [missing dependencies: ng_ether]
>=20
> I couldn't figure out how properly depend on ng_ether, a simple
> MODULE_DEPEND does not work.  I guess it's because ng_ether doesn't
> declare MODULE_VERSION.  ng_ether *should* be loaded by the
> explicit kern_kldload, does this not happen on your system?

I assume you mean kldload after the system boots.  Yes it does. =20

> > 2) even with the dependencies specified in loader.conf vboxnetflt fails
> > to initialise on boot [module_register_init: MOD_LOAD (ng_vboxnetflt,
> > 0xc0f44fd9, 0xc19bd6a0) error 22]
>=20
> There is a known issue where the vboxdrv module (and thus VirtualBox)
> sometimes fail to see that vboxnetflt is loaded - is this what you're
> seeing? or does vboxnetflt simply not load at all?

The module fails to register.  As per the message I quoted above:
module_register_init: MOD_LOAD (ng_vboxnetflt, 0xc0f44fd9, 0xc19bd6a0) erro=
r=20
22

This only happens if loader loads the module.  I've never had a problem the=
=20
kldload loading the module. =20

> vnoxnetflt should load fine even without ng_ether loaded.

The above error message occurs irrespective of ng_ether being loaded. =20

> > 3) bridging doesn't work when connecting to bridge0 or tap0:
> > # netstat -w1 -I tap0
> >             input         (tap0)           output
> >    packets  errs      bytes    packets  errs      bytes colls
> >          0     0          0          0     0          0     0
> >          0     0          0          0     2        151     0
> > ...
> > This happen with and without giving tap0 an IP address.
>=20
> This is because vboxnetflt uses ng_ether and the interaction between
> ng_ether/bridge/tap/vboxnetflt doesn't work.

Good to know :-).  Is there anyway to communicate directly with the host us=
ing=20
a bridged connection?  This is not much of a concern for me since I need to=
=20
bounce my files through a server (to accommodate windows) but it might be a=
=20
concern for others. =20

David

--nextPart1994853.9U7Iv6TqMT
Content-Type: application/pgp-signature; name=signature.asc 
Content-Description: This is a digitally signed message part.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.13 (FreeBSD)

iEYEABECAAYFAkrbetAACgkQUaaFgP9pFrJgkgCfQ9MT0VaGBICP2xON+MelLC5O
QKAAmwcOCPiwanxczD25agC/KTo4cw5p
=oGR4
-----END PGP SIGNATURE-----

--nextPart1994853.9U7Iv6TqMT--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200910182230.08620.naylor.b.david>