|
From: Hiromichi M. <hir...@so...> - 2006-05-24 07:12:03
|
Hello, all.
I'm interested in mkdump, and now I'm testing it on my desktop PC.
But, it doesn't work fine...
Mini kernel looks booting correctly with stand-alone, but configure
mkexec and
try"echo 2 > /proc/mkexec/stat", can't get dump. (Kernel panic
messages and
"Starting mini kernel" were printed, but nothing like boot message
was shown
thereafter, and there's no HDD access.)
My PC's environment is here.
OS: RHEL 4(kernel 2.6.9-34.EL) + mkexec kernel module
(use mkexec-module-3.0.tar)
MEMORY: 1024MB
# uname -a
Linux localhost.localdomain 2.6.9-34.EL #1 Wed Mar 8 00:07:35 CST
2006 i686
athlon i386 GNU/Linux
/etc/mkexec/mkexec:
### mkdump configuration file
# for mkd_load
MKDUMP_DEV=/dev/hda3 # dump device
MKDUMP_VMLINUX=/boot/vmlinux.bin-2.6.9-mkdump # mini kernel binary
MKDUMP_MEM=64M # memory size of mini kernel
MKDUMP_PARAM="ro console=tty0 console=ttyS0,9600n8 lpj=2367488 no-hlt"
# mini kernel (extra) parameter
#MKDUMP_INITRD="/boot/initrd-minik.img" # initrd image file path
MKDUMP_TYPE="standard" # mkexec load type
# for mkd_save
MKDUMP_DIR=/var/dump # dump save directory
MKDUMP_LIMIT=2 # max number of dump saved
MKDUMP_PREFORMAT=n # specify format or not a
dump device
# ls -l /dev/hda3
brw-rw---- 1 root disk 3, 3 May 24 2006 /dev/hda3
/proc/mkexec/*'s infomation:
# for i in *;do echo -n "$i: "; cat $i;done
dumpdev: 0x300003
initrd:
mem: 64
parameter: ro console=tty0 console=ttyS0,9600n8 lpj=2367488 no-hlt
path: /boot/vmlinux.bin-2.6.9-mkdump
stats: 1
Mini kernel is based on kernel.org's kernel 2.6.9
(linux-2.6.9.tar.bz2), and compiled
it following the instruction of "README-v3". And, "minik_dump.o" is
static linked.
(use minik-module-3.0.tar).
I have no idea which has problem mkexec kernel or mini kernel.
Will you give me some suggestions for it?
Thanks.
----
Hiromichi MATSUSHIMA
|