Skip to contentSkip to conversation

AMD64/Reiser4 testing and problems

DISCUSSION Isaac Chanin 2 participants 2 messages Dec 2, 2004 – Dec 4, 2004

lore
Share & tools
lore
#0 lore raw

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

The commands I tried were as follows:
(r4 was a 512mb file made by dd)
mount -o loop /root/r4 /root/r4dir (worked)
df -h (worked)
cd /root/r4 (worked)
ls (worked)
ls -la (worked)
mkdir linux (worked)
cp -r /usr/src/linux linux (worked, but the program hung at the end, kill -9 had no effect) ls (worked, but the program hung at the end, kill -9 had no effect)
cd /root/r4 (no output, program crashed immediately)

Thanks for taking the time to read over the problems - and if there's anymore testing I could do or whatnot just ask; and, thanks for making what will (hopefully) soon be the fastest file system to work on my computer!

#1 lore raw

Hello Isaac

Quoted 6 lines · Isaac Chanin

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.

Quoted 8 lines

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 =====

plugin/space/bitmap.c +2 -2
@@ -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);