Re: [Fastboot] [PATCH 1/1] Allow i386 crash kernels to handle x86_64 dumps

2007-03-16 Thread Vivek Goyal
On Fri, Mar 16, 2007 at 05:55:59PM +0530, Vivek Goyal wrote: > On Fri, Mar 16, 2007 at 11:40:55AM +, Ian Campbell wrote: > > On Fri, 2007-03-16 at 17:08 +0530, Vivek Goyal wrote: > > > On Fri, Mar 16, 2007 at 07:05:30PM +0900, Magnus Damm wrote: > > > > On 3/16/07, Vivek Goyal <[EMAIL

Re: [Fastboot] [PATCH 1/1] Allow i386 crash kernels to handle x86_64 dumps

2007-03-16 Thread Vivek Goyal
On Fri, Mar 16, 2007 at 11:40:55AM +, Ian Campbell wrote: > On Fri, 2007-03-16 at 17:08 +0530, Vivek Goyal wrote: > > On Fri, Mar 16, 2007 at 07:05:30PM +0900, Magnus Damm wrote: > > > On 3/16/07, Vivek Goyal <[EMAIL PROTECTED]> wrote: > > > >Got a question. When running 32bit dom0 on 64bit

Re: [Fastboot] [PATCH 1/1] Allow i386 crash kernels to handle x86_64 dumps

2007-03-16 Thread Ian Campbell
On Fri, 2007-03-16 at 17:08 +0530, Vivek Goyal wrote: > On Fri, Mar 16, 2007 at 07:05:30PM +0900, Magnus Damm wrote: > > On 3/16/07, Vivek Goyal <[EMAIL PROTECTED]> wrote: > > >Got a question. When running 32bit dom0 on 64bit hypervisor, which > > >kexec-tools elf loader will kick in? 32bit or

Re: [Fastboot] [PATCH 1/1] Allow i386 crash kernels to handle x86_64 dumps

2007-03-16 Thread Vivek Goyal
On Fri, Mar 16, 2007 at 07:05:30PM +0900, Magnus Damm wrote: > On 3/16/07, Vivek Goyal <[EMAIL PROTECTED]> wrote: > >Got a question. When running 32bit dom0 on 64bit hypervisor, which > >kexec-tools elf loader will kick in? 32bit or 64bit? Looks like in this > >case 64bit one. But shouldn't it be

Re: [Fastboot] [PATCH 1/1] Allow i386 crash kernels to handle x86_64 dumps

2007-03-16 Thread Magnus Damm
On 3/16/07, Vivek Goyal <[EMAIL PROTECTED]> wrote: Got a question. When running 32bit dom0 on 64bit hypervisor, which kexec-tools elf loader will kick in? 32bit or 64bit? Looks like in this case 64bit one. But shouldn't it be 32bit as 32bit OS is running and we must be using the kexec-tools

Re: [Fastboot] [PATCH 1/1] Allow i386 crash kernels to handle x86_64 dumps

2007-03-16 Thread Vivek Goyal
On Fri, Mar 16, 2007 at 06:20:14PM +0900, Magnus Damm wrote: > On 3/16/07, Ian Campbell <[EMAIL PROTECTED]> wrote: > >On Fri, 2007-03-16 at 16:59 +0900, Magnus Damm wrote: > >> On 3/16/07, Ian Campbell <[EMAIL PROTECTED]> wrote: > >> > On Fri, 2007-03-16 at 11:40 +0900, Magnus Damm wrote: > >> > >

Re: [Fastboot] [PATCH 1/1] Allow i386 crash kernels to handle x86_64 dumps

2007-03-16 Thread Vivek Goyal
On Fri, Mar 16, 2007 at 08:50:01AM +, Ian Campbell wrote: > On Fri, 2007-03-16 at 16:59 +0900, Magnus Damm wrote: > > On 3/16/07, Ian Campbell <[EMAIL PROTECTED]> wrote: > > > On Fri, 2007-03-16 at 11:40 +0900, Magnus Damm wrote: > > > > Right. And maybe it's a good idea to make sure that this

Re: [Fastboot] [PATCH 1/1] Allow i386 crash kernels to handle x86_64 dumps

2007-03-16 Thread Magnus Damm
On 3/16/07, Ian Campbell <[EMAIL PROTECTED]> wrote: On Fri, 2007-03-16 at 16:59 +0900, Magnus Damm wrote: > On 3/16/07, Ian Campbell <[EMAIL PROTECTED]> wrote: > > On Fri, 2007-03-16 at 11:40 +0900, Magnus Damm wrote: > > > Right. And maybe it's a good idea to make sure that this feature is > >

Re: [Fastboot] [PATCH 1/1] Allow i386 crash kernels to handle x86_64 dumps

2007-03-16 Thread Ian Campbell
On Fri, 2007-03-16 at 16:59 +0900, Magnus Damm wrote: > On 3/16/07, Ian Campbell <[EMAIL PROTECTED]> wrote: > > On Fri, 2007-03-16 at 11:40 +0900, Magnus Damm wrote: > > > Right. And maybe it's a good idea to make sure that this feature is > > > actually supported by kexec-tools before adding code

Re: [Fastboot] [PATCH 1/1] Allow i386 crash kernels to handle x86_64 dumps

2007-03-16 Thread Magnus Damm
On 3/16/07, Ian Campbell <[EMAIL PROTECTED]> wrote: On Fri, 2007-03-16 at 11:40 +0900, Magnus Damm wrote: > Right. And maybe it's a good idea to make sure that this feature is > actually supported by kexec-tools before adding code to the kernel? I sent patches to the fastboot list at the same

Re: [Fastboot] [PATCH 1/1] Allow i386 crash kernels to handle x86_64 dumps

2007-03-16 Thread Magnus Damm
On 3/16/07, Horms <[EMAIL PROTECTED]> wrote: On Fri, Mar 16, 2007 at 08:52:30AM +0530, Vivek Goyal wrote: > So it will now be left to the user. If he tries to kexec to a 64bit kernel > on a machine not supporting 32bit extensions, then kexec will not give > any advance warning. I feel

Re: [PATCH 1/1] Allow i386 crash kernels to handle x86_64 dumps

2007-03-16 Thread Horms
On Fri, Mar 16, 2007 at 07:17:43AM +, Ian Campbell wrote: > On Fri, 2007-03-16 at 08:48 +0900, Horms wrote: > > > > > > > > Signed-off-by: Ian Campbell <[EMAIL PROTECTED]> > > > > > > > > diff --git a/fs/proc/vmcore.c b/fs/proc/vmcore.c > > > > index d960507..523e109 100644 > > > > ---

Re: [Fastboot] [PATCH 1/1] Allow i386 crash kernels to handle x86_64 dumps

2007-03-16 Thread Horms
On Fri, Mar 16, 2007 at 08:52:30AM +0530, Vivek Goyal wrote: > On Fri, Mar 16, 2007 at 11:40:07AM +0900, Magnus Damm wrote: > > On 3/16/07, Horms <[EMAIL PROTECTED]> wrote: > > >On Thu, Mar 15, 2007 at 06:56:16PM +0530, Vivek Goyal wrote: > > >> On Thu, Mar 15, 2007 at 12:22:57PM +, Ian

Re: [PATCH 1/1] Allow i386 crash kernels to handle x86_64 dumps

2007-03-16 Thread Ian Campbell
On Fri, 2007-03-16 at 08:12 +0530, Vivek Goyal wrote: > I did not investigate deeper but I got a basic question. How will kexec > know that underlying 32bit machine supports 64bit extensions or not? It looks like /proc/cpuinfo flags contains "lm" (which is long mode, right?) even if the machine

Re: [Fastboot] [PATCH 1/1] Allow i386 crash kernels to handle x86_64 dumps

2007-03-16 Thread Ian Campbell
On Fri, 2007-03-16 at 11:40 +0900, Magnus Damm wrote: > Right. And maybe it's a good idea to make sure that this feature is > actually supported by kexec-tools before adding code to the kernel? I sent patches to the fastboot list at the same time I sent these ones to support differences in the

Re: [PATCH 1/1] Allow i386 crash kernels to handle x86_64 dumps

2007-03-16 Thread Ian Campbell
On Fri, 2007-03-16 at 08:48 +0900, Horms wrote: > > > > > > Signed-off-by: Ian Campbell <[EMAIL PROTECTED]> > > > > > > diff --git a/fs/proc/vmcore.c b/fs/proc/vmcore.c > > > index d960507..523e109 100644 > > > --- a/fs/proc/vmcore.c > > > +++ b/fs/proc/vmcore.c > > > @@ -514,7 +514,7 @@ static

Re: [PATCH 1/1] Allow i386 crash kernels to handle x86_64 dumps

2007-03-16 Thread Ian Campbell
On Fri, 2007-03-16 at 08:48 +0900, Horms wrote: Signed-off-by: Ian Campbell [EMAIL PROTECTED] diff --git a/fs/proc/vmcore.c b/fs/proc/vmcore.c index d960507..523e109 100644 --- a/fs/proc/vmcore.c +++ b/fs/proc/vmcore.c @@ -514,7 +514,7 @@ static int __init

Re: [Fastboot] [PATCH 1/1] Allow i386 crash kernels to handle x86_64 dumps

2007-03-16 Thread Ian Campbell
On Fri, 2007-03-16 at 11:40 +0900, Magnus Damm wrote: Right. And maybe it's a good idea to make sure that this feature is actually supported by kexec-tools before adding code to the kernel? I sent patches to the fastboot list at the same time I sent these ones to support differences in the

Re: [PATCH 1/1] Allow i386 crash kernels to handle x86_64 dumps

2007-03-16 Thread Ian Campbell
On Fri, 2007-03-16 at 08:12 +0530, Vivek Goyal wrote: I did not investigate deeper but I got a basic question. How will kexec know that underlying 32bit machine supports 64bit extensions or not? It looks like /proc/cpuinfo flags contains lm (which is long mode, right?) even if the machine is

Re: [PATCH 1/1] Allow i386 crash kernels to handle x86_64 dumps

2007-03-16 Thread Horms
On Fri, Mar 16, 2007 at 07:17:43AM +, Ian Campbell wrote: On Fri, 2007-03-16 at 08:48 +0900, Horms wrote: Signed-off-by: Ian Campbell [EMAIL PROTECTED] diff --git a/fs/proc/vmcore.c b/fs/proc/vmcore.c index d960507..523e109 100644 --- a/fs/proc/vmcore.c +++

Re: [Fastboot] [PATCH 1/1] Allow i386 crash kernels to handle x86_64 dumps

2007-03-16 Thread Horms
On Fri, Mar 16, 2007 at 08:52:30AM +0530, Vivek Goyal wrote: On Fri, Mar 16, 2007 at 11:40:07AM +0900, Magnus Damm wrote: On 3/16/07, Horms [EMAIL PROTECTED] wrote: On Thu, Mar 15, 2007 at 06:56:16PM +0530, Vivek Goyal wrote: On Thu, Mar 15, 2007 at 12:22:57PM +, Ian Campbell wrote:

Re: [Fastboot] [PATCH 1/1] Allow i386 crash kernels to handle x86_64 dumps

2007-03-16 Thread Magnus Damm
On 3/16/07, Horms [EMAIL PROTECTED] wrote: On Fri, Mar 16, 2007 at 08:52:30AM +0530, Vivek Goyal wrote: So it will now be left to the user. If he tries to kexec to a 64bit kernel on a machine not supporting 32bit extensions, then kexec will not give any advance warning. I feel comfortable

Re: [Fastboot] [PATCH 1/1] Allow i386 crash kernels to handle x86_64 dumps

2007-03-16 Thread Magnus Damm
On 3/16/07, Ian Campbell [EMAIL PROTECTED] wrote: On Fri, 2007-03-16 at 11:40 +0900, Magnus Damm wrote: Right. And maybe it's a good idea to make sure that this feature is actually supported by kexec-tools before adding code to the kernel? I sent patches to the fastboot list at the same time

Re: [Fastboot] [PATCH 1/1] Allow i386 crash kernels to handle x86_64 dumps

2007-03-16 Thread Ian Campbell
On Fri, 2007-03-16 at 16:59 +0900, Magnus Damm wrote: On 3/16/07, Ian Campbell [EMAIL PROTECTED] wrote: On Fri, 2007-03-16 at 11:40 +0900, Magnus Damm wrote: Right. And maybe it's a good idea to make sure that this feature is actually supported by kexec-tools before adding code to the

Re: [Fastboot] [PATCH 1/1] Allow i386 crash kernels to handle x86_64 dumps

2007-03-16 Thread Magnus Damm
On 3/16/07, Ian Campbell [EMAIL PROTECTED] wrote: On Fri, 2007-03-16 at 16:59 +0900, Magnus Damm wrote: On 3/16/07, Ian Campbell [EMAIL PROTECTED] wrote: On Fri, 2007-03-16 at 11:40 +0900, Magnus Damm wrote: Right. And maybe it's a good idea to make sure that this feature is actually

Re: [Fastboot] [PATCH 1/1] Allow i386 crash kernels to handle x86_64 dumps

2007-03-16 Thread Vivek Goyal
On Fri, Mar 16, 2007 at 08:50:01AM +, Ian Campbell wrote: On Fri, 2007-03-16 at 16:59 +0900, Magnus Damm wrote: On 3/16/07, Ian Campbell [EMAIL PROTECTED] wrote: On Fri, 2007-03-16 at 11:40 +0900, Magnus Damm wrote: Right. And maybe it's a good idea to make sure that this feature is

Re: [Fastboot] [PATCH 1/1] Allow i386 crash kernels to handle x86_64 dumps

2007-03-16 Thread Vivek Goyal
On Fri, Mar 16, 2007 at 06:20:14PM +0900, Magnus Damm wrote: On 3/16/07, Ian Campbell [EMAIL PROTECTED] wrote: On Fri, 2007-03-16 at 16:59 +0900, Magnus Damm wrote: On 3/16/07, Ian Campbell [EMAIL PROTECTED] wrote: On Fri, 2007-03-16 at 11:40 +0900, Magnus Damm wrote: Right. And maybe

Re: [Fastboot] [PATCH 1/1] Allow i386 crash kernels to handle x86_64 dumps

2007-03-16 Thread Magnus Damm
On 3/16/07, Vivek Goyal [EMAIL PROTECTED] wrote: Got a question. When running 32bit dom0 on 64bit hypervisor, which kexec-tools elf loader will kick in? 32bit or 64bit? Looks like in this case 64bit one. But shouldn't it be 32bit as 32bit OS is running and we must be using the kexec-tools binary

Re: [Fastboot] [PATCH 1/1] Allow i386 crash kernels to handle x86_64 dumps

2007-03-16 Thread Vivek Goyal
On Fri, Mar 16, 2007 at 07:05:30PM +0900, Magnus Damm wrote: On 3/16/07, Vivek Goyal [EMAIL PROTECTED] wrote: Got a question. When running 32bit dom0 on 64bit hypervisor, which kexec-tools elf loader will kick in? 32bit or 64bit? Looks like in this case 64bit one. But shouldn't it be 32bit as

Re: [Fastboot] [PATCH 1/1] Allow i386 crash kernels to handle x86_64 dumps

2007-03-16 Thread Ian Campbell
On Fri, 2007-03-16 at 17:08 +0530, Vivek Goyal wrote: On Fri, Mar 16, 2007 at 07:05:30PM +0900, Magnus Damm wrote: On 3/16/07, Vivek Goyal [EMAIL PROTECTED] wrote: Got a question. When running 32bit dom0 on 64bit hypervisor, which kexec-tools elf loader will kick in? 32bit or 64bit? Looks

Re: [Fastboot] [PATCH 1/1] Allow i386 crash kernels to handle x86_64 dumps

2007-03-16 Thread Vivek Goyal
On Fri, Mar 16, 2007 at 11:40:55AM +, Ian Campbell wrote: On Fri, 2007-03-16 at 17:08 +0530, Vivek Goyal wrote: On Fri, Mar 16, 2007 at 07:05:30PM +0900, Magnus Damm wrote: On 3/16/07, Vivek Goyal [EMAIL PROTECTED] wrote: Got a question. When running 32bit dom0 on 64bit hypervisor,

Re: [Fastboot] [PATCH 1/1] Allow i386 crash kernels to handle x86_64 dumps

2007-03-16 Thread Vivek Goyal
On Fri, Mar 16, 2007 at 05:55:59PM +0530, Vivek Goyal wrote: On Fri, Mar 16, 2007 at 11:40:55AM +, Ian Campbell wrote: On Fri, 2007-03-16 at 17:08 +0530, Vivek Goyal wrote: On Fri, Mar 16, 2007 at 07:05:30PM +0900, Magnus Damm wrote: On 3/16/07, Vivek Goyal [EMAIL PROTECTED] wrote:

Re: [Fastboot] [PATCH 1/1] Allow i386 crash kernels to handle x86_64 dumps

2007-03-15 Thread Vivek Goyal
On Fri, Mar 16, 2007 at 11:40:07AM +0900, Magnus Damm wrote: > On 3/16/07, Horms <[EMAIL PROTECTED]> wrote: > >On Thu, Mar 15, 2007 at 06:56:16PM +0530, Vivek Goyal wrote: > >> On Thu, Mar 15, 2007 at 12:22:57PM +, Ian Campbell wrote: > >> > On Thu, 2007-03-15 at 11:17 +0530, Vivek Goyal

Re: [PATCH 1/1] Allow i386 crash kernels to handle x86_64 dumps

2007-03-15 Thread Vivek Goyal
On Fri, Mar 16, 2007 at 08:48:08AM +0900, Horms wrote: > On Thu, Mar 15, 2007 at 06:56:16PM +0530, Vivek Goyal wrote: > > On Thu, Mar 15, 2007 at 12:22:57PM +, Ian Campbell wrote: > > > On Thu, 2007-03-15 at 11:17 +0530, Vivek Goyal wrote: > > > > > > But I think changing this macro might run

Re: [Fastboot] [PATCH 1/1] Allow i386 crash kernels to handle x86_64 dumps

2007-03-15 Thread Magnus Damm
On 3/16/07, Horms <[EMAIL PROTECTED]> wrote: On Thu, Mar 15, 2007 at 06:56:16PM +0530, Vivek Goyal wrote: > On Thu, Mar 15, 2007 at 12:22:57PM +, Ian Campbell wrote: > > On Thu, 2007-03-15 at 11:17 +0530, Vivek Goyal wrote: > > > > > But I think changing this macro might run into issues. It

Re: [PATCH 1/1] Allow i386 crash kernels to handle x86_64 dumps

2007-03-15 Thread Vivek Goyal
On Thu, Mar 15, 2007 at 01:42:39PM +, Ian Campbell wrote: > On Thu, 2007-03-15 at 18:56 +0530, Vivek Goyal wrote: > > > > Ideal place for this probably should have been arch dependent > > crash_dump.h file. But we don't have one and no point introducing one > > just for this macro. > >

Re: [PATCH 1/1] Allow i386 crash kernels to handle x86_64 dumps

2007-03-15 Thread Horms
On Thu, Mar 15, 2007 at 01:42:39PM +, Ian Campbell wrote: > On Thu, 2007-03-15 at 18:56 +0530, Vivek Goyal wrote: > > > > Ideal place for this probably should have been arch dependent > > crash_dump.h file. But we don't have one and no point introducing one > > just for this macro. > >

Re: [PATCH 1/1] Allow i386 crash kernels to handle x86_64 dumps

2007-03-15 Thread Horms
On Thu, Mar 15, 2007 at 06:56:16PM +0530, Vivek Goyal wrote: > On Thu, Mar 15, 2007 at 12:22:57PM +, Ian Campbell wrote: > > On Thu, 2007-03-15 at 11:17 +0530, Vivek Goyal wrote: > > > > > But I think changing this macro might run into issues. It is > > > > > being used at few places in

Re: [PATCH 1/1] Allow i386 crash kernels to handle x86_64 dumps

2007-03-15 Thread Ian Campbell
On Thu, 2007-03-15 at 18:56 +0530, Vivek Goyal wrote: > > Ideal place for this probably should have been arch dependent > crash_dump.h file. But we don't have one and no point introducing one > just for this macro. Agreed. > This change looks good to me. Is there a kdump tree which you'll

Re: [PATCH 1/1] Allow i386 crash kernels to handle x86_64 dumps

2007-03-15 Thread Vivek Goyal
On Thu, Mar 15, 2007 at 12:22:57PM +, Ian Campbell wrote: > On Thu, 2007-03-15 at 11:17 +0530, Vivek Goyal wrote: > > > > But I think changing this macro might run into issues. It is > > > > being used at few places in kernel, for example while loading > > > > module. This will essentially

Re: [PATCH 1/1] Allow i386 crash kernels to handle x86_64 dumps

2007-03-15 Thread Ian Campbell
On Thu, 2007-03-15 at 11:17 +0530, Vivek Goyal wrote: > > > But I think changing this macro might run into issues. It is > > > being used at few places in kernel, for example while loading > > > module. This will essentially mean that we allow loading 64bit > > > x86_64 modules on 32bit i386

Re: [PATCH 1/1] Allow i386 crash kernels to handle x86_64 dumps

2007-03-15 Thread Horms
On Thu, Mar 15, 2007 at 11:17:26AM +0530, Vivek Goyal wrote: > On Thu, Mar 15, 2007 at 02:07:56PM +0900, Horms wrote: > > On Thu, Mar 15, 2007 at 10:25:36AM +0530, Vivek Goyal wrote: > > > On Thu, Mar 15, 2007 at 10:46:38AM +0900, Horms wrote: > > > > On Wed, Mar 14, 2007 at 05:00:09PM +, Ian

Re: [PATCH 1/1] Allow i386 crash kernels to handle x86_64 dumps

2007-03-15 Thread Horms
On Thu, Mar 15, 2007 at 11:17:26AM +0530, Vivek Goyal wrote: On Thu, Mar 15, 2007 at 02:07:56PM +0900, Horms wrote: On Thu, Mar 15, 2007 at 10:25:36AM +0530, Vivek Goyal wrote: On Thu, Mar 15, 2007 at 10:46:38AM +0900, Horms wrote: On Wed, Mar 14, 2007 at 05:00:09PM +, Ian Campbell

Re: [PATCH 1/1] Allow i386 crash kernels to handle x86_64 dumps

2007-03-15 Thread Ian Campbell
On Thu, 2007-03-15 at 11:17 +0530, Vivek Goyal wrote: But I think changing this macro might run into issues. It is being used at few places in kernel, for example while loading module. This will essentially mean that we allow loading 64bit x86_64 modules on 32bit i386 systems? Yes,

Re: [PATCH 1/1] Allow i386 crash kernels to handle x86_64 dumps

2007-03-15 Thread Vivek Goyal
On Thu, Mar 15, 2007 at 12:22:57PM +, Ian Campbell wrote: On Thu, 2007-03-15 at 11:17 +0530, Vivek Goyal wrote: But I think changing this macro might run into issues. It is being used at few places in kernel, for example while loading module. This will essentially mean that we

Re: [PATCH 1/1] Allow i386 crash kernels to handle x86_64 dumps

2007-03-15 Thread Ian Campbell
On Thu, 2007-03-15 at 18:56 +0530, Vivek Goyal wrote: Ideal place for this probably should have been arch dependent crash_dump.h file. But we don't have one and no point introducing one just for this macro. Agreed. This change looks good to me. Is there a kdump tree which you'll apply

Re: [PATCH 1/1] Allow i386 crash kernels to handle x86_64 dumps

2007-03-15 Thread Horms
On Thu, Mar 15, 2007 at 01:42:39PM +, Ian Campbell wrote: On Thu, 2007-03-15 at 18:56 +0530, Vivek Goyal wrote: Ideal place for this probably should have been arch dependent crash_dump.h file. But we don't have one and no point introducing one just for this macro. Agreed.

Re: [PATCH 1/1] Allow i386 crash kernels to handle x86_64 dumps

2007-03-15 Thread Horms
On Thu, Mar 15, 2007 at 06:56:16PM +0530, Vivek Goyal wrote: On Thu, Mar 15, 2007 at 12:22:57PM +, Ian Campbell wrote: On Thu, 2007-03-15 at 11:17 +0530, Vivek Goyal wrote: But I think changing this macro might run into issues. It is being used at few places in kernel, for example

Re: [PATCH 1/1] Allow i386 crash kernels to handle x86_64 dumps

2007-03-15 Thread Vivek Goyal
On Thu, Mar 15, 2007 at 01:42:39PM +, Ian Campbell wrote: On Thu, 2007-03-15 at 18:56 +0530, Vivek Goyal wrote: Ideal place for this probably should have been arch dependent crash_dump.h file. But we don't have one and no point introducing one just for this macro. Agreed.

Re: [Fastboot] [PATCH 1/1] Allow i386 crash kernels to handle x86_64 dumps

2007-03-15 Thread Magnus Damm
On 3/16/07, Horms [EMAIL PROTECTED] wrote: On Thu, Mar 15, 2007 at 06:56:16PM +0530, Vivek Goyal wrote: On Thu, Mar 15, 2007 at 12:22:57PM +, Ian Campbell wrote: On Thu, 2007-03-15 at 11:17 +0530, Vivek Goyal wrote: But I think changing this macro might run into issues. It is

Re: [PATCH 1/1] Allow i386 crash kernels to handle x86_64 dumps

2007-03-15 Thread Vivek Goyal
On Fri, Mar 16, 2007 at 08:48:08AM +0900, Horms wrote: On Thu, Mar 15, 2007 at 06:56:16PM +0530, Vivek Goyal wrote: On Thu, Mar 15, 2007 at 12:22:57PM +, Ian Campbell wrote: On Thu, 2007-03-15 at 11:17 +0530, Vivek Goyal wrote: But I think changing this macro might run into issues.

Re: [Fastboot] [PATCH 1/1] Allow i386 crash kernels to handle x86_64 dumps

2007-03-15 Thread Vivek Goyal
On Fri, Mar 16, 2007 at 11:40:07AM +0900, Magnus Damm wrote: On 3/16/07, Horms [EMAIL PROTECTED] wrote: On Thu, Mar 15, 2007 at 06:56:16PM +0530, Vivek Goyal wrote: On Thu, Mar 15, 2007 at 12:22:57PM +, Ian Campbell wrote: On Thu, 2007-03-15 at 11:17 +0530, Vivek Goyal wrote: But

Re: [PATCH 1/1] Allow i386 crash kernels to handle x86_64 dumps

2007-03-14 Thread Vivek Goyal
On Thu, Mar 15, 2007 at 02:07:56PM +0900, Horms wrote: > On Thu, Mar 15, 2007 at 10:25:36AM +0530, Vivek Goyal wrote: > > On Thu, Mar 15, 2007 at 10:46:38AM +0900, Horms wrote: > > > On Wed, Mar 14, 2007 at 05:00:09PM +, Ian Campbell wrote: > > > > The specific case I am encountering is kdump

Re: [PATCH 1/1] Allow i386 crash kernels to handle x86_64 dumps

2007-03-14 Thread Horms
On Thu, Mar 15, 2007 at 10:25:36AM +0530, Vivek Goyal wrote: > On Thu, Mar 15, 2007 at 10:46:38AM +0900, Horms wrote: > > On Wed, Mar 14, 2007 at 05:00:09PM +, Ian Campbell wrote: > > > The specific case I am encountering is kdump under Xen with a 64 bit > > > hypervisor and 32 bit

Re: [PATCH 1/1] Allow i386 crash kernels to handle x86_64 dumps

2007-03-14 Thread Vivek Goyal
On Thu, Mar 15, 2007 at 10:46:38AM +0900, Horms wrote: > On Wed, Mar 14, 2007 at 05:00:09PM +, Ian Campbell wrote: > > The specific case I am encountering is kdump under Xen with a 64 bit > > hypervisor and 32 bit kernel/userspace. The dump created is a 64 bit due > > to the hypervisor but the

Re: [PATCH 1/1] Allow i386 crash kernels to handle x86_64 dumps

2007-03-14 Thread Horms
On Wed, Mar 14, 2007 at 05:00:09PM +, Ian Campbell wrote: > The specific case I am encountering is kdump under Xen with a 64 bit > hypervisor and 32 bit kernel/userspace. The dump created is a 64 bit due > to the hypervisor but the dump kernel is 32 bit to match the domain 0 > kernel. > >

[PATCH 1/1] Allow i386 crash kernels to handle x86_64 dumps

2007-03-14 Thread Ian Campbell
The specific case I am encountering is kdump under Xen with a 64 bit hypervisor and 32 bit kernel/userspace. The dump created is a 64 bit due to the hypervisor but the dump kernel is 32 bit to match the domain 0 kernel. It's possibly less likely to be useful in a purely native scenario but I see

[PATCH 1/1] Allow i386 crash kernels to handle x86_64 dumps

2007-03-14 Thread Ian Campbell
The specific case I am encountering is kdump under Xen with a 64 bit hypervisor and 32 bit kernel/userspace. The dump created is a 64 bit due to the hypervisor but the dump kernel is 32 bit to match the domain 0 kernel. It's possibly less likely to be useful in a purely native scenario but I see

Re: [PATCH 1/1] Allow i386 crash kernels to handle x86_64 dumps

2007-03-14 Thread Horms
On Wed, Mar 14, 2007 at 05:00:09PM +, Ian Campbell wrote: The specific case I am encountering is kdump under Xen with a 64 bit hypervisor and 32 bit kernel/userspace. The dump created is a 64 bit due to the hypervisor but the dump kernel is 32 bit to match the domain 0 kernel. It's

Re: [PATCH 1/1] Allow i386 crash kernels to handle x86_64 dumps

2007-03-14 Thread Vivek Goyal
On Thu, Mar 15, 2007 at 10:46:38AM +0900, Horms wrote: On Wed, Mar 14, 2007 at 05:00:09PM +, Ian Campbell wrote: The specific case I am encountering is kdump under Xen with a 64 bit hypervisor and 32 bit kernel/userspace. The dump created is a 64 bit due to the hypervisor but the dump

Re: [PATCH 1/1] Allow i386 crash kernels to handle x86_64 dumps

2007-03-14 Thread Horms
On Thu, Mar 15, 2007 at 10:25:36AM +0530, Vivek Goyal wrote: On Thu, Mar 15, 2007 at 10:46:38AM +0900, Horms wrote: On Wed, Mar 14, 2007 at 05:00:09PM +, Ian Campbell wrote: The specific case I am encountering is kdump under Xen with a 64 bit hypervisor and 32 bit kernel/userspace.

Re: [PATCH 1/1] Allow i386 crash kernels to handle x86_64 dumps

2007-03-14 Thread Vivek Goyal
On Thu, Mar 15, 2007 at 02:07:56PM +0900, Horms wrote: On Thu, Mar 15, 2007 at 10:25:36AM +0530, Vivek Goyal wrote: On Thu, Mar 15, 2007 at 10:46:38AM +0900, Horms wrote: On Wed, Mar 14, 2007 at 05:00:09PM +, Ian Campbell wrote: The specific case I am encountering is kdump under Xen