From: David Wagner <david.wagner@free-electrons.com>
To: Ricard Wanderlof <ricard.wanderlof@axis.com>
Cc: "linux-mtd@lists.infradead.org" <linux-mtd@lists.infradead.org>
Subject: Re: inappropriate ioctl when attaching
Date: Thu, 12 May 2011 09:25:00 +0200 [thread overview]
Message-ID: <4DCB8B4C.3060009@free-electrons.com> (raw)
In-Reply-To: <Pine.LNX.4.64.1105120903090.15966@lnxricardw.se.axis.com>
On 05/12/2011 09:03 AM, Ricard Wanderlof wrote:
>
> On Wed, 11 May 2011, David Wagner wrote:
>> # ubiattach -p /dev/mtd2
>> ubiattach: error!: cannot attach "/dev/mtd2"
>> error 25 (Inappropriate ioctl for device)
>>
> What happens if you do ubiattach -m 2 instead, i.e. specifying the mtd
> number rather than the complete device path?
I also tried
ubiattach /dev/ubi_ctrl -m 2
but it didn't change anything
David.
--
David Wagner, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
next prev parent reply other threads:[~2011-05-12 7:24 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
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 [this message]
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=4DCB8B4C.3060009@free-electrons.com \
--to=david.wagner@free-electrons.com \
--cc=linux-mtd@lists.infradead.org \
--cc=ricard.wanderlof@axis.com \
/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).