From owner-freebsd-current@FreeBSD.ORG Fri Feb 27 07:54:02 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 62DAF16A4CE for ; Fri, 27 Feb 2004 07:54:02 -0800 (PST) Received: from mail1.speakeasy.net (mail1.speakeasy.net [216.254.0.201]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3475843D2D for ; Fri, 27 Feb 2004 07:54:02 -0800 (PST) (envelope-from jhb@FreeBSD.org) Received: (qmail 14848 invoked from network); 27 Feb 2004 15:54:01 -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:54:01 -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 i1RFrs28056648; Fri, 27 Feb 2004 10:53:54 -0500 (EST) (envelope-from jhb@FreeBSD.org) From: John Baldwin To: Ruslan Ermilov Date: Fri, 27 Feb 2004 10:55:20 -0500 User-Agent: KMail/1.6 References: <20040227080713.GC93889@ip.net.ua> <20040227141544.GA2242@ip.net.ua> In-Reply-To: <20040227141544.GA2242@ip.net.ua> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200402271055.21012.jhb@FreeBSD.org> X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on server.baldwin.cx cc: "Bjoern A. Zeeb" cc: FreeBSD current mailing list Subject: Re: pxeloader problem: BTX halted [FIXED] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Feb 2004 15:54:02 -0000 On Friday 27 February 2004 09:15 am, Ruslan Ermilov wrote: > All, > > I have ended up setting up the test PXE booting environment > here, and have been able to reproduce and fix this problem, > in sys/boot/i386/loader/Makefile,v 1.76. > > For some reason, for pxeboot(8) to work, BTX's crt0.o needs > to be linked before other object files into the loader(8) > binary. This is odd because loader(8) doesn't suffer from > this problem, so perhaps pxeldr ASM bootstrap code could be > fixed to handle this better. John? cdboot, pxeldr, and btxldr all make assumptions about how the loader is linked. In fact, cdboot and pxeldr share the same exact code in this respect. Did you test cdboot without this fix to see if it had been broken, too? -- John Baldwin <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve" = http://www.FreeBSD.org