amd64 module of linuxolator

Yuri Pankov yuri.pankov at gmail.com
Sat Jun 17 10:43:10 UTC 2006


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

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


More information about the freebsd-emulation mailing list