apport information

** Tags added: apport-collected noble

** Description changed:

  Hardware: Apple MacBookAir5,2 (mid 2012), Intel Core i5-3427U (Ivy Bridge, 
family 6 model 0x3a stepping 9),
  firmware 429.0.0.0.0 (03/18/2022), microcode revision 0x21.
  OS: Zorin OS 18 (Ubuntu 24.04 "noble" base), stock Ubuntu HWE kernels from 
the Ubuntu archive.
  Kernel command line: "ro quiet splash vt.handoff=7" (no extra parameters). 
Suspend mode: deep (S3).
  
  Symptom:
  After opening the lid, the screen stays black for roughly 15-45 seconds. The 
delay is entirely in the
  kernel resume path: during "Enabling non-boot CPUs", bringing up CPU1 takes 
10-45 seconds. While waiting,
  the boot CPU appears to run extremely slowly ("perf: interrupt took too 
long", "psi_avgs_work hogged CPU
  for >10000us", "hrtimer: interrupt took ~2 ms"). CPU2 and CPU3 then come up 
quickly; the rest of the
  resume is normal.
  
  Regression range / comparison (measured from journal, "Low-level resume
  complete" -> "PM: suspend exit"):
  
    7.0.0-28.28~24.04.1    slow   7-28 s   (5 resumes)
    7.0.0-30.30~24.04.1    slow   7-45 s   (16 resumes)
    7.0.0-31.31~24.04.1    FAST   0.48-0.75 s   (19 resumes after cold boot, 18 
Sep - 9 Oct)
                                  (one session right after installing it, 
started via warm reboot,
                                   was slow-ish, 3-33 s)
    7.0.0-38.38~24.04.4    slow   11-39 s  (5 resumes, both after warm reboot 
and after cold boot)
  
  Direct A/B test on 10 Oct 2026, both after a cold boot, same machine, same 
userspace:
    7.0.0-38: resume 15.85 s, of which CPU1 bring-up 14.49 s
    7.0.0-31: resume 0.67 s,  of which CPU1 bring-up 0.03 s
  
  So 7.0.0-31 does not show the problem, while the kernels before and after it 
do. Something in
  7.0.0-31 avoids the stall; it would be useful to know what changed between 
-30 -> -31 and -31 -> -38
  in the x86 smpboot / CPU hotplug / MTRR-PAT / resume code.
  
  Possibly related: the long-known slow AP bring-up on S3 resume on Intel Macs, 
attributed to
  MTRR/PAT state left by the firmware (LKML, Dec 2016, "[PATCH DEBUG] x86, 
pat/mtrr: MTRR/PAT init
  earlier for each APs", confirmed on MacBookPro9,1).
  
  Attached: dmesg excerpt of one slow resume (7.0.0-38) and one fast
  resume (7.0.0-31).
  
  Happy to test kernels or collect more data.
+ --- 
+ ProblemType: Bug
+ ApportVersion: 2.28.3-0ubuntu0.1
+ Architecture: amd64
+ AudioDevicesInUse:
+  USER        PID ACCESS COMMAND
+  /dev/snd/controlC0:  alex      49226 F.... wireplumber
+  /dev/snd/seq:        alex      49222 F.... pipewire
+ CRDA: N/A
+ CasperMD5CheckResult: pass
+ CurrentDesktop: zorin:GNOME
+ DistroRelease: Zorin OS 18
+ InstallationDate: Installed on 2026-07-21 (88 days ago)
+ InstallationMedia: Zorin-OS 18.1 Pro 64bit
+ MachineType: Apple Inc. MacBookAir5,2
+ Package: linux-hwe-7.0 (not installed)
+ ProcEnviron:
+  LANG=de_DE.UTF-8
+  PATH=(custom, no user)
+  SHELL=/bin/bash
+  TERM=xterm-256color
+ ProcFB: 0 i915drmfb
+ ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-7.0.0-38-generic 
root=UUID=924a3759-aa3d-47a0-91b4-3fad21e00c5e ro quiet splash vt.handoff=7
+ ProcVersionSignature: Ubuntu 7.0.0-38.38~24.04.4-generic 7.0.14
+ RelatedPackageVersions:
+  linux-restricted-modules-7.0.0-38-generic N/A
+  linux-backports-modules-7.0.0-38-generic  N/A
+  linux-firmware                            20240318.git3b128b60.0ubuntu3.1
+ Tags: noble
+ Uname: Linux 7.0.0-38-generic x86_64
+ UpgradeStatus: No upgrade log present (probably fresh install)
+ UserGroups: N/A
+ _MarkForUpload: True
+ dmi.bios.date: 03/18/2022
+ dmi.bios.release: 0.1
+ dmi.bios.vendor: Apple Inc.
+ dmi.bios.version: 429.0.0.0.0
+ dmi.board.asset.tag: Base Board Asset Tag#
+ dmi.board.name: Mac-2E6FAB96566FE58C
+ dmi.board.vendor: Apple Inc.
+ dmi.board.version: MacBookAir5,2
+ dmi.chassis.type: 10
+ dmi.chassis.vendor: Apple Inc.
+ dmi.chassis.version: Mac-2E6FAB96566FE58C
+ dmi.modalias: 
dmi:bvnAppleInc.:bvr429.0.0.0.0:bd03/18/2022:br0.1:svnAppleInc.:pnMacBookAir5,2:pvr1.0:rvnAppleInc.:rnMac-2E6FAB96566FE58C:rvrMacBookAir5,2:cvnAppleInc.:ct10:cvrMac-2E6FAB96566FE58C:skuSystemSKU#:pfaMacBookAir:
+ dmi.product.family: MacBook Air
+ dmi.product.name: MacBookAir5,2
+ dmi.product.sku: System SKU#
+ dmi.product.version: 1.0
+ dmi.sys.vendor: Apple Inc.

** Attachment added: "AlsaInfo.txt"
   
https://bugs.launchpad.net/bugs/2170448/+attachment/6010059/+files/AlsaInfo.txt

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2170448

Title:
  Slow S3 resume (10-45 s black screen) on MacBookAir5,2: secondary CPU
  bring-up stalls; 7.0.0-31 unaffected, 7.0.0-28/-30/-38 affected

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux-hwe-7.0/+bug/2170448/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to