Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 17 Dec 2002 13:08:16 -0500 (EST)
From:      Andrew Gallatin <gallatin@cs.duke.edu>
To:        Philip Paeps <philip@paeps.cx>
Cc:        alpha@FreeBSD.ORG
Subject:   Re: Not booting automaticall
Message-ID:  <15871.26640.586523.580903@grasshopper.cs.duke.edu>
In-Reply-To: <20021217173316.GA741@juno.home.paeps.cx>
References:  <20021217173316.GA741@juno.home.paeps.cx>

next in thread | previous in thread | raw e-mail | index | archive | help

Philip Paeps writes:
 > Then it just sits there until I hit enter, and then loads the loader and the
 > kernel and everything works happily.
 > 
 > Any ideas on how to get this to work automatically again?

OK, next guess..

The boot1 algorithm is quite simple:

int
main()
{
<..>

    start = rpcc();
    freq = ((struct rpb *)HWRPB_ADDR)->rpb_cc_freq;
    while (((rpcc() - start) & 0xffffffff) < freq) {
        twiddle();
        if (ischar()) {
            getfilename(filename, name);
            name = filename;
            break;
        }
    }

    loadfile(name, loadaddr);

    entry = (void (*)())loadaddr;
    (*entry)();

So, what happens is that if there is a key press, getfilename() is
called. getfilename() is what produces the "Boot:" prompt.  

So, I think that there may be some line noise on your serial console
line or keyboard cable which is interrupting the boot process.  People
who've trashed their /boot/loader would probably pay money for such a
feature ;)

Drew


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-alpha" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?15871.26640.586523.580903>