Flash trace...
Jörn Engel
joern at wohnheim.fh-wedel.de
Mon Mar 24 13:59:32 EST 2003
On Mon, 24 March 2003 12:23:16 -0600, Siddharth Choudhuri wrote:
>
> I am trying to get a trace/log of all reads, writes and erase made to
> flash. I added some printk in mtdchar.c [mtd_write() function] and
> mtdblock.c [handle_mtdblock_request() function], but I do not see any
> messages on console. I have klogd and syslog running too.
>
> I am running jffs2 on / and did a couple of file I/Os to look for console
> logs. Am I putting the printk in wrong places ? I thought the mtdchar.c
> and mtdblock.c should be the closest thing to flash as all flash I/O
> requests would eventually go through these.
try putting the printk()s in chips/cfi_cmdset_00xx.c
Jörn
--
Courage is not the absence of fear, but rather the judgement that
something else is more important than fear.
-- Ambrose Redmoon
More information about the linux-mtd
mailing list