NetBSD Problem Report #34163

From  Tue Aug  8 16:51:16 2006
Return-Path: <>
Received: from ( [])
	by (Postfix) with ESMTP id D399763B8C3
	for <>; Tue,  8 Aug 2006 16:51:16 +0000 (UTC)
Message-Id: <>
Date: Tue,  8 Aug 2006 16:51:16 +0000 (UTC)
Subject: installboot silently fails for LFS on RAID
X-Send-Pr-Version: 3.95

>Number:         34163
>Category:       install
>Synopsis:       installboot uses ffs_findstage2 for all FS types on RAID.
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    install-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Aug 08 16:55:01 +0000 2006
>Last-Modified:  Fri Nov 10 07:45:01 +0000 2006
>Originator:     Thor Lancelot Simon
>Release:        NetBSD-current as of 2006-08-07
	Thor Lancelot Simon
System: NetBSD  3.99.24 NetBSD 3.99.24 (GENERIC.MP) #0: Mon Aug  7 05:38:11 UTC 2006 amd64
Architecture: i386
Machine: i386
installboot -v /dev/rwd0a /usr/mdec/bootxx_lfsv2 produces a non-booting
system if /dev/rwd0a is in fact a component of an RAIDframe RAID 1 set.

This is because installboot is hard-coded to use ffs_findstage2 for all
partitions of type "RAID", and there is no lfs_findstage2 (how does the
LFS bootblock work at all, even on non-RAID partitions?)

Explicitly using -t raw doesn't seem to work either.  I cannot ascertain
how the stage 2 bootblock is even intended to be found on LFS. :-/
See above.
See above.

From: Christoph Badura <>
Subject: Re: install/34163: installboot uses ffs_findstage2 for all FS types on RAID.
Date: Fri, 10 Nov 2006 08:42:31 +0100

 Hi Thor,

 around the end of September I locally pulled up jdc's changes from June 20
 to the netbsd-3 branch and tested extensively.  I've booted FFSv1, FFSv2
 and LFSv2 root file systems from FS_RAID partitions.

 So, how does that jive with you being unable to boot LFSv2 root with the
 same codebase?

 BTW, I did notice that an FFSv1 boot loader "understands" enough of an LFSv2
 file system to find the second stage, but craps out soon after.


NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD:,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.