Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 9 Jan 2023 15:56:44 +0000 (UTC)
From:      Filippo Moretti <filippomore@yahoo.com>
To:        Warner Losh <imp@bsdimp.com>
Cc:        FreeBSD Current <freebsd-current@freebsd.org>
Subject:   Re: Problem in userland
Message-ID:  <519013808.9171830.1673279804159@mail.yahoo.com>
In-Reply-To: <CANCZdfpWSno_qxpR5C5yg3E%2BJO1bY2dVKcP-N4XTfkKDPt0Cnw@mail.gmail.com>
References:  <1795804180.9324624.1673260916531.ref@mail.yahoo.com> <1795804180.9324624.1673260916531@mail.yahoo.com> <CANCZdfpWSno_qxpR5C5yg3E%2BJO1bY2dVKcP-N4XTfkKDPt0Cnw@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
------=_Part_9171829_1950499645.1673279804157
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

=20
Thank you for your prompt answer.I tried your suggestion but did not work:I=
 get the same error.Please note however that I have not linux emulation ena=
bled as I run no linux program:Firefox was installed from ports and it is t=
he native freebsd one.I will switch to another browser if needed.Filippo
    On Monday, January 9, 2023 at 04:22:49=E2=80=AFPM GMT+1, Warner Losh <i=
mp@bsdimp.com> wrote: =20
=20
=20

On Mon, Jan 9, 2023 at 3:42 AM Filippo Moretti <filippomore@yahoo.com> wrot=
e:

Good morning,=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 I =
have two computers running CURRENT when launching firefox I get the followi=
ng error:
[filippo@ROXY ~]$ firefox
Crash Annotation GraphicsCriticalError: |[0][GFX1-]: glxtest: cannot access=
 /sys/bus/pci (t=3D3.60308) [GFX1-]: glxtest: cannot access /sys/bus/pci
Crash Annotation GraphicsCriticalError: |[0][GFX1-]: glxtest: cannot access=
 /sys/bus/pci (t=3D3.60308) |[1][GFX1-]: glxtest: VA-API test failed: faile=
d to initialise VAAPI connection. (t=3D4.09897) [GFX1-]: glxtest: VA-API te=
st failed: failed to initialise VAAPI connection.

[filippo@ROXY ~]$ uname -a
FreeBSD ROXY 14.0-CURRENT FreeBSD 14.0-CURRENT #0 main-n259682-67e628b7a643=
: Wed Dec 14 22:56:22 CET 2022=C2=A0=C2=A0=C2=A0=C2=A0 root@ROXY:/usr/obj/u=
sr/src/amd64.amd64/sys/ROXY amd64

On this computer firefox works in spite of the Crash Annotation.
On the other hand on this computer:[filippo@ROXY ~]$ less problem
FreeBSD STING 14.0-CURRENT FreeBSD 14.0-CURRENT #1 main-n259975-4ffe60e6833=
e: Sun Jan=C2=A0 8 17:40:19 CET 2023=C2=A0=C2=A0=C2=A0=C2=A0 root@STING:/us=
r/obj/usr/src/amd64.amd64/sys/STING amd64

firefox doen't work at all.I did check and there is no /sys/bus/pci and the=
re is no /usr/src/sys/bus/pci.

Not sure why firefox is accessing a linux-specific file. FreeBSD does emula=
te some of it, but only with linsysfs mounted. Generally only linux binarie=
s need it.
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0=C2=A0 mount -t linsysfs linsys /compat/l=
inux/sys
might be useful to see if that's missing?

Warner=20
 =20
------=_Part_9171829_1950499645.1673279804157
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<html><head></head><body><div class=3D"ydp54373f33yahoo-style-wrap" style=
=3D"font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:13px=
;"><div></div>
        <div><br></div><div dir=3D"ltr" data-setdir=3D"false">Thank you for=
 your prompt answer.I tried your suggestion but did not work:I get the same=
 error.Please note however that I have not linux emulation enabled as I run=
 no linux program:Firefox was installed from ports and it is the native fre=
ebsd one.</div><div dir=3D"ltr" data-setdir=3D"false">I will switch to anot=
her browser if needed.</div><div dir=3D"ltr" data-setdir=3D"false">Filippo<=
br></div>
       =20
        </div><div id=3D"yahoo_quoted_4117016440" class=3D"yahoo_quoted">
            <div style=3D"font-family:'Helvetica Neue', Helvetica, Arial, s=
