From nobody Sat Jan 04 11:45:18 2025 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 4YQJY045tyz5k9Yg for ; Sat, 04 Jan 2025 11:45:40 +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 4YQJXz59Hgz4D6H for ; Sat, 4 Jan 2025 11:45:39 +0000 (UTC) (envelope-from kostikbel@gmail.com) Authentication-Results: mx1.freebsd.org; none Received: from tom.home (kib@localhost [127.0.0.1] (may be forged)) by kib.kiev.ua (8.18.1/8.18.1) with ESMTP id 504BjJB7015045; Sat, 4 Jan 2025 13:45:22 +0200 (EET) (envelope-from kostikbel@gmail.com) DKIM-Filter: OpenDKIM Filter v2.10.3 kib.kiev.ua 504BjJB7015045 Received: (from kostik@localhost) by tom.home (8.18.1/8.18.1/Submit) id 504BjIo2015044; Sat, 4 Jan 2025 13:45:18 +0200 (EET) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: tom.home: kostik set sender to kostikbel@gmail.com using -f Date: Sat, 4 Jan 2025 13:45:18 +0200 From: Konstantin Belousov To: Dennis Clarke Cc: Current FreeBSD Subject: Re: EFI RT page fault in init pid = 1 Message-ID: References: <32e6b7cd-a4a3-425b-9569-5f72eea59be7@blastwave.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: <32e6b7cd-a4a3-425b-9569-5f72eea59be7@blastwave.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=4.0.1 X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-26) on tom.home X-Rspamd-Queue-Id: 4YQJXz59Hgz4D6H X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:6939, ipnet:2001:470::/32, country:US] On Fri, Jan 03, 2025 at 06:43:55PM -0500, Dennis Clarke wrote: > > I wonder if anyone else has seen such a message at shutdown : > > > > Fatal trap 12: page fault while in kernel mode > cpuid = 0; apic id = 00 > fault virtual address = 0x0 > fault code = supervisor read data, page not present > instruction pointer = 0x20:0x7c38f87a > stack pointer = 0x28:0xfffffe035500bba8 > frame pointer = 0x28:0x5 > code segment = base 0x0, limit 0xfffff, type 0x1b > = DPL 0, pres 1, long 1, def32 0, gran 1 > processor eflags = interrupt enabled, resume, IOPL = 0 > current process = 1 (init) > rdi: fffffe035500bcd8 rsi: 0000000000000004 rdx: 0000000000000000 > rcx: 0000000000000000 r8: 0000000000000000 r9: 0000000000000000 > rax: 00000000800b0040 rbx: 0000000000000002 rbp: 0000000000000005 > r10: 00000000800b0000 r11: 0000000000000000 r12: fffff80103969000 > r13: fffff80101c57140 r14: 0000000000004008 r15: fffff801019895a8 > trap number = 12 > EFI RT page fault > acpi0: Powering system off > > I have not seen such a thing while the machine was running. > > Machine in question is 15.0-CURRENT : The reporting of the faults during the calls into EFI RT was added recently. Before that, such faults were silently ignored. Now, the report is printed and then the fault is ignored. There is no actionable items for users; a developer might be interested.