Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 04 Oct 1998 03:10:41 -0700
From:      Mike Smith <mike@smith.net.au>
To:        Michael Class <michaelc@hpbbse.bbn.hp.com>
Cc:        current@FreeBSD.ORG
Subject:   Re: Problem with 3-stage bootloader 
Message-ID:  <199810041010.DAA03555@dingo.cdrom.com>
In-Reply-To: Your message of "Sun, 04 Oct 1998 11:21:45 %2B0200." <Pine.HPP.3.94.981004112111.21393A-100000@hpbbse.bbn.hp.com> 

next in thread | previous in thread | raw e-mail | index | archive | help
> 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



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