Hello Isaac

On Thu, Dec 02, 2004 at 06:13:39PM -0500, Isaac Chanin wrote:
> Hi,
> 
> I did some testing with Resier4 on AMD and was wondering if perhaps 
> debug information or anything on this could help with getting Resier4 
> stable and working on AMD64.
> 
> I have read that if AMD would give an AMD64 cpu that would be a big 
> help, but it doesn't seem inheriantly impossible to fix the problem from 
> error reports and such.
> 
> Anyways, here are the results for my testing.  I used a mm 2.6.10-rc2 
> kernel and the filesystem was in a file mounted by loopback.
> 
> http://users.wpi.edu/~chanin/r4log.txt

thanks a lot for the report.  can you try the following patch?

===== plugin/space/bitmap.c 1.183 vs edited =====
--- 1.183/plugin/space/bitmap.c Wed Oct 13 17:22:01 2004
+++ edited/plugin/space/bitmap.c        Sun Dec  5 00:18:55 2004
@@ -170,7 +170,7 @@
 static int
 find_next_zero_bit_in_word(ulong_t word, int start_bit)
 {
-       unsigned int mask = 1 << start_bit;
+       ulong_t mask = 1 << start_bit;
        int i = start_bit;
 
        while ((word & mask) != 0) {
@@ -234,7 +234,7 @@
 /* search for the first set bit in single word. */
 static int find_last_set_bit_in_word (ulong_t word, int start_bit)
 {
-       unsigned bit_mask;
+       ulong_t bit_mask;
        int nr = start_bit;
 
        assert ("zam-965", start_bit < BITS_PER_LONG);

Reply via email to