public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
* [Q] `ubiattach: ioctl 0x40186f40 failed: Inappropriate ioctl for device' - What changed?
@ 2014-02-25 16:01 Brian Foster
  2014-02-26  7:21 ` Brian Norris
  0 siblings, 1 reply; 4+ messages in thread
From: Brian Foster @ 2014-02-25 16:01 UTC (permalink / raw)
  To: linux-mtd@lists.infradead.org


Hello,

 Using an (admittedly ancient) BuildRoot v2010.11
 (which uses v2.6.36.4 kernel headers) with an
 (also admittedly ancient) v2.6.36.4 Linux kernel,
 ubiattach(1) works fine.  The ‘ubiattach’ is of
 vintage v1.4.6 (and has not been modified).

 However, using that _identical_ ‘ubiattach’ binary
 (which is for an ARM926EJ-S CPU) with a more recent
 v3.10.30 kernel, it fails.  For example:

    # ubiattach -m7 -d0 /dev/ubi_ctrl
    ubiattach: ioctl 0x40186f40 failed: Inappropriate ioctl for device
    #

 I assume the value of, and/or parameter to, some
 ioctl command has changed v2.6.36 → v3.10, but
 am at a loss as to just _what_ changed (or why).

 Any pointers would be appreciated.

cheers!
	-blf-

-- 
Brian Foster
Principal MTS, Software        |  La Ciotat, France
Maxim Integrated               |  http://www.maximintegrated.com/

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

end of thread, other threads:[~2014-02-26 18:01 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-02-25 16:01 [Q] `ubiattach: ioctl 0x40186f40 failed: Inappropriate ioctl for device' - What changed? Brian Foster
2014-02-26  7:21 ` Brian Norris
2014-02-26  7:42   ` Brian Foster
     [not found]     ` <3384625.n7jGnVRFVi@laclwks004>
2014-02-26 18:00       ` SOLVED: " Brian Norris

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox