Date: Sat, 17 Jun 2006 14:42:56 +0400 From: Yuri Pankov <yuri.pankov@gmail.com> To: Alexander Leidinger <Alexander@Leidinger.net> Cc: freebsd-emulation <freebsd-emulation@freebsd.org> Subject: Re: amd64 module of linuxolator Message-ID: <1150540976.1475.32.camel@klamath.irbis.net.ru> 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>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 2006-06-17 at 11:56 +0200, Alexander Leidinger wrote: > Quoting Yuri Pankov <yuri.pankov@gmail.com> (Fri, 16 Jun 2006 01:26:54 +0400): > > > On Thu, 2006-06-15 at 22:57 +0200, Alexander Leidinger wrote: > > > Quoting Boris Samorodov <bsam@ipt.ru> (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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1150540976.1475.32.camel>