[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freebsd-emulation
Subject:    solved! (was: Re: qemu 20061102 snapshot: trouble booting directly
From:       Juergen Lock <nox () jelal ! kn-bremen ! de>
Date:       2006-12-14 18:56:53
Message-ID: 20061214185653.GA14550 () saturn ! kn-bremen ! de
[Download RAW message or body]

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 <linux/cdrom.h>
 #include <linux/fd.h>
 #endif
+#ifdef __FreeBSD__
+#include <sys/disk.h>
+#endif
 
 //#define DEBUG_FLOPPY
 
 I'll prepare a port update now...
	Juergen
_______________________________________________
freebsd-emulation@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-emulation
To unsubscribe, send any mail to "freebsd-emulation-unsubscribe@freebsd.org"
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic