From owner-freebsd-emulation@FreeBSD.ORG Tue Aug 24 17:19:02 2010 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 8CD251065694 for ; Tue, 24 Aug 2010 17:19:02 +0000 (UTC) (envelope-from lynx.ripe@gmail.com) Received: from mail-gw0-f54.google.com (mail-gw0-f54.google.com [74.125.83.54]) by mx1.freebsd.org (Postfix) with ESMTP id 4CD7D8FC1A for ; Tue, 24 Aug 2010 17:19:01 +0000 (UTC) Received: by gwj23 with SMTP id 23so3097926gwj.13 for ; Tue, 24 Aug 2010 10:19:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type; bh=owp80HlQVo25QnXOpe/Xg7sCOboLoI2Z3nsUrSOS/uA=; b=mvUOOPtqTnyzlRv44XjYFN8vo8PxjHfYUAGaZXwx0ysukmyT4iXxAKL9VdDYpKBK3n cnBJWxkLsq608y5L6e2zePiETB7URjA/cHUQ0K/Kghgs+n/cJcg2ak0+BwTzRmXZrEUP h845CzGhicsTXEATeHJdReuoVyHEZDPsMwVl4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=jnjr+Nb7pPRdLOw47e8sWcWJDAulXfTXGWn6j8Uwnjm6bKVuVOfUtNnqoHNizqaKoN ckpPQioT3aRZ3cK9mFUlfwlqoY63ZNpmrV4tcwpGXRT6JeKzahjw7YSBiEliJqEAcSoz vh5AQIWi/Q1t3+cu8UjO/5iR6PSmUnt1j75F4= MIME-Version: 1.0 Received: by 10.90.118.19 with SMTP id q19mr4781860agc.88.1282670341002; Tue, 24 Aug 2010 10:19:01 -0700 (PDT) Received: by 10.231.159.209 with HTTP; Tue, 24 Aug 2010 10:19:00 -0700 (PDT) Date: Tue, 24 Aug 2010 20:19:00 +0300 Message-ID: From: Dmitry Pryanishnikov To: freebsd-emulation@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Subject: VirtualBox + ATAPICAM + passthrough = zero length DMA transfer 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: Tue, 24 Aug 2010 17:19:02 -0000 Hello! I'm trying to use ATAPI passthrough mode of the VirtualBox host DVD-RW drive attachment. Host: fresh RELENG_8 (csup 2010-08-23), arch is amd64, VirtualBox is installed from ports: virtualbox-ose-3.2.8 + virtualbox-ose-kmod-3.2.8. Guest OS is a WinXP 32bit (Home Edition). On the host DVD-RW drives are attached via atapicam, controller is Intel ICH7: atapci3: .. ata9: on atapci3 ata10: on atapci3 .. cd0 at ata9 bus 0 scbus2 target 0 lun 0 cd0: cd1 at ata10 bus 0 scbus3 target 0 lun 0 cd1: Once I make {cd,xpt,pass}* devices writable by the vboxusers group, VirtualBox sees both drives. When I assign each of them to WinXP guest in normal (w/o passthrough) mode, DVDs are readable from the guest OS. But once I set "Passthrough" box in the VB storage attachment dialog, I'm getting the following error's from the host OS kernel: Aug 24 19:52:46 lynx kernel: ata9: FAILURE - zero length DMA transfer attempted Aug 24 19:52:46 lynx kernel: ata9: setting up DMA failed and the guest OS reports I/O error while accessing device. Is it known problem/limitation? I can't find related PRs on this issue... -- Sincerely, Dmitry nic-hdl: LYNX-RIPE