From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-fx0-f49.google.com ([209.85.161.49]) by bombadil.infradead.org with esmtp (Exim 4.72 #1 (Red Hat Linux)) id 1OnpIM-0002mG-Nh for linux-mtd@lists.infradead.org; Tue, 24 Aug 2010 08:55:51 +0000 Received: by fxm12 with SMTP id 12so4427867fxm.36 for ; Tue, 24 Aug 2010 01:55:49 -0700 (PDT) Subject: Re: error!: "/dev/ubi0" is not a character device ?!? From: Artem Bityutskiy To: Arno Steffen In-Reply-To: References: <1280150054.14917.108.camel@localhost> <1280244340.3021.38.camel@localhost.localdomain> <1280471755.2838.29.camel@localhost.localdomain> <1282566891.24044.32.camel@localhost> <1282574489.24044.74.camel@localhost> Content-Type: text/plain; charset="UTF-8" Date: Tue, 24 Aug 2010 11:53:55 +0300 Message-ID: <1282640035.24044.149.camel@localhost> Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Cc: linux-mtd@lists.infradead.org Reply-To: dedekind1@gmail.com List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , 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 (Артём Битюцкий)