unable to get NAND oobinfo

Thomas Gleixner tglx at linutronix.de
Tue Feb 8 11:51:47 EST 2005


On Fri, 2005-02-04 at 12:43 +0100, Rudi Engelbertink wrote:
> Hi,
> 
> trying to get my nand driver (for compulab 586core board) on kernel 2.4.27
> working, i ran into the following problem:
> The driver is recognised and appears to work. That means I can read the mtdchar
> device but whin I'm trying to format the device, I recieve the message
> 'flash_eraseall: /dev/mtd3: unable to get NAND oobinfo'
> An strace replies with:
> open("/dev/mtd3", O_RDWR)               = 3
> ioctl(3, 0x80204d01, 0xbffffdf0)        = 0
> ioctl(3, 0x80c84d0a, 0xbffffd20)        = -1 ENOTTY (Inappropriate ioctl for
> device)

I guess you are using vanilla 2.4.27 without mtd patches. So the ioctl
is not implemented. The NAND stuff in MTD/JFFS2 on vanilla 2.4.xx is not
really fully functional. 

tglx






More information about the linux-mtd mailing list