From owner-freebsd-emulation@FreeBSD.ORG Mon Mar 9 21:08: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 D116D106566B for ; Mon, 9 Mar 2009 21:08:01 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: from mail2.fluidhosting.com (mx22.fluidhosting.com [204.14.89.5]) by mx1.freebsd.org (Postfix) with ESMTP id 6E8EB8FC15 for ; Mon, 9 Mar 2009 21:08:01 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: (qmail 23448 invoked by uid 399); 9 Mar 2009 21:07:58 -0000 Received: from localhost (HELO lap.dougb.net) (dougb@dougbarton.us@127.0.0.1) by localhost with ESMTPAM; 9 Mar 2009 21:07:58 -0000 X-Originating-IP: 127.0.0.1 X-Sender: dougb@dougbarton.us Date: Mon, 9 Mar 2009 14:07:57 -0700 (PDT) From: Doug Barton To: Gary Jennejohn In-Reply-To: <20090309103706.0a44fb26@ernst.jennejohn.org> Message-ID: References: <49B46A29.7020500@FreeBSD.org> <20090309103706.0a44fb26@ernst.jennejohn.org> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) X-message-flag: Outlook -- Not just for spreading viruses anymore! X-OpenPGP-Key-ID: 0xD5B2F0FB Organization: http://www.FreeBSD.org/ MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-emulation@FreeBSD.org Subject: Re: qemu 0.10.0 - cd/dvd drive access problems 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: Mon, 09 Mar 2009 21:08:02 -0000 On Mon, 9 Mar 2009, Gary Jennejohn wrote: > On Sun, 08 Mar 2009 18:00:25 -0700 > Doug Barton wrote: > >> One of my main reasons for wanting to install qemu was to be able to >> use Windows tools for things like archiving DVDs. Now that I have qemu >> working pretty well for most things, I tried to start using it for >> DVD/CD access and it's not working well at all. I installed XP via a >> typical installation CD, so I thought I had it made in this area. :( >> >> I'm using '-cdrom /dev/acd0' the same way I did for the install. If >> there is a disc in the drive when I start qemu I can "see" the disc, >> and copy some small files from it. However trying to copy/read large >> files (say, 1G) doesn't work at all. I get an error saying that sector >> of the disc cannot be read (this is with known-good discs). I tried >> with and without the cd-rom DMA compile-time OPTION, no luck. If I >> remove the disc from the drive, or if there is no disc in the drive >> when I start qemu, inserting one after it starts produces no results. >> Every time I try to access the drive I get the "Please insert a disc >> into drive D:" error message. >> >> I'm using a fairly up to date 8-current as the host, btw. >> >> >> Any suggestions? >> > > Do you have vfs_aio in your kernel or as a module? I'm running the aio module, which seems to incorporate the vfs_aio stuff, yes. > I've run openSUSE in qemu and used the DVD drive with no problems at > all; I have vfs_aio in my kernel. Are you talking about 'options VFS_AIO'? > One thing I've noticed is that the DVD drive is locked and I can't open > the drawer once qemu starts, even if there is no disc in the drive. > Apparently openSUSE acceses the drive (i.e. locks it) even when it's > empty. I forgot to mention this bit. If I click the eject menu option on the CD/DVD in windows it doesn't actually eject it like native windows does, but it does allow me to remove the disc manually. After that even if I do reinsert a disc the windows guest doesn't "see" it. Thanks for the response, Doug -- This .signature sanitized for your protection