Date: Mon, 9 Jan 2023 08:22:24 -0700 From: Warner Losh <imp@bsdimp.com> To: Filippo Moretti <filippomore@yahoo.com> Cc: FreeBSD Current <freebsd-current@freebsd.org> Subject: Re: Problem in userland Message-ID: <CANCZdfpWSno_qxpR5C5yg3E%2BJO1bY2dVKcP-N4XTfkKDPt0Cnw@mail.gmail.com> In-Reply-To: <1795804180.9324624.1673260916531@mail.yahoo.com> References: <1795804180.9324624.1673260916531.ref@mail.yahoo.com> <1795804180.9324624.1673260916531@mail.yahoo.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--000000000000cfdee005f1d65582 Content-Type: text/plain; charset="UTF-8" On Mon, Jan 9, 2023 at 3:42 AM Filippo Moretti <filippomore@yahoo.com> wrote: > Good morning, > I have two computers running CURRENT when launching > firefox I get the following error: > > [filippo@ROXY ~]$ firefox > Crash Annotation GraphicsCriticalError: |[0][GFX1-]: glxtest: cannot > access /sys/bus/pci (t=3.60308) [GFX1-]: glxtest: cannot access /sys/bus/pci > Crash Annotation GraphicsCriticalError: |[0][GFX1-]: glxtest: cannot > access /sys/bus/pci (t=3.60308) |[1][GFX1-]: glxtest: VA-API test failed: > failed to initialise VAAPI connection. (t=4.09897) [GFX1-]: glxtest: VA-API > test 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 root@ROXY:/usr/obj/usr/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-4ffe60e6833e: Sun Jan 8 17:40:19 CET 2023 root@STING:/usr/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 there is no > /usr/src/sys/bus/pci. > 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. mount -t linsysfs linsys /compat/linux/sys might be useful to see if that's missing? Warner --000000000000cfdee005f1d65582 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr"><div dir=3D"ltr"><br></div><br><div class=3D"gmail_quote">= <div dir=3D"ltr" class=3D"gmail_attr">On Mon, Jan 9, 2023 at 3:42 AM Filipp= o Moretti <<a href=3D"mailto:filippomore@yahoo.com">filippomore@yahoo.co= m</a>> wrote:<br></div><blockquote class=3D"gmail_quote" style=3D"margin= :0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"= ><div><div style=3D"font-family:Helvetica Neue,Helvetica,Arial,sans-serif;f= ont-size:13px"><div dir=3D"ltr">Good morning,</div><div dir=3D"ltr">=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 ru= nning CURRENT when launching firefox I get the following error:</div><div d= ir=3D"ltr"><br></div><div dir=3D"ltr"><div>[filippo@ROXY ~]$ firefox<br>Cra= sh Annotation GraphicsCriticalError: |[0][GFX1-]: glxtest: cannot access /s= ys/bus/pci (t=3D3.60308) [GFX1-]: glxtest: cannot access /sys/bus/pci<br>Cr= ash 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 connection.<br><br></div><div dir=3D"lt= r"><div>[filippo@ROXY ~]$ uname -a<br>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/usr/src/amd64.amd64/sys/ROXY amd64<br= ><br></div><div dir=3D"ltr">On this computer firefox works in spite of the = Crash Annotation.</div><div dir=3D"ltr"><br></div><div dir=3D"ltr">On the o= ther hand on this computer:</div><div dir=3D"ltr"><div>[filippo@ROXY ~]$ le= ss problem<br>FreeBSD STING 14.0-CURRENT FreeBSD 14.0-CURRENT #1 main-n2599= 75-4ffe60e6833e: Sun Jan=C2=A0 8 17:40:19 CET 2023=C2=A0=C2=A0=C2=A0=C2=A0 = root@STING:/usr/obj/usr/src/amd64.amd64/sys/STING amd64<br><br></div><div d= ir=3D"ltr">firefox doen't work at all.</div><div dir=3D"ltr">I did chec= k and there is no /sys/bus/pci and there is no /usr/src/sys/bus/pci.</div><= /div></div></div></div></div></blockquote><div><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.</d= iv><div><br></div><div>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0=C2=A0 mount -t li= nsysfs linsys /compat/linux/sys</div><div><br></div><div>might be useful to= see if that's missing?<br></div><div><br></div><div>Warner <br></div><= /div></div> --000000000000cfdee005f1d65582--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CANCZdfpWSno_qxpR5C5yg3E%2BJO1bY2dVKcP-N4XTfkKDPt0Cnw>