Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 17 Jun 2006 15:41:37 +0400
From:      Yuri Pankov <yuri.pankov@gmail.com>
To:        Divacky Roman <xdivac02@stud.fit.vutbr.cz>
Cc:        freebsd-emulation <freebsd-emulation@freebsd.org>
Subject:   Re: amd64 module of linuxolator
Message-ID:  <1150544497.1475.38.camel@klamath.irbis.net.ru>
In-Reply-To: <20060617110756.GA90752@stud.fit.vutbr.cz>
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> <1150540976.1475.32.camel@klamath.irbis.net.ru> <20060617110756.GA90752@stud.fit.vutbr.cz>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 2006-06-17 at 13:07 +0200, Divacky Roman wrote:
> On Sat, Jun 17, 2006 at 02:42:56PM +0400, Yuri Pankov wrote:
> > 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
> 
> www.stud.fit.vutbr.cz/~xdivac02/linux-fs.patch
> 
> pls try this patch.. I commited this to my p4 branch and I just need the
> testing if it loads/works (compilation is ok)
> 
> thnx, roman

Yes, everything seems to be fine.

# kldload linux linprocfs linsysfs
Linux ELF exec handler installed
linprocfs registered
linsysfs registered

Id Refs Address            Size     Name
 1   10 0xffffffff80100000 5c2600   kernel
 6    3 0xffffffffae2e3000 135f8    linux.ko
 7    1 0xffffffffae2f7000 318d     linprocfs.ko
 8    1 0xffffffffae2fb000 a17      linsysfs.ko

The app, which uses linux and linprocfs, loads and works.


---
Yuri



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1150544497.1475.38.camel>