On Fri, 2006-06-09 at 19:50, Welterlen Benoit wrote:
> Zou Nan hai wrote: 
> > The ia64 kdump patch is in 2 parts.
> > 
> > the kexec-kdump-ia64-2.6.16.patch should apply on top of the previous 
> > kexec patch by Khalid in Tony's test tree.
> > 
> > the kexec-tools-kdump-ia64.patch should apply to kexec-tools-1.101
> > with kexec-tools-1.101-kdump.patch
> > 
> > 
> > To test it.
> > Build first SMP kernel with KEXEC and KDUMP enabled.
> > 
> > Boot it with kernel parameter "[EMAIL PROTECTED]"
> > means reserver XXX from YYY for crashdumping.
> > Build an UP kernel with KEXEC KDUMP VMCORE enabled.
> > load this kernel as a crashdumping kernel
> > kexec -p vmlinux.gz --initrd=initrd --append="...."
> > 
> > trigger a crash,
> > maybe "echo c > /proc/sysrq-trigger"
> > after the crash kernel boots,
> > cp /proc/vmcore core
> > 
> > gdb first_kernel_vmlinux core
> > 
> > please test and review.
> > 
> > Signed-off-by: Khalid Aziz <[EMAIL PROTECTED]>
> > Signed-off-by: Zou Nan hai <[EMAIL PROTECTED]>
> > 
> >   
> > https://lists.osdl.org/mailman/listinfo/fastboot
> >   
> 
> Hello Nan hai,
> 
> I tried your patches. It seems that the kexec-tools-kdump-ia64.patch
> file can not be applied after the latest release of kexec-tools
> http://lse.sourceforge.net/kdump/patches/1.101-kdump9/kexec-tools-1.101-kdump9.patch
> 

  Benoit, 

   You don't need to set PHYSICAL_START for the second kernel like other 
arches. 
   Since IA64 Linux switch to virtual address at the very beginning, before 
that it use PIC code.
   It never use physical address at all, so the physical address of vmlinux is 
only a hint to loader, 
   loader like elilo can load it to any properly aligned physical memory.

   I move the crashdumping kernel to to reserved region of first kernel 
   at kexec/arch/ia64/kexec-elf-ia64.c move_loaded_segments

   Thanks

   Zou Nan hai

  
_______________________________________________
fastboot mailing list
[email protected]
https://lists.osdl.org/mailman/listinfo/fastboot

Reply via email to