From owner-freebsd-current Sun Oct 4 03:08:03 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id DAA12202 for freebsd-current-outgoing; Sun, 4 Oct 1998 03:08:03 -0700 (PDT) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from dingo.cdrom.com (castles144.castles.com [208.214.165.144]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id DAA12145 for ; Sun, 4 Oct 1998 03:07:46 -0700 (PDT) (envelope-from mike@dingo.cdrom.com) Received: from dingo.cdrom.com (localhost [127.0.0.1]) by dingo.cdrom.com (8.9.1/8.8.8) with ESMTP id DAA03555; Sun, 4 Oct 1998 03:10:42 -0700 (PDT) (envelope-from mike@dingo.cdrom.com) Message-Id: <199810041010.DAA03555@dingo.cdrom.com> X-Mailer: exmh version 2.0.2 2/24/98 To: Michael Class cc: current@FreeBSD.ORG Subject: Re: Problem with 3-stage bootloader In-reply-to: Your message of "Sun, 04 Oct 1998 11:21:45 +0200." Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Date: Sun, 04 Oct 1998 03:10:41 -0700 From: Mike Smith Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by hub.freebsd.org id DAA12161 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > Hello, > > I was just trying to use the new 3-stage bootloader. > It failed for my setup. To me it looks like it will only work, > if the FreeBSD slice is the first in the partition-table of a disk. > I can make it to work with the following patch (not meant as a > correct solution, but to give you an idea, of what the reason for > the failure is). Basically only the first slice-table entry is copied, > but afterwards the code assumes that all 4 entries are in memory. Thanks; I just fixed this. > After this patch I can boot an aout-kernel on my machine. Unfortunately > I am still failing on an ELF-Kernel. I get immediately dropped in the > debugger, but a stacktrace gives only garbage back. I think this is fixed too - try initialising ssym and esym to 0 in elf_exec and see if that helps. -- \\ Sometimes you're ahead, \\ Mike Smith \\ sometimes you're behind. \\ mike@smith.net.au \\ The race is long, and in the \\ msmith@freebsd.org \\ end it's only with yourself. \\ msmith@cdrom.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message