User error with fw_printenv - I hope

Mike Frysinger vapier.adi at gmail.com
Tue Apr 3 02:26:11 EDT 2012


On Mon, Apr 2, 2012 at 13:37, Bishop, Mark wrote:
> ioctl(3, MEMGETBADBLOCK, 0x2dffb9c)     = 1
> ioctl(3, MEMGETBADBLOCK, 0x2dffb9c)     = -1 EINVAL (Invalid argument)

be nice to see what's actually in those pointers.  update your strace
with the attached patch and try again.
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-decode-mtd-ioctls.patch
Type: application/octet-stream
Size: 11260 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-mtd/attachments/20120403/4730157b/attachment-0001.obj>


More information about the linux-mtd mailing list