From: Aras Vaichas <arasv@magellan-technology.com>
To: linux-mtd@lists.infradead.org
Subject: Re: mtd permission denied
Date: Tue, 22 Mar 2005 17:43:11 +1100 [thread overview]
Message-ID: <423FBE7F.6090700@magellan-technology.com> (raw)
In-Reply-To: <1ffb4b0705032109224f2c7805@mail.gmail.com>
Mike Lee wrote:
> Hi all
> i tried to flash_erase and other flash_* tools to my mtd device, the
> return value is permission denied, but i am already root login. I have
> selected MTD_CHAR and MTD_BLOCK in kernel. Do i miss somethings?
>
> My kernel version is 2.6.10, with cvs mtd patched.
>
> Mike,Lee
This is spookey, I just got the exact same problem at the same time(!)
I'm trying to write data to my Dataflash device, but I get a "permission
denied" error whenever I try to fopen the file "/dev/mtd/2" to write the data
into it. I can read data from it with no problems.
I have tried "mtd_debug write" and "flashcp" and they return permission denied
as well. Am I missing something?
I am using 2.4.27-vrs1 with cvs mtd patched.
/root # mtd_debug info /dev/mtd/2
mtd.type = MTD_NORFLASH
mtd.flags = MTD_ERASEABLE
mtd.size = 786432 (768K)
mtd.erasesize = 1056 (1K)
mtd.oobblock = 0
mtd.oobsize = 0
mtd.ecctype = MTD_ECC_NONE
regions = 0
regards,
Aras Vaichas
next prev parent reply other threads:[~2005-03-22 6:43 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-03-21 17:22 mtd permission denied Mike Lee
2005-03-22 2:49 ` mike
2005-03-22 6:43 ` Aras Vaichas [this message]
2005-03-22 23:23 ` Aras Vaichas
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=423FBE7F.6090700@magellan-technology.com \
--to=arasv@magellan-technology.com \
--cc=linux-mtd@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox