Re: [PATCH 0/5] Relocatable 64-bit kernel using linker PIE support

2008-08-28 Thread David Miller
From: Paul Mackerras <[EMAIL PROTECTED]> Date: Fri, 29 Aug 2008 15:40:36 +1000 > The main remaining substantial technical issue is how we detect very > early on that we are a kdump kernel. I think the policy should be > that the kernel copies itself down to 0 if it's not a kdump kernel and > runs

Re: [PATCH 0/5] Relocatable 64-bit kernel using linker PIE support

2008-08-28 Thread Paul Mackerras
Kumar Gala writes: > Also, can we get this on ppc32 (head_32.S)? Probably. I'll give it a go. Paul. ___ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-dev

Re: [PATCH 0/5] Relocatable 64-bit kernel using linker PIE support

2008-08-28 Thread Paul Mackerras
David Woodhouse writes: > Is this mature enough for us to consider putting it in Fedora? We'd > _love_ to stop building a separate kdump kernel for ppc64... Almost, but not quite. We'll need some modifications to yaboot (it refuses to accept an ET_DYN image, for instance), plus I'm currently see

Re: [PATCH 0/5] Relocatable 64-bit kernel using linker PIE support

2008-08-28 Thread Geert Uytterhoeven
On Thu, 28 Aug 2008, David Woodhouse wrote: > On Wed, 2008-08-13 at 11:27 +1000, Paul Mackerras wrote: > > The following series of patches implement support for a relocatable > > kernel by building it as a position-independent executable (PIE). > > When the linker is given the -pie flag, it creates

Re: [PATCH 0/5] Relocatable 64-bit kernel using linker PIE support

2008-08-28 Thread Kumar Gala
On Aug 28, 2008, at 7:12 AM, David Woodhouse wrote: On Wed, 2008-08-13 at 11:27 +1000, Paul Mackerras wrote: The following series of patches implement support for a relocatable kernel by building it as a position-independent executable (PIE). When the linker is given the -pie flag, it creates

Re: [PATCH 0/5] Relocatable 64-bit kernel using linker PIE support

2008-08-28 Thread David Woodhouse
On Wed, 2008-08-13 at 11:27 +1000, Paul Mackerras wrote: > The following series of patches implement support for a relocatable > kernel by building it as a position-independent executable (PIE). > When the linker is given the -pie flag, it creates an executable that > contains dynamic relocations w

Re: [PATCH 0/5] Relocatable 64-bit kernel using linker PIE support

2008-08-19 Thread Mohan Kumar M
Paul Mackerras wrote: Mohan Kumar M writes: Attaching the .config Hmmm, your config works for me on a POWER6 partition here, whether I netboot the zImage.pseries or boot it with yaboot. I wonder if your toolchain is an older version. What is the output from ld --version and gcc --version?

Re: [PATCH 0/5] Relocatable 64-bit kernel using linker PIE support

2008-08-18 Thread Paul Mackerras
Mohan Kumar M writes: > Attaching the .config Hmmm, your config works for me on a POWER6 partition here, whether I netboot the zImage.pseries or boot it with yaboot. I wonder if your toolchain is an older version. What is the output from ld --version and gcc --version? Also, could you send me

Re: [PATCH 0/5] Relocatable 64-bit kernel using linker PIE support

2008-08-18 Thread Mohan Kumar M
Hi Paul, Attaching the .config Paul Mackerras wrote: Mohan Kumar M writes: If you need, I can give the .config I use. Yes please, send it over. # # Automatically generated make config: don't edit # Linux kernel version: 2.6.27-rc1 # Mon Aug 18 14:24:37 2008 # CONFIG_PPC64=y # # Processor

Re: [PATCH 0/5] Relocatable 64-bit kernel using linker PIE support

2008-08-18 Thread Paul Mackerras
Mohan Kumar M writes: > If you need, I can give the .config I use. Yes please, send it over. ___ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-dev

Re: [PATCH 0/5] Relocatable 64-bit kernel using linker PIE support

2008-08-18 Thread Mohan Kumar M
Hi Paul, I can't boot zImage with your patches. I'm getting the following error message from prom_init.c Error: You can't boot a kdump kernel from OF! This is due to the check: if (PHYSICAL_START > 0) prom_panic("Error: You can't boot a kdump kernel from OF!\n"); where PHYSICAL_S