From nobody Sat Oct 16 04:15:15 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 E3ECD180FBA4 for ; Sat, 16 Oct 2021 04:15:29 +0000 (UTC) (envelope-from freebsd@walstatt-de.de) Received: from smtp6.goneo.de (smtp6.goneo.de [85.220.129.31]) (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 4HWVDK4Zbcz4YkT; Sat, 16 Oct 2021 04:15:29 +0000 (UTC) (envelope-from freebsd@walstatt-de.de) Received: from hub1.goneo.de (hub1.goneo.de [IPv6:2001:1640:5::8:52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by smtp6.goneo.de (Postfix) with ESMTPS id 7668B1097A86; Sat, 16 Oct 2021 06:15:21 +0200 (CEST) Received: from hub1.goneo.de (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by hub1.goneo.de (Postfix) with ESMTPS id A324210A75DE; Sat, 16 Oct 2021 06:15:19 +0200 (CEST) Received: from hermann (unknown [46.183.103.8]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by hub1.goneo.de (Postfix) with ESMTPSA id 3DFB410A32F5; Sat, 16 Oct 2021 06:15:19 +0200 (CEST) Date: Sat, 16 Oct 2021 06:15:15 +0200 From: FreeBSD User To: Konstantin Belousov Cc: Jan Beich , FreeBSD CURRENT Subject: Re: 13-STABLE/drm-fbsd13-kmod: Firefox crash: Bad system call Message-ID: <20211016061515.6dec74e4@hermann> In-Reply-To: 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-Transfer-Encoding: 7bit X-Rspamd-UID: 6d388e X-Rspamd-UID: 85614a X-Rspamd-Queue-Id: 4HWVDK4Zbcz4YkT X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] X-Spam: Yes X-ThisMailContainsUnwantedMimeParts: N On Fri, 15 Oct 2021 23:25:01 +0300 Konstantin Belousov wrote: > 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) > Hello, thanks for the fast response. I changed indeed one single kernel parameter: commenting out the COMPAT_FREEBSD11. I think Jan Beich pointed towards the right thing. Thanks for the help and soryy for the noise. Kind regards, O. Hartmann