amd64 module of linuxolator

Yuri Pankov yuri.pankov at gmail.com
Sat Jun 17 11:41:51 UTC 2006


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 at 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 at 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


More information about the freebsd-emulation mailing list