linux-mtd.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: Artem Bityutskiy <dedekind1@gmail.com>
To: David Wagner <david.wagner@free-electrons.com>
Cc: linux-mtd@lists.infradead.org
Subject: Re: inappropriate ioctl when attaching
Date: Thu, 12 May 2011 12:27:48 +0300	[thread overview]
Message-ID: <1305192468.2713.66.camel@localhost> (raw)
In-Reply-To: <4DCAB697.90906@free-electrons.com>

On Wed, 2011-05-11 at 18:17 +0200, David Wagner wrote:
> # 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 ?

This probably means you are using too kernel where UBI does not support
this ioctl. Dynamic attach / detach were not part of the initial UBI
which want into the kernel, AFAIR.

-- 
Best Regards,
Artem Bityutskiy (Артём Битюцкий)

  parent reply	other threads:[~2011-05-12  9:31 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
2011-05-12  9:27 ` Artem Bityutskiy [this message]
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=1305192468.2713.66.camel@localhost \
    --to=dedekind1@gmail.com \
    --cc=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).