From owner-freebsd-emulation@FreeBSD.ORG Thu Dec 17 15:29:01 2009 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 838A91065670 for ; Thu, 17 Dec 2009 15:29:01 +0000 (UTC) (envelope-from naylor.b.david@gmail.com) Received: from mail-ew0-f226.google.com (mail-ew0-f226.google.com [209.85.219.226]) by mx1.freebsd.org (Postfix) with ESMTP id D6D348FC0A for ; Thu, 17 Dec 2009 15:29:00 +0000 (UTC) Received: by ewy26 with SMTP id 26so1353831ewy.3 for ; Thu, 17 Dec 2009 07:29:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:organization:to:subject :date:user-agent:mime-version:content-type:content-transfer-encoding :message-id; bh=1prcbOhHWF/j6iEEnrwhrWdaCEHXhCs3aKMirRJ98ko=; b=fdkgio2zw7iCBS5Ue/eiHUNk2X3W0KVIUrwaKG26IaKAx+roIj2pZbTxyDsJOKMdGb 2y52YSm1f074z58iXRI0DPZEyQ8eHn+cke4QzSE8lPuBLLtRtRjZeW4S6SUmywkj9Wbj eh+i2duUAbfHZAqHoB4dlIlJKv+uU5myGAR5U= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:organization:to:subject:date:user-agent:mime-version :content-type:content-transfer-encoding:message-id; b=iP81Ac6g2KgLCTc7VtlSJz6jtfbB8OBzR9xsNcMEclf1twgWTAlaLcB36jdwVKqVHh Ym8nTuijPDImh+GCoaMBhS3vrDzqI1LtfURQm1fK2UUMug0X102xo8g41apyEeFK+3aj OZikaN4TDqW+YeAhxJcFOI/EMq4V2+5FSWnbI= Received: by 10.213.24.20 with SMTP id t20mr3143973ebb.3.1261063738032; Thu, 17 Dec 2009 07:28:58 -0800 (PST) Received: from dragon.dg ([41.0.54.20]) by mx.google.com with ESMTPS id 7sm3399535eyg.1.2009.12.17.07.28.56 (version=SSLv3 cipher=RC4-MD5); Thu, 17 Dec 2009 07:28:57 -0800 (PST) From: David Naylor Organization: Private To: freebsd-emulation@freebsd.org Date: Thu, 17 Dec 2009 17:29:03 +0200 User-Agent: KMail/1.12.3 (FreeBSD/8.0-PRERELEASE; KDE/4.3.3; amd64; ; ) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart5191016.ar6MRXGvQD"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200912171729.07605.naylor.b.david@gmail.com> Subject: VirtualBox: killing DMA X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Dec 2009 15:29:01 -0000 --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--