From nobody Fri Oct 15 20:25:01 2021 X-Original-To: freebsd-current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id BD1DF1803548 for ; Fri, 15 Oct 2021 20:25:15 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from kib.kiev.ua (kib.kiev.ua [IPv6:2001:470:d5e7:1::1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4HWHnl30gLz4X8m; Fri, 15 Oct 2021 20:25:15 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from tom.home (kib@localhost [127.0.0.1]) by kib.kiev.ua (8.16.1/8.16.1) with ESMTPS id 19FKP1HD097826 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO); Fri, 15 Oct 2021 23:25:04 +0300 (EEST) (envelope-from kostikbel@gmail.com) DKIM-Filter: OpenDKIM Filter v2.10.3 kib.kiev.ua 19FKP1HD097826 Received: (from kostik@localhost) by tom.home (8.16.1/8.16.1/Submit) id 19FKP1mu097825; Fri, 15 Oct 2021 23:25:01 +0300 (EEST) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: tom.home: kostik set sender to kostikbel@gmail.com using -f Date: Fri, 15 Oct 2021 23:25:01 +0300 From: Konstantin Belousov To: Jan Beich Cc: FreeBSD User , FreeBSD CURRENT Subject: Re: 13-STABLE/drm-fbsd13-kmod: Firefox crash: Bad system call Message-ID: References: <20211015095233.19c841d0@hermann.fritz.box> <35p2-jazc-wny@FreeBSD.org> List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <35p2-jazc-wny@FreeBSD.org> X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED,BAYES_00, DKIM_ADSP_CUSTOM_MED,FORGED_GMAIL_RCVD,FREEMAIL_FROM, NML_ADSP_CUSTOM_MED autolearn=no autolearn_force=no version=3.4.5 X-Spam-Checker-Version: SpamAssassin 3.4.5 (2021-03-20) on tom.home X-Rspamd-Queue-Id: 4HWHnl30gLz4X8m X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] X-ThisMailContainsUnwantedMimeParts: N On Fri, Oct 15, 2021 at 10:20:55PM +0200, Jan Beich wrote: > FreeBSD User writes: > > > After updating 13-STABLE to 13.0-STABLE #3 stable/13-n247671-70db230dcbd: Thu Oct 14 > > 20:48:53 CEST 2021 amd64 on a Lenovo E540 notebook with Intel iGPU and also updating port > > graphics/drm-fbsd13-kmod to drm-fbsd13-kmod-5.4.144.g20211013, graphics/libdrm to > > libdrm-2.4.107_1,1, Firefox (firefox-93.0_1,2) crashes now with the following message: > > Which revision "13-STABLE" was before the update? If you didn't change > any kernel options (and bump into a pilot error) bisecting may help. > > > > > [~] firefox > > Crash Annotation GraphicsCriticalError: |[C0][GFX1-]: Receive IPC close with > > reason=AbnormalShutdown (t=0.216076) Exiting due to channel error. Bad system > > callgraphics/libdrm. > > Run under truss(1) or ktrace(1) (enable tracing descendants) to get the > syscall name or number. For example, Firefox requires CAPABILITIES for > cap_rights_{limit,init} and COMPAT_FREEBSD11 [1] for pre-ino64 via Rust. > > [1] https://github.com/rust-lang/libc/pull/2406 If you set kern.lognosys=3, it should be quite loud advertized which syscall was missed, ie. console + control terminal. terminal)