From nobody Thu Sep 04 12:20:09 2025 X-Original-To: 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 4cHdpq61dJz65v0S for ; Thu, 04 Sep 2025 12:20:19 +0000 (UTC) (envelope-from david@catwhisker.org) Received: from mx.catwhisker.org (mx.catwhisker.org [107.204.234.170]) (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 4cHdpn5QXxz4PP8 for ; Thu, 04 Sep 2025 12:20:17 +0000 (UTC) (envelope-from david@catwhisker.org) Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of david@catwhisker.org designates 107.204.234.170 as permitted sender) smtp.mailfrom=david@catwhisker.org Received: from albert.catwhisker.org (localhost [127.0.0.1]) by albert.catwhisker.org (8.18.1/8.18.1) with ESMTP id 584CK9GJ074890 for ; Thu, 4 Sep 2025 12:20:09 GMT (envelope-from david@albert.catwhisker.org) Received: (from david@localhost) by albert.catwhisker.org (8.18.1/8.18.1/Submit) id 584CK97k074889 for current@freebsd.org; Thu, 4 Sep 2025 05:20:09 -0700 (PDT) (envelope-from david) Date: Thu, 4 Sep 2025 05:20:09 -0700 From: David Wolfskill To: current@freebsd.org Subject: Panic after kldload i915kms at main-n280058-e7a04a110724 Message-ID: Mail-Followup-To: David Wolfskill , current@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: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="DQXit6Si6vsDQLZb" Content-Disposition: inline X-Spamd-Bar: ----- X-Spamd-Result: default: False [-5.29 / 15.00]; SIGNED_PGP(-2.00)[]; NEURAL_HAM_SHORT(-1.00)[-0.999]; NEURAL_HAM_MEDIUM(-1.00)[-0.998]; NEURAL_HAM_LONG(-0.89)[-0.890]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; R_SPF_ALLOW(-0.20)[+ip4:107.204.234.170]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; FREEFALL_USER(0.00)[david]; ASN(0.00)[asn:7018, ipnet:107.192.0.0/12, country:US]; MISSING_XM_UA(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; DMARC_NA(0.00)[catwhisker.org]; MLMMJ_DEST(0.00)[current@freebsd.org]; MID_RHS_MATCH_FROMTLD(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; TO_DN_NONE(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[current@freebsd.org]; TO_MATCH_ENVRCPT_ALL(0.00)[]; RCVD_TLS_LAST(0.00)[]; ARC_NA(0.00)[] X-Rspamd-Queue-Id: 4cHdpn5QXxz4PP8 --DQXit6Si6vsDQLZb Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Yesterday's (source-based) update was to main-n280031-11f1dd193af5, and I saw no issues. Today's was to main-n280058-e7a04a110724. My (headless) build machine (which does not attempt to either build or load the module), and uses the GENERIC kernel, had no issues. I note that the machines that load the modules also build them whenever the kernel is built. All machines mentioned here are amd64. The ports tree is at main-n717402-cd0318d52939. (Yesterday, it was at main-n717309-326381de144d.) Installed ports are updated daily. On one of the affected laptops, following the panic, I booted to single-user mode & ran: swapon -a && fsck -p && mount -a That done, I (manually) issued kldload i915kms and (hand-transcribed -- phone is updating): root@:/ # kldload i915kms Fatal tyrap 12: page fault while in kernel mode cpuid =3D 1; apic id =3D 01 fault bvirtual address =3D 0x68 fault code =3D supervisor read data, page not present instruction pointer =3D 0x20:0xffffffff80a92491 stack pointer =3D 0x28:0xfffffe108ecea5e0 frame pointer =3D 0x28:0xfffffe108ecea630 code segment =3D base 0x0, limit 0xfffff, type 0x1b =3D DPL 0, pres 1, long 1, def32 0, gran 1 processor eflags =3D interrupt enabled, resume, IOPL =3D 0 current process =3D 37 (kldload) =2E..[sorry; I'm getting a bit impatient....] KDB: stack backtrace: db_trace_self_wrapper() at ... vanic() at ... panic() at ... trap_pfault() at ... calltrap() at ... --- trap 0xc, rip =3D 0xffffffff80a92491, rsp =3D 0xfffffe108ecea5e0, rpb = =3D 0xfffffe108ecea630 --- pfs_create_dir() at ... debugfs_create_dir() at ... drm_core_init() at ... linker_load_module() at ... linker_load_dependencies() at ... link_elf_laod_file() at ... linker_load_module() at ... kern_kldload() at ... sys_kldload() at ... fast_syscall_common() at ... --- syscall (304, FreeBSD ELF64, kldload), rip =3D 0x1fbdd4a14e2a, rsp =3D = 0x1fbdd22cde08, rpb =3D 0x1fbdd22ce380 --- KDB: enter: panic [ thread pid 37 tid 100152 ] Stopped at 0xffffffff80bce523 =3D kdb_enter+0x33: movq $0,0x1230ee2(%rip) db>=20 I will get a photo up on my Web server once the phone update is done. Peace, david --=20 David H. Wolfskill david@catwhisker.org Of course firing the statistician will force the statistics to conform! See https://www.catwhisker.org/~david/publickey.gpg for my public key. --DQXit6Si6vsDQLZb Content-Type: application/pgp-signature; name=signature.asc -----BEGIN PGP SIGNATURE----- iNUEARYKAH0WIQSTLzOSbomIK53fjFliipiWhXYx5QUCaLmD+V8UgAAAAAAuAChp c3N1ZXItZnByQG5vdGF0aW9ucy5vcGVucGdwLmZpZnRoaG9yc2VtYW4ubmV0OTMy RjMzOTI2RTg5ODgyQjlEREY4QzU5NjI4QTk4OTY4NTc2MzFFNQAKCRBiipiWhXYx 5YeWAQCcD0Ob8NTRe7PgV7jfwmauF4NLxn0rd/4y+5uNu21BPQEAjNB9A+EPUuN8 u/OQp02evZAAThpBqn9R4DjS3a51sg0= =lZfO -----END PGP SIGNATURE----- --DQXit6Si6vsDQLZb--