MTD_open: permission denied

Brent Roberts randd at globalopensource.net
Thu Oct 27 06:22:13 EDT 2005


Hello all. 

When attempting to do a 'flash_eraseall /dev/mtd1" I get "/dev/mtd1: 
permission denied".  It seems that MTD_open attempts but fails here.

I'm using a  DiskOnChip TSOP 192 MB.  All neccesary kernel drivers are 
compiled into the kernel as far as I know.  I am able to fdisk and 
mkfs.ext2 /dev/inftla1, and mount it, write to it, etc.

/proc/mtd looks like this:
mtd0: 0c000000 00004000 "DiskOnChip 2000 (INFTL Model)"
mtd1: 00010000 00004000 " DiskOnChip BDK partition"
mtd2: 0bfdc000 00004000 " DiskOnChip BDTL partition"

Any suggestions as to why permission is denied?

Thanks.

-Brent Roberts




More information about the linux-mtd mailing list