From owner-freebsd-embedded@FreeBSD.ORG Tue May 12 19:21:10 2009 Return-Path: Delivered-To: freebsd-embedded@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 63F021065676 for ; Tue, 12 May 2009 19:21:10 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from cyrus.watson.org (cyrus.watson.org [65.122.17.42]) by mx1.freebsd.org (Postfix) with ESMTP id 361DA8FC1F for ; Tue, 12 May 2009 19:21:10 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from bigwig.baldwin.cx (66.111.2.69.static.nyinternet.net [66.111.2.69]) by cyrus.watson.org (Postfix) with ESMTPSA id E22B046B8E; Tue, 12 May 2009 15:21:09 -0400 (EDT) Received: from jhbbsd.hudson-trading.com (unknown [209.249.190.8]) by bigwig.baldwin.cx (Postfix) with ESMTPA id CB2FE8A025; Tue, 12 May 2009 15:21:08 -0400 (EDT) From: John Baldwin To: freebsd-embedded@freebsd.org Date: Tue, 12 May 2009 14:45:26 -0400 User-Agent: KMail/1.9.7 References: <200904201535.21191.nick@van-laarhoven.org> <200905121008.19196.jhb@freebsd.org> <20090512171555.GA4985@psconsult.nl> In-Reply-To: <20090512171555.GA4985@psconsult.nl> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200905121445.27090.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.0.1 (bigwig.baldwin.cx); Tue, 12 May 2009 15:21:08 -0400 (EDT) X-Virus-Scanned: clamav-milter 0.95 at bigwig.baldwin.cx X-Virus-Status: Clean X-Spam-Status: No, score=-2.5 required=4.2 tests=AWL,BAYES_00,RDNS_NONE autolearn=no version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on bigwig.baldwin.cx Cc: Subject: Re: nanobsd boot slice selection does not work X-BeenThere: freebsd-embedded@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Dedicated and Embedded Systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 May 2009 19:21:10 -0000 On Tuesday 12 May 2009 1:15:55 pm Paul Schenkeveld wrote: > After rebooting, the kernel in /dev/ad0s2a is loaded (verified by > uname -a, both slices have a kernel with a different timestamp) and: > > # boot0cfg -v ad0 > # flag start chs type end chs offset size > 1 0x00 0: 1: 1 0xa5 333: 14:48 48 240432 > 2 0x80 334: 1: 1 0xa5 667: 14:48 240528 240432 > 3 0x00 668: 0: 1 0xa5 670: 14:48 480960 2160 > 4 0x00 671: 0: 1 0xa5 693: 14:48 483120 16560 > > version=1.0 drive=0x80 mask=0x3 ticks=182 > options=packet,update,nosetdrv > default_selection=F2 (Slice 2) > # > > The active marker has moved from slice 1 to slice 2, most likely this > was done by boot0 but I cannot verify this easily. Yes, it is done by boot0. > Trying the same on FB7.2 will show that default_selection has changed > and slice 1 still marked active in the MBR after 'boot0cfg -v -s 2 ad0' > just like on FB7.1 but during the reboot the kernel from slice 1 gets > loaded and ad0s1a becomes the root partition. Ok, so can you verify if 'update' is enabled for boot0 in the 7.2 case? -- John Baldwin