From owner-freebsd-current@FreeBSD.ORG Tue Jan 31 15:21:19 2006 Return-Path: X-Original-To: current@freebsd.org 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 D785D16A422 for ; Tue, 31 Jan 2006 15:21:19 +0000 (GMT) (envelope-from rizzo@icir.org) Received: from xorpc.icir.org (xorpc.icir.org [192.150.187.68]) by mx1.FreeBSD.org (Postfix) with ESMTP id AADD443D5C for ; Tue, 31 Jan 2006 15:21:17 +0000 (GMT) (envelope-from rizzo@icir.org) Received: from xorpc.icir.org (localhost [127.0.0.1]) by xorpc.icir.org (8.12.11/8.12.11) with ESMTP id k0VFLHQw054192; Tue, 31 Jan 2006 07:21:17 -0800 (PST) (envelope-from rizzo@xorpc.icir.org) Received: (from rizzo@localhost) by xorpc.icir.org (8.12.11/8.12.3/Submit) id k0VFLHxx054191; Tue, 31 Jan 2006 07:21:17 -0800 (PST) (envelope-from rizzo) Date: Tue, 31 Jan 2006 07:21:17 -0800 From: Luigi Rizzo To: Scott Long Message-ID: <20060131072117.B53681@xorpc.icir.org> References: <20060131061812.A53329@xorpc.icir.org> <43DF77B7.4050800@samsco.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <43DF77B7.4050800@samsco.org>; from scottl@samsco.org on Tue, Jan 31, 2006 at 07:44:07AM -0700 Cc: current@freebsd.org Subject: Re: boot block differences between 4.x and 6.x ? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 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: Tue, 31 Jan 2006 15:21:20 -0000 On Tue, Jan 31, 2006 at 07:44:07AM -0700, Scott Long wrote: > Luigi Rizzo wrote: > > maybe some of you know the answer here... > > > > the revised picobsd script (attached here, it uses > > sysutils/makefs instead of vnconfig/mdconfig so it can > > run as a non privileged user) that i was using to > > create images with the 4.11 boot blocks (boot1 and boot2), > > does not seem to work anymore with the boot blocks > > taken from 6.0 (and so, -current as well). > > > > When i force it to use the 4.x boot blocks, all is fine, > > and the picobsd.bin produced (built on 6.0 using 7-current > > sources) boots fine on qemu. > > > > I am a bit puzzled on what could be the relevant change in boot1/boot2 > > could have caused the loss of functionality. ... > The big difference is that the boot blocks grew significantly to > support UFS2. > > Scott ok good pointer.. so could it be that the boot blocks as installed by 6.0-RELEASE are UFS2_ONLY, and the file system produced by makefs is UFS1, hence the problem ? How do i tell, and would it make sense to build, in the release, also a version of /boot/boot that can deal with ufs1 ? cheers luigi