On Wed, Sep 20, 2006 at 12:50:28PM -0400, Vivek Goyal wrote:
> 
> From: Vivek Goyal <[EMAIL PROTECTED]>
> 
> o With relocatable kernel in picture, the kernel text map offset
>   (__START_KERNEL_map) is no longer constant. It depends on where kernel
>   is loaded.
> 
> o Now /proc/kcore is read to determine the virtual address the kernel
>   is mapped at and /porc/iomem is read for determining the physical
>   address where kernel is loaded at. This information is enough to
>   create to fill virtual address and phy addr info for elf header
>   mapping kernel text and data.
> 
> o Virtual address for kernel text are needed by gdb as well as crash to
>   retrieve the meaningful data from core file.
> 
> o This patch requires "elf note memsz" fix in the kernel. Currently
>   that fix is in -mm tree. It will still work with older kernels. It will
>   display the warning messages (/proc/kcore could not be parsed) and hardcode
>   the kernel virtual address and size.
> 
> Signed-off-by: Vivek Goyal <[EMAIL PROTECTED]>

Other than one or two spurious blank lines, that seems fine to me.
I'm comfortable with committing this to kexec-tools-testing if you are.

-- 
Horms
  H: http://www.vergenet.net/~horms/
  W: http://www.valinux.co.jp/en/

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

Reply via email to