[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: JFFS2: powerfailtesting again
vserov@xxxxxxx.com said:
> Can somebody tell me, if this is what expected, or show me some error
> or tell what the future could be or suggest workaround ? Current
> situation looks unacceptable to my tasks.
(Having seen the log)
2.4.3-rmk2-np1 had broken alignment fixups, which are what causes all
dirent nodes to written to the flash to be corrupted.
Apply this...
--- orig/arch/arm/mm/fault-armv.c Sat Apr 28 11:24:54 2001
+++ linux/arch/arm/mm/fault-armv.c Tue May 1 22:41:30 2001
@@ -132,7 +132,7 @@
#define get8_unaligned_check(val,addr,err) \
__asm__( \
- "1: ldrb %1, [%2]\n" \
+ "1: ldrb %1, [%2], #1\n" \
"2:\n" \
" .section .fixup,\"ax\"\n" \
" .align 2\n" \
@@ -148,7 +148,7 @@
#define get8t_unaligned_check(val,addr,err) \
__asm__( \
- "1: ldrbt %1, [%2]\n" \
+ "1: ldrbt %1, [%2], #1\n" \
"2:\n" \
" .section .fixup,\"ax\"\n" \
" .align 2\n" \
--
dwmw2
To unsubscribe from this list: send the line "unsubscribe jffs-dev" in
the body of a message to majordomo@xxxxxxx.com