From: rahul K. <rah...@ya...> - 2006-12-12 14:55:09
|
I am able to create initrd image by executing: #mkinitrd initrd.img 2.6.12.1 command now. I have copied this image to /boot/initrd-minik.img. After panic, mini kernel image is not booting. =========================================== [root@rmdevlin1 ~]# cat /proc/mkexec/* 0x800025 /boot/initrd-minik.img 16 ro console=tty0 lpj=2367488 no-hlt dump_delay=70 /boot/minik-2.6.12.bin 1 ============================================ Following is the output of mkd_conv (after reboot). ========================================== [root@rmdevlin1 ~]# mkd_conv /dev/sdc5 /var/dump/1 invalid dump magic. invalid memseg list. ======================================== This means that core has not been taken. I think I am missing some configuration. Any pointers? Thanks and regards, Rahul rah...@ya...in wrote: Hello, I am unable to load mini-kernel. Folowing are the details. I am using redhat linux AS 4.0. I have patched kernel 2.6.12.1 with mkexec patch "mkexec-patch-2.6.12-2.1". Then after booting through this patched kernel (mkexec), I have compiled and loaded the mkexec module. Then I have compiled minikernel with block device driver (SCSI : Qlogic device driver). File system, swap, SMP support , networking is not enabled in this minimized kernel. I am using /dec/sdc5 partition to save the dump. ========================================= [root@rmdevlin1 ~]# ls -l /dev/sdc5 brw-rw---- 1 root disk 8, 37 Dec 12 2006 /dev/sdc5 ========================================== mkexec parametrs are : ===================================== [root@rmdevlin1 ~]# cat /proc/mkexec/* 0x800025 /boot/initrd-minik.img 16 ro console=tty0 lpj=2367488 no-hlt dump_delay=20 /boot/minik-2.6.12.bin 1 ====================================== I faced one problem while creating initrd image: ============================================= [root@rmdevlin1 ~]# mkinitrd --with=mkdump initrd.img 2.6.12.1 No module mkdump found for kernel 2.6.12.1, aborting. ============================================== Then I created initrd image by executing: #mkinitrd initrd.img 2.6.12.1 Then I have copied this image to /boot as initrd-minik.img. I am not able to boot minikernel. Is it because of initrd image? Am I missing something in the configuration? ----------- --------------------------------- Find out what India is talking about on - Yahoo! Answers India Send FREE SMS to your friend's mobile from Yahoo! Messenger Version 8. Get it NOW |