From owner-cvs-all@FreeBSD.ORG Fri Feb 27 07:55:38 2004 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4AB3D16A4CE for ; Fri, 27 Feb 2004 07:55:38 -0800 (PST) Received: from mail4.speakeasy.net (mail4.speakeasy.net [216.254.0.204]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1B19443D2D for ; Fri, 27 Feb 2004 07:55:38 -0800 (PST) (envelope-from jhb@FreeBSD.org) Received: (qmail 22619 invoked from network); 27 Feb 2004 15:55:37 -0000 Received: from dsl027-160-063.atl1.dsl.speakeasy.net (HELO server.baldwin.cx) ([216.27.160.63]) (envelope-sender ) encrypted SMTP for ; 27 Feb 2004 15:55:37 -0000 Received: from 10.50.40.205 (gw1.twc.weather.com [216.133.140.1]) by server.baldwin.cx (8.12.10/8.12.10) with ESMTP id i1RFtY28056667; Fri, 27 Feb 2004 10:55:34 -0500 (EST) (envelope-from jhb@FreeBSD.org) From: John Baldwin To: Ruslan Ermilov Date: Fri, 27 Feb 2004 10:56:54 -0500 User-Agent: KMail/1.6 References: <200402271410.i1REA99f059346@repoman.freebsd.org> <200402271016.48893.jhb@FreeBSD.org> <20040227153941.GA3538@ip.net.ua> In-Reply-To: <20040227153941.GA3538@ip.net.ua> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200402271056.54508.jhb@FreeBSD.org> X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on server.baldwin.cx cc: cvs-src@freebsd.org cc: src-committers@freebsd.org cc: cvs-all@freebsd.org Subject: Re: cvs commit: src/sys/boot/i386/loader Makefile X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Feb 2004 15:55:38 -0000 On Friday 27 February 2004 10:39 am, Ruslan Ermilov wrote: > On Fri, Feb 27, 2004 at 10:16:48AM -0500, John Baldwin wrote: > > On Friday 27 February 2004 09:10 am, Ruslan Ermilov wrote: > > > ru 2004/02/27 06:10:09 PST > > > > > > FreeBSD src repository > > > > > > Modified files: > > > sys/boot/i386/loader Makefile > > > Log: > > > For some reason crt0.o needs to be linked first for pxeboot(8) to > > > work. This is odd because loader(8) doesn't suffer from this > > > problem. Perhaps pxeboot bootstrap can be fixed to handle this better. > > > Anyway, PXE booting should work again. > > > > pxeboot, cdboot, and btxldr all make the same assumptions about how the > > a.out loader is laid out so they can extract BTX and use it to bootstrap > > into the loader proper. > > Hmm, then how can you explain that /boot/loader worked with this > change, but /boot/pxeboot didn't? I do not know off the top of my head. Note that boot2, cdboot, and pxeboot all have to relocate the loader after it is loaded, and perhaps boot2 has better a.out support (it is written in C rather than asm after all). If pxeboot was broken, cdboot was likely broken, too. -- John Baldwin <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve" = http://www.FreeBSD.org