NetBSD Problem Report #20990

Received: (qmail 23403 invoked by uid 605); 3 Apr 2003 17:54:52 -0000
Message-Id: <>
Date: Thu, 03 Apr 2003 18:54:02 +0100
Subject: i386 bootblocks break on 64K block (raid) filesystem
X-Send-Pr-Version: 3.95

>Number:         20990
>Category:       port-i386
>Synopsis:       i386 bootblocks break on 64K block filesystem
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    dsl
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Apr 03 17:55:00 +0000 2003
>Last-Modified:  Sun Aug 22 17:50:39 +0000 2004
>Originator:     Charlie Root
>Release:        NetBSD 1.6.1
System: NetBSD 1.6.1 NetBSD 1.6.1 (_GATEWAY_) #0: Thu Apr 3 10:11:16 UTC 2003 i386
Architecture: i386
Machine: i386
	The i386 bootblock fail to load a kernel from a raid1 filesystem with
	64K blocksize. Recreating the filesystem with 32K blocksize results
	in a successful boot.

	Fix bootblocks, or document limitation (loudly).
Responsible-Changed-From-To: port-i386-maintainer->dsl 
Responsible-Changed-By: perry 
Responsible-Changed-When: Thu Apr 3 22:21:08 PST 2003 
dsl is currently hacking the boot blocks and might be able to figure 
this one out. 

From: David Laight <>
Subject: re: port-i386/20990 i386 bootblocks break on 64K block (raid) filesystem
Date: Sun, 30 Nov 2003 21:58:24 +0000

 There isn't enough space in the bootxx heap for the required number of 64k
 buffers needed by the standalone FFS code.

 The 'raid1' is a red herring.

 Fixing this requires a re-write of the standalone ufs filesystem code
 to do all its block calculations is 'sectors' - unfortunately the
 #defines currently used aren't designed to let this happen.

 Maybe a 64k buffer can be found somewhere - but that code is somwtimes
 running in 16bit mode with CS=DS=SS=ES=0.


 David Laight:

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.