From owner-freebsd-emulation@FreeBSD.ORG Thu Dec 14 19:02:29 2006 Return-Path: X-Original-To: freebsd-emulation@freebsd.org Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 746BA16A506 for ; Thu, 14 Dec 2006 19:02:29 +0000 (UTC) (envelope-from nox@saturn.kn-bremen.de) Received: from gwyn.kn-bremen.de (gwyn.kn-bremen.de [212.63.36.242]) by mx1.FreeBSD.org (Postfix) with ESMTP id 50A4743CA4 for ; Thu, 14 Dec 2006 18:59:10 +0000 (GMT) (envelope-from nox@saturn.kn-bremen.de) Received: from gwyn.kn-bremen.de (gwyn [127.0.0.1]) by gwyn.kn-bremen.de (8.13.4/8.13.4/Debian-3sarge3) with ESMTP id kBEJ0XI5003223 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Thu, 14 Dec 2006 20:00:33 +0100 Received: from saturn.kn-bremen.de (uucp@localhost) by gwyn.kn-bremen.de (8.13.4/8.13.4/Submit) with UUCP id kBEJ0XmQ003221; Thu, 14 Dec 2006 20:00:33 +0100 Received: from saturn.kn-bremen.de (nox@localhost [127.0.0.1]) by saturn.kn-bremen.de (8.13.6/8.13.6) with ESMTP id kBEIusPn014731; Thu, 14 Dec 2006 19:56:54 +0100 (CET) (envelope-from nox@saturn.kn-bremen.de) Received: (from nox@localhost) by saturn.kn-bremen.de (8.13.6/8.13.6/Submit) id kBEIurfn014730; Thu, 14 Dec 2006 19:56:53 +0100 (CET) (envelope-from nox) From: Juergen Lock Date: Thu, 14 Dec 2006 19:56:53 +0100 To: qemu-devel@nongnu.org, freebsd-emulation@freebsd.org Message-ID: <20061214185653.GA14550@saturn.kn-bremen.de> Mail-Followup-To: qemu-devel@nongnu.org, freebsd-emulation@freebsd.org 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> User-Agent: Mutt/1.5.11 Cc: Subject: solved! (was: Re: qemu 20061102 snapshot: trouble booting directly from cdrom device) 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, 14 Dec 2006 19:02:29 -0000 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