Date: Sun, 4 Oct 1998 13:33:31 -0400 (EDT) From: Brian Feldman <green@zone.syracuse.net> To: Mike Smith <mike@smith.net.au> Cc: Michael Class <michaelc@hpbbse.bbn.hp.com>, current@FreeBSD.ORG Subject: Re: Problem with 3-stage bootloader Message-ID: <Pine.BSF.4.04.9810041332030.16118-100000@zone.syracuse.net> In-Reply-To: <199810041010.DAA03555@dingo.cdrom.com>
next in thread | previous in thread | raw e-mail | index | archive | help
I too cannot boot an ELF kernel yet, as I get a page fault as well :( more info when I get some. Oh, yes, this is with the very latest kernel and loader (with the esym = ssym = 0 fixes). Cheers, Brian Feldman On Sun, 4 Oct 1998, Mike Smith wrote: > > 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 > 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?Pine.BSF.4.04.9810041332030.16118-100000>