From owner-freebsd-emulation@FreeBSD.ORG Sun Sep 17 20:06:57 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 D1B2416A4DA for ; Sun, 17 Sep 2006 20:06:57 +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 79DF143D4C for ; Sun, 17 Sep 2006 20:06:40 +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 k8HJhhvG037732; Sun, 17 Sep 2006 21:43:45 +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 k8HK6WLX025124; Sun, 17 Sep 2006 22:06:32 +0200 (CEST) (envelope-from Alexander@Leidinger.net) Date: Sun, 17 Sep 2006 22:07:04 +0200 From: Alexander Leidinger To: Boris Samorodov Message-ID: <20060917220704.58ec3963@Magellan.Leidinger.net> In-Reply-To: <49949186@bsam.ru> References: <450C0C0E.8060402@SYSTEM.PL> <20060916171840.5dd744b7@Magellan.Leidinger.net> <26755448@bsam.ru> <20060917131228.42b2cd23@Magellan.Leidinger.net> <60660670@bsam.ru> <46427671@bsam.ru> <20060917180726.75d0a358@Magellan.Leidinger.net> <82100473@bsam.ru> <49949186@bsam.ru> X-Mailer: Sylpheed-Claws 2.4.0 (GTK+ 2.8.20; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit 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 20:06:57 -0000 Quoting Boris Samorodov (Sun, 17 Sep 2006 22:42:21 +0400): > On Sun, 17 Sep 2006 22:20:54 +0400 Boris Samorodov wrote: > > On Sun, 17 Sep 2006 18:07:26 +0200 Alexander Leidinger wrote: > > > > ==== //depot/projects/linuxolator/src/sys/compat/linux/linux_aio.c#4 (text+ko) ==== > > > > @@ -25,6 +25,8 @@ > > > #include > > > __FBSDID("$FreeBSD$"); > > > > +#include "opt_compat.h" > > > + > > > #include > > > #include > > > #include > > > This patch did the trick and buildworld went further. But another > > error occures: > > ----- > > /usr/src/sys/compat/linux/linux_aio.c: In function `linux_io_setup': > > /usr/src/sys/compat/linux/linux_aio.c:501: warning: cast from pointer to integer of different size > > /usr/src/sys/compat/linux/linux_aio.c: In function `linux_io_destroy': > > /usr/src/sys/compat/linux/linux_aio.c:542: warning: cast from pointer to integer of different size > > /usr/src/sys/compat/linux/linux_aio.c: In function `linux_io_getevents': > > /usr/src/sys/compat/linux/linux_aio.c:683: warning: cast from pointer to integer of different size > > /usr/src/sys/compat/linux/linux_aio.c: In function `linux_io_submit': > > /usr/src/sys/compat/linux/linux_aio.c:938: warning: cast from pointer to integer of different size > > /usr/src/sys/compat/linux/linux_aio.c: In function `linux_io_cancel': > > /usr/src/sys/compat/linux/linux_aio.c:1054: warning: cast from pointer to integer of different size > > *** Error code 1 The code isn't tested on amd64 at all. To be honest, I expected something like this. Sorry that I haven't told you about it. Intron submitted the i386 part, and I just added it to amd64 too. I try to have a look at it in the next days, but I hope Intron comes up with a patch earlier. Bye, Alexander. -- A princess should not be afraid -- not with a brave knight to protect her. -- McCoy, "Shore Leave", stardate 3025.3 http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID = B0063FE7 http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID = 72077137