From owner-freebsd-hackers@FreeBSD.ORG Sun Jan 9 22:29:40 2011 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2DFFA106564A; Sun, 9 Jan 2011 22:29:40 +0000 (UTC) (envelope-from luigi@onelab2.iet.unipi.it) Received: from onelab2.iet.unipi.it (onelab2.iet.unipi.it [131.114.59.238]) by mx1.freebsd.org (Postfix) with ESMTP id E97FC8FC18; Sun, 9 Jan 2011 22:29:39 +0000 (UTC) Received: by onelab2.iet.unipi.it (Postfix, from userid 275) id ABA0073098; Sun, 9 Jan 2011 23:44:01 +0100 (CET) Date: Sun, 9 Jan 2011 23:44:01 +0100 From: Luigi Rizzo To: Tom Judge Message-ID: <20110109224401.GA95358@onelab2.iet.unipi.it> References: <4D295820.20807@tomjudge.com> <20110109183316.GA92631@onelab2.iet.unipi.it> <4D2A0514.7040305@tomjudge.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4D2A0514.7040305@tomjudge.com> User-Agent: Mutt/1.4.2.3i Cc: freebsd-hackers@freebsd.org, luigi@freebsd.org Subject: Re: sys/boot/boot0/boot0.S - r186598 X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 09 Jan 2011 22:29:40 -0000 On Sun, Jan 09, 2011 at 12:57:24PM -0600, Tom Judge wrote: > On 09/01/2011 12:33, Luigi Rizzo wrote: > > On Sun, Jan 09, 2011 at 12:39:28AM -0600, Tom Judge wrote: > >> Hi, > >> > >> Today I ran into an issue where setting the default slice with boot0cfg > >> -s is broken. > > a few questions inline: > > > Output inline, full script log attached. > > If you need more info let me know. can you take a dump of the boot sector at various stages indicated below: > DUMP #1: ORIGINAL BOOT SECTOR DUMP #2: AFTER THE BOOT SECTOR UPDATE DUMP #3: AFTER A REBOOT WITH NO KEYPRESS DUMP #4: AFTER THE SUCCESSFUL BOOT IN SLICE 2 At least from this we can tell how #4 differs from #2/#3 cheers luigi