From nobody Mon Mar 27 21:20:20 2023 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 4Plm1c6ntXz425Fx for ; Mon, 27 Mar 2023 21:20:20 +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 4Plm1c3rwrz3k6S for ; Mon, 27 Mar 2023 21:20:20 +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=1679952020; 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; bh=xjF6AymUmCK4WXrrRtYfLJMzi9sTwurqNdGMW+EprVs=; b=Xn2cgE8kCqjL6di7k/NF2NMijyDvHztJfCagoXc330yxA7q63Riqh4CJJsj+A7CAYdXl8P MNWimh5w+REN8XViCkU/Xqeqx6BfvPK1ZSU/2vriW3FFJAMpb5Z/NIJoy7AguVnngrihz6 1Ev7zfxWrFZIwF9Mlpf721QlgeHzeBIk4Tu90EenGpJxyEQnUQX4e+Oxv+eKW90Nhr3wmv 0QrF12jejw+BvQqxbamMJo7jbQVadDwAcF1yUwFc+ilJRo89UlemYEpaBSdw2u+c8u7XgB OPeoBVcLhuRj2rVw/miUtT841CkqSK/BSguVUlbivDJ9Sz2+P7uGZgQ0NyKVzA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1679952020; a=rsa-sha256; cv=none; b=VMPNvzcMOfWZ2wp1my9AmDHD8PJawnoSR+xPFFkxbDuwUIld7n6RQf8OzI78BtjGBaYX1U xkM8vapRz2eU7+JhGXnhCWYoH6QU1U7Zen0Hz098KTVk/+MVQaTLbGAhHK8j7tXRJavmug dS55kmNu+ZDq1+NjjuP6G6QXY1+iRey1/kYcTrll5Ipg66Az3EI5pKfG7ZwdjSQ8FeXWkp CrH3VV/UMWlNLqrUVhG7RFgwffoZb2O8qFGB8++CR/Pz3WDGRsuRKUw0kx6CkET3SyaXRR YOEFsi9KfkiYgDqkgg2+ZZyY4NsjA/Kbr9Mnt4HzklXK3mcGAup/53AFvM1V0g== 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 4Plm1c2q8RzcwR for ; Mon, 27 Mar 2023 21:20:20 +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 32RLKKMh058023 for ; Mon, 27 Mar 2023 21:20:20 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 32RLKKnH058022 for bugs@FreeBSD.org; Mon, 27 Mar 2023 21:20:20 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 270489] Laptop doesn't wake from suspend anymore with 13.2-RC5 Date: Mon, 27 Mar 2023 21:20:20 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 13.2-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: henrix@camandro.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: 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 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D270489 Bug ID: 270489 Summary: Laptop doesn't wake from suspend anymore with 13.2-RC5 Product: Base System Version: 13.2-RELEASE Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: kern Assignee: bugs@FreeBSD.org Reporter: henrix@camandro.org I've upgraded from 13.2-RC3 to 13.2-RC5 (RC4 was too fast for me to try it!) and my laptop stopped waking up from suspend -- when I open the lid nothing happens and I need to hard reboot it. Fortunately, I still have a booenvironment with -RC3. Looking at the kernel logs since RC3, I suspect this is related with commit: commit 7622d3671cbef860d5dede0e4beace8fd152cd87 Author: Konstantin Belousov Date: Fri Mar 17 15:02:03 2023 +0200 amd64: properly recalculate mitigations knobs after resume But this is only a guess, of course. Here's what what's on dmesg about my = T490 laptop CPU: CPU: Intel(R) Core(TM) i5-8265U CPU @ 1.60GHz (1800.00-MHz K8-class CPU) Origin=3D"GenuineIntel" Id=3D0x806ec Family=3D0x6 Model=3D0x8e Steppi= ng=3D12 =20 Features=3D0xbfebfbff =20 Features2=3D0x7ffafbbf AMD Features=3D0x2c100800 AMD Features2=3D0x121 Structured Extended Features=3D0x29c67af Structured Extended Features3=3D0xbc000600 XSAVE Features=3D0xf IA32_ARCH_CAPS=3D0x20c2b VT-x: PAT,HLT,MTF,PAUSE,EPT,UG,VPID TSC: P-state invariant, performance statistics (Not sure if this is useful or where to get more useful information.) Now, maybe this is a different issue, or maybe it is the same... but when I tried to compile a kernel with the above commit reverted in the 'releng/13.= 2' branch (and running -RC5), I had an hard-reboot (!). As I said, I'm not su= re if that's a different issue, because I had the 4 CPUs at 100%, so maybe it = was an overheating issue. When I booted back into RC3 kern.msgbuf had the following: Fatal trap 9: general protection fault while in kernel mode cpuid =3D 3; apic id =3D 06 instruction pointer =3D 0x20:0xffffffff810a253a stack pointer =3D 0x28:0xfffffe012cdcbc20 frame pointer =3D 0x28:0xfffffe012cdcbd60 code segment =3D base 0x0, limit 0xfffff, type 0x1b =3D DPL 0, pres 1, long 1, def32 0, gran 1 processor eflags =3D interrupt enabled, resume, IOPL =3D 0 current process =3D 15190 (cc) trap number =3D 9 panic: general protection fault cpuid =3D 3 time =3D 1679950971 KDB: stack backtrace: #0 0xffffffff80c53dc5 at kdb_backtrace+0x65 #1 0xffffffff80c06741 at vpanic+0x151 #2 0xffffffff80c065e3 at panic+0x43 #3 0xffffffff810b1fa7 at trap_fatal+0x387 #4 0xffffffff81088e78 at calltrap+0x8 #5 0xffffffff80f5645f at vmspace_exit+0x7f #6 0xffffffff80bbc841 at exit1+0x591 #7 0xffffffff80bbc2ad at sys_sys_exit+0xd #8 0xffffffff810b289c at amd64_syscall+0x10c #9 0xffffffff8108978b at fast_syscall_common+0xf8 Uptime: 11m17s Dumping 1470 out of 24183 MB: (CTRL-C to abort) ..2% (CTRL-C to abort) ..11%..21% (CTRL-C to abort) ..31% (CTRL-C to abort) ..41%..51% (CTRL-C to abort) (CTRL-C to abort) ..61%..71%..81%..91% (CTRL-C to abort) (CTRL-C to abort) ---<>--- --=20 You are receiving this mail because: You are the assignee for the bug.=