CachyOS ISO 240609 not booting in a MacBookPro12,1

Hello!

I’ve been running CachyOS for a few months without any problems on this laptop. Very fast and snappy! But after an update the laptop didn’t boot anymore, it got stuck on “A start job is running for Network Manager” for about 12 minutes and then continue to a black screen. Then I download the new ISO for do some troubleshooting, but it have the same issue. When I try the previous ISO 240512, it boot without problems.

I’m not sure what I should start to troubleshoot, as it seems a breaking change was made between the last ISO and the new one.

Please help!

Similar situation here (MacBookPro9,2).
Switching to kernel Linux 6.9.5-arch1-1 was the solution.
All other kernels relevant to my system are not working at the moment.

Edit: after a system update everything is working as usual again.

Does downgrading the kernel to 6.9.4 fix the issue?

@Sunda-Spirit thanks for the tip!

UPDATE:

I chroot using the old ISO and install various kernels. I realize I was using linux-cachyos-lto 6.9.3 and fails.

I install:

  • core/linux 6.9.5 → boot ok
  • cachyos-v3/linux-cachyos 6.9.5-2 → fails same as ISO
  • cachyos-v3/linux-cachyos-eevdf 6.9.5-1 → Boot ok

It seems some patches on the 6.9.5-2 are having issues. At least now I can use the laptop again!

Are the lto kernels not being updated? i saw the list and all are stuck on 6.9.3

How can i get logs from booting from the ISO? So I can send the logs to analyze.

Thanks!

That sounds very weird, because between:
cachyos-v3/linux-cachyos 6.9.5-2 and cachyos-v3/linux-cachyos-eevdf 6.9.5-1 is only the BORE/sched-ext Scheduler the difference.

-2 is only used at linux-cachyos, so that at installation time there will be no module conflict due it is installed first the kernel from v1.

Are the lto kernels not being updated? i saw the list and all are stuck on 6.9.3

Pahole is/was broken with LTO kernels. Got reported on the first day, and we got now a patch from the maintainer, which appears to work.
LTO kernels will come again with 6.9.6 in the repository.

How can i get logs from booting from the ISO? So I can send the logs to analyze.

Since you can boot into the system again, it would be better to get the logs from the system directly and then boot into the working kernel.
You can get the logs from previous boot with:
journalctl -b -1 | paste-cachyos

OK, this is weird… after I boot from linux-cachyos-eevdf, I did a full update. When I reboot, it got stuck on systemd-backlight, then boot on rescue mode to mask that service and boot ok. Then I reboot using linux-cachyos and boots fine. I tried to get old boot logs but journalctl have only the last one.

And Boot from USB ISO still show the same issue.

This is the log booting eevdf that is successful:

upower’d makes the kernel oops:

