linux-mtd.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* inappropriate ioctl when attaching
@ 2011-05-11 16:17 David Wagner
  2011-05-12  7:03 ` Ricard Wanderlof
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: David Wagner @ 2011-05-11 16:17 UTC (permalink / raw)
  To: linux-mtd

Hi,

I put a ubi image on a sheevaplug but got those errors:
uncorrectable error :
UBI error: ubi_io_read: error -74 (ECC error) while reading 512 bytes
from PEB 39:512, read 512 bytes

So I tried to use ubiformat and ubiattach but after a successful
ubiformat, I got the following error:

# ubiattach -p /dev/mtd2
ubiattach: error!: cannot attach "/dev/mtd2"
           error 25 (Inappropriate ioctl for device)

I've never seen this and google doesn't help much. I could flash a jffs2
image w/o problem.

Does anybody have a pointer != NULL ?

Cheers,
David.
-- 
David Wagner, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com

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

end of thread, other threads:[~2011-05-12 12:01 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-05-11 16:17 inappropriate ioctl when attaching David Wagner
2011-05-12  7:03 ` Ricard Wanderlof
2011-05-12  7:25   ` David Wagner
2011-05-12  9:27 ` Artem Bityutskiy
2011-05-12  9:31   ` Artem Bityutskiy
2011-05-12 11:57 ` Artem Bityutskiy

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).