Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 4 Oct 1998 19:56:23 +0200 (METDST)
From:      Michael Class <michaelc@hpbbse.bbn.hp.com>
To:        mike@smith.net.au
Cc:        current@FreeBSD.ORG
Subject:   Re: Problem with 3-stage bootloader
Message-ID:  <Pine.HPP.3.94.981004195503.24734A-100000@hpbbse.bbn.hp.com>

next in thread | raw e-mail | index | archive | help
Hello,

thank you for the quick answer. If seen that already fixed my first 
Problem.

>> 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.

Your fix does not solve my problem. An ELF-kernel still does not boot.
It does if I put the line

esym = ssym = 0;

below the lines where the ELFSSYM and ELFESYM addresses are loaded.
This means that there is something going wrong with the pointers
to these data-structures in the ELF-File, even though the vaules
itself look reasonable to me.

Unfortunately I do not have a soltution right now, but I will I will
try to find one.

Michael


___________________________________________________________________________
Michael Class                            E-Mail: michael_class@hp.com
E-Business Solutions Center              Phone:  +49 7031 14-3707
EBSO-SERC                                Fax:    +49 7031 14-4196
___________________________________________________________________________
            Hewlett-Packard GmbH, PO Box 1430, 71004 Boeblingen
Sitz der Gesellschaft: Böblingen, Amtsgericht Böblingen HRB 4081
Geschäftsführer: Jörg Menno Harms (Vorsitzender), Heribert Schmitz,
                 Rudi Speier, Fritz Schuller, Hans-Günter Hohmann
___________________________________________________________________________


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.HPP.3.94.981004195503.24734A-100000>