Subject: install/37521: qemu install from NetBSD-current install floppies fails
To: None <install-manager@netbsd.org, gnats-admin@netbsd.org,>
From: Andreas Gustafsson <gson@gson.org>
List: netbsd-bugs
Date: 12/11/2007 16:05:00
>Number:         37521
>Category:       install
>Synopsis:       qemu install from NetBSD-current install floppies fails
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    install-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Dec 11 16:05:00 +0000 2007
>Originator:     Andreas Gustafsson
>Release:        NetBSD HEAD i386 daily binary snapshot of 200712080002Z
>Organization:
>Environment:
System: NetBSD guava.gson.org 4.99.30 NetBSD 4.99.30 (GENERIC) #0: Thu Sep 6 11:11:32 EEST 2007 root@dhcppc1:/usr/build/20070906-0910/obj/sys/arch/i386/compile/GENERIC i386
Architecture: i386
Machine: i386
>Description:

When I attempt to boot the NetBSD-current install floppies in qemu
using Anita (http://www.gson.org/netbsd/anita/), the boot fails as
follows:

   > NetBSD/x86 BIOS Boot, Revision 3.3
   >> (builds@wb41, Sat Dec  8 01:08:15 PST 2007)
   >> Memory: 639/31744 k
   Press return to boot now, any other key for boot menu
   booting fd0a:netbsd - starting in 0
   open netbsd: No such file or directory
   boot: fd0a:netbsd: No such file or directory
   booting fd0a:netbsd.gz
   open netbsd.gz: No such file or directory
   boot: fd0a:netbsd.gz: No such file or directory
   booting fd0a:onetbsd - starting in 0
   open onetbsd: No such file or directory
   boot: fd0a:onetbsd: No such file or directory
   booting fd0a:onetbsd.gz
   open onetbsd.gz: No such file or directory
   boot: fd0a:onetbsd.gz: No such file or directory
   booting fd0a:netbsd.old - starting in 0
   open netbsd.old: No such file or directory
   boot: fd0a:netbsd.old: No such file or directory
   booting fd0a:netbsd.old.gz
   open netbsd.old.gz: No such file or directory
   boot: fd0a:netbsd.old.gz: No such file or directory

This happens both with the official daily binary snapshots on
releng.netbsd.org and my own builds.

This is a regression, as older versions do boot correctly; the problem
appeared in the -current sources some time between 2007-11-16 19:55 EET
and 2007-11-23 19:55 EET.  Floppies from the NetBSD-4 release branch
boot correctly.

>How-To-Repeat:

Install pkgsrc/emulators/qemu and pkgsrc/devel/py-pexpect.  Then:

  ftp http://www.gson.org/netbsd/anita/download/anita-1.2.tar.gz
  zcat anita-1.2.tar.gz | tar xfv -
  cd anita-1.2
  python
  import anita
  anita.DailyBuild("HEAD", "200712080002Z").install()

If the 200712080002Z i386 build is no longer available on
ftp.netbsd.org at when you do this, replace the timestamp
"200712080002Z" with that of the most recent daily snapshot from
ftp://ftp.netbsd.org/pub/NetBSD-daily/HEAD that contains a successful
i386 build.

To verify that installing the NetBSD-4 release branch works, replace
"HEAD" with "4" on the last line of commands.

>Fix:

Please.