From owner-freebsd-emulation@FreeBSD.ORG Sun Sep 17 15:45:26 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 71D8116A407 for ; Sun, 17 Sep 2006 15:45:26 +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 75AB443D46 for ; Sun, 17 Sep 2006 15:45:24 +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 k8HFMRlN036135; Sun, 17 Sep 2006 17:22:32 +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 k8HFjEXY088399; Sun, 17 Sep 2006 17:45:15 +0200 (CEST) (envelope-from Alexander@Leidinger.net) Date: Sun, 17 Sep 2006 17:45:43 +0200 From: Alexander Leidinger To: Boris Samorodov Message-ID: <20060917174543.48bff192@Magellan.Leidinger.net> In-Reply-To: <46427671@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> 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 15:45:26 -0000 Quoting Boris Samorodov (Sun, 17 Sep 2006 17:52:08 +0400): > And: > ----- > tinderbox# grep LINUX /sys/amd64/conf/GENERIC > options COMPAT_LINUX32 # Compatible with i386 linux binaries > ----- > > Help...! Ok, add #include "opt_compat.h" like here: ---snip--- #include __FBSDID("$FreeBSD$"); #include "opt_compat.h" #include #include #include #include #include ---snip--- to linux_aio.c (you need the patch from the wiki, the patch I did send to you and the above fix I'm going to commit to p4 now). Bye, Alexander. -- hardware stress fractures http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID = B0063FE7 http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID = 72077137