Subject: Re: bad kdump output with 64bit syscalls under 32bit emul
To: NetBSD kernel <tech-kern@netbsd.org>
From: Nicolas Joly <njoly@pasteur.fr>
List: tech-kern
Date: 11/01/2007 00:58:42
On Wed, Oct 31, 2007 at 10:47:46PM +0000, David Laight wrote:
> On Wed, Oct 31, 2007 at 02:11:18AM +0100, Nicolas Joly wrote:
> > 
> > It looks like that 64bit syscalls should not be used directly under
> > 32bit emulation in order have correct kdump output.
> 
> Actually they must not be used at all since the functions get
> passed the wrong arguments!
> Anything with more than one argument won't work.

Indeed. Thanks for your analysis, it look worse than i thought.

> > 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.
> 
> Yes - I've changed the native ones - but not the linux ones.

Thanks, i'll fix them.

-- 
Nicolas Joly

Biological Software and Databanks.
Institut Pasteur, Paris.