From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from switchvoice.com ([77.70.97.103] helo=mail.bioidentic.com) by merlin.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1TEmcO-0007fD-TK for linux-mtd@lists.infradead.org; Thu, 20 Sep 2012 19:41:01 +0000 Message-ID: <018301cd9767$dc466900$2901a8c0@dpn> From: "Dimitar Penev" To: "Vikram Narayanan" References: <006c01cd970c$1b9cb930$2901a8c0@dpn> <505B5F83.6070408@gmail.com> <016601cd9765$38f20a90$2901a8c0@dpn> Subject: Re: ubiattach issue Date: Thu, 20 Sep 2012 22:40:59 +0300 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=response Content-Transfer-Encoding: 7bit Cc: linux-mtd@lists.infradead.org Reply-To: Dimitar Penev List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Hello, My nanddump reports nanddump 1.4.6 Best Regards Dimitar ----- Original Message ----- From: "Dimitar Penev" To: "Vikram Narayanan" Cc: Sent: Thursday, September 20, 2012 10:22 PM Subject: Re: ubiattach issue > Hi Vikram, > > Thank you for your response. > > It is a check out from http://git.infradead.org/?p=mtd-utils.git > Git signature 36d8de81049c9c908740b690c664b5bd3703ccd6 > > If you expect version in a different format please let me know what to > check. > > Best Regards > Dimitar > > ----- Original Message ----- > From: "Vikram Narayanan" > To: "Dimitar Penev" > Cc: > Sent: Thursday, September 20, 2012 9:25 PM > Subject: Re: ubiattach issue > > >> On 9/20/2012 2:14 PM, Dimitar Penev wrote: >>> Hi Gents, >>> >>> I am facing an issue with ubiattach on Linux kernel 3.0.8 >>> On our target we have nand flash with mtd layer on top. >>> The logs attached below. >>> >>> Can you please give me a pointer? >>> >>> >>> /bin # ubinfo -a >>> UBI version: 1 >>> Count of UBI devices: 0 >>> UBI control device major/minor: 10:62 >>> >>> /bin # ubiformat /dev/mtd5 -y --vid-hdr-offset="2048" >>> ubiformat: mtd5 (nand), size 511705088 bytes (488.0 MiB), 3904 >>> eraseblocks of 131072 bytes (128.0 KiB), min. I/O size 2048 bytes >>> libscan: scanning eraseblock 3903 -- 100 % complete >>> ubiformat: 3904 eraseblocks have valid erase counter, mean value is 3 >>> ubiformat: formatting eraseblock 3903 -- 100 % complete >>> >>> /bin # ubiattach /dev/ubi_ctrl --mtdn=5 --devn=0 --vid-hdr-offset="2048" >>> ubiattach: error!: cannot attach mtd5 >>> error 25 (Inappropriate ioctl for device) >> >> Before any pointers, which version of mtd-utils are you using? >> How to: >> (http://linux-mtd.infradead.org/faq/general.html#L_compile_mtd) >> >> ~Vikram >> >> ______________________________________________________ >> Linux MTD discussion mailing list >> http://lists.infradead.org/mailman/listinfo/linux-mtd/ >> > > > ______________________________________________________ > Linux MTD discussion mailing list > http://lists.infradead.org/mailman/listinfo/linux-mtd/ >