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:    port-i386-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Apr 03 17:55:00 +0000 2003
>Last-Modified:  Mon Jul 13 20:06:09 +0000 2020
>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:
Responsible-Changed-From-To: dsl->port-i386-maintainer
Responsible-Changed-When: Mon, 13 Jul 2020 20:06:09 +0000
Reset to role account


NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.46 2020/01/03 16:35:01 leot Exp $
$NetBSD:,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2020 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.