Jun 20 13:18:11 macbookpro kernel: Oops: 0000 [#1] PREEMPT SMP PTI
Jun 20 13:18:11 macbookpro kernel: CPU: 1 PID: 1424 Comm: upowerd Tainted: G           OE      6.9.5-1-cachyos-eevdf #1 d53294c084c6d05da5e0ededdfc9826c01a757a3
Jun 20 13:18:11 macbookpro kernel: Hardware name: Apple Inc. MacBookPro12,1/Mac-E43C1C25D4880AD6, BIOS 426.0.0.0.0 12/17/2020
Jun 20 13:18:11 macbookpro kernel: RIP: 0010:__queue_work+0x1c/0x400
Jun 20 13:18:11 macbookpro kernel: Code: 90 90 90 90 90 90 90 90 90 90 90 90 90 90 0f 1f 44 00 00 41 57 41 56 41 55 41 54 41 89 fc 55 48 89 f5 53 48 89 d3 48 83 ec 10 <66> f7 86 01 01 00 00 80 01 0f 85 97 02 00 00 e8 d0 38 0a 00 45 89
Jun 20 13:18:11 macbookpro kernel: RSP: 0018:ffffb5a84856b9f0 EFLAGS: 00010086
Jun 20 13:18:11 macbookpro kernel: RAX: 0000000000000282 RBX: ffff915813b34160 RCX: 0000000000000001
Jun 20 13:18:11 macbookpro kernel: RDX: ffff915813b34160 RSI: 0000000000000000 RDI: 0000000000000140
Jun 20 13:18:11 macbookpro kernel: RBP: 0000000000000000 R08: 0000000000000002 R09: 000000000000000a
Jun 20 13:18:11 macbookpro kernel: R10: 000000000000000a R11: 0fffffffffffffff R12: 0000000000000140
Jun 20 13:18:11 macbookpro kernel: R13: ffff915813b34248 R14: ffffb5a84856bae0 R15: ffff91581242fc20
Jun 20 13:18:11 macbookpro kernel: FS:  00007c134c58c140(0000) GS:ffff915966c80000(0000) knlGS:0000000000000000
Jun 20 13:18:11 macbookpro kernel: CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
Jun 20 13:18:11 macbookpro kernel: CR2: 0000000000000101 CR3: 0000000113f44001 CR4: 00000000003706f0
Jun 20 13:18:11 macbookpro kernel: Call Trace:
Jun 20 13:18:11 macbookpro kernel:  <TASK>
Jun 20 13:18:11 macbookpro kernel:  ? __die_body.cold+0x8/0x12
Jun 20 13:18:11 macbookpro kernel:  ? page_fault_oops+0x15a/0x2b0
Jun 20 13:18:11 macbookpro kernel:  ? exc_page_fault+0x81/0x190
Jun 20 13:18:11 macbookpro kernel:  ? asm_exc_page_fault+0x26/0x30
Jun 20 13:18:11 macbookpro kernel:  ? __queue_work+0x1c/0x400
Jun 20 13:18:11 macbookpro kernel:  ? _copy_from_iter+0x8b/0x560
Jun 20 13:18:11 macbookpro kernel:  queue_work_on+0x3b/0x50
Jun 20 13:18:11 macbookpro kernel:  brightness_store+0x74/0xd0
Jun 20 13:18:11 macbookpro kernel:  kernfs_fop_write_iter+0x141/0x1f0
Jun 20 13:18:11 macbookpro kernel:  vfs_write+0x2c6/0x4a0
Jun 20 13:18:11 macbookpro kernel:  __x64_sys_write+0x72/0xf0
Jun 20 13:18:11 macbookpro kernel:  do_syscall_64+0x83/0x190
Jun 20 13:18:11 macbookpro kernel:  ? syscall_exit_to_user_mode+0x76/0x1f0
Jun 20 13:18:11 macbookpro kernel:  ? do_syscall_64+0x8f/0x190
Jun 20 13:18:11 macbookpro kernel:  ? syscall_exit_to_user_mode+0x76/0x1f0
Jun 20 13:18:11 macbookpro kernel:  ? do_syscall_64+0x8f/0x190
Jun 20 13:18:11 macbookpro kernel:  ? switch_fpu_return+0x4e/0xd0
Jun 20 13:18:11 macbookpro kernel:  ? syscall_exit_to_user_mode+0x76/0x1f0
Jun 20 13:18:11 macbookpro kernel:  ? do_syscall_64+0x8f/0x190
Jun 20 13:18:11 macbookpro kernel:  ? syscall_exit_to_user_mode+0x76/0x1f0
Jun 20 13:18:11 macbookpro kernel:  ? do_syscall_64+0x8f/0x190
Jun 20 13:18:11 macbookpro kernel:  ? __rseq_handle_notify_resume+0x23f/0x4e0
Jun 20 13:18:11 macbookpro kernel:  ? switch_fpu_return+0x4e/0xd0
Jun 20 13:18:11 macbookpro kernel:  ? syscall_exit_to_user_mode+0x76/0x1f0
Jun 20 13:18:11 macbookpro kernel:  ? do_syscall_64+0x8f/0x190
Jun 20 13:18:11 macbookpro kernel:  entry_SYSCALL_64_after_hwframe+0x76/0x7e
Jun 20 13:18:11 macbookpro kernel: RIP: 0033:0x7c134cfa05df
Jun 20 13:18:11 macbookpro kernel: Code: 89 54 24 18 48 89 74 24 10 89 7c 24 08 e8 99 91 f8 ff 48 8b 54 24 18 48 8b 74 24 10 41 89 c0 8b 7c 24 08 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 31 44 89 c7 48 89 44 24 08 e8 ec 91 f8 ff 48
Jun 20 13:18:11 macbookpro kernel: RSP: 002b:00007ffc6aca82b0 EFLAGS: 00000293 ORIG_RAX: 0000000000000001
Jun 20 13:18:11 macbookpro kernel: RAX: ffffffffffffffda RBX: 000058ab0c1bbcd0 RCX: 00007c134cfa05df
Jun 20 13:18:11 macbookpro kernel: RDX: 0000000000000002 RSI: 000058ab0c21fc00 RDI: 0000000000000009
Jun 20 13:18:11 macbookpro kernel: RBP: 000058ab0c21fc00 R08: 0000000000000000 R09: 0000000000000000
Jun 20 13:18:11 macbookpro kernel: R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000033
Jun 20 13:18:11 macbookpro kernel: R13: 0000000000000033 R14: 000058aad254ede1 R15: 0000000000000002
Jun 20 13:18:11 macbookpro kernel:  </TASK>
Jun 20 13:18:11 macbookpro kernel: Modules linked in: snd_seq_dummy snd_hrtimer snd_seq rfcomm snd_seq_device qrtr cmac algif_hash algif_skcipher af_alg bnep intel_rapl_msr intel_rapl_common x86_pkg_temp_thermal intel_powerclamp coretemp spi_nor mtd kvm_intel brcmfmac_wcc joydev spi_intel_platform mei_pxp kvm spi_intel mei_hdcp crct10dif_pclmul snd_hda_codec_cirrus snd_hda_codec_generic polyval_clmulni polyval_generic snd_hda_codec_hdmi ghash_clmulni_intel sha1_ssse3 applesmc snd_hda_intel btusb snd_intel_dspcfg btrtl snd_intel_sdw_acpi rapl btintel snd_hda_codec intel_cstate btbcm btmtk intel_uncore snd_hda_core pcspkr thunderbolt lpc_ich vfat i2c_i801 snd_hwdep intel_pch_thermal i2c_smbus fat mei_me snd_pcm bluetooth mei bcm5974 ecdh_generic snd_timer acpi_als snd sbs soundcore industrialio_triggered_buffer sbshc kfifo_buf brcmfmac industrialio mousedev brcmutil cfg80211 apple_mfi_fastcharge mmc_core rfkill pkcs8_key_parser i2c_dev crypto_user mac_hid lz4 facetimehd(OE) videobuf2_dma_sg videobuf2_memops videobuf2_v4l2 videodev
Jun 20 13:18:11 macbookpro kernel:  videobuf2_common mc loop dm_mod nfnetlink zram ip_tables x_tables f2fs crc32_generic lz4hc_compress lz4_compress hid_apple hid_generic uas usb_storage usbhid i915 crc32_pclmul crc32c_intel sha512_ssse3 sha256_ssse3 aesni_intel drm_buddy gf128mul i2c_algo_bit crypto_simd ttm cryptd drm_display_helper xhci_pci cec xhci_pci_renesas spi_pxa2xx_pci applespi intel_gtt crc16 video spi_pxa2xx_platform wmi dw_dmac
Jun 20 13:18:11 macbookpro kernel: CR2: 0000000000000101
Jun 20 13:18:11 macbookpro kernel: ---[ end trace 0000000000000000 ]---
Jun 20 13:18:11 macbookpro kernel: RIP: 0010:__queue_work+0x1c/0x400
Jun 20 13:18:11 macbookpro kernel: Code: 90 90 90 90 90 90 90 90 90 90 90 90 90 90 0f 1f 44 00 00 41 57 41 56 41 55 41 54 41 89 fc 55 48 89 f5 53 48 89 d3 48 83 ec 10 <66> f7 86 01 01 00 00 80 01 0f 85 97 02 00 00 e8 d0 38 0a 00 45 89
Jun 20 13:18:11 macbookpro kernel: RSP: 0018:ffffb5a84856b9f0 EFLAGS: 00010086
Jun 20 13:18:11 macbookpro kernel: RAX: 0000000000000282 RBX: ffff915813b34160 RCX: 0000000000000001
Jun 20 13:18:11 macbookpro kernel: RDX: ffff915813b34160 RSI: 0000000000000000 RDI: 0000000000000140
Jun 20 13:18:11 macbookpro kernel: RBP: 0000000000000000 R08: 0000000000000002 R09: 000000000000000a
Jun 20 13:18:11 macbookpro kernel: R10: 000000000000000a R11: 0fffffffffffffff R12: 0000000000000140
Jun 20 13:18:11 macbookpro kernel: R13: ffff915813b34248 R14: ffffb5a84856bae0 R15: ffff91581242fc20
Jun 20 13:18:11 macbookpro kernel: FS:  00007c134c58c140(0000) GS:ffff915966c80000(0000) knlGS:0000000000000000
Jun 20 13:18:11 macbookpro kernel: CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
Jun 20 13:18:11 macbookpro kernel: CR2: 0000000000000101 CR3: 0000000113f44001 CR4: 00000000003706f0
Jun 20 13:18:11 macbookpro kernel: note: upowerd[1424] exited with irqs disabled
1 Like

OK, long story short, I create a new ISO following the instructions from the git repo, and it boot and works flawlessly.

As this laptop was my first attempt to use CachyOS (and Arch in general) it have many small issues like the one you point out, so I will reinstall it. Now I have my desktop PC, my homelab server and my NAS running CachyOS, and everything fly and rock solid stable!

I love how well documented is everything on Arch and CachyOS, it make is easy to troubleshoot issues and fix them. Good Job!

Thanks for the help!