Subject: port-sparc64/35353: wrong offset in RAIDframe RAID1 sparc64 example
To: None <port-sparc64-maintainer@netbsd.org, gnats-admin@netbsd.org,>
From: None <j+nbsd@2007.salmi.ch>
List: netbsd-bugs
Date: 01/02/2007 13:15:01
>Number:         35353
>Category:       port-sparc64
>Synopsis:       wrong offset in RAIDframe RAID1 sparc64 example
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    port-sparc64-maintainer
>State:          open
>Class:          doc-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Jan 02 13:15:00 +0000 2007
>Originator:     Jukka Salmi
>Release:        htdocs HEAD
>Description:
Chapter 15.3.7 of The NetBSD Guide ("Setting up kernel dumps") lists
a wrong partition offset: after correctly calculating offset and size
of wd1b for sparc64, the wrong number is added to the shown disklabel.
>How-To-Repeat:
n/a
>Fix:
Index: guide/en/chap-rf.xml
===================================================================
RCS file: /cvsroot/htdocs/guide/en/chap-rf.xml,v
retrieving revision 1.48
diff -u -p -r1.48 chap-rf.xml
--- guide/en/chap-rf.xml	25 Nov 2006 20:07:09 -0000	1.48
+++ guide/en/chap-rf.xml	2 Jan 2007 13:05:55 -0000
@@ -1060,7 +1060,7 @@ super-block backups (for fsck -b #) at:
   </screen>
    
       <para>We know now that real offset of the still-nonexisting wd1b 
-        is 19251792 and size is 288768. Next we need to add wd1b to 
+        is 19251792 and size is 288240. Next we need to add wd1b to 
 	wd1's disklabel.</para>
 
   <screen>
@@ -1070,7 +1070,7 @@ super-block backups (for fsck -b #) at:
   8 partitions:
   #        size    offset     fstype  [fsize bsize cpg/sgs]
    a:  19541088         0       RAID                     # (Cyl.      0 -  19385)
-   b:  19251792    288768       swap
+   b:  19251792    288240       swap
    c:  19541088         0     unused      0     0        # (Cyl.      0 -  19385)  
   </screen>