From nobody Thu Jan 18 20:13:56 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 4TGDTw3SDMz56syk for ; Thu, 18 Jan 2024 20:13:56 +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 4TGDTw2PB0z4Wtx for ; Thu, 18 Jan 2024 20:13:56 +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=1705608836; 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=3uLhuQ7HcO04pDCA3uaI8QX1t4+0HbEXu5CiXlPJ4T0=; b=OsT3tuvACEscbdoUHqpZvh4yJPt98VL9pq9Tw6Q0MWmbWSzdnFNtorq/ucRx3lZ7FrMbfB qFaf6IkenW+LLgPF4m0SBulDUcaxZLkkzq/e7C/jWW0Ro0g2j/4wdAD7XIN9BJ37TwEpJw wQysw47SrYn3p/BPjAM8Uo4SNpjEw5kHoEDAez6cXmBuLS1fF8zBPhV8VHhE1GyvvfnznD hcZwiQHod/i8rqp3CbXQvTbk0aY1Axz8th8gmZZxLaY9nipVKfKHRwvfAXi4BxQsT9XMaK HYf+Yk7D22nL9GMkYJvOYnSC9xQe7nOCO9aXwQPv02wVdMWtTJCO6DmeXN8Dsg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1705608836; a=rsa-sha256; cv=none; b=kPGfJeFJHTwUKNT5N3pospehSGkDET8yalEFw50/1CWntkaWBaY0RAelGCk+x/kjcTISOc kwzrDW0R9OoDfdgVxRN1Y4jiSxzEWoU+LbxT6f3fyfMhqpXNQkbxkEarFH66HREEc9OCzW qVjmdsP4mHkhb4UZ/qd+Zjv7eiZH3p9vignKIAvNVSFePUGRmc738jj0ftNkQnf+8g+bhc p+Yqv7GEmdFEmSB1UgIf5EeGPmixpNlyixiz97CaiMLog2m0elsgVd29zbJ1U5qedJOe2F ihg5MOC1Atu/3m2RlqdPxqFDjUD4IGT4uzFgPihcqMO9CeWdPw9E6FdWNa9FRA== 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 4TGDTw1CNYzLvH for ; Thu, 18 Jan 2024 20:13:56 +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 40IKDuIa038427 for ; Thu, 18 Jan 2024 20:13:56 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 40IKDuL9038426 for bugs@FreeBSD.org; Thu, 18 Jan 2024 20:13:56 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:13:56 +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: New 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 #3 from John F. Carr --- Microcode update is late in /etc/rc processing after "Mounting local filesytems" but before a login prompt. SMAP is already enabled before the microcode is updated. The copyout call = is bound to copyout_smap_std: 0xffffffff80c337ca : mov %r15,%rdi 0xffffffff80c337cd : mov %r12,%rdx 0xffffffff80c337d0 : call 0xffffffff81088be0 When the crash is triggered, about once in 15 boots, it happens during /etc= /rc script processing just before the system would go multi-user. The active processes in the latest crash are UID PID PPID C PRI NI VSZ RSS MWCHAN STAT TT TIME COMMAND 0 0 0 25 -16 0 0 0 swapin DLs - 0:00.17 [kernel] 0 1 0 0 31 0 11780 836 wait DLs - 0:00.00 [init] 0 2 0 19 -16 0 0 0 - DL - 0:00.00 [KTLS] 0 3 0 47 -16 0 0 0 crypto_w DL - 0:00.00 [crypto] 0 4 0 41 -16 0 0 0 - DL - 0:00.00 [cam] 0 5 0 14 -16 0 0 0 - DL - 0:00.00 [rand_harvestq] 0 6 0 29 -16 0 0 0 idle DL - 0:00.00 [enc_daemon0] 0 7 0 3 -16 0 0 0 psleep DL - 0:00.00 [pagedaemon] 0 8 0 28 -16 0 0 0 psleep DL - 0:00.00 [vmdaemon] 0 9 0 22 -16 0 0 0 psleep DL - 0:00.00 [bufdaemon] 0 10 0 37 -16 0 0 0 audit_wo DL - 0:00.00 [audit] 0 11 0 0 155 0 0 0 - RL - 0:00.00 [idle] 0 12 0 -1 -52 0 0 0 - WL - 0:00.00 [intr] 0 13 0 39 20 0 0 0 - DL - 0:00.00 [geom] 0 14 0 32 -16 0 0 0 seqstate DL - 0:00.00 [sequencer 00] 0 15 0 11 -68 0 0 0 - DL - 0:00.00 [usb] 0 16 0 20 -16 0 0 0 vlruwt DL - 0:00.00 [vnlru] 0 17 0 14 16 0 0 0 syncer DL - 0:00.00 [syncer] 0 18 1 31 52 0 13552 2576 wait Ds+ - 0:00.00 [sh] 0 82 0 6 -8 0 0 0 t->zthr_ DL - 0:04.74 [zfskern] 0 139 18 43 52 0 13552 2588 wait D+ - 0:00.00 [sh] 0 144 139 0 52 0 12732 1868 pipelk D+ - 0:00.00 [cpucontrol] 0 145 139 45 52 0 12872 2176 - RC+ - 0:00.00 [logger] 0 148 1 31 52 0 12872 2052 select Ds - 0:00.00 [logger] This is my processor as reported early in boot: CPU: AMD EPYC 7402P 24-Core Processor (2794.96-MHz K8-class = CPU) Origin=3D"AuthenticAMD" Id=3D0x830f10 Family=3D0x17 Model=3D0x31 Step= ping=3D0 =20 Features=3D0x178bfbff =20 Features2=3D0x7ed8320b AMD Features=3D0x2e500800 AMD Features2=3D0x75c237ff Structured Extended Features=3D0x219c91a9 Structured Extended Features2=3D0x400004 XSAVE Features=3D0xf AMD Extended Feature Extensions ID EBX=3D0x18cf757 SVM: NP,NRIP,VClean,AFlush,DAssist,NAsids=3D32768 TSC: P-state invariant, performance statistics After update I have microcode version 0x830107a. I don't think the boot loader can install microcode on my AMD processor, on= ly on an Intel processor. --=20 You are receiving this mail because: You are the assignee for the bug.=