On Mon, Mar 20, 2006 at 03:25:03PM +0530, Shan Kumar wrote: > Hi Vivek/Maneesh, > > I am Shan. Got your references from kdump.txt file in linux source > documentation. > I have a simple query on Kexec/Kdump things. > I am using 2.6.15-git12-6-smp kernel in SuSE 10.1 linux. > I want to install Kexec/Kdump, and try to do testing with system dump. > I gone through the kdump.txt file, and followed the following steps. > > 1) Downloadedhe upstream kexec-tools userspace package from > http://www.xmission.com/~ebiederm/files/kexec/kexec-tools-1.101.tar.gz. > > Applied latest consolidated kdump patch on top of kexec-tools-1.101 > from http://lse.sourceforge.net/kdump/ onto the previous source. > > 2) Downloaded and built the vanilla kernel 2.6.16-rc6. > > 3) Set the configuration CONFIG_KEXEC=y, CONFIG_SYSFS=y in the first kernel. > > 4) U have mentioned to boot the 1st kernel with the command line parameter > "[EMAIL PROTECTED]"(e.g.) > Here I am just confusing. Do I need to edit the /boot/grub/menu.1st file > to add [EMAIL PROTECTED] or I should pass [EMAIL PROTECTED] as the > command line argument while executing /sbin/reboot?
both are same, choose either of them > One thing I am in doubt though I have downloaded the kexec tools, and > applied the kdump patches on this, how the 1st kernel knows about this? The > downloaded location is different than the kernel location. How can I > implement the kexec features into the 1st kernel source code? kernel code for kexec is already merged with mainline since 2.6.13 > One thing you have mentioned after booting to the 1st kernel, load the 2nd > kernel using the following command > kexec -p <second-kernel> --args-linux > --elf32-core-headers --append="root=<root-dev> init 1 irqpoll maxcpus=1" > > Do all the things go fine after the previous command executed? > yes, and if you are having any errors please post them in the reply also attach the .config for both 1st and 2nd kernels. thanks Maneesh -- Maneesh Soni Linux Technology Center, IBM India Software Labs, Bangalore, India email: [EMAIL PROTECTED] Phone: 91-80-51776416
_______________________________________________ fastboot mailing list [email protected] https://lists.osdl.org/mailman/listinfo/fastboot
