Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 18 Jun 2006 18:24:18 +0400
From:      Boris Samorodov <bsam@ipt.ru>
To:        Divacky Roman <xdivac02@stud.fit.vutbr.cz>
Cc:        Yuri Pankov <yuri.pankov@gmail.com>, Alexander Leidinger <Alexander@Leidinger.net>, freebsd-emulation <freebsd-emulation@freebsd.org>
Subject:   Re: amd64 module of linuxolator
Message-ID:  <69065245@srv.sem.ipt.ru>
In-Reply-To: <20060617110756.GA90752@stud.fit.vutbr.cz> (Divacky Roman's message of "Sat, 17 Jun 2006 13:07:56 %2B0200")
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, 17 Jun 2006 13:07:56 +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:

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

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

The patch was applied against -current cvs cleanly except the first
hunk. Thanks to Alexander (quoted) I did it by hand.

After building/installing the kernel all went well. The only change I
did to GENERIC was deletting of the option LINPROCFS. New kernel was
loaded and linprocfs was able to be loaded/unloaded.

Seems that a patch created against -current cvs tree may be safely
committed. Thanks!


WBR
-- 
Boris B. Samorodov, Research Engineer
InPharmTech Co,     http://www.ipt.ru
Telephone & Internet Service Provider



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