Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GuvpI-0006cu-O9 for qemu-devel@nongnu.org; Thu, 14 Dec 2006 14:01:04 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GuvpC-0006X5-Vu for qemu-devel@nongnu.org; Thu, 14 Dec 2006 14:01:02 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GuvpC-0006X1-FZ for qemu-devel@nongnu.org; Thu, 14 Dec 2006 14:00:58 -0500 Received: from [212.63.36.242] (helo=gwyn.kn-bremen.de) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1GuvpB-0008TG-4C for qemu-devel@nongnu.org; Thu, 14 Dec 2006 14:00:57 -0500 From: Juergen Lock Date: Thu, 14 Dec 2006 19:56:53 +0100 Message-ID: <20061214185653.GA14550@saturn.kn-bremen.de> References: <20061111125843.GA39260@saturn.kn-bremen.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20061111125843.GA39260@saturn.kn-bremen.de> Subject: [Qemu-devel] solved! (was: Re: qemu 20061102 snapshot: trouble booting directly from cdrom device) Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org, freebsd-emulation@freebsd.org On Sat, Nov 11, 2006 at 01:58:43PM +0100, I wrote: > Hi! > > I got a report yesterday of the win2k cd bsod'ing with an > INACCESSIBLE_BOOT_DEVICE error when booted directly from the device > (as opposed to from an iso, which worked.) I dont have a win2k cd, > but I tried a KANOTIX-2006-01-RC2 cd (linux livecd), and that, although > it did boot, said > VFS: busy inodes on changed media > repeatedly. Does anyone else get something like this on another > host (I'm on FreeBSD)? I would like to know if its a FreeBSD > problem (aio not working properly on the cdrom device?) or something > to do with qemu itself... Well I finally found the problem here: READ CAPACITY failed because somehow the #include that defines DIOCGMEDIASIZE got lost, adding this patch to block-raw.c fixes it: Index: qemu/block-raw.c @@ -51,6 +51,9 @@ #include #include #endif +#ifdef __FreeBSD__ +#include +#endif //#define DEBUG_FLOPPY I'll prepare a port update now... Juergen