This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
Home Products Support Community News


Re: [Xen-devel] [PATCH] Make strace happy with xeno64.

On 10 Jun 2005, at 09:35, Keir Fraser wrote:

I will test it

If xenlinux really is using selector E033 then it won;t fix the problem. You need to fix the USER_CS macros to use the selectors in xenlinux's GDT.

Ah, I now understand the problem. When the application executes SYSCALL we lose the value of CS, and Xen recreates it as 0xE033. The best fix to is bring back the macro FIXUP_TOP_OF_STACK in arch/xen/x86_64/kernel/entry.S, and call it everywhere that the original arch/x86_64/kernel/entry.S calls it.

I've checked this fix in -- if you test now then hopefully the strace problem is gone.

 -- Keir

Xen-devel mailing list