From owner-cvs-all Tue Sep 29 13:18:09 1998 Return-Path: Received: (from daemon@localhost) by hub.freebsd.org (8.8.8/8.8.8) id NAA00528 for cvs-all-outgoing; Tue, 29 Sep 1998 13:18:09 -0700 (PDT) (envelope-from owner-cvs-all) Received: from nlsystems.com (nlsys.demon.co.uk [158.152.125.33]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id NAA00320; Tue, 29 Sep 1998 13:17:20 -0700 (PDT) (envelope-from dfr@nlsystems.com) Received: from herring.nlsystems.com (herring.nlsystems.com [10.0.0.2]) by nlsystems.com (8.9.1/8.8.5) with SMTP id VAA00566; Tue, 29 Sep 1998 21:16:29 +0100 (BST) Date: Tue, 29 Sep 1998 21:16:29 +0100 (BST) From: Doug Rabson To: Peter Wemm cc: cvs-committers@freebsd.org, cvs-all@freebsd.org Subject: Re: cvs commit: src/sys/boot/i386/libi386 aout_freebsd.c In-Reply-To: <199809290911.CAA19200@freefall.freebsd.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-cvs-all@freebsd.org X-Loop: FreeBSD.org Precedence: bulk On Tue, 29 Sep 1998, Peter Wemm wrote: > peter 1998/09/29 02:11:49 PDT > > Modified files: > sys/boot/i386/libi386 aout_freebsd.c > Log: > The bootinfo struct was getting clobbered or not passed through correctly. > Presumably VTOP doesn't work for static objects. > The easiest way to get it working was to reserve some space after the > environment strings and copy the bootinfo struct there. > Also, set RB_BOOTINFO, it's needed. > > I got the code to load and run an unmolested kernel OK for the first time > with this system a few minutes ago - at last!. I did have to stop it > looking at the floppy though as BTX was trapping a mode 14 fault when > it look for /boot/boot.conf when no disk was in the drive. (I'm booting > from a scsi disk (bios disk 0x80)). > > Now to teach it about ELF and modules :-) There is some ELF code in sys/boot/alpha/libalpha. If you could factor out the common bits so that we can share most of it between arches it would reduce the porting effort considerably. -- Doug Rabson Mail: dfr@nlsystems.com Nonlinear Systems Ltd. Phone: +44 181 951 1891 Fax: +44 181 381 1039