Skip site navigation (1)Skip section navigation (2)
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>

index | next in thread | previous in thread | raw e-mail

[-- Attachment #1 --]
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

[-- Attachment #2 --]
<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Jan 9, 2023 at 3:42 AM Filippo Moretti &lt;<a href="mailto:filippomore@yahoo.com">filippomore@yahoo.com</a>&gt; wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div><div style="font-family:Helvetica Neue,Helvetica,Arial,sans-serif;font-size:13px"><div dir="ltr">Good morning,</div><div dir="ltr">                       I have two computers running CURRENT when launching firefox I get the following error:</div><div dir="ltr"><br></div><div dir="ltr"><div>[filippo@ROXY ~]$ firefox<br>Crash Annotation GraphicsCriticalError: |[0][GFX1-]: glxtest: cannot access /sys/bus/pci (t=3.60308) [GFX1-]: glxtest: cannot access /sys/bus/pci<br>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.<br><br></div><div dir="ltr"><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     root@ROXY:/usr/obj/usr/src/amd64.amd64/sys/ROXY amd64<br><br></div><div dir="ltr">On this computer firefox works in spite of the Crash Annotation.</div><div dir="ltr"><br></div><div dir="ltr">On the other hand on this computer:</div><div dir="ltr"><div>[filippo@ROXY ~]$ less problem<br>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<br><br></div><div dir="ltr">firefox doen&#39;t work at all.</div><div dir="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><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.</div><div><br></div><div>           mount -t linsysfs linsys /compat/linux/sys</div><div><br></div><div>might be useful to see if that&#39;s missing?<br></div><div><br></div><div>Warner <br></div></div></div>
home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CANCZdfpWSno_qxpR5C5yg3E%2BJO1bY2dVKcP-N4XTfkKDPt0Cnw>