From nobody Thu Jan 18 20:57:26 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 4TGFS671P3z56yhh for ; Thu, 18 Jan 2024 20:57:26 +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 4TGFS65zsTz4gCR for ; Thu, 18 Jan 2024 20:57:26 +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=1705611446; 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=h3v1d5MjEIiwLgJv7DLdoXTujAVWIhTftFEntexNPEw=; b=DEzLabkMDVAY+32quEsJ4+8jCHwxR1IKw8GHv0uD2IxIrx7qXoN2TkzBBtvgNoR8rEln8D YztWV5/yXO0NzJKDD5I4J9lWMdfQu+Bhla1k3gSQb29dvvh0TRzPzZyigjtUqubfoDxg0V TIhE597I90Jo704Nalc+zOhcgqlDO6MEBHyXAliJaSBVXtDTm+/4NHfPubVLT3HOwIwF0b lu4hezigOnyEZoRj6k46i55kR8eCsjmkrMwpr/LLthDN6/i8VHDpKPvAnvvr8DpiySztai j3sQj/zuql1wPMR+muxBQVUDMSnoLtZ5CJ3i2Ys1yoKpSSPGukyx0ftcFlrsWw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1705611446; a=rsa-sha256; cv=none; b=jFTlxch8rK0mzVFYabK4u7metPFbsESe6ZlhQCYbXBsmMqD+zEYiR9iJx3H6/XLveg7/Ww jJa8n+mtcXaAGlNREx8l6RNAlYncYnaFZeK6lpe4tsz1He3RaAo+zR/9iNnOsFUsT8MZFw d0be/e7hR5OH/4d85qHzP2J35vhBBqT5kdDR9Uo2x+GjppasUPLswzqQw5Fo0+950tvuc/ 37iiB/oVYXECq1Q0wGRTvakyxorK8yIciOMchnGkDTBPG/6draFKI9ax/Nu1OwEDvwgyO5 jQtGH7QbYR8o9Jl1UP869jKVNEZk/mvoU238kGbASdnBli13I1M5stqADPpxLA== 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 4TGFS6541GzN21 for ; Thu, 18 Jan 2024 20:57:26 +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 40IKvQbK046608 for ; Thu, 18 Jan 2024 20:57:26 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 40IKvQ3s046606 for bugs@FreeBSD.org; Thu, 18 Jan 2024 20:57:26 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 20:57:26 +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 #6 from John F. Carr --- The first crash is from AMD Excavator (Family 0x15) running 12.4. That processor is from 2015 and may not have SMAP. The second crash is from AMD Zen 2 (Family 0x17) running 13.2. That proces= sor is from 2020 and has SMAP before microcode is loaded. Features do not chan= ge when microcode is loaded. In the code below the marked mov %rdx,(%rdi) at 0xffffffff81088c43 is the faulting instruction. The fault address is at the start of a page in the u= ser address space and is the same as uio->uio_iov[0].iov_base, i.e. the first w= ord to be written. The value of td->td_md.md_pcb.pcb_onfault is 0 in the dump image. I can't tell what it was while copyout was running. A comment says= it should be non-null. 0xffffffff81088c1c : mov %rsi,%rdi 0xffffffff81088c1f : mov %r8,%rsi 0xffffffff81088c22 : mov %rdx,%rcx 0xffffffff81088c25 : stac 0xffffffff81088c28 : cmp $0x20,%rcx 0xffffffff81088c2c : jbe 0xffffffff81088c90 0xffffffff81088c2e : cmp $0x100,%rcx 0xffffffff81088c35 : ja 0xffffffff81088d70 0xffffffff81088c3b : nopl 0x0(%rax,%rax,1) 0xffffffff81088c40 : mov (%rsi),%rdx * 0xffffffff81088c43 : mov %rdx,(%rdi) 0xffffffff81088c46 : mov 0x8(%rsi),%rdx 0xffffffff81088c4a : mov %rdx,0x8(%rdi) 0xffffffff81088c4e : mov 0x10(%rsi),%rdx 0xffffffff81088c52 : mov %rdx,0x10(%rdi) 0xffffffff81088c56 : mov 0x18(%rsi),%rdx 0xffffffff81088c5a : mov %rdx,0x18(%rdi) 0xffffffff81088c5e : lea 0x20(%rsi),%rsi 0xffffffff81088c62 : lea 0x20(%rdi),%rdi 0xffffffff81088c66 : sub $0x20,%rcx --=20 You are receiving this mail because: You are the assignee for the bug.=