linux/drivers/mtd
Richard Purdie 4b23aff083 [MTD] oops and panic message logging to MTD device
Kernel oops and panic messages are invaluable when debugging crashes.
These messages often don't make it to flash based logging methods (say a
syslog on jffs2) due to the overheads involved in writing to flash.

This patch allows you to turn an MTD partition into a circular log
buffer where kernel oops and panic messages are written to. The messages
are obtained by registering a console driver and checking
oops_in_progress. Erases are performed in advance to maximise the
chances of a saving messages.

To activate it, add console=ttyMTDx to the kernel commandline (where x
is the mtd device number to use).

Signed-off-by: Richard Purdie <rpurdie@openedhand.com>
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
2007-06-28 20:18:02 +01:00
..
chips [MTD] [CHIPS] Remove MTD_OBSOLETE_CHIPS (jedec, amd_flash, sharp) 2007-05-09 13:34:37 +01:00
devices potential parse error in ifdef 2007-06-01 08:18:27 -07:00
maps [MTD] Remove references to ROOT_DEV from map drivers. 2007-06-28 20:13:27 +01:00
nand [MTD] [NAND] at91_nand rdy_pin fix 2007-06-28 20:15:13 +01:00
onenand Fix occurrences of "the the " 2007-05-09 08:57:56 +02:00
ubi Remove SLAB_CTOR_CONSTRUCTOR 2007-05-17 05:23:04 -07:00
afs.c [MTD] replace kmalloc+memset with kzalloc 2006-11-28 23:47:21 +00:00
cmdlinepart.c [MTD] replace kmalloc+memset with kzalloc 2006-11-28 23:47:21 +00:00
ftl.c [PATCH] remove many unneeded #includes of sched.h 2007-02-14 08:09:54 -08:00
inftlcore.c [MTD] replace kmalloc+memset with kzalloc 2006-11-28 23:47:21 +00:00
inftlmount.c PCI: Cleanup the includes of <linux/pci.h> 2007-05-02 19:02:35 -07:00
Kconfig [MTD] oops and panic message logging to MTD device 2007-06-28 20:18:02 +01:00
Makefile [MTD] oops and panic message logging to MTD device 2007-06-28 20:18:02 +01:00
mtd_blkdevs.c Clean up mutex_trylock noise 2007-05-08 11:15:13 -07:00
mtdblock_ro.c [MTD] replace kmalloc+memset with kzalloc 2006-11-28 23:47:21 +00:00
mtdblock.c [MTD] replace kmalloc+memset with kzalloc 2006-11-28 23:47:21 +00:00
mtdchar.c [MTD] Only call mtd->sync() method in mtdchar close if opened for write. 2007-06-28 18:40:32 +01:00
mtdconcat.c [MTD] [NAND] make oobavail public 2007-03-08 09:17:43 +00:00
mtdcore.c [PATCH] remove many unneeded #includes of sched.h 2007-02-14 08:09:54 -08:00
mtdoops.c [MTD] oops and panic message logging to MTD device 2007-06-28 20:18:02 +01:00
mtdpart.c [MTD] Delete allegedly obsolete "bank_size" field of mtd_info. 2007-05-09 13:26:52 +01:00
mtdsuper.c [MTD] Fix error checking after get_mtd_device() in get_sb_mtd functions 2007-06-01 19:21:59 +01:00
nftlcore.c PCI: Cleanup the includes of <linux/pci.h> 2007-05-02 19:02:35 -07:00
nftlmount.c [MTD] Rework the out of band handling completely 2006-05-29 15:06:51 +02:00
redboot.c [MTD] Improve heuristic for detecting wrong-endian RedBoot partition table 2007-02-10 09:58:31 +00:00
rfd_ftl.c Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6 2007-01-18 10:34:51 +11:00
ssfdc.c [MTD] Fix ssfdc blksize typo 2006-12-11 09:43:38 +00:00