NetBSD Problem Report #6343

Received: (qmail 27182 invoked from network); 22 Oct 1998 11:24:27 -0000
Message-Id: <199810221124.EAA07374@ldc-gw-cs.cs.wwu.EDU>
Date: Thu, 22 Oct 1998 04:24:18 -0700 (PDT)
From: a.mcmurry1@physics.ox.ac.uk
To: gnats-bugs@gnats.netbsd.org
Subject: Filecorefs does not work for some partitions of around 3Gb or greater
X-Send-Pr-Version: www-1.0

>Number:         6343
>Category:       kern
>Synopsis:       Filecorefs does not work for some partitions of around 3Gb or greater
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    kern-bug-people
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Oct 22 04:35:01 +0000 1998
>Closed-Date:    Thu Oct 29 23:17:56 +0000 1998
>Last-Modified:  Thu Oct 29 23:19:08 +0000 1998
>Originator:     Andrew McMurry
>Release:        current
>Organization:
University of Oxford
>Environment:
>Description:
Filecorefs does not work on filecore disks which have a non zero
share_size in the disk record.

>How-To-Repeat:

>Fix:
*** src/sys/filecorefs/filecore_bmap.c     Thu Oct 22 12:08:42 1998
--- fixed/src/sys/filecorefs/filecore_bmap.c    Thu Oct 22 12:08:02 1998
***************
*** 131,136 ****
--- 131,137 ----
                zaddr = 0;
        if (sect > 0)
                sect--;
+       sect <<= fcmp->drec.share_size;
        do {
                error=bread(fcmp->fc_devvp, fcmp->map + zone,
                            1 << fcmp->drec.log2secsize, NOCRED, &bp);

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: mark 
State-Changed-When: Thu Oct 29 15:17:56 PST 1998 
State-Changed-Why:  
Suggested fix accepted and applied in filecore_bmap.c 1.3 
>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.