Subject: Re: Xi FreeBSD X server, NetBSD failure
To: None <port-i386@NetBSD.ORG>
From: Christos Zoulas <christos@zoulas.com>
List: port-i386
Date: 12/02/1997 16:20:39
In article <199712021512.QAA00505@snylteveps.runit.sintef.no.runit.sintef.no> Havard.Eidnes@runit.sintef.no writes:
>----Next_Part(Tue_Dec__2_16:12:07_1997)--
>Content-Type: Text/Plain; charset=iso-8859-1
>Content-Transfer-Encoding: quoted-printable
>
>Hi,
>
>some of you may remember that I asked whether there would be any
>chance that the FreeBSD executable of Xi Graphics' X11 server would
>be able to run under NetBSD.  I have a NeoMagic 2090 graphics chip
>in my laptop, and there is no support for that chip in XFree86 (and
>from the looks of it there never will be, due to NeoMagic's policy
>on documentation availability).
>
>Now I've upgraded my laptop from FreeBSD-2.2.2-PAO to NetBSD-1.3_ALPHA
>with a source base of mid-november, and the FreeBSD X server bombs out
>on an unimplemented system call, number 279, as shown below in the
>system call trace.  I've looked in the 2.2.2 and 3.0 FreeBSD sources and=
>
>oddly enough, system call number 279 isn't used there either (!).
>
>Does anyone know what's going on here?

This is because you are trying to use a NetBSD libc with a FreeBSD binary
and this tries to call syscall(279) in the FreeBSD emulation which does
not exist.

There are two solutions to the problem.
	1. Get a FreeBSD libc.so.x.y
	2. Add the new netbsd 277-281

christos