* Alpha - how to fill the PC
@ 2001-12-16 13:19 Aneesh Kumar K.V
2001-12-28 23:59 ` Richard Henderson
0 siblings, 1 reply; 4+ messages in thread
From: Aneesh Kumar K.V @ 2001-12-16 13:19 UTC (permalink / raw)
To: linux-kernel
Hi,
I am trying to do process migration between nodes using alpha
architecture. For explaining what is happening I will take the process
getting migrated from node1 to node2. I am using struct pt_regs for
rebuilding the process on node2.I am getting the same value of struct
pt_regs on node1 and on node2 ( I print is using dik_show_regs) Now I
want to set the value of registers including the program counter with
the value i got from node1. Right now I am doing
ret_from_sys_call(®s). But then i am getting a Oops . The Oops
message contain all the register values same as that I got from node1
except pc and ra
Any idea where I went wrong ?
-aneesh
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Alpha - how to fill the PC
@ 2001-12-16 19:47 Tyler BIRD
0 siblings, 0 replies; 4+ messages in thread
From: Tyler BIRD @ 2001-12-16 19:47 UTC (permalink / raw)
To: aneesh.kumar, linux-kernel
One thing I thought of is the process on lets say node2 have exactly the same
address space as on node 1 when it is migrated. You could be trying to return from a syscall
to an address space of a process that doesn't exist on the node or hasn't migrated yet.
Just a thought
>>> "Aneesh Kumar K.V" <aneesh.kumar@digital.com> 12/16/01 06:19AM >>>
Hi,
I am trying to do process migration between nodes using alpha
architecture. For explaining what is happening I will take the process
getting migrated from node1 to node2. I am using struct pt_regs for
rebuilding the process on node2.I am getting the same value of struct
pt_regs on node1 and on node2 ( I print is using dik_show_regs) Now I
want to set the value of registers including the program counter with
the value i got from node1. Right now I am doing
ret_from_sys_call(®s). But then i am getting a Oops . The Oops
message contain all the register values same as that I got from node1
except pc and ra
Any idea where I went wrong ?
-aneesh
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
^ permalink raw reply [flat|nested] 4+ messages in thread
[parent not found: <sc1c97f4.073@mail-smtp.uvsc.edu>]
* Re: Alpha - how to fill the PC
[not found] <sc1c97f4.073@mail-smtp.uvsc.edu>
@ 2001-12-17 4:03 ` Aneesh Kumar K.V
0 siblings, 0 replies; 4+ messages in thread
From: Aneesh Kumar K.V @ 2001-12-17 4:03 UTC (permalink / raw)
To: Tyler BIRD; +Cc: linux-kernel
Hi,
No, I have the full address space rebuilt on node2. I validated it
checking /proc/<pid>/maps
-aneesh
On Mon, 2001-12-17 at 01:17, Tyler BIRD wrote:
> One thing I thought of is the process on lets say node2 have exactly the same
> address space as on node 1 when it is migrated. You could be trying to return from a syscall
> to an address space of a process that doesn't exist on the node or hasn't migrated yet.
>
> Just a thought
>
> >>> "Aneesh Kumar K.V" <aneesh.kumar@digital.com> 12/16/01 06:19AM >>>
> Hi,
>
> I am trying to do process migration between nodes using alpha
> architecture. For explaining what is happening I will take the process
> getting migrated from node1 to node2. I am using struct pt_regs for
> rebuilding the process on node2.I am getting the same value of struct
> pt_regs on node1 and on node2 ( I print is using dik_show_regs) Now I
> want to set the value of registers including the program counter with
> the value i got from node1. Right now I am doing
> ret_from_sys_call(®s). But then i am getting a Oops . The Oops
> message contain all the register values same as that I got from node1
> except pc and ra
>
> Any idea where I went wrong ?
>
> -aneesh
>
>
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2001-12-28 23:59 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-12-16 13:19 Alpha - how to fill the PC Aneesh Kumar K.V
2001-12-28 23:59 ` Richard Henderson
-- strict thread matches above, loose matches on Subject: below --
2001-12-16 19:47 Tyler BIRD
[not found] <sc1c97f4.073@mail-smtp.uvsc.edu>
2001-12-17 4:03 ` Aneesh Kumar K.V
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.