Hiroshi Aono wrote:
>
> I specified 16KB.
>
> #mkfs -t xfs -b size=16384 -f /dev/sdc1
>
Ok, I looked back at your original mail ...
At the point of the fault you got:
-----------
Unable to handle kernel paging request at virtual address 00000000000001d0
----------
0x1d0 == 464, which matches with the assembly:
---------
330: 0b 70 00 48 18 10 [MMI] ld8 r14=[r36];;
336: e0 80 3a 06 42 00 adds r14=464,r14
33c: 00 00 04 00 nop.i 0x0;;
340: 0a 78 00 1c 18 10 [MMI] ld8 r15=[r14];; <- crashed
346: 00 78 48 30 23 00 st8 [r18]=r15
34c: 00 00 04 00 nop.i 0x0
350: 11 60 01 48 18 10 [MIB] ld8 r44=[r36]
352: PCREL21B xfsbdstrat
356: 00 00 00 02 00 00 nop.i 0x0
35c: 08 00 00 50 br.call.sptk.many b0=350
<xlog_bread+0x240>;;
---------------
Which rougly corresponds to this line in source:
xfsbdstrat(log->l_mp, bp);
So, "log" seems to be zero at this point, which doesn't make
much sense.
Now, there was an important bug fix that went into this
(fs/xfs/xfs_log_recover.c)
file recently (2000/12/03). The bug was introduced 2000/11/16.
>From your mail, again:
----------
I got 11202000XFSdevel.patch.gz and compiled.
------------
So, it's likely that you are getting affected by this bug.
Can you apply this patch and see if it helps?
-------------------- patch begin --------------------
--- /usr/tmp/TmpDir.31153-0/linux/fs/xfs/xfs_log_recover.c_1.197 Tue Dec
5 17:44:32 2000
+++ linux/fs/xfs/xfs_log_recover.c Mon Dec 4 13:28:38 2000
@@ -1215,7 +1215,8 @@
old_ptr = item->ri_buf[item->ri_cnt-1].i_addr;
old_len = item->ri_buf[item->ri_cnt-1].i_len;
- ptr = kmem_realloc(old_ptr, len+old_len, old_len, 0); /* s, d, l */
+ ptr = kmem_realloc(old_ptr, len+old_len, old_len, 0);
+ bcopy(dp , &ptr[old_len], len); /* s, d, l */
item->ri_buf[item->ri_cnt-1].i_len += len;
item->ri_buf[item->ri_cnt-1].i_addr = ptr;
return 0;
-------------------- patch end -----------------------
--------------------------------------------------------------------------
Rajagopal Ananthanarayanan ("ananth")
Member Technical Staff, SGI.
--------------------------------------------------------------------------
|