Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 17 Dec 2009 17:29:03 +0200
From:      David Naylor <naylor.b.david@gmail.com>
To:        freebsd-emulation@freebsd.org
Subject:   VirtualBox: killing DMA
Message-ID:  <200912171729.07605.naylor.b.david@gmail.com>

next in thread | raw e-mail | index | archive | help
--nextPart5191016.ar6MRXGvQD
Content-Type: Text/Plain;
  charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

Hi,

I am having problems where network I/O on a FreeBSD guest within VirtualBox=
=20
ends up killing the host.  Here is my setup:

Host: FreeBSD 8 RC2 /amd64
Guest: FreeBSD-current (~week old) /i386
VirtualBox: virtualbox-3.0.51.r22902_2 (bridged to my dc0)

I've tried multiple configurations all resulting in the same problem.  The=
=20
most conservative configuration:

Machine: VT disabled
Host: hw.ata.ata_dma=3D0, hw.ata.atapi_dma=3D0 (safe mode didn't work)
Guest: safe mode
VirtualBox: VT and APIC disabled

I can cause the problem by doing (in the guest):

# mount -t smbfs //server/tmp /mnt
# dd if=3D/mnt/big_file of=3D/tmp bs=3D1k

The error messages on the host are:
ad8: FAILED - load data
ad8: setting up DMA failed
g_vfs_done(): ad8s1d[WRITE(offset=3D65536, length=3D2048)]error =3D 5
=2E..
(many g_vfs_done messages, with different partition, offset and length)
=2E..
panic: initiate_write_inodeblock_ufs2: already started

If I disable the network interface (from VirtualBox for the guest) then I=20
cannot produce the above. =20

Regards,

David

--nextPart5191016.ar6MRXGvQD
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)

iEYEABECAAYFAksqTkMACgkQUaaFgP9pFrLqiACggZ5EtVd/4y0mPgcm+n2CMLZ+
cNAAoI0W8IZMWPx8C3yBcW+4kS7CzseZ
=beM7
-----END PGP SIGNATURE-----

--nextPart5191016.ar6MRXGvQD--



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