Subject: Re: some cdboot nits
To: Hubert Feyrer <hubert@feyrer.de>
From: Bang Jun-Young <junyoung@netbsd.org>
List: tech-install
Date: 06/28/2005 12:36:49
Hubert Feyrer wrote:
> On Tue, 28 Jun 2005, Hubert Feyrer wrote:
> > BTW I found another bug in cdboot: if you don't press RETURN at the loader 
> > printing its dots and just wait, it'll hang after 5 seconds, not boot. Ooops!

It's odd because all the machines I have tested so far worked fine (i.e., 
jumping to the mbr of the first hard disk after timeout). What's the name
and version of the BIOS on your machine?

> 
> And one more:
> when pressing _any_ key (e.g. space, x) while it's printing dots, it boots 
> immediately. No chance to select a different kernel or run "ls" like the 
> "normal" i386 bootloader that we use on floppies & harddisks does.
> Can we get the same behaviour there, possibly with the familiar 5 seconds
> countdown?

That's an emulation problem. Bochs and QEMU suffer from it, while VMware
and real machines don't. I don't know why but probably we should modify
boot(8) to make it work properly with emulators as a workaround.

> 
> Maybe it's wise to not duplicate the code for that, but put it all in one 
> file then, and conditionally compile several versions out of one source. 
> It seems this is used e.h. on the alpha, see 
> sys/arch/alpha/stand/*bootxx*.

Thanks for a pointer. I'll take a look at it.

Jun-Young