From owner-freebsd-current Sun Oct 4 10:56:58 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id KAA02369 for freebsd-current-outgoing; Sun, 4 Oct 1998 10:56:58 -0700 (PDT) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from palrel1.hp.com (palrel1.hp.com [156.153.255.242]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id KAA02345 for ; Sun, 4 Oct 1998 10:56:49 -0700 (PDT) (envelope-from michaelc@hpbbse.bbn.hp.com) Received: from hpbbse.bbn.hp.com (hpbbse.bbn.hp.com [15.136.26.26]) by palrel1.hp.com (8.8.6/8.8.5tis) with ESMTP id KAA22550; Sun, 4 Oct 1998 10:56:26 -0700 (PDT) Received: from localhost (michaelc@localhost) by hpbbse.bbn.hp.com with ESMTP (8.7.6/8.7.3) id TAA24739; Sun, 4 Oct 1998 19:56:24 +0200 (METDST) Date: Sun, 4 Oct 1998 19:56:23 +0200 (METDST) From: Michael Class To: mike@smith.net.au cc: current@FreeBSD.ORG Subject: Re: Problem with 3-stage bootloader Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Content-Transfer-Encoding: 8BIT Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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