From owner-freebsd-emulation@FreeBSD.ORG Sat Jun 17 10:43:10 2006 Return-Path: X-Original-To: freebsd-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 CE37816A474 for ; Sat, 17 Jun 2006 10:43:10 +0000 (UTC) (envelope-from yuri.pankov@gmail.com) Received: from klamath.irbis.net.ru (klamath.irbis.net.ru [85.118.141.6]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4D94F43D45 for ; Sat, 17 Jun 2006 10:43:08 +0000 (GMT) (envelope-from yuri.pankov@gmail.com) Received: from klamath.irbis.net.ru (yuri@localhost.irbis.net.ru [127.0.0.1]) by klamath.irbis.net.ru (8.13.6/8.13.6) with ESMTP id k5HAgxWC029770; Sat, 17 Jun 2006 14:43:00 +0400 (MSD) (envelope-from yuri.pankov@gmail.com) Received: (from yuri@localhost) by klamath.irbis.net.ru (8.13.6/8.13.6/Submit) id k5HAgvcj029759; Sat, 17 Jun 2006 14:42:57 +0400 (MSD) (envelope-from yuri.pankov@gmail.com) X-Authentication-Warning: klamath.irbis.net.ru: yuri set sender to yuri.pankov@gmail.com using -f From: Yuri Pankov To: Alexander Leidinger In-Reply-To: <20060617115606.35e71dfa@Magellan.Leidinger.net> References: <1150272035.1475.3.camel@klamath.irbis.net.ru> <20060615094739.hqtxz7jadcw0cg0o@netchild.homeip.net> <1150365953.1475.12.camel@klamath.irbis.net.ru> <61903339@bs2.sp34.ru> <20060615225737.5ce67d1b@Magellan.Leidinger.net> <1150406814.1475.22.camel@klamath.irbis.net.ru> <20060617115606.35e71dfa@Magellan.Leidinger.net> Content-Type: text/plain Content-Transfer-Encoding: 7bit Date: Sat, 17 Jun 2006 14:42:56 +0400 Message-Id: <1150540976.1475.32.camel@klamath.irbis.net.ru> Mime-Version: 1.0 X-Mailer: Evolution 2.7.3 FreeBSD GNOME Team Port Cc: freebsd-emulation Subject: Re: amd64 module of linuxolator 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: Sat, 17 Jun 2006 10:43:10 -0000 On Sat, 2006-06-17 at 11:56 +0200, Alexander Leidinger wrote: > Quoting Yuri Pankov (Fri, 16 Jun 2006 01:26:54 +0400): > > > On Thu, 2006-06-15 at 22:57 +0200, Alexander Leidinger wrote: > > > Quoting Boris Samorodov (Fri, 16 Jun 2006 00:13:08 +0400): > > > > > > > On Thu, 15 Jun 2006 14:05:53 +0400 Yuri Pankov wrote: > > > > > > > > > Actually, i wasn't able to test it, cause the only port i use - > > > > > linux-ePSXe - doesn't run without linprocfs and it's not available as > > > > > module now. > > > > > > > > Linprocfs is available to auto/manual mounting after installing > > > > default linux base port. Linux_base-fc4 is preferred now as it may > > > > become a default linux base port soon. Pay attention on the messages > > > > after installing the port. > > > > > > You have a linprocfs _module_ on amd64? > > > Nope, I don't have linprocfs module after building the kernel with the > > The questions was directed to Boris. Sort of a "here's a hint how to > see what we are talking about". > Sorry. > > patch, provided by Roman, and I didn't include it in kernel config. > > Modify /usr/src/sys/modules to contain > _linprocfs= linprocfs > _linsysfs= linsysfs > in the > .if ${MACHINE_ARCH} == "amd64" > section and build the kernel again. Please report back if it works. > > Bye, > Alexander. > The build fails with: /usr/src/sys/compat/linprocfs/linprocfs.c:91:36: machine/../linux/linux.h: No such file or directory Same for linsysfs. After modifying /usr/src/sys/compat/linprocfs/linprocfs.c and /usr/src/sys/compat/linsysfs/linsysfs.c to include /usr/src/sys/amd64/linux32/linux.h (and not /usr/src/sys/amd64/linux/linux.h), kernel and modules build fine. linux-ePSXe works now. Thanks for the tip! --- Yuri