From owner-freebsd-emulation@FreeBSD.ORG Sun Sep 17 11:12:09 2006 Return-Path: X-Original-To: emulation@freebsd.org Delivered-To: freebsd-emulation@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2F3F816A417 for ; Sun, 17 Sep 2006 11:12:09 +0000 (UTC) (envelope-from Alexander@Leidinger.net) Received: from www.ebusiness-leidinger.de (jojo.ms-net.de [84.16.236.246]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2C6A643D58 for ; Sun, 17 Sep 2006 11:12:07 +0000 (GMT) (envelope-from Alexander@Leidinger.net) Received: from Andro-Beta.Leidinger.net (p54A5E5B9.dip.t-dialin.net [84.165.229.185]) (authenticated bits=0) by www.ebusiness-leidinger.de (8.13.6/8.13.6) with ESMTP id k8HAnFbl032382; Sun, 17 Sep 2006 12:49:16 +0200 (CEST) (envelope-from Alexander@Leidinger.net) Received: from Magellan.Leidinger.net (Magellan.Leidinger.net [192.168.1.1]) by Andro-Beta.Leidinger.net (8.13.4/8.13.3) with ESMTP id k8HBC0MP050124; Sun, 17 Sep 2006 13:12:00 +0200 (CEST) (envelope-from Alexander@Leidinger.net) Date: Sun, 17 Sep 2006 13:12:28 +0200 From: Alexander Leidinger To: Boris Samorodov Message-ID: <20060917131228.42b2cd23@Magellan.Leidinger.net> In-Reply-To: <26755448@bsam.ru> References: <450C0C0E.8060402@SYSTEM.PL> <20060916171840.5dd744b7@Magellan.Leidinger.net> <26755448@bsam.ru> X-Mailer: Sylpheed-Claws 2.4.0 (GTK+ 2.8.20; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: multipart/mixed; boundary=MP_hVqxU7HOFPeEiuvZfHCf_fb X-Virus-Scanned: by amavisd-new Cc: emulation@freebsd.org Subject: Re: Fix for errno 2 - expected 14 (EFAULT) problems X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 17 Sep 2006 11:12:09 -0000 --MP_hVqxU7HOFPeEiuvZfHCf_fb Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Disposition: inline Quoting Boris Samorodov (Sun, 17 Sep 2006 03:24:23 +0400): > On Sat, 16 Sep 2006 17:18:40 +0200 Alexander Leidinger wrote: > > > Anyone with an amd64 system out there and willing to test this (with > > the LTP testsuite as described on > > http://wiki.freebsd.org/linux-kernel)? Because this doesn't seems to be > > the final fix, it isn't necessary to test this particular patch, but it > > would be nice to know if there are some differences between the results > > on i386 (as can be seen in the wiki) and amd64. > > Should the patch (linuxolator-p4.diff) from a wiki page be applied to > -current? It applies well but the kernel is not builded: > ----- > /usr/src/sys/compat/linux/linux_aio.c:47:36: machine/../linux/linux.h: No such file or directory > /usr/src/sys/compat/linux/linux_aio.c:48:42: machine/../linux/linux_proto.h: No such file or directory I committed the attached patch to p4 (please give it a try), I didn't updated the patch on the webpage yet. Bye, Alexander. -- Want colour in your directory listings? Use "ls -G". "ls -F" is also useful, and they can be combined as "ls -FG". http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID = B0063FE7 http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID = 72077137 --MP_hVqxU7HOFPeEiuvZfHCf_fb Content-Type: text/x-patch; name=amd64.diff Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=amd64.diff Change 106236 by netchild@netchild_magellan on 2006/09/17 11:08:35 Include the right files on amd64. Noticed by: bsam Affected files ... ... //depot/projects/linuxolator/src/sys/compat/linux/linux_aio.c#3 edit Differences ... ==== //depot/projects/linuxolator/src/sys/compat/linux/linux_aio.c#3 (text+ko) ==== @@ -44,8 +44,13 @@ #include #include +#ifdef COMPAT_LINUX32 +#include +#include +#else #include #include +#endif #define LINUX_AIO_DEBUG --MP_hVqxU7HOFPeEiuvZfHCf_fb--