Date: Thu, 18 Jan 2024 22:20:31 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 276426] amd64: microcode update caused a page fault trying to send data to the logger Message-ID: <bug-276426-227-cSDRAmr0zy@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-276426-227@https.bugs.freebsd.org/bugzilla/> References: <bug-276426-227@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D276426 --- Comment #9 from John F. Carr <jfc@mit.edu> --- Here is the complete backtrace (abbreviated form in comment #2) and evaluat= ion of the td variable in that stack. (kgdb) bt #0 __curthread () at /usr/home/jfc/freebsd/src/sys/amd64/include/pcpu_aux.h:53 #1 doadump (textdump=3D<optimized out>) at /usr/home/jfc/freebsd/src/sys/kern/kern_shutdown.c:394 #2 0xffffffff80bce802 in kern_reboot (howto=3D260) at /usr/home/jfc/freebsd/src/sys/kern/kern_shutdown.c:482 #3 0xffffffff80bcec5f in vpanic (fmt=3D0xffffffff812041f3 "%s",=20 ap=3Dap@entry=3D0xfffffe03a79d7af0) at /usr/home/jfc/freebsd/src/sys/kern/kern_shutdown.c:921 #4 0xffffffff80bce9f3 in panic (fmt=3D<unavailable>) at /usr/home/jfc/freebsd/src/sys/kern/kern_shutdown.c:845 #5 0xffffffff8108c56c in trap_fatal (frame=3D0xfffffe03a79d7be0,=20 eva=3D62185075507200) at /usr/home/jfc/freebsd/src/sys/amd64/amd64/trap.c:940 #6 0xffffffff8108c5d7 in trap_pfault (frame=3D0xfffffe03a79d7be0,=20 usermode=3Dfalse, signo=3D<optimized out>, ucode=3D<optimized out>) at /usr/home/jfc/freebsd/src/sys/amd64/amd64/trap.c:759 #7 <signal handler called> #8 copyout_smap_std () at /usr/home/jfc/freebsd/src/sys/amd64/amd64/support.S:849 #9 0xffffffff80c337d5 in uiomove_faultflag (cp=3D0xfffffe01bedc0000,=20 n=3Dn@entry=3D105, uio=3Duio@entry=3D0xfffffe03a79d7da0, nofault=3Dnofa= ult@entry=3D0) at /usr/home/jfc/freebsd/src/sys/kern/subr_uio.c:256 #10 0xffffffff80c33699 in uiomove (cp=3D0x388e97560000, n=3D-1092878336,=20 n@entry=3D105, uio=3D0x636f6c2f7273752f, uio@entry=3D0xfffffe03a79d7da0) at /usr/home/jfc/freebsd/src/sys/kern/subr_uio.c:196 #11 0xffffffff80c3de55 in pipe_read (fp=3D0xfffff801441abe10,=20 uio=3D0xfffffe03a79d7da0, active_cred=3D<optimized out>,=20 flags=3D<optimized out>, td=3D0xfffff80103c48000) at /usr/home/jfc/freebsd/src/sys/kern/sys_pipe.c:732 #12 0xffffffff80c3a586 in fo_read (fp=3D0xfffff801441abe10,=20 uio=3D0xfffffe03a79d7da0, active_cred=3D0x636f6c2f7273752f,=20 td=3D0xfffff80103c48000, flags=3D<optimized out>) at /usr/home/jfc/freebsd/src/sys/sys/file.h:336 #13 dofileread (td=3Dtd@entry=3D0xfffff80103c48000, fd=3Dfd@entry=3D0,=20 fp=3D0xfffff801441abe10, auio=3Dauio@entry=3D0xfffffe03a79d7da0,=20 offset=3Doffset@entry=3D-1, flags=3Dflags@entry=3D0) at /usr/home/jfc/freebsd/src/sys/kern/sys_generic.c:367 #14 0xffffffff80c3a0d2 in kern_readv (td=3D0xfffff80103c48000, fd=3D0,=20 auio=3D0xfffffe03a79d7da0) at /usr/home/jfc/freebsd/src/sys/kern/sys_generic.c:288 #15 sys_read (td=3D0xfffff80103c48000, uap=3D<optimized out>) at /usr/home/jfc/freebsd/src/sys/kern/sys_generic.c:204 #16 0xffffffff8108ced0 in syscallenter (td=3D<optimized out>) at /usr/home/jfc/freebsd/src/sys/amd64/amd64/../../kern/subr_syscall.c:= 188 #17 amd64_syscall (td=3D0xfffff80103c48000, traced=3D0) at /usr/home/jfc/freebsd/src/sys/amd64/amd64/trap.c:1181 #18 <signal handler called> #19 0x0000388e94230d9a in ?? () Backtrace stopped: Cannot access memory at address 0x388e93262428 (kgdb) up 13 #13 dofileread (td=3Dtd@entry=3D0xfffff80103c48000, fd=3Dfd@entry=3D0,=20 fp=3D0xfffff801441abe10, auio=3Dauio@entry=3D0xfffffe03a79d7da0,=20 offset=3Doffset@entry=3D-1, flags=3Dflags@entry=3D0) at /usr/home/jfc/freebsd/src/sys/kern/sys_generic.c:367 367 if ((error =3D fo_read(fp, auio, td->td_ucred, flags, td)))= { (kgdb) p td->td_critnest $22 =3D 1 (kgdb) p/x td->td_md.md_pcb $23 =3D {pcb_r15 =3D 0xfffff80101bba000, pcb_r14 =3D 0xffffffff81e97788,=20 pcb_r13 =3D 0xfffffe010aeec0d8, pcb_r12 =3D 0xfffffe010aeec0c0,=20 pcb_rbp =3D 0xfffffe03a79d7bb0, pcb_rsp =3D 0xfffffe03a79d7b18,=20 pcb_rbx =3D 0xfffff80103c48000, pcb_rip =3D 0xffffffff80bfe4b6,=20 pcb_fsbase =3D 0x388e9378c120, pcb_gsbase =3D 0x0, pcb_kgsbase =3D 0x0,=20 pcb_cr0 =3D 0x0, pcb_cr2 =3D 0x0, pcb_cr3 =3D 0x0, pcb_cr4 =3D 0x0, pcb_d= r0 =3D 0x0,=20 pcb_dr1 =3D 0x0, pcb_dr2 =3D 0x0, pcb_dr3 =3D 0x0, pcb_dr6 =3D 0x0, pcb_d= r7 =3D 0x0,=20 pcb_gdt =3D {rd_limit =3D 0x0, rd_base =3D 0x0}, pcb_idt =3D {rd_limit = =3D 0x0,=20 rd_base =3D 0x0}, pcb_ldt =3D {rd_limit =3D 0x0, rd_base =3D 0x0}, pcb_= tr =3D 0x0,=20 pcb_flags =3D 0x19, pcb_initial_fpucw =3D 0x37f, pcb_onfault =3D 0x0,=20 pcb_saved_ucr3 =3D 0x0, pcb_tssp =3D 0x0, pcb_efer =3D 0x0, pcb_star =3D = 0x0,=20 pcb_lstar =3D 0x0, pcb_cstar =3D 0x0, pcb_sfmask =3D 0x0,=20 pcb_save =3D 0xfffffe02699f4c00, pcb_pad =3D {0x0, 0x0, 0x0, 0x0, 0x0}} (kgdb) --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-276426-227-cSDRAmr0zy>