From: David Wagner <david.wagner@free-electrons.com>
To: linux-mtd@lists.infradead.org
Subject: inappropriate ioctl when attaching
Date: Wed, 11 May 2011 18:17:27 +0200 [thread overview]
Message-ID: <4DCAB697.90906@free-electrons.com> (raw)
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
next reply other threads:[~2011-05-11 16:17 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-05-11 16:17 David Wagner [this message]
2011-05-12 7:03 ` inappropriate ioctl when attaching 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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4DCAB697.90906@free-electrons.com \
--to=david.wagner@free-electrons.com \
--cc=linux-mtd@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).