Subject: Re: linux emulation and kernel too old
To: John <jhu@grex.cyberspace.org>
From: Julio M. Merino Vidal <jmmv84@gmail.com>
List: port-macppc
Date: 05/24/2005 20:14:18
On Tue, 2005-05-24 at 14:05 -0400, John wrote:
> Hi,
> 
> I have netbsd 1.6.2 on my beige g3. I also have a umax c500 running linux
> with a 2.2.20 kernel. I've recently compiled a static povray binary on the
> linux machine and wanted to see if it would run, with linux emulation,
> on the netbsd machine. Unfortunately I get a "FATAL: kernel too old" error
> message upon launching the binary, which doesn't make any sense because 
> isn't the netbsd 1.6.2 kernel able to emulate a linux 2.2.x kernel? Any 
> idea on how to solve this? 

Try setting the sysctl's emul.linux.kern.osrelease variable.  In my
3.0_BETA system, it holds the 2.4.18 value, but I think it can be
manually changed.

Cheers,

-- 
Julio M. Merino Vidal <jmmv84@gmail.com>
http://www.livejournal.com/users/jmmv/
The NetBSD Project - http://www.NetBSD.org/