inappropriate ioctl when attaching

Artem Bityutskiy dedekind1 at gmail.com
Thu May 12 05:27:48 EDT 2011


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 (Артём Битюцкий)




More information about the linux-mtd mailing list