Skip to contentSkip to conversation

Accessing dump file in linear raw format (/dev/oldmem)

PATCH In review Vivek Goyal 1 participant 1 message Mar 28, 2005

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 16/17 Accessing dump file in linear raw format (/dev/oldmem)

From: Hariprasad Nellitheertha <[email protected]>

This patch contains the code that enables us to access the previous kernel's memory as /dev/oldmem.

---

 linux-2.6.12-rc1-mm3-1M-root/Documentation/devices.txt |    1 
 linux-2.6.12-rc1-mm3-1M-root/drivers/char/mem.c        |   74 +++++++++++++++++
 2 files changed, 75 insertions(+)
Documentation/devices.txt renamed from Documentation/devices.txt~crashdump-linear-raw-format-dump-file-access +1 -0
diff -puN Documentation/devices.txt~crashdump-linear-raw-format-dump-file-access Documentation/devices.txt
@@ -94,6 +94,7 @@ Your cooperation is appreciated.
 		  9 = /dev/urandom	Faster, less secure random number gen.
 		 10 = /dev/aio		Asyncronous I/O notification interface
 		 11 = /dev/kmsg		Writes to this come out as printk's
+		 12 = /dev/oldmem	Access to crash dump from kexec kernel
   1 block	RAM disk
 		  0 = /dev/ram0		First RAM disk
 		  1 = /dev/ram1		Second RAM disk
drivers/char/mem.c renamed from drivers/char/mem.c~crashdump-linear-raw-format-dump-file-access +74 -0

110 lines not on this page · raw message

_