From nobody Thu Jan 18 22:20:31 2024 X-Original-To: bugs@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 4TGHJ03jNKz577wY for ; Thu, 18 Jan 2024 22:20:32 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4TGHJ0000cz3xyN for ; Thu, 18 Jan 2024 22:20:31 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1705616432; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=KuBoxF3BzeiHyZlfeqQAKeyvnXY0OovtNxcE/nZXI14=; b=kZ3AhTyrnA1l/QZIjCMfZ1N4OesQhDJ2ZtR8IXY55e6c8uD4YgstJcuDkVnXkiAFUlHBhn I2PmWGDOlln3Scuhb4tKWLwrQdm8AgK+eq8MV5YZu/YQor458FQM4L2micP8U/6CSsdxah ubSxf71/IiKFTUsC7jgic5RuFJctgK6tLerPzAHzlVcoy+H+935bWVFFgt4ISyFikXZLfx 4Eba2fExX3lo5utbenvMJRGW0L+ARmvcNxmdOuq8xOWoaGklCTET3STAW8SnVEKV7FdiKk I55cdOHQ8Nq88X52Jo6B/uYJPAvjo/JL/EKnASMHmOJzuUDatrHNd26B2oMYXg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1705616432; a=rsa-sha256; cv=none; b=PTDdc9Jub+YziRVKO6tISQSiXgef8TOhBEonpJjpqLj1LdOaK2G6BvZRSricwbb8ZpBlqB PakW+976zAT9pV8H7ZNbGqdjVI10JnGvObYrkyb5TcYlOFSS64Eqv9h2A6wtmC14bSCFLR yOB6CLGlHH0BmGawpctPBhC1ye/0xei61GXOMoEMM96n/sU6VTaiqSHySkSH+Jm6KDDNwo qJdp0xN0tgD6NRF73YDg7JQO/2ArdlQDpY3Iu0tuSgKFKnrCjGag+WHrKNvWspF5QBrTcL AUEl4WFneeJLOfviRR0eXliWy5LUqfv8zrY62p87V/aC/czfBedR5Duyvhba7A== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (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 mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4TGHHz6C6QzQF4 for ; Thu, 18 Jan 2024 22:20:31 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 40IMKVsZ059177 for ; Thu, 18 Jan 2024 22:20:31 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 40IMKVh4059170 for bugs@FreeBSD.org; Thu, 18 Jan 2024 22:20:31 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f 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 Date: Thu, 18 Jan 2024 22:20:31 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: misc X-Bugzilla-Version: 13.2-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: jfc@mit.edu X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@freebsd.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D276426 --- Comment #9 from John F. Carr --- 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) 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) 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, ucode=3D) at /usr/home/jfc/freebsd/src/sys/amd64/amd64/trap.c:759 #7 #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,=20 flags=3D, 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) 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) at /usr/home/jfc/freebsd/src/sys/kern/sys_generic.c:204 #16 0xffffffff8108ced0 in syscallenter (td=3D) 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 #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.=