NetBSD Problem Report #20990

Received: (qmail 23403 invoked by uid 605); 3 Apr 2003 17:54:52 -0000
Message-Id: <E1918uY-00006L-00@zelda.purplei.com>
Date: Thu, 03 Apr 2003 18:54:02 +0100
From: abs@netbsd.org
Sender: gnats-bugs-owner@netbsd.org
Reply-To: abs@netbsd.org
To: gnats-bugs@gnats.netbsd.org
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
>Closed-Date:    
>Last-Modified:  Mon Jul 13 20:06:09 +0000 2020
>Originator:     Charlie Root
>Release:        NetBSD 1.6.1
>Organization:
>Environment:
System: NetBSD zelda.purplei.com 1.6.1 NetBSD 1.6.1 (_GATEWAY_) #0: Thu Apr 3 10:11:16 UTC 2003 abs@oni.i.purplei.com:/tmp/_GATEWAY_ i386
Architecture: i386
Machine: i386
>Description:
	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.
>How-To-Repeat:

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

From: David Laight <david@l8s.co.uk>
To: netbsd-bugs@netbsd.org, gnats-bugs@gnats.netbsd.org
Cc:  
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

 -- 
 David Laight: david@l8s.co.uk
Responsible-Changed-From-To: dsl->port-i386-maintainer
Responsible-Changed-By: wiz@NetBSD.org
Responsible-Changed-When: Mon, 13 Jul 2020 20:06:09 +0000
Responsible-Changed-Why:
Reset to role account


>Unformatted:

NetBSD Home
NetBSD PR Database Search

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