Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 Jun 2022 18:25:15 -0500
From:      Jake Freeland <jake@technologyfriends.net>
To:        Mark Johnston <markj@freebsd.org>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: Absent Linux Libraries
Message-ID:  <CAOgZAGbULLZBcxXZzSP%2B1=AjvjZzyuda=krBZ0sKd0FzCxKzaQ@mail.gmail.com>
In-Reply-To: <YqeNlbgq%2BIgTE9tm@nuc>
References:  <CAOgZAGYVf1r-g6mA4Y9uRWzmC1peCDexx=HEH2cAAr7dOcMoKA@mail.gmail.com> <YqeNlbgq%2BIgTE9tm@nuc>

next in thread | previous in thread | raw e-mail | index | archive | help
--0000000000005b009405e15c9a9d
Content-Type: text/plain; charset="UTF-8"

Hi Mark,

It looks like igt-gpu-tools has changed quite a bit since your
modifications were made.
I found the remnants of your work on Github before starting my port. I am
going to try
to work around those libraries for now, but I'll probably end up porting
procps and using
linprocfs as you suggested.

I appreciate the pointers and am thankful to have your old port for
direction.

Jake Freeland

On Mon, Jun 13, 2022 at 2:18 PM Mark Johnston <markj@freebsd.org> wrote:

> On Mon, Jun 13, 2022 at 12:51:48PM -0500, Jake Freeland wrote:
> > Hi there,
> >
> > I'm in the process of porting Intel's DRM driver testing suite,
> > igt-gpu-tools,
> > to FreeBSD and I'm not finding some Linux-specific runtime libraries in
> the
> > ports tree.
> >
> > The two that I'm having difficulty with are
> > * libkmod
> > * libprocps
> >
> > I've tried querying the pkg database using the pkg-provides pkg plugin:
> > `pkg provides libkmod` returns nothing
> > `pkg provides libprocps` returns nothing
> > I have tried different naming variations and none yield results.
> >
> > I don't want to rely on the Linux compatibility layer for these
> libraries.
> > Am I out of luck or am I missing something in plain sight?
>
> As far as I know, those libraries are Linux-specific.  A long time ago I
> did a very rough port of that test suite while trying to track down some
> bugs in i915kms, and I remember being able to simply stub out references
> to those two libraries.  That might be harder to do today, or not.
>
> It might be possible to port those libraries to FreeBSD and make use of
> linprocfs since they both use (Linux's) /proc extensively.  But I'm not
> sure how much work this would be.  I don't think the Linux compatibility
> layer would help here unless you're planning on running everything under
> the Linux compatibility layer.
>

--0000000000005b009405e15c9a9d
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">Hi Mark,<div><br></div><div>It looks like igt-gpu-tools ha=
s changed quite a bit since your modifications were made.</div><div>I found=
 the remnants of your work on Github before starting=C2=A0my port. I am goi=
ng to try</div><div>to work around=C2=A0those libraries for now, but I&#39;=
ll probably end up porting procps and using</div><div>linprocfs as you sugg=
ested.</div><div><br></div><div>I appreciate the pointers and am thankful t=
o have your old port for direction.</div><div><br></div><div>Jake Freeland<=
/div></div><br><div class=3D"gmail_quote"><div dir=3D"ltr" class=3D"gmail_a=
ttr">On Mon, Jun 13, 2022 at 2:18 PM Mark Johnston &lt;<a href=3D"mailto:ma=
rkj@freebsd.org">markj@freebsd.org</a>&gt; wrote:<br></div><blockquote clas=
s=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid r=
gb(204,204,204);padding-left:1ex">On Mon, Jun 13, 2022 at 12:51:48PM -0500,=
 Jake Freeland wrote:<br>
&gt; Hi there,<br>
&gt; <br>
&gt; I&#39;m in the process of porting Intel&#39;s DRM driver testing suite=
,<br>
&gt; igt-gpu-tools,<br>
&gt; to FreeBSD and I&#39;m not finding some Linux-specific runtime librari=
es in the<br>
&gt; ports tree.<br>
&gt; <br>
&gt; The two that I&#39;m having difficulty with are<br>
&gt; * libkmod<br>
&gt; * libprocps<br>
&gt; <br>
&gt; I&#39;ve tried querying the pkg database using the pkg-provides pkg pl=
ugin:<br>
&gt; `pkg provides libkmod` returns nothing<br>
&gt; `pkg provides libprocps` returns nothing<br>
&gt; I have tried different naming variations and none yield results.<br>
&gt; <br>
&gt; I don&#39;t want to rely on the Linux compatibility layer for these li=
braries.<br>
&gt; Am I out of luck or am I missing something in plain sight?<br>
<br>
As far as I know, those libraries are Linux-specific.=C2=A0 A long time ago=
 I<br>
did a very rough port of that test suite while trying to track down some<br=
>
bugs in i915kms, and I remember being able to simply stub out references<br=
>
to those two libraries.=C2=A0 That might be harder to do today, or not.<br>
<br>
It might be possible to port those libraries to FreeBSD and make use of<br>
linprocfs since they both use (Linux&#39;s) /proc extensively.=C2=A0 But I&=
#39;m not<br>
sure how much work this would be.=C2=A0 I don&#39;t think the Linux compati=
bility<br>
layer would help here unless you&#39;re planning on running everything unde=
r<br>
the Linux compatibility layer.<br>
</blockquote></div>

--0000000000005b009405e15c9a9d--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAOgZAGbULLZBcxXZzSP%2B1=AjvjZzyuda=krBZ0sKd0FzCxKzaQ>