Subject: Re: [RAIDframe] 16.3.7 Setting up kernel dumps
To: Ryan Cresawn <cresawn@chass.utoronto.ca>
From: Rui Paulo <rpaulo@NetBSD.org>
List: netbsd-docs
Date: 08/18/2005 00:21:56
--opJtzjQTFsWo+cga
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On 2005.08.17 19:09:46 +0000, Ryan Cresawn wrote:
| On Wed, Aug 17, 2005 at 01:12:53PM -0400, Ryan Cresawn wrote:
| > Rui,
| >=20
| > Thanks for fixing my XML.  I just copied and modified text from the
| > i386 section above.  I do not know how to write it correctly.
| >=20
| > I am currently testing two ideas I have with regard to RAID-1 boot
| > disks on sparc64:
| >=20
| >   * I may not have properly aligned the partitions on cylinder
| >     boundaries when using disklabel for both sd0 and sd1.  I am
| >     redoing everything now to determine if that is the cause of my
| >     troubles.
| >=20
| >   * If the first idea fails then I will redo everything but will
| >     create a small partition for the storage of ofwboot per the URL I
| >     included earlier.
| >=20
| > Upon completion of these tests I will be in a position to answer your
| > question regarding the RAIDframe documentation.
| >=20
| > Ryan
|=20
| Rui,
|=20
| I have finished testing and concluded that the offsets must be on
| cylinder boundaries and creating a small partition for the storage of
| ofwboot and the boot block is required.  Note the following:
|=20
| # disklabel -r sd0 | tail -6
| 5 partitions:
| #        size    offset     fstype [fsize bsize cpg/sgs]
|  a:  35373821      4712       RAID                    # (Cyl.      1 -   =
7508*)
|  b:   1046064  34326920       swap                    # (Cyl.   7285 -   =
7506)
|  c:  35378533         0     unused      0     0       # (Cyl.      0 -   =
7508*)
|  e:      4712         0     4.2BSD   1024  8192   592 # (Cyl.      0 -   =
   0)
|=20
|=20
| # disklabel -r sd1 | tail -6
| 5 partitions:
| #        size    offset     fstype [fsize bsize cpg/sgs]
|  a:  35373821      4712       RAID                    # (Cyl.      1 -   =
7508*)
|  b:   1046064  34326920       swap                    # (Cyl.   7285 -   =
7506)
|  c:  35378533         0     unused      0     0       # (Cyl.      0 -   =
7508*)
|  e:      4712         0     4.2BSD   1024  8192   592 # (Cyl.      0 -   =
   0)
|=20
|=20
| The URL I mentioned earlier was instrumental in getting this to work.
| Booting now works correctly from either disk.  Would you like me to
| attempt to modify the XML file again to include these details?

Yes, please. That would be great. Thanks!

		-- Rui Paulo

--opJtzjQTFsWo+cga
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (NetBSD)

iD8DBQFDA8aUZPqyxs9FH4QRAu/oAJ4rvSH/mW7tYBmC7s3Ap2Y3FlsGmgCgjnAN
Hce8H1bJ0v3HN5w2vhbtCMg=
=08P5
-----END PGP SIGNATURE-----

--opJtzjQTFsWo+cga--