error!: "/dev/ubi0" is not a character device ?!?

Arno Steffen arno.steffen at googlemail.com
Tue Aug 24 04:32:18 EDT 2010


2010/8/23 Artem Bityutskiy <dedekind1 at gmail.com>:
> On Mon, 2010-08-23 at 16:13 +0200, Arno Steffen wrote:
>> My results are: (other will follow next day)
>
> ... snip ...
>
>> mtd_readtest: MTD device: 0
>> mtd_readtest: MTD device size 262144, eraseblock size 131072, page
>> size 2048, count of eraseblocks 2, pages per eraseblock 64, OOB size
>> 64
>> mtd_readtest: scanning for bad eraseblocks
>> mtd_readtest: scanned 2 eraseblocks, 0 are bad
>> mtd_readtest: testing page read
>> uncorrectable error :
>> uncorrectable error :
>> uncorrectable error :
>> mtd_readtest: error: read failed at 0x0
>> uncorrectable error :
>> uncorrectable error :
>> uncorrectable error :
>> uncorrectable error :
>> mtd_readtest: error: read failed at 0x800
>> uncorrectable error :
>
> They do not look very too well :-)
>
> No wonder UBI hates your flash and refuses it.
>
> --
> Best Regards,
> Artem Bityutskiy (Артём Битюцкий)
>
>

Please let me know, whether I used it right. I enabled in config
build test modules, "make modules" and copied this modules to my
embedded device. There I just typed insmod mtd_readtest.ko
As far as I could see it just accesses /dev/mtd0. This is read only
(Xloader and HW-ECC). Can this cause this problems? How to check other
parts of Flash. Couldn't found some docu to the test modules.

What does this mean:

mtd_readtest: finished with errors
mtd_readtest: error -74 occurred
=================================================
insmod: cannot insert 'mtd_readtest.ko': Bad message



More information about the linux-mtd mailing list