UBIFS error CRC calculation on avr32 CPU

Artem Bityutskiy dedekind at infradead.org
Tue Dec 2 10:15:33 EST 2008


On Tue, 2008-12-02 at 13:59 +0100, Eirik Aanonsen wrote:
> Here is the result from the actual move:
> ----------------------------------------
> 
> /mnt/slave # mv wpr_004.wfp ../master/
> UBIFS error (pid 529): ubifs_check_node: bad CRC: calculated 0x7dc26ea1, read 0x3f225006
> UBIFS error (pid 529): ubifs_check_node: bad node at LEB 184:236208
> Call trace:
>  [<90010694>] dump_stack+0x18/0x20
>  [<c0a5cde8>] ubifs_check_node+0x210/0x23c [ubifs]
>  [<c0a5cfe6>] ubifs_read_node+0x1d2/0x2d8 [ubifs]
>  [<c0a776bc>] ubifs_tnc_read_node+0x70/0x170 [ubifs]
>  [<c0a609a2>] ubifs_tnc_lookup+0x8a/0xb0 [ubifs]
>  [<c0a54c64>] do_readpage+0x1c8/0x434 [ubifs]
>  [<c0a54edc>] ubifs_readpage+0xc/0x18 [ubifs]
>  [<900352a4>] generic_file_aio_read+0x2dc/0x47c
>  [<9004b794>] do_sync_read+0x88/0xb4
>  [<9004bb4c>] vfs_read+0x62/0x8e
>  [<9004bcf2>] sys_read+0x2a/0x48
>  [<9000c132>] syscall_return+0x0/0x12
> 
> UBIFS error (pid 529): ubifs_read_node: expected node type 1
> UBIFS error (pid 529): do_readpage: cannot read page 1074 of inode 34246, error -117
> mv: read error: Input/output error
> /mnt/slave #
> 

It looks like you indeed have corrupted data. Where the 'wpr_004.wfp'
file comes from? You wrote it previously? Or you used mkfs.ubifs?

> UBIFS warning (pid 500): mount_ubifs: 'LZO' compressor is set by superblock, but not compiled in

Hmm. Why you do not enable LZO compressor? How did you
create your file-system?

Also, did you try to enable UBIFS and UBI extra self-checks? Please,
try. Things will become very slow then, though, but this may give
some useful information.

-- 
Best regards,
Artem Bityutskiy (Битюцкий Артём)




More information about the linux-mtd mailing list