[PATCH] mtd/utils: sync with MTD ioctl interface rework to get rid of MEMGETOOBSEL/MEMSETOOBSEL

Thomas Gleixner tglx at linutronix.de
Tue Dec 6 05:51:01 EST 2005

On Tue, 2005-12-06 at 13:36 +0300, Vitaly Wool wrote:
> >2. Your current approach prevents me to
> >- dump the raw flash content including OOB data
> >- write a nand image with given oob data
> >
> >This is essential for troubleshooting and must still be possible
> >somehow.
> >
> Lemme disagree with you here. Raw OOB content-related stuff is not IMHO 
> the thing to debug from userland.
> Suggest prinitng out the raw OOB contents for MTD_DEBUG_LEVEL3 instead.

Uuurg. Do you really want do analyse 20MB crappy formatted printk

We want output from live systems without requesting the user to
recompile the kernel and setup capturing scenarios. 

We tracked down problems in the past by asking for a simple

nanddump /dev/mtdX >file.dmp

and I really want to keep it that way. Its simple, proven and people can
handle it.


More information about the linux-mtd mailing list