From owner-freebsd-alpha Tue Dec 17 10: 8:25 2002 Delivered-To: freebsd-alpha@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CA17337B507 for ; Tue, 17 Dec 2002 10:08:22 -0800 (PST) Received: from duke.cs.duke.edu (duke.cs.duke.edu [152.3.140.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id 398A243ED1 for ; Tue, 17 Dec 2002 10:08:22 -0800 (PST) (envelope-from gallatin@cs.duke.edu) Received: from grasshopper.cs.duke.edu (grasshopper.cs.duke.edu [152.3.145.30]) by duke.cs.duke.edu (8.12.6/8.12.6) with ESMTP id gBHI8Lro026739 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO); Tue, 17 Dec 2002 13:08:21 -0500 (EST) Received: (from gallatin@localhost) by grasshopper.cs.duke.edu (8.11.6/8.9.1) id gBHI8G318422; Tue, 17 Dec 2002 13:08:16 -0500 (EST) (envelope-from gallatin@cs.duke.edu) From: Andrew Gallatin MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15871.26640.586523.580903@grasshopper.cs.duke.edu> Date: Tue, 17 Dec 2002 13:08:16 -0500 (EST) To: Philip Paeps Cc: alpha@FreeBSD.ORG Subject: Re: Not booting automaticall In-Reply-To: <20021217173316.GA741@juno.home.paeps.cx> References: <20021217173316.GA741@juno.home.paeps.cx> X-Mailer: VM 6.75 under 21.1 (patch 12) "Channel Islands" XEmacs Lucid Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org 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