UBIFS error CRC calculation on avr32 CPU
Eirik Aanonsen
eaa at wprmedical.com
Fri Dec 5 05:46:47 EST 2008
...
> Could you please verify your NAND driver before trying to use UBIFS?
> Here you may get NAND tests which should do this:
>
> git://git.infradead.org/users/ahunter/nand-tests.git
>
> The tests are kernel modules. Compile them properly, then just insert
> them, may be with some parameters. Use modinfo to see the parameters,
> or look at the source code. All tests are harmless, except of torture
> test - be careful with it.
>
> Note, these tests has not been run on 4KiB-page NANDs, but they should
> work fine anyway.
>
> Could you please tell which NAND hardware you have? Is it SLC or MLC?
>
...
> --
> Best regards,
> Artem Bityutskiy (Битюцкий Артём)
It was correct that there was some faulty implementation of the oob/ecc handling.
This is ran on a SLC Samsung NAND flash(2GByte).
Thank you for all the help so far.
After fixing ( I think ) I ran the tests and I am adding the results from the pagetest and subpagetest.
Here where the only test with some errors.
Any hint to what to look into next would be great.
Regards
____________________________________________________
Eirik Aanonsen
SW Developer
E-mail: eaa at wprmedical.com
Phone: +47 90 68 11 92
Fax: +47 37 03 56 77
____________________________________________________
Pagetest
------------------------------------------------------------------------------------
/mnt/slave # modprobe pagetest dev=5
=========================================================================================
pagetest: dev = 5
pagetest: scanning for bad blocks
pagetest: scanned 0
pagetest: Block 31 is bad
pagetest: scanned 256
pagetest: scanned 512
pagetest: scanned 768
pagetest: scanned 1024
pagetest: scanned 1280
pagetest: scanned 1536
pagetest: Block 1579 is bad
pagetest: scanned 1792
pagetest: scanned 2048
pagetest: scanned 2304
pagetest: scanned 2560
pagetest: scanned 2816
pagetest: Block 2921 is bad
pagetest: Block 2931 is bad
pagetest: scanned 3072
pagetest: scanned 3328
pagetest: Block 3359 is bad
pagetest: scanned 3584
pagetest: scanned 3840
pagetest: scanned 4096
pagetest: erasing
pagetest: erased 0
pagetest: erased 256
pagetest: erased 512
pagetest: erased 768
pagetest: erased 1024
pagetest: erased 1280
pagetest: erased 1536
pagetest: erased 1792
pagetest: erased 2048
pagetest: erased 2304
pagetest: erased 2560
pagetest: erased 2816
pagetest: erased 3072
pagetest: erased 3328
pagetest: erased 3584
pagetest: erased 3840
pagetest: erased 4096
pagetest: writing
pagetest: written 0
pagetest: written 256
pagetest: written 512
pagetest: written 768
pagetest: written 1024
pagetest: written 1280
pagetest: written 1536
pagetest: written 1792
pagetest: written 2048
pagetest: written 2304
pagetest: written 2560
pagetest: written 2816
pagetest: written 3072
pagetest: written 3328
pagetest: written 3584
pagetest: written 3840
pagetest: written 4096
pagetest: verifying
pagetest: verified 0
pagetest: error: verify failed at 0x006ea000
pagetest: error: verify failed at 0x006eb000
pagetest: error: verify failed at 0x07408000
pagetest: error: verify failed at 0x07409000
pagetest: verified 256
pagetest: error: verify failed at 0x089a8000
pagetest: error: verify failed at 0x089a9000
pagetest: verified 512
pagetest: verified 768
pagetest: error: verify failed at 0x1c871000
pagetest: error: verify failed at 0x1c872000
pagetest: verified 1024
pagetest: error: verify failed at 0x260ea000
pagetest: error: verify failed at 0x260eb000
pagetest: error: verify failed at 0x26518000
pagetest: error: verify failed at 0x26519000
pagetest: error: verify failed at 0x27af1000
pagetest: error: verify failed at 0x27af2000
pagetest: verified 1280
pagetest: error: verify failed at 0x2f0a3000
pagetest: error: verify failed at 0x2f0a4000
pagetest: verified 1536
pagetest: error: verify failed at 0x30717000
pagetest: error: verify failed at 0x30718000
pagetest: verified 1792
pagetest: error: verify failed at 0x3bcec000
pagetest: error: verify failed at 0x3bced000
pagetest: error: verify failed at 0x3f798000
pagetest: error: verify failed at 0x3f799000
pagetest: verified 2048
pagetest: error: verify failed at 0x4161f000
pagetest: error: verify failed at 0x41620000
pagetest: verified 2304
pagetest: error: verify failed at 0x4b6a4000
pagetest: error: verify failed at 0x4b6a5000
pagetest: error: verify failed at 0x4e34b000
pagetest: error: verify failed at 0x4e34c000
pagetest: error: verify failed at 0x4f167000
pagetest: error: verify failed at 0x4f168000
pagetest: verified 2560
pagetest: verified 2816
pagetest: error: verify failed at 0x59f08000
pagetest: error: verify failed at 0x59f09000
pagetest: error: verify failed at 0x5b5e4000
pagetest: error: verify failed at 0x5c123000
pagetest: error: verify failed at 0x5c124000
pagetest: verified 3072
pagetest: error: verify failed at 0x670d3000
pagetest: error: verify failed at 0x670d4000
pagetest: verified 3328
pagetest: error: verify failed at 0x6a1e4000
pagetest: error: verify failed at 0x6a1e5000
pagetest: error: verify failed at 0x6a3f2000
pagetest: error: verify failed at 0x6a3f3000
pagetest: verified 3584
pagetest: error: verify failed at 0x7505f000
pagetest: error: verify failed at 0x75060000
pagetest: error: verify failed at 0x779db000
pagetest: error: verify failed at 0x779dc000
pagetest: verified 3840
pagetest: error: verify failed at 0x790b1000
pagetest: error: verify failed at 0x790b2000
pagetest: error: verify failed at 0x790b7000
pagetest: error: verify failed at 0x790b8000
pagetest: error: verify failed at 0x7a8e7000
pagetest: error: verify failed at 0x7a8e8000
pagetest: error: verify failed at 0x7c537000
pagetest: error: verify failed at 0x7c538000
pagetest: verified 4096
pagetest: crosstest
pagetest: reading page at 0x00000000
pagetest: reading page at 0x7ffff000
pagetest: reading page at 0x00000000
pagetest: verifying pages read at 0x00000000 match
pagetest: crosstest ok
pagetest: erasecrosstest
pagetest: erasing block 0
pagetest: writing 1st page of block 0
pagetest: reading 1st page of block 0
pagetest: verifying 1st page of block 0
pagetest: erasing block 0
pagetest: writing 1st page of block 0
pagetest: erasing block 4095
pagetest: reading 1st page of block 0
pagetest: verifying 1st page of block 0
pagetest: erasecrosstest ok
pagetest: erasetest
pagetest: erasing block 0
pagetest: writing 1st page of block 0
pagetest: erasing block 0
pagetest: reading 1st page of block 0
pagetest: verifying 1st page of block 0 is all 0xff
pagetest: erasetest ok
pagetest: pagetest finished with 53 errors
=========================================================================================
insmod: cannot insert '/lib/modules/2.6.25.6.atmel.1/kernel/arch/avr32/boards/wpr-rec3/nand_test/pagetest.ko': Operation not permitted
modprobe: failed to load module pagetest
Subpagetest
------------------------------------------------------------------------------------
/mnt/slave # modprobe subpagetest dev=5
=========================================================================================
subpagetest: dev = 5
sub-page size is: 4096
subpagetest: scanning for bad blocks
subpagetest: scanned 0
subpagetest: Block 31 is bad
subpagetest: scanned 256
subpagetest: scanned 512
subpagetest: scanned 768
subpagetest: scanned 1024
subpagetest: scanned 1280
subpagetest: scanned 1536
subpagetest: Block 1579 is bad
subpagetest: scanned 1792
subpagetest: scanned 2048
subpagetest: scanned 2304
subpagetest: scanned 2560
subpagetest: scanned 2816
subpagetest: Block 2921 is bad
subpagetest: Block 2931 is bad
subpagetest: scanned 3072
subpagetest: scanned 3328
subpagetest: Block 3359 is bad
subpagetest: scanned 3584
subpagetest: scanned 3840
subpagetest: scanned 4096
subpagetest: erasing
subpagetest: erased 0
subpagetest: erased 256
subpagetest: erased 512
subpagetest: erased 768
subpagetest: erased 1024
subpagetest: erased 1280
subpagetest: erased 1536
subpagetest: erased 1792
subpagetest: erased 2048
subpagetest: erased 2304
subpagetest: erased 2560
subpagetest: erased 2816
subpagetest: erased 3072
subpagetest: erased 3328
subpagetest: erased 3584
subpagetest: erased 3840
subpagetest: erased 4096
subpagetest: writing
subpagetest: written 0
subpagetest: written 256
subpagetest: written 512
subpagetest: written 768
subpagetest: written 1024
subpagetest: written 1280
subpagetest: written 1536
subpagetest: written 1792
subpagetest: written 2048
subpagetest: written 2304
subpagetest: written 2560
subpagetest: written 2816
subpagetest: written 3072
subpagetest: written 3328
subpagetest: written 3584
subpagetest: written 3840
subpagetest: written 4096
subpagetest: verifying
subpagetest: verified 0
subpagetest: verified 256
subpagetest: verified 512
subpagetest: verified 768
subpagetest: verified 1024
subpagetest: verified 1280
subpagetest: verified 1536
subpagetest: verified 1792
subpagetest: verified 2048
subpagetest: verified 2304
subpagetest: verified 2560
subpagetest: verified 2816
subpagetest: verified 3072
subpagetest: verified 3328
subpagetest: verified 3584
subpagetest: verified 3840
subpagetest: verified 4096
subpagetest: erasing
subpagetest: erased 0
subpagetest: erased 256
subpagetest: erased 512
subpagetest: erased 768
subpagetest: erased 1024
subpagetest: erased 1280
subpagetest: erased 1536
subpagetest: erased 1792
subpagetest: erased 2048
subpagetest: erased 2304
subpagetest: erased 2560
subpagetest: erased 2816
subpagetest: erased 3072
subpagetest: erased 3328
subpagetest: erased 3584
subpagetest: erased 3840
subpagetest: erased 4096
subpagetest: verifying 0xff
subpagetest: verified 0
subpagetest: verified 256
subpagetest: verified 512
subpagetest: verified 768
subpagetest: verified 1024
subpagetest: verified 1280
subpagetest: verified 1536
subpagetest: verified 1792
subpagetest: verified 2048
subpagetest: verified 2304
subpagetest: verified 2560
subpagetest: verified 2816
subpagetest: verified 3072
subpagetest: verified 3328
subpagetest: verified 3584
subpagetest: verified 3840
subpagetest: verified 4096
subpagetest: writing
subpagetest: written 0
subpagetest: written 256
subpagetest: written 512
subpagetest: written 768
subpagetest: written 1024
subpagetest: written 1280
subpagetest: written 1536
subpagetest: written 1792
subpagetest: written 2048
subpagetest: written 2304
subpagetest: written 2560
subpagetest: written 2816
subpagetest: written 3072
subpagetest: written 3328
subpagetest: written 3584
subpagetest: written 3840
subpagetest: written 4096
subpagetest: verifying
subpagetest: verified 0
subpagetest: error: verify failed at 0x006e9000
subpagetest: error: verify failed at 0x04f69000
subpagetest: verified 256
subpagetest: verified 512
subpagetest: verified 768
subpagetest: error: verify failed at 0x1e786000
subpagetest: error: verify failed at 0x1e78a000
subpagetest: verified 1024
subpagetest: error: verify failed at 0x260e9000
subpagetest: error: verify failed at 0x274b7000
subpagetest: verified 1280
subpagetest: error: verify failed at 0x2c769000
subpagetest: error: verify failed at 0x2e3db000
subpagetest: verified 1536
subpagetest: verified 1792
subpagetest: error: verify failed at 0x3abce000
subpagetest: error: verify failed at 0x3f51c000
subpagetest: verified 2048
subpagetest: verified 2304
subpagetest: error: verify failed at 0x4d224000
subpagetest: error: verify failed at 0x4fddb000
subpagetest: verified 2560
subpagetest: verified 2816
subpagetest: error: verify failed at 0x5a99c000
subpagetest: verified 3072
subpagetest: error: verify failed at 0x66adb000
subpagetest: verified 3328
subpagetest: error: verify failed at 0x6a0db000
subpagetest: verified 3584
subpagetest: error: verify failed at 0x71c0f000
subpagetest: error: verify failed at 0x71c15000
subpagetest: error: verify failed at 0x76937000
subpagetest: error: verify failed at 0x779db000
subpagetest: verified 3840
subpagetest: error: verify failed at 0x7dece000
subpagetest: error: verify failed at 0x7f269000
subpagetest: verified 4096
subpagetest: erasing
subpagetest: erased 0
subpagetest: erased 256
subpagetest: erased 512
subpagetest: erased 768
subpagetest: erased 1024
subpagetest: erased 1280
subpagetest: erased 1536
subpagetest: erased 1792
subpagetest: erased 2048
subpagetest: erased 2304
subpagetest: erased 2560
subpagetest: erased 2816
subpagetest: erased 3072
subpagetest: erased 3328
subpagetest: erased 3584
subpagetest: erased 3840
subpagetest: erased 4096
subpagetest: verifying 0xff
subpagetest: verified 0
subpagetest: verified 256
subpagetest: verified 512
subpagetest: verified 768
subpagetest: verified 1024
subpagetest: verified 1280
subpagetest: verified 1536
subpagetest: verified 1792
subpagetest: verified 2048
subpagetest: verified 2304
subpagetest: verified 2560
subpagetest: verified 2816
subpagetest: verified 3072
subpagetest: verified 3328
subpagetest: verified 3584
subpagetest: verified 3840
subpagetest: verified 4096
subpagetest: subpagetest finished with 21 errors
=========================================================================================
insmod: cannot insert '/lib/modules/2.6.25.6.atmel.1/kernel/arch/avr32/boards/wpr-rec3/nand_test/subpagetest.ko': Operation not permitted
modprobe: failed to load module subpagetest
More information about the linux-mtd
mailing list