Subject: Re: panic in pagemove on 1.2.1
To: Dave Rand <dlr@daver.bungi.com>
From: Jason Thorpe <thorpej@nas.nasa.gov>
List: port-alpha
Date: 03/22/1997 01:08:23
On Sat, 22 Mar 97 01:03 PST 
 dlr@daver.bungi.com (Dave Rand) wrote:

 > I just compiled up 1.2.1.  All was well.  I added another 10G of disk.
 > The world was happy.  I decided to repartition dka0 (sd0).  I copied
 > all the files over to sd1, which is a 1G drive (sd2 is an 8G drive).
 > In doing that, I modified the disktab block/fragment sizes from
 > 8K/1K to 4K/512 bytes for some of my smaller partitions.
 > 
 > The copy to those partitions works great.  However...
 > 
 > when I try to copy the files back from sd1, I get a panic in pagemove.
 > Apparently size % CLBYTES != 0, when using the smaller block/frag
 > sizes...
 > 
 > Does anyone have an easy fix?  Or even a hard one?

...the fix isn't really all that easy (which is why it hasn't been fixed
yet :-)

Odds are you used a 4k file system block size.  You need to use a file
system block size that's an even multiple of the hardware page size.
On the alpha, that's even multiples of 8k.

Hope that helps.

Jason R. Thorpe                                       thorpej@nas.nasa.gov
NASA Ames Research Center                               Home: 408.866.1912
NAS: M/S 258-6                                          Work: 415.604.0935
Moffett Field, CA 94035                                Pager: 415.428.6939