From owner-freebsd-current Tue Dec 29 12:46:55 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id MAA10228 for freebsd-current-outgoing; Tue, 29 Dec 1998 12:46:55 -0800 (PST) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from zippy.cdrom.com (zippy.cdrom.com [204.216.27.228]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id MAA10223 for ; Tue, 29 Dec 1998 12:46:54 -0800 (PST) (envelope-from jkh@zippy.cdrom.com) Received: from zippy.cdrom.com (localhost.cdrom.com [127.0.0.1]) by zippy.cdrom.com (8.9.1/8.9.1) with ESMTP id MAA08073; Tue, 29 Dec 1998 12:46:39 -0800 (PST) To: Brian Behlendorf cc: Greg Lehey , FreeBSD current users Subject: Re: How do I build an a.out kld? In-reply-to: Your message of "Tue, 29 Dec 1998 12:20:03 PST." <4.1.19981229121528.03d98ed0@hyperreal.org> Date: Tue, 29 Dec 1998 12:46:38 -0800 Message-ID: <8069.914964398@zippy.cdrom.com> From: "Jordan K. Hubbard" Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > I just upgraded to an ELF kernel, updated the boot blocks, and everything > boots up great, except the new boot loader appears to be looking for a > /boot/boot.conf (fails, then waits for 8 seconds, then boots /kernel). I > noticed I have a zero-length /boot.config file - should I move that to > /boot/boot.conf? Yeah, /boot.config is basically obsolete though it can still be used for its old purpose, I in fact still use it to set my rootdev since I haven't grok'd how to do that yet with the new scheme. /boot/boot.conf is supposed to contain any boot commands you'd like to have run (boot.conf is actually a bad name, now that I think about it, since it implies configuration variables rather than actions - boot.rc would have been better, oh well!). After the forth system initializes, it also looks for a /boot/boot.4th which contains straight forth code to run. Andrzej Bialecki has done some really neat stuff where this is concerned, giving the forth environment a screen emulator and standard ANSI graphics capability. He shows it off in the example code, which you can enable by simply doing a: cp /usr/share/examples/bootforth/*.4th /boot > I also noticed that although I had KERNFORMAT set to elf in my environment > and KERNFORMAT=elf in /etc/make.conf, while configing and then building the Hmmm.. That's really weird! You should only need to set it in /etc/make.conf - that certainly works for me. You sure there aren't any typos in the line? :-) - Jordan To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message