From nobody Tue Aug 29 12:33:14 2023 X-Original-To: freebsd-stable@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 4RZn0G2GrRz4rlRg for ; Tue, 29 Aug 2023 12:33:34 +0000 (UTC) (envelope-from sebastian@rostwald.de) Received: from mail2.rostwald.de (mail2.rostwald.de [IPv6:2a03:4000:65:b::10]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) client-signature ECDSA (P-384)) (Client CN "postfix.mail2.nur.de.rostwald.de", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4RZn0D60Pvz4vcG for ; Tue, 29 Aug 2023 12:33:32 +0000 (UTC) (envelope-from sebastian@rostwald.de) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=rostwald.de header.s=mail2 header.b=pNZSpzIX; spf=pass (mx1.freebsd.org: domain of sebastian@rostwald.de designates 2a03:4000:65:b::10 as permitted sender) smtp.mailfrom=sebastian@rostwald.de; dmarc=pass (policy=reject) header.from=rostwald.de Received: from h-itbuero.mgmt.a.gassner.lan (unknown [45.153.179.225]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature ECDSA (P-384) server-digest SHA384) (No client certificate requested) by mail2.rostwald.de (Postfix) with ESMTPSA id 11E121E5E7 for ; Tue, 29 Aug 2023 14:33:31 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rostwald.de; s=mail2; t=1693312411; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type; bh=r5CQGPRUn7HeBNUXjw+gyb+0l6MyrrXaepd9wyDaA80=; b=pNZSpzIXam6qVCX63A1qh1rvFajiv6FtGB2KY/3Ix6XF1qW8wIq1dXvyrk9ALWbUoIatF2 Po8e6yxQA65yTxkh7xIfSZiEgrYV6HVp7F1ggO70N/WagvhvZLJEhLNf54I1WgOnnpjNv/ MD7BFR0Y001oqIMdZz+c2IFiZlDKbgJ1d2WjvNBL2syQqKyVd3N/pRHR6OAaEWOzSkF3bG hs1MsgqTtsDjQzHTtFpawXznOBZqzotte9ljJhDiVqhxDd3UqaW7vYV5xIYfQOcCpHF07g HeqARwBhiNN8LYTkSllxLJ6tofbttRhYi5lCqaonE4p4nbmQhVgXiKDoXISUlw== Date: Tue, 29 Aug 2023 14:33:14 +0200 From: Sebastian Oswald To: freebsd-stable@FreeBSD.org Subject: drm-515-kmod kernel panic on alder lake Message-ID: <20230829143314.468f0d77@h-itbuero.mgmt.a.gassner.lan> X-Mailer: Claws Mail 3.19.0 (GTK+ 2.24.33; amd64-portbld-freebsd13.2) List-Id: Production branch of FreeBSD source code List-Archive: https://lists.freebsd.org/archives/freebsd-stable List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-stable@freebsd.org X-BeenThere: freebsd-stable@freebsd.org MIME-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_/==UK_9PtUx0rGTGzX9u7.Tj"; protocol="application/pgp-signature"; micalg=pgp-sha256 X-Spamd-Bar: ------ X-Spamd-Result: default: False [-6.10 / 15.00]; SIGNED_PGP(-2.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-1.000]; DMARC_POLICY_ALLOW(-0.50)[rostwald.de,reject]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; R_SPF_ALLOW(-0.20)[+mx:c]; R_DKIM_ALLOW(-0.20)[rostwald.de:s=mail2]; MIME_TRACE(0.00)[0:+,1:+,2:~]; DKIM_TRACE(0.00)[rostwald.de:+]; MLMMJ_DEST(0.00)[freebsd-stable@FreeBSD.org]; FROM_EQ_ENVFROM(0.00)[]; ARC_NA(0.00)[]; TO_DN_NONE(0.00)[]; ASN(0.00)[asn:197540, ipnet:2a03:4000::/32, country:DE]; FROM_HAS_DN(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; RCVD_COUNT_ONE(0.00)[1]; PREVIOUSLY_DELIVERED(0.00)[freebsd-stable@freebsd.org]; TO_MATCH_ENVRCPT_ALL(0.00)[]; RCVD_TLS_ALL(0.00)[] X-Rspamd-Queue-Id: 4RZn0D60Pvz4vcG --Sig_/==UK_9PtUx0rGTGzX9u7.Tj Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Hello, On a fresh install of 14.0-ALPHA3 on a ThinkPad T16 with Alder Lake i7-1255U, the i915kms module, or more specific the alder lake firmware (i915_adlp_dmc_bin.ko), causes a kernel panic/crash when it is loaded. With debug.debugger_on_panic=3D1 the system hangs forever and needs to be shut down forcefully; with =3D0 it reboots and I get the following log entry: Aug 29 10:12:00 hal9000 kernel: Fatal trap 12: page fault while in kernel mode Aug 29 10:12:00 hal9000 kernel: cpuid =3D 1; apic id =3D 01 Aug 29 10:12:00 hal9000 kernel: fault virtual address =3D 0xffffffff84166ed0 Aug 29 10:12:00 hal9000 kernel: fault code =3D supervisor read instruction, protection violation Aug 29 10:12:00 hal9000 kernel: instruction pointer =3D 0x20:0xffffffff84166ed0 Aug 29 10:12:00 hal9000 kernel: stack pointer =3D 0x28:0xfffffe00c4954ac8 Aug 29 10:12:00 hal9000 kernel: frame pointer =3D 0x28:0xfffffe00c4954dc0 Aug 29 10:12:00 hal9000 kernel: code segment =3D base 0x0, limit 0xfffff, type 0x1b Aug 29 10:12:00 hal9000 kernel: =3D DPL 0, pres 1, long 1, def32 0, gran 1 Aug 29 10:12:00 hal9000 kernel: processor eflags =3D interrupt enabled, resume, IOPL =3D 0 Aug 29 10:12:00 hal9000 kernel: current process =3D 0 (firmware taskq) Aug 29 10:12:00 hal9000 kernel: rdi: 0000000300000001 rsi: ffffffff84166e78 rdx: 0000000000000000 Aug 29 10:12:00 hal9000 kernel: rcx: 0000000003100000 r8: 0000000000000004 r9: ffffffff814f3d80 Aug 29 10:12:00 hal9000 kernel: rax: ffffffff84166f20 rbx: fffff8029ba94780 rbp: fffffe00c4954dc0 Aug 29 10:12:00 hal9000 kernel: r10: ffffffff8415b023 r11: ff8899a091969da0 r12: ffffffff816d7c68 Aug 29 10:12:00 hal9000 kernel: r13: fffffe00c4954e10 r14: fffffe001f93be40 r15: ffffffff84166f18 Aug 29 10:12:00 hal9000 kernel: trap number =3D 12 Aug 29 10:12:00 hal9000 kernel: panic: page fault Aug 29 10:12:00 hal9000 kernel: cpuid =3D 1 Aug 29 10:12:00 hal9000 kernel: time =3D 1693296652 Aug 29 10:12:00 hal9000 kernel: KDB: stack backtrace: Aug 29 10:12:00 hal9000 kernel: #0 0xffffffff80b8fbfd at kdb_backtrace+0x5d Aug 29 10:12:00 hal9000 kernel: #1 0xffffffff80b42d02 at vpanic+0x132 Aug 29 10:12:00 hal9000 kernel: #2 0xffffffff80b42bc3 at panic+0x43 Aug 29 10:12:00 hal9000 kernel: #3 0xffffffff8100b81c at trap_fatal+0x40c Aug 29 10:12:00 hal9000 kernel: #4 0xffffffff8100b86f at trap_pfault+0x4f Aug 29 10:12:00 hal9000 kernel: #5 0xffffffff80fe1f58 at calltrap+0x8 Aug 29 10:12:00 hal9000 kernel: #6 0xffffffff80b0dde3 at linker_reference_module+0xe3 Aug 29 10:12:00 hal9000 kernel: #7 0xffffffff80b8ba4f at loadimage+0x1f Aug 29 10:12:00 hal9000 kernel: #8 0xffffffff80ba54f2 at taskqueue_run_locked+0x182 Aug 29 10:12:00 hal9000 kernel: #9 0xffffffff80ba6782 at taskqueue_thread_loop+0xc2 Aug 29 10:12:00 hal9000 kernel: #10 0xffffffff80afd46f at fork_exit+0x7f Aug 29 10:12:00 hal9000 kernel: #11 0xffffffff80fe2fbe at fork_trampoline+0xe I already saw the thread on freebsd-current about a similar problem on kabylake, where I found the hint to disabling debug.debugger_on_panic. The modules/ports (graphics/gpu-firmware-intel-kmod@alderlake and graphics/drm-515-kmod) have been built via poudriere last night from a freshly cloned 'latest' ports tree. I also tried the packages from the officiall repositories with the same result. # uname -a FreeBSD hal9000 14.0-ALPHA3 FreeBSD 14.0-ALPHA3 amd64 1400097 #0 stable/14-n265022-2af9390e54ed: Fri Aug 25 05:45:56 UTC 2023 root@releng1.nyi.freebsd.org:/usr/obj/usr/src/amd64.amd64/sys/GENERIC amd64 # freebsd-version -urk 14.0-ALPHA3 14.0-ALPHA3 14.0-ALPHA3 Thanks, Sebastian --Sig_/==UK_9PtUx0rGTGzX9u7.Tj Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEErQouifc5ybqTEVgvLx1vPG8zTyoFAmTt5YoACgkQLx1vPG8z TyrKrQf/cQERDDKmQb43lY1VEeAWoVVaMOZhrr8Zd7lkUgTjG2d3noLng0u65Dlw pcJ5dUu3d9FjxewvdntK166kbYazBT0+GraLcbSGEwf0pJdGWn+6yO6weis7WMQe VlL1aXku7HvzCzxfsbA6Av7dny/V2KrHXAK1dywqF/PduHGwpTfh2xEXvngsWp4z Y4WO3PAEFMNE6II4vCiMybuKRZEHJ8dijYqblnScwsOhI+t0TxE18Mxxucn+LnsX dqS+H08Mrjdx0TUTewQ9QqdOSIDCM1EdrGUkGGUAWXxBUverwqnBlkhmV19gIf1l q7zPcnmfAOs8tkTnxVtm1E16vXhf9A== =DRch -----END PGP SIGNATURE----- --Sig_/==UK_9PtUx0rGTGzX9u7.Tj--