From owner-freebsd-current@FreeBSD.ORG Sat Sep 4 15:53: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 D1FF616A4CE for ; Sat, 4 Sep 2004 15:53:02 +0000 (GMT) Received: from salmon.maths.tcd.ie (salmon.maths.tcd.ie [134.226.81.11]) by mx1.FreeBSD.org (Postfix) with SMTP id 0DDC243D1D for ; Sat, 4 Sep 2004 15:53:02 +0000 (GMT) (envelope-from iedowse@maths.tcd.ie) Received: from walton.maths.tcd.ie by salmon.maths.tcd.ie with SMTP id ; 4 Sep 2004 16:53:01 +0100 (BST) To: Deng XueFeng In-Reply-To: Your message of "Sat, 04 Sep 2004 23:06:37 +0800." <20040904230250.60A0.DSNOFE@msn.com> Date: Sat, 04 Sep 2004 16:53:01 +0100 From: Ian Dowse Message-ID: <200409041653.aa45226@salmon.maths.tcd.ie> cc: current@freebsd.org Subject: Re: 6-current's BTX loader auto reboot after make world. 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: Sat, 04 Sep 2004 15:53:02 -0000 In message <20040904230250.60A0.DSNOFE@msn.com>, Deng XueFeng writes: >i use: > >0:ad(0,a)/boot/loader.old > >to enter system, then: ># mv loader.old loader. > >reboot, all is ok. >My last build world is 2004-08-02. >Is there any change to loader during there days? The amd64 module support and a few other changes went in during that timeframe. If possible, could you try to track down which changes are to blame? This will involve using cvs or cvsup to update the boot code to a few different versions and test if you get a working loader. First make sure you have a working copy of the loader (e.g. copy to /boot/loader.good and test that it works). To test each case, you'll first need to update your boot code sources to a particular date. With CVS, you'd use cd /usr/src/sys/boot env TZ=GMT cvs update -D'2004/08/28 14:00:00' (for example) With cvsup you can add a 'date=2004.08.28.14.00.00' for example to your supfile and `cvsup ... -i src/sys/boot supfile'. To build and install the loader you'll need to do something like: cd /usr/src/sys/boot make clean make make install Some dates that are worth checking are: 2004/08/28 14:00:00 GMT (before amd64 loader work started) 2004/08/28 17:00:00 GMT (after addition of helper functions) 2004/08/29 00:00:00 GMT (after relocation changes) 2004/08/29 02:00:00 GMT (all amd64 loader changes complete) It would be great if you could narrow down when the problem was introduced this way, as it may be hard to find otherwise. Ian