[Bug 276426] amd64: microcode update caused a page fault trying to send data to the logger

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 18 Jan 2024 15:30:02 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=276426

Mark Linimon <linimon@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           See Also|                            |https://bugs.freebsd.org/bu
                   |                            |gzilla/show_bug.cgi?id=2667
                   |                            |30

--- Comment #1 from Mark Linimon <linimon@FreeBSD.org> ---
John F. Carr 2024-01-14 00:58:27 UTC

Today I updated my amd64 13.2-STABLE system for the first time in a month.  It
crashed with a similar error on the first boot.  A microcode update caused a
page fault trying to send data to the logger.  core.txt contents below.  This
panic hadn't happened before on this system.  Maybe the update to llvm17
affected code generation.



Updating CPU Microcode...


Fatal trap 12: page fault while in kernel mode
cpuid = 45; apic id = 3b
fault virtual address   = 0x388e97560000
fault code              = supervisor write data, page not present
instruction pointer     = 0x20:0xffffffff81088c43
stack pointer           = 0x28:0xfffffe03a79d7ca0
frame pointer           = 0x28:0xfffffe03a79d7ca0
code segment            = base rx0, limit 0xfffff, type 0x1b
                        = DPL 0, pres 1, long 1, def32 0, gran 1
processor eflags        = interrupt enabled, resume, IOPL = 0
current process         = 145 (logger)
trap number             = 12
panic: page fault
cpuid = 45
time = 1705192820
KDB: stack backtrace:
#0 0xffffffff80c199b5 at kdb_backtrace+0x65
#1 0xffffffff80bcebf2 at vpanic+0x152
#2 0xffffffff80bce9f3 at panic+0x43
#3 0xffffffff8108c56c at trap_fatal+0x38c
#4 0xffffffff8108c5d7 at trap_pfault+0x67
#5 0xffffffff81060f08 at calltrap+0x8
#6 0xffffffff80c337d5 at uiomove_faultflag+0x135  [this is a call to copyout()
-jfc]
#7 0xffffffff80c3de55 at pipe_read+0x2f5
#8 0xffffffff80c3a586 at dofileread+0x86
#9 0xffffffff80c3a0d2 at sys_read+0xc2
#10 0xffffffff8108ced0 at amd64_syscall+0x140
#11 0xffffffff8106181b at fast_syscall_common+0xf8
Uptime: 38s

-- 
You are receiving this mail because:
You are the assignee for the bug.