ans-serif;font-size:13px;color:#26282a;">
               =20
                <div>
                    On Monday, January 9, 2023 at 04:22:49=E2=80=AFPM GMT+1=
, Warner Losh &lt;imp@bsdimp.com&gt; wrote:
                </div>
                <div><br></div>
                <div><br></div>
                <div><div id=3D"yiv8983534015"><div dir=3D"ltr"><div dir=3D=
"ltr"><br></div><br><div class=3D"yiv8983534015gmail_quote"><div dir=3D"ltr=
" class=3D"yiv8983534015gmail_attr">On Mon, Jan 9, 2023 at 3:42 AM Filippo =
Moretti &lt;<a rel=3D"nofollow noopener noreferrer" ymailto=3D"mailto:filip=
pomore@yahoo.com" target=3D"_blank" href=3D"mailto:filippomore@yahoo.com">f=
ilippomore@yahoo.com</a>&gt; wrote:<br></div><blockquote style=3D"margin:0p=
x 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex;" c=
lass=3D"yiv8983534015gmail_quote"><div><div style=3D"font-family:Helvetica =
Neue, Helvetica, Arial, sans-serif;font-size:13px;"><div dir=3D"ltr">Good m=
orning,</div><div dir=3D"ltr">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp; I have two computers running CURRENT when launching firefox I =
get the following error:</div><div dir=3D"ltr"><br></div><div dir=3D"ltr"><=
div>[filippo@ROXY ~]$ firefox<br>Crash Annotation GraphicsCriticalError: |[=
0][GFX1-]: glxtest: cannot access /sys/bus/pci (t=3D3.60308) [GFX1-]: glxte=
st: cannot access /sys/bus/pci<br>Crash Annotation GraphicsCriticalError: |=
[0][GFX1-]: glxtest: cannot access /sys/bus/pci (t=3D3.60308) |[1][GFX1-]: =
glxtest: VA-API test failed: failed to initialise VAAPI connection. (t=3D4.=
09897) [GFX1-]: glxtest: VA-API test failed: failed to initialise VAAPI con=
nection.<br><br></div><div dir=3D"ltr"><div>[filippo@ROXY ~]$ uname -a<br>F=
reeBSD ROXY 14.0-CURRENT FreeBSD 14.0-CURRENT #0 main-n259682-67e628b7a643:=
 Wed Dec 14 22:56:22 CET 2022&nbsp;&nbsp;&nbsp;&nbsp; root@ROXY:/usr/obj/us=
r/src/amd64.amd64/sys/ROXY amd64<br><br></div><div dir=3D"ltr">On this comp=
uter firefox works in spite of the Crash Annotation.</div><div dir=3D"ltr">=
<br></div><div dir=3D"ltr">On the other hand on this computer:</div><div di=
r=3D"ltr"><div>[filippo@ROXY ~]$ less problem<br>FreeBSD STING 14.0-CURRENT=
 FreeBSD 14.0-CURRENT #1 main-n259975-4ffe60e6833e: Sun Jan&nbsp; 8 17:40:1=
9 CET 2023&nbsp;&nbsp;&nbsp;&nbsp; root@STING:/usr/obj/usr/src/amd64.amd64/=
sys/STING amd64<br><br></div><div dir=3D"ltr">firefox doen't work at all.</=
div><div dir=3D"ltr">I did check and there is no /sys/bus/pci and there is =
no /usr/src/sys/bus/pci.</div></div></div></div></div></div></blockquote><d=
iv><br></div><div>Not sure why firefox is accessing a linux-specific file. =
FreeBSD does emulate some of it, but only with linsysfs mounted. Generally =
only linux binaries need it.</div><div><br></div><div>&nbsp; &nbsp; &nbsp; =
&nbsp; &nbsp;&nbsp; mount -t linsysfs linsys /compat/linux/sys</div><div><b=
r></div><div>might be useful to see if that's missing?<br></div><div><br></=
div><div>Warner <br></div></div></div>
</div></div>
            </div>
        </div></body></html>
------=_Part_9171829_1950499645.1673279804157--



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