Subject: Re: bad kdump output with 64bit syscalls under 32bit emul
To: Nicolas Joly <njoly@pasteur.fr>
From: David Laight <david@l8s.co.uk>
List: tech-kern
Date: 10/31/2007 22:47:46
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.

> 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.

	David

-- 
David Laight: david@l8s.co.uk