Subject: Re: bad kdump output with 64bit syscalls under 32bit emul
To: Christos Zoulas <christos@astron.com>
From: Nicolas Joly <njoly@pasteur.fr>
List: tech-kern
Date: 10/31/2007 03:11:54
On Wed, Oct 31, 2007 at 01:40:29AM +0000, Christos Zoulas wrote:
> In article <20071031011117.GA126903@medusa.sis.pasteur.fr>,
> Nicolas Joly  <njoly@pasteur.fr> wrote:
> >
[...]
> >It looks like that 64bit syscalls should not be used directly under
> >32bit emulation in order have correct kdump output.
> >
> >Unless there is a better way to fix it, that i'm currently
> >missing. I'll plan to fix this by replacing all native syscalls with
> >the netbsd32 equivalents, likewise for linux32 vs. linux calls.
> 
> I don't see a better way. How does sparc32 emulation on sparc64 works?

It does only use 32bit (sunos32 and netbsd32) syscalls, except for
ones without arguments (argize == 0) that does not exhibit the
problem.

-- 
Nicolas Joly

Biological Software and Databanks.
Institut Pasteur, Paris.