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

Artem Bityutskiy dedekind1 at
Tue Aug 24 04:53:55 EDT 2010

On Tue, 2010-08-24 at 10:32 +0200, Arno Steffen wrote:
> 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

Please, check modinfo mtd_readtest and notice there is a 'dev' parameter
which you can use to specify the mtd device to test. Use it.

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

More information about the linux-mtd mailing list