Subject: Re: install/37521: qemu install from NetBSD-current install
To: None <sborrill@NetBSD.org, gnats-admin@netbsd.org,>
From: Alan Barrett <apb@cequrux.com>
List: netbsd-bugs
Date: 12/13/2007 12:35:02
The following reply was made to PR install/37521; it has been noted by GNATS.

From: Alan Barrett <apb@cequrux.com>
To: gnats-bugs@NetBSD.org
Cc: netbsd-bugs@NetBSD.org
Subject: Re: install/37521: qemu install from NetBSD-current install
	floppiesfails
Date: Thu, 13 Dec 2007 14:34:25 +0200

 On Thu, 13 Dec 2007, Stephen Borrill wrote:
 >  Patch has been committed and the PR closed.
 
 The failure in PR 37521 seems to depend on several things:
 
   A) boot tries to read boot.cfg;
   B) boot.cfg isn't in the ustarfs file system;
   C) ustarfs doesn't notice when seeking backwards to an earlier floppy
      would be a good idea.
 
 Changing any of A, B, or C, would make the problem go away.
 
 The change that was committed (for boot to avoid reading boot.cfg if
 ustarfs is in use) is one way of addressing issue A.  Another way would
 be to ensure that the boot loader on the floppy was built with -DSMALL.
 
 Issue B could be addressed by adding a boot.cfg file (and getting the
 ordering of files right).  We might even want a boot.cfg file to make
 "boot without ACPI support" a menu option.
 
 Issue C could presumably be fixed in ustarfs.  It could be clever and
 build a table mapping file names to volume numbers, or it could be
 stupid and just ensure that every open attempt searches through every
 volume before reporting failure.
 
 --apb (Alan Barrett)