public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
* ubiattach  issue
@ 2012-09-20  8:44 Dimitar Penev
  2012-09-20 10:18 ` Dimitar Penev
  2012-09-20 18:25 ` Vikram Narayanan
  0 siblings, 2 replies; 9+ messages in thread
From: Dimitar Penev @ 2012-09-20  8:44 UTC (permalink / raw)
  To: linux-mtd

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)


Best Regards
Dimitar 

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2012-09-21  9:05 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-09-20  8:44 ubiattach issue Dimitar Penev
2012-09-20 10:18 ` Dimitar Penev
2012-09-20 18:25 ` Vikram Narayanan
2012-09-20 19:22   ` Dimitar Penev
2012-09-20 19:40     ` Dimitar Penev
2012-09-20 20:37     ` Vikram Narayanan
2012-09-21  6:40       ` Dimitar Penev
2012-09-21  8:44         ` Dimitar Penev
2012-09-21  9:05           ` Dimitar Penev

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox