🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: muc.lists.freebsd.current
3 messages
3 total messages Started by David Wolfskill Sat, 17 Oct 2026 16:42
Panic (page fault) on boot after update to main-n290177-6866177454ac
#45
Author: David Wolfskill
Date: Sat, 17 Oct 2026 16:42
122 lines
7747 bytes
--8Pl8AMauCf9ctfN0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Most of my machines updated to main-n290177-6866177454ac without
incident, including most of the laptops.

One, however, built OK, but on reboot, started coming up, but
apparently did not succeed in switching video modes -- while normally,
I expect the screen to blank, then resume the display of various
kernel messages, it went blank ... and didn't bring up the (iwlwifi(4))
link.  (This is the only one of the machines that uses iwlwifi(4).)

I was able to boot from the previous kernel (kernel.old), but that was
main-n290014-7a48c3fd3e6e (from 10 Oct).

Eventually, I used the output of "kldstat" from that 10 Oct kernel
(copied to another system), rebooted, escaped to the loader, then
manually loaded each of the modules (save for if_iwx.ko -- I didn't find
that one in either /boot/kernel or /boot/modules), then told it to
continue with the (interrupted) boot.

It proceeded for a bit, then stopped rather abruptly; a screenshot is
available at
https://www.catwhisker.org/~david/FreeBSD/head/n290177/crash.jpg

Here's a hand-transcription of (what looks to me to be) a salient part:

=2E..
smbus0: <System Management Bus? on ichsmb0
nda0 at nvme0 bus 0 scbus0 target 0 lun 1
nda0: <SKHynix_HFS001TDE9X081N 41720 AJA5N493212305A0V
nda0: Serial Number AJA5N493212305A0V
nda0: nvme version 1.3
nda0: 976762MB (2000409264 512 byte sectors)
iwlwifi0: <iwlwifi> mem 0x603d1c4000-0x603d1c7fff at device 20.3 on pci0
Firmware Warning (ACPI): Possibly buggy BIOS with ACPI_TYPE_INTEGER for fun=
ction enumeration
 (20260408/ACPI-3222)
Firmware Warning (ACPI): Possibly buggy BIOS with ACPI_TYPE_INTEGER for fun=
ction enumeration
 (20260408/ACPI-3222)
iwlwifi0: Detected crf-id 0x3617, cnv-id 0x20000302 wfpm id 0x80000000
iwlwifi0: PCI dev a0f0/0070, rev=3D0x351, rfid=3D0x10a100
iwlwifi0: Detected Intel(R) WiFi 6 AX201 160MHz

Fatal trap 12: page fault while in kernel mode
cpuid =3D 4; apic id =3D -04
fault virtual address	=3D 0x4
fault code		=3D supervisor read data, page not present
instruction pointer	=3D 0x20: 0xffffffff80d45645
stack pointer		=3D 0x28: 0xfffff300fd16e950
frame pointer		=3D 0x28: 0xfffff300fd16ea20
processor eflags	=3D interrupt enabled, resume, IOPL =3D 0
current thread		=3D 0/100076 (kernel/firmware taskq)
rdi: fffff80001877c01 rsi: fffff80001877c00 rdx: fffffe00fd16eda8
rcx: 000000000000002c  r8: fffff80001878018  r9: fffff80001878000
rax: 0000000000000000 rbx: fffffe00fd16ed28 rbp: fffffe00fd16ea20
r10: 0000000000000000 r11: 0000000000000001 r12: fffff800026bb000
r13: 0000000000000000 r14: fffffe00fd16ea3c r15: fffff800026bb000
panic: page fault
cpuid =3D 4
time =3D 1
KDB: stack backtrace:
db_trace_self_wrapper() at db_trace_self_wrapper+ 0x36/frame 0xfffffe00fd16=
e680
vpanic() at vpanic+0x149/frame 0xfffffe00fd16e7b0
panic() at panic+0x43/frame 0xfffffe00fd16e810
trap_pfault() at trap_pfault+0x449/frame 0xfffffe00fd16e880
calltrap() at calltrap+0x8/frame 0xfffffe00fd16e880
--- trap 0xc, rip =3D 0xffffffff80d45645, rsp =3D 0xfffffe00fd16e950, rpb =
=3D 0xfffffe00fd16ea20 ---
cache_fplookup() at cache_fplookup+0x365/frame 0xfffffe00fd16ea20
namei() at namei+0x1a4/frame 0xfffffe00fd16ea80
vn_open_cred() at vn_open_cred+0x55a/frame 0xfffffe00fd16ec10
loadimage() at loadimage+0x232/frame 0xfffffe00fd16ee30
taskqueue_run_locked() at taskqueue_run_locked+0x1bb/frame 0xfffffe00fd16ee=
c0
taskqueue_thread_loop() at taskqueue_thread_loop+0xd3/frame 0xfffffe00fd16e=
ef0
fork_exit() at fork_exit+0x82/frame 0xfffffe00fd16ef30
fork_trampoline() at fork_trampoline+0xe/frame 0xfffffe00fd16ef30
--- trap 0x1ed031a0, rip =3D 0xd97d57428c36bc6a, rsp =3D 0x6a4da4b08b062869=
, rpb =3D 0xe1762a4783d7998c ---
KDB: enter: panic
[ thread pid 0 tid 100076 ]
Stopped at	kdb_enter+0x33: movq	$0,0x115cde2(%rip)
db>=20


The machine is not one I use for critical work, so I can leave it
in a state for debugging for a few hours.  I'm happy to poke at it,
given clues as to the nature of the "poking."

Peace,
david
--=20
David H. Wolfskill                              david@catwhisker.org

See https://www.catwhisker.org/~david/publickey.gpg for my public key.

--8Pl8AMauCf9ctfN0
Content-Type: application/pgp-signature; name=signature.asc

-----BEGIN PGP SIGNATURE-----

iPEEARYKAJkWIQRCec5RsK7Enudh3yGB9MJ9AwUELQUCatOleRsUgAAAAAAEAA5t
YW51MiwyLjUrMS4xMiwyLDNfFIAAAAAALgAoaXNzdWVyLWZwckBub3RhdGlvbnMu
b3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDQyNzlDRTUxQjBBRUM0OUVFNzYxREYy
MTgxRjRDMjdEMDMwNTA0MkQACgkQgfTCfQMFBC3GcAD/RzzrAZYXmTdrD+Oje7r6
cDqqb1oyO2/Y69Zn4b2PRHQBALxvpvank6Ism7bV5t3ySQCLKTFqrPNc59cxP59d
cMoL
=/aTj
-----END PGP SIGNATURE-----

--8Pl8AMauCf9ctfN0--


--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-admin@muc.de
Re: Panic (page fault) on boot after update to main-n290177-6866177454ac
#47
Author: Bjoern A. Zeeb
Date: Sat, 17 Oct 2026 19:40
98 lines
8603 bytes
On Sat, 17 Oct 2026, David Wolfskill wrote:

> Most of my machines updated to main-n290177-6866177454ac without
> incident, including most of the laptops.
>
> One, however, built OK, but on reboot, started coming up, but
> apparently did not succeed in switching video modes -- while normally,
> I expect the screen to blank, then resume the display of various
> kernel messages, it went blank ... and didn't bring up the (iwlwifi(4))
> link.  (This is the only one of the machines that uses iwlwifi(4).)
>
> I was able to boot from the previous kernel (kernel.old), but that was
> main-n290014-7a48c3fd3e6e (from 10 Oct).
>
> Eventually, I used the output of "kldstat" from that 10 Oct kernel
> (copied to another system), rebooted, escaped to the loader, then
> manually loaded each of the modules (save for if_iwx.ko -- I didn't find
> that one in either /boot/kernel or /boot/modules), then told it to
> continue with the (interrupted) boot.
>
> It proceeded for a bit, then stopped rather abruptly; a screenshot is
> available at
> https://www.catwhisker.org/~david/FreeBSD/head/n290177/crash.jpg
>
> Here's a hand-transcription of (what looks to me to be) a salient part:
>
> ...
> smbus0: <System Management Bus? on ichsmb0
> nda0 at nvme0 bus 0 scbus0 target 0 lun 1
> nda0: <SKHynix_HFS001TDE9X081N 41720 AJA5N493212305A0V
> nda0: Serial Number AJA5N493212305A0V
> nda0: nvme version 1.3
> nda0: 976762MB (2000409264 512 byte sectors)
> iwlwifi0: <iwlwifi> mem 0x603d1c4000-0x603d1c7fff at device 20.3 on pci0
> Firmware Warning (ACPI): Possibly buggy BIOS with ACPI_TYPE_INTEGER for function enumeration
> (20260408/ACPI-3222)
> Firmware Warning (ACPI): Possibly buggy BIOS with ACPI_TYPE_INTEGER for function enumeration
> (20260408/ACPI-3222)
> iwlwifi0: Detected crf-id 0x3617, cnv-id 0x20000302 wfpm id 0x80000000
> iwlwifi0: PCI dev a0f0/0070, rev=0x351, rfid=0x10a100
> iwlwifi0: Detected Intel(R) WiFi 6 AX201 160MHz
>
> Fatal trap 12: page fault while in kernel mode
> cpuid = 4; apic id = -04
> fault virtual address	= 0x4
> fault code		= supervisor read data, page not present
> instruction pointer	= 0x20: 0xffffffff80d45645
> stack pointer		= 0x28: 0xfffff300fd16e950
> frame pointer		= 0x28: 0xfffff300fd16ea20
> processor eflags	= interrupt enabled, resume, IOPL = 0
> current thread		= 0/100076 (kernel/firmware taskq)
> rdi: fffff80001877c01 rsi: fffff80001877c00 rdx: fffffe00fd16eda8
> rcx: 000000000000002c  r8: fffff80001878018  r9: fffff80001878000
> rax: 0000000000000000 rbx: fffffe00fd16ed28 rbp: fffffe00fd16ea20
> r10: 0000000000000000 r11: 0000000000000001 r12: fffff800026bb000
> r13: 0000000000000000 r14: fffffe00fd16ea3c r15: fffff800026bb000
> panic: page fault
> cpuid = 4
> time = 1
> KDB: stack backtrace:
> db_trace_self_wrapper() at db_trace_self_wrapper+ 0x36/frame 0xfffffe00fd16e680
> vpanic() at vpanic+0x149/frame 0xfffffe00fd16e7b0
> panic() at panic+0x43/frame 0xfffffe00fd16e810
> trap_pfault() at trap_pfault+0x449/frame 0xfffffe00fd16e880
> calltrap() at calltrap+0x8/frame 0xfffffe00fd16e880
> --- trap 0xc, rip = 0xffffffff80d45645, rsp = 0xfffffe00fd16e950, rpb = 0xfffffe00fd16ea20 ---
> cache_fplookup() at cache_fplookup+0x365/frame 0xfffffe00fd16ea20
> namei() at namei+0x1a4/frame 0xfffffe00fd16ea80
> vn_open_cred() at vn_open_cred+0x55a/frame 0xfffffe00fd16ec10
> loadimage() at loadimage+0x232/frame 0xfffffe00fd16ee30
> taskqueue_run_locked() at taskqueue_run_locked+0x1bb/frame 0xfffffe00fd16eec0
> taskqueue_thread_loop() at taskqueue_thread_loop+0xd3/frame 0xfffffe00fd16eef0
> fork_exit() at fork_exit+0x82/frame 0xfffffe00fd16ef30
> fork_trampoline() at fork_trampoline+0xe/frame 0xfffffe00fd16ef30
> --- trap 0x1ed031a0, rip = 0xd97d57428c36bc6a, rsp = 0x6a4da4b08b062869, rpb = 0xe1762a4783d7998c ---
> KDB: enter: panic
> [ thread pid 0 tid 100076 ]
> Stopped at	kdb_enter+0x33: movq	$0,0x115cde2(%rip)
> db>
>
>
> The machine is not one I use for critical work, so I can leave it
> in a state for debugging for a few hours.  I'm happy to poke at it,
> given clues as to the nature of the "poking."

Can you check which other thread called firmware_get() or
firmware_get_flags()?


-- 
For there shall arise false Christs, and false prophets, and shall shew
great signs and wonders; insomuch that, if it were possible, they shall
deceive the very elect. Behold, I have told you before. [Mat. 24:24-25]


--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-admin@muc.de
Re: Panic (page fault) on boot after update to main-n290177-6866177454ac
#48
Author: David Wolfskill
Date: Sat, 17 Oct 2026 22:00
92 lines
6238 bytes
--FWXSMTgCEkAzFBWK
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Sat, Oct 17, 2026 at 09:42:33AM -0700, David Wolfskill wrote:
> ...
> One, however, built OK, but on reboot, started coming up, but
> apparently did not succeed in switching video modes -- while normally,
> I expect the screen to blank, then resume the display of various
> kernel messages, it went blank ... and didn't bring up the (iwlwifi(4))
> link.  (This is the only one of the machines that uses iwlwifi(4).)
> ....

Slightly different approach yielding apparently similar results, but
with more information:

I found that if I commented out the=20

	kld_list=3D"i915kms"

line in /etc/rc.conf, the machine boots the current kernel & userland
OK -- it just doesn't switch to graphics mode (so xdm doesn't come up).

Then, if I subsequently login & issue "sudo kldload i915kms", I get the
screen going "blank" (as before, as far as I can tell).

Following a suggestion from bz@, I went ahead and:
* Waited about a minute or so;
* Blind-typed "dump";
* Waited for another couple of minutes;
* Blind-typed "reset"

and the machine rebooted.  And it found a crasah dump. :-}

Turns out I didn't have gdb installed, so I installed it, then ran
crashinfo manually to put something useful in core.txt.0.

I have now placed a copy of the crash dump and the core.txt.0, as well
as gzipped copies of each, in
https://www.catwhisker.org/~david/FreeBSD/head/n290177/

albert(15.1-S)[16] ls -lTh
total 1.1 GB
-rw-r--r--  1 david staff  116K Oct 17 14:38:57 2026 core.txt.0
-rw-r--r--  1 david staff   21K Oct 17 14:38:57 2026 core.txt.0.gz
-rwxr-xr--  1 david staff  2.8M Oct 17 09:22:56 2026 crash.jpg
-rw-r--r--  1 david staff  1.2G Oct 17 14:31:41 2026 vmcore.0
-rw-r--r--  1 david staff  509M Oct 17 14:31:41 2026 vmcore.0.gz

This is on a residential ADSL connection, so the gzipped copies are more
likely to be useful.

The panic string showin in core.txt.0 is, however, a bit different from
the initially-reported one:

FreeBSD g1-129.catwhisker.org 16.0-CURRENT FreeBSD 16.0-CURRENT #57 main-n2=
90177-6866177454ac: Sat Oct 17 12:44:41 UTC 2026     root@g1-129.catwhisker=
=2Eorg:/usr/obj/usr/src/amd64.amd64/sys/GENERIC  amd64

panic: Unrecoverable machine check exception


As before, I am willing to experiment, given suitable clues.

Peace,
david
--=20
David H. Wolfskill                              david@catwhisker.org

See https://www.catwhisker.org/~david/publickey.gpg for my public key.

--FWXSMTgCEkAzFBWK
Content-Type: application/pgp-signature; name=signature.asc

-----BEGIN PGP SIGNATURE-----

iPEEARYKAJkWIQRCec5RsK7Enudh3yGB9MJ9AwUELQUCatPv6BsUgAAAAAAEAA5t
YW51MiwyLjUrMS4xMiwyLDNfFIAAAAAALgAoaXNzdWVyLWZwckBub3RhdGlvbnMu
b3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDQyNzlDRTUxQjBBRUM0OUVFNzYxREYy
MTgxRjRDMjdEMDMwNTA0MkQACgkQgfTCfQMFBC1iAwEAm8+ZWLyp6BCaYrTz9CGP
s865MM5xAl+y4xnB+Czu4l8BAIYXQegXizyQl6wLh8TUOKQJfXEzUbzeg1fl8OCe
Tz8G
=d4zf
-----END PGP SIGNATURE-----

--FWXSMTgCEkAzFBWK--


--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-admin@muc.de
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads