From owner-freebsd-current@FreeBSD.ORG Fri Feb 27 03:27:17 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 4D38616A4CE; Fri, 27 Feb 2004 03:27:17 -0800 (PST) Received: from gunfright.epcdirect.co.uk (gunfright.epcdirect.co.uk [195.10.242.32]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9DE9B43D39; Fri, 27 Feb 2004 03:27:16 -0800 (PST) (envelope-from bsd-current@epcdirect.co.uk) Received: from localhost (localhost [127.0.0.1]) by gunfright.epcdirect.co.uk (Postfix) with ESMTP id 5514B156BD; Fri, 27 Feb 2004 11:27:15 +0000 (GMT) Received: from gunfright.epcdirect.co.uk ([127.0.0.1])port 10024) with ESMTP id 78183-03; Fri, 27 Feb 2004 11:27:13 +0000 (GMT) Received: from lfarr (l-farr.int.epcdirect.co.uk [192.168.6.200]) by gunfright.epcdirect.co.uk (Postfix) with ESMTP id 44FBE156C8; Fri, 27 Feb 2004 11:27:13 +0000 (GMT) From: "Lawrence Farr" To: "'Ruslan Ermilov'" , "'Brooks Davis'" Date: Fri, 27 Feb 2004 11:27:17 -0000 MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook, Build 11.0.5510 In-Reply-To: <20040227080713.GC93889@ip.net.ua> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Thread-Index: AcP9COf6+IHQelTTSt6uspdlrBfG3AAGDYeg Message-Id: <20040227112713.44FBE156C8@gunfright.epcdirect.co.uk> X-Virus-Scanned: by GunFright.EPCDirect.co.uk cc: "'Bjoern A. Zeeb'" cc: current@FreeBSD.org cc: 'John Baldwin' Subject: RE: pxeloader problem: BTX halted 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 11:27:17 -0000 Just to add a "Me Too", I can swap back to a 5.2 pxeboot to get any of my systems to boot, but recent builds give a BTX halted error. I have no idea when it stopped working though. Lawrence Farr EPC Direct Limited > -----Original Message----- > From: owner-freebsd-current@freebsd.org > [mailto:owner-freebsd-current@freebsd.org] On Behalf Of Ruslan Ermilov > Sent: 27 February 2004 08:07 > To: Brooks Davis > Cc: Bjoern A. Zeeb; current@FreeBSD.org; John Baldwin > Subject: Re: pxeloader problem: BTX halted > > On Thu, Feb 26, 2004 at 05:22:33PM -0800, Brooks Davis wrote: > [...] > > This commit broke PXE booting: > > > > ----- > > ru 2004/02/09 06:11:58 PST > > > > FreeBSD src repository > > > > Modified files: > > sys/boot/i386 Makefile.inc > > sys/boot/i386/boot0 Makefile > > sys/boot/i386/boot2 Makefile > > sys/boot/i386/btx/btx Makefile > > sys/boot/i386/btx/btxldr Makefile > > sys/boot/i386/btx/lib Makefile > > sys/boot/i386/cdboot Makefile > > sys/boot/i386/kgzldr Makefile > > sys/boot/i386/loader Makefile > > sys/boot/i386/mbr Makefile > > sys/boot/i386/pxeldr Makefile > > Log: > > - Factor out -nostdlib to an upper level Makefile.inc. > > > > - Now that bsd.prog.mk deals with programs linked with -nostdlib > > better, and has a notion of an "internal" program, use PROG > > where possible. This has a good impact on the contents of > > .depend files and causes programs to be linked with cc(1). > > > > XXX: boot2 couldn't be converted as it's actually two programs. > > > > Tested on: i386, amd64 > > ----- > > > > I verified this with a binary search using perforce syncing > against a > > local checkout of //depot/vendor/freebsd/src/. At 2004/02/09:06:15 > > pxeldr works. At 2004/02/09:06:16 it dies. The only files > that change > > in this time frame are these files in sys/boot. > > > > Specifically the problem is rev 1.73 of > sys/boot/i386/loader/Makefile. A > > tip of tree checkout with rev 1.73 removed PE boots. > > > So, does backing it out solve your problem, if you downgrade only > sys/boot/ to the date prior to this commit? I doubt it, because > I've verified that my changes produce identical binaries. The > only difference now is because vers.o and ../btx/lib/crt.o are > linked into the loader.sym binary in a slightly different order. > By making some insignificant changes to loader/Makefile I've been > able to verify that I still get the identical binaries (for all > of sys/boot/i386/) with my changes, after I saw your first > complaint in this thread. > > > Cheers, > -- > Ruslan Ermilov > FreeBSD committer > ru@FreeBSD.org >