Crashes Macbook Pro late 2016 15"

Hi,

I’m new here. Long time linux user but never on an arch based distro. I’m searching for an alternative to Ubuntu and ended up with Manjaro. Figured, I’ll try it out on my Macbook pro which is getting old.

Installation worked like a charm and when it’s connected to my docking station then also running with wired network), the machine is running just fine. However as soon as I unplug it, I can log into the desktop, start doing things but eventually it crashes with a blank screen (sometimes green, sometimes gray).

Any idea where to look?

Thanks,

Richard


Noticed that you are interested in the inxi output. Here it is:

System:
  Kernel: 6.1.31-2-MANJARO arch: x86_64 bits: 64 compiler: gcc v: 13.1.1
    parameters: BOOT_IMAGE=/boot/vmlinuz-6.1-x86_64
    root=UUID=0ddbea8f-8a70-4a5c-8694-f3f63631a67d rw quiet splash
    udev.log_priority=3
  Console: pty pts/1 DM: SDDM Distro: Manjaro Linux base: Arch Linux
Machine:
  Type: Laptop System: Apple product: MacBookPro13,3 v: 1.0 serial: <filter>
    Chassis: type: 9 v: Mac-A5C67F76ED83108C serial: <filter>
  Mobo: Apple model: Mac-A5C67F76ED83108C v: MacBookPro13,3 serial: <filter>
    UEFI: Apple v: 451.140.1.0.0 date: 04/11/2022
Battery:
  ID-1: BAT0 charge: 42.7 Wh (72.1%) condition: 59.2/76.7 Wh (77.2%)
    volts: 11.8 min: 11.5 model: SMP bq20z451 type: Li-ion serial: N/A
    status: full cycles: 187
  Device-1: apple_mfi_fastcharge model: N/A serial: N/A charge: N/A
    status: N/A
  Device-2: hid-28:ff:3c:e6:91:05-battery model: RST Trackpad 2 serial: N/A
    charge: N/A status: discharging
  Device-3: hid-68:fe:f7:4a:18:4f-battery model: RST Magic Keyboard
    serial: N/A charge: N/A status: discharging
Memory:
  System RAM: available: 15.52 GiB used: 2.01 GiB (13.0%)
  Array-1: capacity: 16 GiB slots: 2 EC: None max-module-size: 8 GiB
    note: est.
  Device-1: DIMM0 type: LPDDR3 detail: synchronous size: 8 GiB
    speed: 2133 MT/s volts: curr: 1.2 width (bits): data: 64 total: 64
    manufacturer: 0x802C part-no: 0x4D5435324C31473332443450472D30393320
    serial: <filter>
  Device-2: DIMM0 type: LPDDR3 detail: synchronous size: 8 GiB
    speed: 2133 MT/s volts: curr: 1.2 width (bits): data: 64 total: 64
    manufacturer: 0x802C part-no: 0x4D5435324C31473332443450472D30393320
    serial: <filter>
CPU:
  Info: model: Intel Core i7-6820HQ socket: U3E1 bits: 64 type: MT MCP
    arch: Skylake-S gen: core 6 level: v3 note: check built: 2015
    process: Intel 14nm family: 6 model-id: 0x5E (94) stepping: 3
    microcode: 0xF0
  Topology: cpus: 1x cores: 4 tpc: 2 threads: 8 smt: enabled cache:
    L1: 256 KiB desc: d-4x32 KiB; i-4x32 KiB L2: 1024 KiB desc: 4x256 KiB
    L3: 8 MiB desc: 1x8 MiB
  Speed (MHz): avg: 2700 min/max: 800/3600 base/boost: 3200/2700 scaling:
    driver: intel_pstate governor: powersave volts: 1.0 V ext-clock: 25 MHz
    cores: 1: 2700 2: 2700 3: 2700 4: 2700 5: 2700 6: 2700 7: 2700 8: 2700
    bogomips: 43214
  Flags: 3dnowprefetch abm acpi adx aes aperfmperf apic arat
    arch_capabilities arch_perfmon art avx avx2 bmi1 bmi2 bts clflush
    clflushopt cmov constant_tsc cpuid cpuid_fault cx16 cx8 de ds_cpl dtes64
    dtherm dts epb ept ept_ad erms est f16c flexpriority flush_l1d fma fpu
    fsgsbase fxsr ht hwp hwp_act_window hwp_epp hwp_notify ibpb ibrs ida
    intel_pt invpcid invpcid_single lahf_lm lm mca mce md_clear mmx monitor
    movbe mpx msr mtrr nonstop_tsc nopl nx pae pat pbe pcid pclmulqdq pdcm
    pdpe1gb pebs pge pln pni popcnt pse pse36 pti pts rdrand rdseed rdtscp
    rep_good sdbg sep smap smep smx ss ssbd sse sse2 sse4_1 sse4_2 ssse3 stibp
    syscall tm tm2 tpr_shadow tsc tsc_adjust tsc_deadline_timer vme vmx vnmi
    vpid x2apic xgetbv1 xsave xsavec xsaveopt xsaves xtopology xtpr
  Vulnerabilities:
  Type: itlb_multihit status: KVM: VMX disabled
  Type: l1tf mitigation: PTE Inversion; VMX: conditional cache flushes, SMT
    vulnerable
  Type: mds mitigation: Clear CPU buffers; SMT vulnerable
  Type: meltdown mitigation: PTI
  Type: mmio_stale_data mitigation: Clear CPU buffers; SMT vulnerable
  Type: retbleed mitigation: IBRS
  Type: spec_store_bypass mitigation: Speculative Store Bypass disabled via
    prctl
  Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer
    sanitization
  Type: spectre_v2 mitigation: IBRS, IBPB: conditional, STIBP: conditional,
    RSB filling, PBRSB-eIBRS: Not affected
  Type: srbds mitigation: Microcode
  Type: tsx_async_abort mitigation: TSX disabled
Graphics:
  Device-1: AMD Baffin [Radeon RX 460/560D / Pro 450/455/460/555/555X/560/560X]
    vendor: Apple driver: amdgpu v: kernel arch: GCN-4 code: Arctic Islands
    process: GF 14nm built: 2016-20 pcie: gen: 3 speed: 8 GT/s lanes: 8 ports:
    active: DP-3,eDP-1 empty: DP-1,DP-2,DP-4 bus-ID: 01:00.0 chip-ID: 1002:67ef
    class-ID: 0300 temp: 44.0 C
  Display: server: X.org v: 1.21.1.8 with: Xwayland v: 23.1.1
    compositor: kwin_wayland driver: X: loaded: amdgpu unloaded: modesetting
    alternate: fbdev,vesa dri: radeonsi gpu: amdgpu tty: 138x106
  Monitor-1: DP-3 model: LG (GoldStar) Ultra HD serial: <filter> built: 2017
    res: 3840x2160 dpi: 163 gamma: 1.2 size: 600x340mm (23.62x13.39")
    diag: 690mm (27.2") ratio: 16:9 modes: max: 3840x2160 min: 640x480
  Monitor-2: eDP-1 model: Apple Color LCD built: 2015 res: 2880x1800 dpi: 221
    gamma: 1.2 size: 331x207mm (13.03x8.15") diag: 390mm (15.4") ratio: 16:10
    modes: max: 2880x1800 min: 640x480
  API: OpenGL Message: GL data unavailable in console for root.
Audio:
  Device-1: Intel 100 Series/C230 Series Family HD Audio driver: snd_hda_intel
    v: kernel bus-ID: 00:1f.3 chip-ID: 8086:a170 class-ID: 0403
  Device-2: AMD Baffin HDMI/DP Audio [Radeon RX 550 640SP / 560/560X]
    driver: snd_hda_intel v: kernel pcie: gen: 3 speed: 8 GT/s lanes: 8
    bus-ID: 01:00.1 chip-ID: 1002:aae0 class-ID: 0403
  Device-3: No brand CalDigit Pro Audio
    driver: hid-generic,snd-usb-audio,usbhid type: USB rev: 2.0 speed: 480 Mb/s
    lanes: 1 mode: 2.0 bus-ID: 7-1.4.1:4 chip-ID: 2188:4042 class-ID: 0300
  API: ALSA v: k6.1.31-2-MANJARO status: kernel-api with: aoss
    type: oss-emulator tools: alsactl,alsamixer,amixer
  Server-1: JACK v: 1.9.22 status: off tools: N/A
  Server-2: PipeWire v: 0.3.70 status: n/a (root, process) with: wireplumber
    status: active tools: pw-cli,wpctl
  Server-3: PulseAudio v: 16.1 status: active (root, process)
    with: pulseaudio-alsa type: plugin tools: pacat,pactl
Network:
  Device-1: Broadcom BCM43602 802.11ac Wireless LAN SoC vendor: Apple
    driver: N/A modules: brcmfmac, wl pcie: gen: 1 speed: 2.5 GT/s lanes: 1
    bus-ID: 03:00.0 chip-ID: 14e4:43ba class-ID: 0280
  Device-2: Realtek RTL8153 Gigabit Ethernet Adapter driver: r8152 type: USB
    rev: 3.0 speed: 5 Gb/s lanes: 1 mode: 3.2 gen-1x1 bus-ID: 8-1.4.4:6
    chip-ID: 0bda:8153 class-ID: 0000 serial: <filter>
  IF: enp185s0u1u4u4 state: up speed: 1000 Mbps duplex: full mac: <filter>
  IP v4: <filter> type: dynamic noprefixroute scope: global
    broadcast: <filter>
  IP v6: <filter> type: noprefixroute scope: link
  WAN IP: <filter>
Bluetooth:
  Message: No bluetooth data found.
Logical:
  Message: No logical block device data found.
RAID:
  Message: No RAID data found.
Drives:
  Local Storage: total: 946.55 GiB used: 9.81 GiB (1.0%)
  ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Apple model: SSD SM0512L
    size: 465.92 GiB block-size: physical: 4096 B logical: 4096 B
    speed: 31.6 Gb/s lanes: 4 tech: SSD serial: <filter> fw-rev: CXS6AA0Q
    temp: 34.9 C scheme: GPT
  SMART: yes health: PASSED on: 76d 9h cycles: 17,754
    read-units: 236,843,738 [121 TB] written-units: 84,351,575 [43.1 TB]
  ID-2: /dev/sda maj-min: 8:0 model: TO Exter nal USB 3.0
    drive model: SSD 750 EVO 500GB family: based SSDs size: 465.76 GiB
    block-size: physical: 512 B logical: 512 B type: USB rev: 3.0 spd: 5 Gb/s
    lanes: 1 mode: 3.2 gen-1x1 sata: 3.1 speed: 6.0 Gb/s tech: SSD
    serial: <filter> drive serial: <filter> fw-rev: 6101 drive-rev: MAT01B6Q
    temp: 38 C scheme: GPT
  SMART: yes state: enabled health: PASSED on: 1y 54d 0h cycles: 308
    written: 670.9 GiB
  ID-3: /dev/sdb maj-min: 8:16 model: CalDigit SD Card Reader size: 14.87 GiB
    block-size: physical: 512 B logical: 512 B type: USB rev: 3.2 spd: 5 Gb/s
    lanes: 1 mode: 3.2 gen-1x1 tech: N/A serial: <filter> fw-rev: 0006
    scheme: MBR
  SMART Message: Unknown USB bridge. Flash drive/Unsupported enclosure?
  Message: No optical or floppy data found.
Partition:
  ID-1: / raw-size: 465.58 GiB size: 457.2 GiB (98.20%) used: 9.81 GiB (2.1%)
    fs: ext4 block-size: 4096 B dev: /dev/nvme0n1p2 maj-min: 259:2 label: N/A
    uuid: 0ddbea8f-8a70-4a5c-8694-f3f63631a67d
  ID-2: /boot/efi raw-size: 300 MiB size: 299.3 MiB (99.76%)
    used: 288 KiB (0.1%) fs: vfat block-size: 4096 B dev: /dev/nvme0n1p1
    maj-min: 259:1 label: N/A uuid: 87BD-A569
Swap:
  Alert: No swap data was found.
Unmounted:
  ID-1: /dev/sda1 maj-min: 8:1 size: 200 MiB fs: vfat label: EFI
    uuid: 67E3-17ED
  ID-2: /dev/sda2 maj-min: 8:2 size: 465.44 GiB fs: hfsplus label: M-and-M
    uuid: 2b9cc5d1-7ced-3dc5-8bba-8674bfe67f6d
  ID-3: /dev/sdb1 maj-min: 8:17 size: 14.86 GiB fs: vfat label: H2N_SD
    uuid: 3406-0000
USB:
  Hub-1: 1-0:1 info: hi-speed hub with single TT ports: 16 rev: 2.0
    speed: 480 Mb/s (57.2 MiB/s) lanes: 1 mode: 2.0 chip-ID: 1d6b:0002
    class-ID: 0900
  Device-1: 1-3:2 info: Apple Apple Mobile Device [Recovery Mode]
    type: <vendor specific> driver: N/A interfaces: 2 rev: 2.0
    speed: 480 Mb/s (57.2 MiB/s) lanes: 1 mode: 2.0 power: 500mA
    chip-ID: 05ac:1281 class-ID: fe01 serial: <filter>
  Hub-2: 2-0:1 info: super-speed hub ports: 8 rev: 3.0
    speed: 5 Gb/s (596.0 MiB/s) lanes: 1 mode: 3.2 gen-1x1 chip-ID: 1d6b:0003
    class-ID: 0900
  Hub-3: 3-0:1 info: hi-speed hub with single TT ports: 2 rev: 2.0
    speed: 480 Mb/s (57.2 MiB/s) lanes: 1 mode: 2.0 chip-ID: 1d6b:0002
    class-ID: 0900
  Hub-4: 4-0:1 info: super-speed hub ports: 2 rev: 3.1
    speed: 10 Gb/s (1.16 GiB/s) lanes: 1 mode: 3.2 gen-2x1 chip-ID: 1d6b:0003
    class-ID: 0900
  Hub-5: 5-0:1 info: hi-speed hub with single TT ports: 2 rev: 2.0
    speed: 480 Mb/s (57.2 MiB/s) lanes: 1 mode: 2.0 chip-ID: 1d6b:0002
    class-ID: 0900
  Hub-6: 6-0:1 info: super-speed hub ports: 2 rev: 3.1
    speed: 10 Gb/s (1.16 GiB/s) lanes: 1 mode: 3.2 gen-2x1 chip-ID: 1d6b:0003
    class-ID: 0900
  Hub-7: 7-0:1 info: hi-speed hub with single TT ports: 2 rev: 2.0
    speed: 480 Mb/s (57.2 MiB/s) lanes: 1 mode: 2.0 chip-ID: 1d6b:0002
    class-ID: 0900
  Hub-8: 7-1:2 info: No brand Hub ports: 4 rev: 2.1
    speed: 480 Mb/s (57.2 MiB/s) lanes: 1 mode: 2.0 chip-ID: 2188:0610
    class-ID: 0900
  Hub-9: 7-1.4:3 info: No brand Hub ports: 4 rev: 2.1
    speed: 480 Mb/s (57.2 MiB/s) lanes: 1 mode: 2.0 power: 100mA
    chip-ID: 2188:0611 class-ID: 0900
  Device-1: 7-1.4.1:4 info: No brand CalDigit Pro Audio type: audio,HID
    driver: hid-generic,snd-usb-audio,usbhid interfaces: 4 rev: 2.0
    speed: 480 Mb/s (57.2 MiB/s) lanes: 1 mode: 2.0 power: 100mA
    chip-ID: 2188:4042 class-ID: 0300
  Hub-10: 8-0:1 info: super-speed hub ports: 2 rev: 3.1
    speed: 10 Gb/s (1.16 GiB/s) lanes: 1 mode: 3.2 gen-2x1 chip-ID: 1d6b:0003
    class-ID: 0900
  Hub-11: 8-1:2 info: No brand Hub ports: 4 rev: 3.1
    speed: 10 Gb/s (1.16 GiB/s) lanes: 1 mode: 3.2 gen-2x1 chip-ID: 2188:0625
    class-ID: 0900
  Device-1: 8-1.1:3 info: No brand Card Reader type: mass storage
    driver: usb-storage interfaces: 1 rev: 3.2 speed: 5 Gb/s (596.0 MiB/s)
    lanes: 1 mode: 3.2 gen-1x1 power: 896mA chip-ID: 2188:0754 class-ID: 0806
    serial: <filter>
  Device-2: 8-1.3:5 info: JMS578 based SATA bridge type: mass storage
    driver: uas interfaces: 1 rev: 3.0 speed: 5 Gb/s (596.0 MiB/s) lanes: 1
    mode: 3.2 gen-1x1 power: 896mA chip-ID: 0080:a001 class-ID: 0806
    serial: <filter>
  Hub-12: 8-1.4:4 info: No brand Hub ports: 4 rev: 3.1
    speed: 5 Gb/s (596.0 MiB/s) lanes: 1 mode: 3.2 gen-1x1 chip-ID: 2188:0620
    class-ID: 0900
  Device-1: 8-1.4.4:6 info: Realtek RTL8153 Gigabit Ethernet Adapter
    type: Network driver: r8152 interfaces: 1 rev: 3.0
    speed: 5 Gb/s (596.0 MiB/s) lanes: 1 mode: 3.2 gen-1x1 power: 288mA
    chip-ID: 0bda:8153 class-ID: 0000 serial: <filter>
Sensors:
  System Temperatures: cpu: 51.0 C mobo: N/A gpu: amdgpu temp: 44.0 C
  Fan Speeds (RPM): N/A
Info:
  Processes: 247 Uptime: 12m wakeups: 7 Init: systemd v: 253 default: graphical
  tool: systemctl Compilers: gcc: 13.1.1 clang: 15.0.7 Packages: pm: pacman
  pkgs: 1183 libs: 366 tools: pamac pm: flatpak pkgs: 0 Shell: Bash (su)
  v: 5.1.16 running-in: pty pts/1 (SSH) inxi: 3.3.27

thermals at mac’s are critical. make sure that your cooling-system works properly. a frozen mac with a green display is a 100% indication that the mac has stopped because of overheating !
read the link below carefully, install mbpfan and configure it for your suites. keep care of the graphic-card-temperature. this is the most vulnerable part of apple-designs.

feel free to ask if you need some more advice installing mbpfan, but everything should be explained in the link

Hey, thanks for the hin about mbpfan. I installed it and when I load the system with “stress” it comes on. ran stress for some 10 minutes and the system works fine, however still only when connected to my thunderbolt dock using the wired networking.

As soon as I unplug it, it crashes a few seconds after pulling the cable. I did another test running on battery with a USB network adapter and cable attached. It also works fine. My problem seems to be related to WIFI.

WIFI was a problem during installation as well. The device was recognized and networks were scanned but I couldn’t connect. The machine didn’t crash though.

I already tried the wl driver (if I did it correctly) but I still get the crashes.

Any other ides?

a broken wifi-driver doesn’t crash your system. that’s a different problem

tlp active ? please post the output of

systemctl status tlp

and

tlp-stat

and

systemctl status mbpfan

TLP was not installed. I have installed it now.

Issue still remains. without wired connection, I can boot, log in and the system appears stable. Without it boots, KDE loads and then a few seconds in, it crashes. Same happens if I boot with wired network and then pull he network adapter.

Requested outputs below:

Here’s the systemctrl output:

systemctl status tlp
● tlp.service - TLP system startup/shutdown
     Loaded: loaded (/usr/lib/systemd/system/tlp.service; enabled; preset: disabled)
     Active: active (exited) since Mon 2023-06-12 13:09:22 CEST; 1min 33s ago
       Docs: https://linrunner.de/tlp
    Process: 1194 ExecStart=/usr/bin/tlp init start (code=exited, status=0/SUCCESS)
   Main PID: 1194 (code=exited, status=0/SUCCESS)
        CPU: 776ms

Jun 12 13:09:21 macbooklnx systemd[1]: Starting TLP system startup/shutdown...
Jun 12 13:09:22 macbooklnx tlp[1194]: Applying power save settings...done.
Jun 12 13:09:22 macbooklnx tlp[1194]: Setting battery charge thresholds...done.
Jun 12 13:09:22 macbooklnx systemd[1]: Finished TLP system startup/shutdown.

tlp-stat:

--- TLP 1.5.0 --------------------------------------------

+++ Configured Settings:
defaults.conf L0004: TLP_ENABLE="1"
defaults.conf L0005: TLP_WARN_LEVEL="3"
defaults.conf L0006: TLP_PERSISTENT_DEFAULT="0"
defaults.conf L0007: DISK_IDLE_SECS_ON_AC="0"
defaults.conf L0008: DISK_IDLE_SECS_ON_BAT="2"
defaults.conf L0009: MAX_LOST_WORK_SECS_ON_AC="15"
defaults.conf L0010: MAX_LOST_WORK_SECS_ON_BAT="60"
defaults.conf L0011: CPU_ENERGY_PERF_POLICY_ON_AC="balance_performance"
defaults.conf L0012: CPU_ENERGY_PERF_POLICY_ON_BAT="balance_power"
defaults.conf L0013: SCHED_POWERSAVE_ON_AC="0"
defaults.conf L0014: SCHED_POWERSAVE_ON_BAT="1"
defaults.conf L0015: NMI_WATCHDOG="0"
defaults.conf L0016: DISK_DEVICES="nvme0n1 sda"
defaults.conf L0017: DISK_APM_LEVEL_ON_AC="254 254"
defaults.conf L0018: DISK_APM_LEVEL_ON_BAT="128 128"
defaults.conf L0019: DISK_APM_CLASS_DENYLIST="usb ieee1394"
defaults.conf L0020: DISK_IOSCHED="keep keep"
defaults.conf L0021: SATA_LINKPWR_ON_AC="med_power_with_dipm max_performance"
defaults.conf L0022: SATA_LINKPWR_ON_BAT="med_power_with_dipm min_power"
defaults.conf L0023: AHCI_RUNTIME_PM_ON_AC="on"
defaults.conf L0024: AHCI_RUNTIME_PM_ON_BAT="auto"
defaults.conf L0025: AHCI_RUNTIME_PM_TIMEOUT="15"
defaults.conf L0026: PCIE_ASPM_ON_AC="default"
defaults.conf L0027: PCIE_ASPM_ON_BAT="default"
defaults.conf L0028: RADEON_DPM_PERF_LEVEL_ON_AC="auto"
defaults.conf L0029: RADEON_DPM_PERF_LEVEL_ON_BAT="auto"
defaults.conf L0030: RADEON_POWER_PROFILE_ON_AC="default"
defaults.conf L0031: RADEON_POWER_PROFILE_ON_BAT="default"
defaults.conf L0032: WIFI_PWR_ON_AC="off"
defaults.conf L0033: WIFI_PWR_ON_BAT="on"
defaults.conf L0034: WOL_DISABLE="Y"
defaults.conf L0035: SOUND_POWER_SAVE_ON_AC="1"
defaults.conf L0036: SOUND_POWER_SAVE_ON_BAT="1"
defaults.conf L0037: SOUND_POWER_SAVE_CONTROLLER="Y"
defaults.conf L0038: BAY_POWEROFF_ON_AC="0"
defaults.conf L0039: BAY_POWEROFF_ON_BAT="0"
defaults.conf L0040: BAY_DEVICE="sr0"
defaults.conf L0041: RUNTIME_PM_ON_AC="on"
defaults.conf L0042: RUNTIME_PM_ON_BAT="auto"
defaults.conf L0043: RUNTIME_PM_DRIVER_DENYLIST="mei_me nouveau radeon"
defaults.conf L0044: USB_AUTOSUSPEND="1"
defaults.conf L0045: USB_EXCLUDE_AUDIO="1"
defaults.conf L0046: USB_EXCLUDE_BTUSB="0"
defaults.conf L0047: USB_EXCLUDE_PHONE="0"
defaults.conf L0048: USB_EXCLUDE_PRINTER="1"
defaults.conf L0049: USB_EXCLUDE_WWAN="0"
defaults.conf L0050: USB_AUTOSUSPEND_DISABLE_ON_SHUTDOWN="0"
defaults.conf L0051: RESTORE_DEVICE_STATE_ON_STARTUP="0"
defaults.conf L0052: RESTORE_THRESHOLDS_ON_BAT="0"
defaults.conf L0053: NATACPI_ENABLE="1"
defaults.conf L0054: TPACPI_ENABLE="1"
defaults.conf L0055: TPSMAPI_ENABLE="1"

+++ System Info
System         = Apple Inc. 1.0 MacBookPro13,3
BIOS           = 451.140.1.0.0
OS Release     = Manjaro Linux
Kernel         = 6.1.31-2-MANJARO #1 SMP PREEMPT_DYNAMIC Sun Jun  4 12:31:46 UTC 2023 x86_64
/proc/cmdline  = BOOT_IMAGE=/boot/vmlinuz-6.1-x86_64 root=UUID=0ddbea8f-8a70-4a5c-8694-f3f63631a67d rw quiet splash udev.log_priority=3
Init system    = systemd
Boot mode      = UEFI

+++ TLP Status
State          = enabled
RDW state      = not installed
Last run       = 13:09:21,      5 sec(s) ago
Mode           = AC
Power source   = AC

+++ Processor
CPU model      = Intel(R) Core(TM) i7-6820HQ CPU @ 2.70GHz

/sys/devices/system/cpu/cpu0/cpufreq/scaling_driver    = intel_pstate
/sys/devices/system/cpu/cpu0/cpufreq/scaling_governor  = powersave
/sys/devices/system/cpu/cpu0/cpufreq/scaling_available_governors = performance powersave
/sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq  =   800000 [kHz]
/sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq  =  3600000 [kHz]
/sys/devices/system/cpu/cpu0/cpufreq/energy_performance_preference = balance_performance [HWP.EPP]
/sys/devices/system/cpu/cpu0/cpufreq/energy_performance_available_preferences = default performance balance_performance balance_power power

/sys/devices/system/cpu/cpu1..cpu7: omitted for clarity, use -v to show all

/sys/devices/system/cpu/intel_pstate/status            = active
/sys/devices/system/cpu/intel_pstate/min_perf_pct      =  22 [%]
/sys/devices/system/cpu/intel_pstate/max_perf_pct      = 100 [%]
/sys/devices/system/cpu/intel_pstate/no_turbo          =   0
/sys/devices/system/cpu/intel_pstate/hwp_dynamic_boost =   0
/sys/devices/system/cpu/intel_pstate/turbo_pct         =  32 [%]
/sys/devices/system/cpu/intel_pstate/num_pstates       =  29

/sys/module/workqueue/parameters/power_efficient       = Y
/proc/sys/kernel/nmi_watchdog                          = 0

+++ Platform Profile
/sys/firmware/acpi/platform_profile                    = (not available)
/sys/firmware/acpi/platform_profile_choices            = (not available)

+++ Temperatures
CPU temp               =    59 [°C]
Fan speed (fan1)       =  2164 [/min]
Fan speed (fan2)       =  1994 [/min]

+++ File System
/proc/sys/vm/laptop_mode               =     0
/proc/sys/vm/dirty_writeback_centisecs =  1500
/proc/sys/vm/dirty_expire_centisecs    =  1500
/proc/sys/vm/dirty_ratio               =    20
/proc/sys/vm/dirty_background_ratio    =    10

+++ Disks
Devices = nvme0n1 sda

/dev/nvme0n1:
  Type       = NVMe
  Disk ID    = nvme-APPLE_SSD_SM0512L_C026447009VGVF012
  Model      = APPLE SSD SM0512L
  Firmware   = CXS6AA0Q
  Temp       = 42 °C
  Scheduler  = [mq-deadline] kyber bfq none (multi queue)

  Runtime PM:
    /sys/block/nvme0n1/device/power/control = on, autosuspend_delay_ms = (not available)

  SMART info:
    Critical Warning:                   0x00
    Temperature:                        42 Celsius
    Available Spare:                    100%
    Available Spare Threshold:          10%
    Percentage Used:                    3%
    Data Units Written:                 84.352.808 [43,1 TB]
    Power Cycles:                       17.819
    Power On Hours:                     1.833
    Unsafe Shutdowns:                   309
    Media and Data Integrity Errors:    0

/dev/sda:
  Type       = USB
  Disk ID    = usb-TO_Exter_nal_USB_3.0_201503310012B-0:0
  Model      = Samsung SSD 750 EVO 500GB
  Firmware   = MAT01B6Q
  APM Level  = none/disabled
  Status     = unknown
  TRIM       = supported
  Scheduler  = [mq-deadline] kyber bfq none (multi queue)

  Runtime PM:
    /sys/block/sda/device/power/control = on, autosuspend_delay_ms = 15000

  SMART info:
      5 Reallocated_Sector_Ct     =        0
      9 Power_On_Hours            =    10057 [h]
     12 Power_Cycle_Count         =      314
    177 Wear_Leveling_Count       =       99 [%]
    179 Used_Rsvd_Blk_Cnt_Tot     =        0
    190 Airflow_Temperature_Cel   =       38 [°C]
    241 Total_LBAs_Written        =    0.655 [TB]

+++ AMD Radeon Graphics
/sys/class/drm/card0/device/driver                                = amdgpu

/sys/class/drm/card0/device/power_dpm_force_performance_level     = auto

+++ Wireless
bluetooth = on
nfc       = none (no device)
wifi      = none (no device)
wwan      = none (no device)

hci0(hci_uart_bcm)            : bluetooth, not connected

+++ Audio
/sys/module/snd_hda_intel/parameters/power_save            = 1
/sys/module/snd_hda_intel/parameters/power_save_controller = Y

+++ PCIe Active State Power Management
/sys/module/pcie_aspm/parameters/policy = [default] performance powersave powersupersave (using BIOS preferences)

+++ PCIe Runtime Power Management
Enable devices    = (disabled)
Disable devices   = (disabled)
Device denylist   = (disabled)
Driver denylist   = mei_me nouveau radeon

/sys/bus/pci/devices/0000:00:00.0/power/control = on   (0x060000, Host bridge, skl_uncore)
/sys/bus/pci/devices/0000:00:01.0/power/control = on   (0x060400, PCI bridge, pcieport)
/sys/bus/pci/devices/0000:00:01.1/power/control = on   (0x060400, PCI bridge, pcieport)
/sys/bus/pci/devices/0000:00:01.2/power/control = on   (0x060400, PCI bridge, pcieport)
/sys/bus/pci/devices/0000:00:14.0/power/control = on   (0x0c0330, USB controller, xhci_hcd)
/sys/bus/pci/devices/0000:00:15.0/power/control = on   (0x118000, Signal processing controller, intel-lpss)
/sys/bus/pci/devices/0000:00:16.0/power/control = auto (0x078000, Communication controller, mei_me)
/sys/bus/pci/devices/0000:00:19.0/power/control = on   (0x118000, Signal processing controller, intel-lpss)
/sys/bus/pci/devices/0000:00:1b.0/power/control = on   (0x060400, PCI bridge, pcieport)
/sys/bus/pci/devices/0000:00:1c.0/power/control = on   (0x060400, PCI bridge, pcieport)
/sys/bus/pci/devices/0000:00:1e.0/power/control = on   (0x118000, Signal processing controller, intel-lpss)
/sys/bus/pci/devices/0000:00:1e.1/power/control = on   (0x118000, Signal processing controller, intel-lpss)
/sys/bus/pci/devices/0000:00:1e.2/power/control = on   (0x118000, Signal processing controller, intel-lpss)
/sys/bus/pci/devices/0000:00:1e.3/power/control = on   (0x118000, Signal processing controller, intel-lpss)
/sys/bus/pci/devices/0000:00:1f.0/power/control = on   (0x060100, ISA bridge, no driver)
/sys/bus/pci/devices/0000:00:1f.2/power/control = on   (0x058000, Memory controller, no driver)
/sys/bus/pci/devices/0000:00:1f.3/power/control = on   (0x040300, Audio device, snd_hda_intel)
/sys/bus/pci/devices/0000:00:1f.4/power/control = on   (0x0c0500, SMBus, i801_smbus)
/sys/bus/pci/devices/0000:01:00.0/power/control = on   (0x030000, VGA compatible controller, amdgpu)
/sys/bus/pci/devices/0000:01:00.1/power/control = on   (0x040300, Audio device, snd_hda_intel)
/sys/bus/pci/devices/0000:02:00.0/power/control = on   (0x010802, Non-Volatile memory controller, nvme)
/sys/bus/pci/devices/0000:03:00.0/power/control = on   (0x028000, Network controller, no driver)
/sys/bus/pci/devices/0000:04:00.0/power/control = on   (0x060400, PCI bridge, pcieport)
/sys/bus/pci/devices/0000:05:00.0/power/control = on   (0x060400, PCI bridge, pcieport)
/sys/bus/pci/devices/0000:05:01.0/power/control = on   (0x060400, PCI bridge, pcieport)
/sys/bus/pci/devices/0000:05:02.0/power/control = on   (0x060400, PCI bridge, pcieport)
/sys/bus/pci/devices/0000:05:04.0/power/control = on   (0x060400, PCI bridge, pcieport)
/sys/bus/pci/devices/0000:06:00.0/power/control = on   (0x088000, System peripheral, thunderbolt)
/sys/bus/pci/devices/0000:07:00.0/power/control = on   (0x0c0330, USB controller, xhci_hcd)
/sys/bus/pci/devices/0000:7a:00.0/power/control = on   (0x060400, PCI bridge, pcieport)
/sys/bus/pci/devices/0000:7b:00.0/power/control = on   (0x060400, PCI bridge, pcieport)
/sys/bus/pci/devices/0000:7b:01.0/power/control = on   (0x060400, PCI bridge, pcieport)
/sys/bus/pci/devices/0000:7b:02.0/power/control = on   (0x060400, PCI bridge, pcieport)
/sys/bus/pci/devices/0000:7b:04.0/power/control = on   (0x060400, PCI bridge, pcieport)
/sys/bus/pci/devices/0000:7c:00.0/power/control = on   (0x088000, System peripheral, thunderbolt)
/sys/bus/pci/devices/0000:7d:00.0/power/control = on   (0x0c0330, USB controller, xhci_hcd)
/sys/bus/pci/devices/0000:b7:00.0/power/control = on   (0x060400, PCI bridge, pcieport)
/sys/bus/pci/devices/0000:b8:02.0/power/control = on   (0x060400, PCI bridge, pcieport)
/sys/bus/pci/devices/0000:b9:00.0/power/control = on   (0x0c0330, USB controller, xhci_hcd)

+++ USB
Autosuspend       = enabled
Device allowlist  = (not configured)
Device denylist   = (not configured)
Exclude audio     = enabled
Exclude bluetooth = disabled
Exclude phones    = disabled
Exclude printers  = enabled
Exclude WWAN      = disabled

Bus 002 Device 001 ID 1d6b:0003 control = auto, autosuspend_delay_ms =    0 -- Linux Foundation 3.0 root hub (hub)
Bus 001 Device 002 ID 05ac:1281 control = on,   autosuspend_delay_ms = 2000 -- Apple, Inc. Apple Mobile Device [Recovery Mode] (no driver)
Bus 001 Device 001 ID 1d6b:0002 control = auto, autosuspend_delay_ms =    0 -- Linux Foundation 2.0 root hub (hub)
Bus 008 Device 006 ID 0bda:8153 control = on,   autosuspend_delay_ms = 2000 -- Realtek Semiconductor Corp. RTL8153 Gigabit Ethernet Adapter (r8152)
Bus 008 Device 005 ID 2188:0620 control = auto, autosuspend_delay_ms =    0 -- No brand Hub (hub)
Bus 008 Device 004 ID 0080:a001 control = on,   autosuspend_delay_ms = 2000 -- Unknown JMS578 based SATA bridge (uas)
Bus 008 Device 003 ID 2188:0754 control = on,   autosuspend_delay_ms = 2000 -- No brand Card Reader (usb-storage)
Bus 008 Device 002 ID 2188:0625 control = auto, autosuspend_delay_ms =    0 -- No brand Hub (hub)
Bus 008 Device 001 ID 1d6b:0003 control = auto, autosuspend_delay_ms =    0 -- Linux Foundation 3.0 root hub (hub)
Bus 007 Device 005 ID 2188:4042 control = on,   autosuspend_delay_ms = 2000 -- No brand CalDigit Pro Audio (snd-usb-audio, usbhid)
Bus 007 Device 004 ID 2188:0611 control = auto, autosuspend_delay_ms =    0 -- No brand Hub (hub)
Bus 007 Device 002 ID 2188:0610 control = auto, autosuspend_delay_ms =    0 -- No brand Hub (hub)
Bus 007 Device 001 ID 1d6b:0002 control = auto, autosuspend_delay_ms =    0 -- Linux Foundation 2.0 root hub (hub)
Bus 006 Device 001 ID 1d6b:0003 control = auto, autosuspend_delay_ms =    0 -- Linux Foundation 3.0 root hub (hub)
Bus 005 Device 001 ID 1d6b:0002 control = auto, autosuspend_delay_ms =    0 -- Linux Foundation 2.0 root hub (hub)
Bus 004 Device 001 ID 1d6b:0003 control = auto, autosuspend_delay_ms =    0 -- Linux Foundation 3.0 root hub (hub)
Bus 003 Device 001 ID 1d6b:0002 control = auto, autosuspend_delay_ms =    0 -- Linux Foundation 2.0 root hub (hub)

+++ Battery Care
Plugin: generic
Supported features: none available

+++ Battery Status: BAT0
/sys/class/power_supply/BAT0/manufacturer                   = SMP
/sys/class/power_supply/BAT0/model_name                     = bq20z451
/sys/class/power_supply/BAT0/cycle_count                    =    188
/sys/class/power_supply/BAT0/charge_full_design             =   6669 [mAh]
/sys/class/power_supply/BAT0/charge_full                    =   5104 [mAh]
/sys/class/power_supply/BAT0/charge_now                     =    333 [mAh]
/sys/class/power_supply/BAT0/current_now                    =      0 [mA]
/sys/class/power_supply/BAT0/status                         = Full

/sys/class/power_supply/BAT0/charge_control_start_threshold = (not available)
/sys/class/power_supply/BAT0/charge_control_end_threshold   = (not available)

Charge                                                      =    6.5 [%]
Capacity                                                    =   76.5 [%]

+++ Recommendations
* Install ethtool to disable Wake-on-LAN

and systemctrl for mbpfan:

systemctl status mbpfan
● mbpfan.service - A fan manager daemon for MacBook Pro
     Loaded: loaded (/usr/lib/systemd/system/mbpfan.service; enabled; preset: disabled)
     Active: active (running) since Mon 2023-06-12 13:07:20 CEST; 4min 47s ago
   Main PID: 416 (mbpfan)
      Tasks: 1 (limit: 19038)
     Memory: 300.0K
        CPU: 47ms
     CGroup: /system.slice/mbpfan.service
             └─416 /usr/sbin/mbpfan -f

Jun 12 13:07:20 macbooklnx systemd[1]: Started A fan manager daemon for MacBook Pro.

Mbp 13,3 is a little tricky, read:
https://bugzilla.kernel.org/show_bug.cgi?id=193121#c62

The crash-when-unplugged issue is most likely related to the badly configured Broadcom in conjunction with a dying battery; this reading isn’t healthy:

Battery:
  ID-1: BAT0 charge: 42.7 Wh (72.1%) condition: 59.2/76.7 Wh (77.2%)

you’re able to boot and run the system without docking station ? shut down, disconnect from docking station and do a full reboot without docking connected. does this work 100% ?

@6x12 : Thanks for the pointer, will have a read…

@Olli: Machine seems to run perfectly fine without docking station running from battery, however only when I use a wired network via a USB network adapter.

For clarity: If not connected to wired network running on battery, I can boot the machine, enter my credentials, KDE plasma loads and a few seconds in, it crashes.

Update: went ahead and installed the b43 firmware package. No crash but so far cannot connect to the AP either. Need to investigate a bit further.

Check if there are blacklists under etc/modprobe.d.
Could also be that BCM43602 simply won’t work with b43 (or broadcom-wl-dkms) even though almost all of their other chips do. Also note:

No 5GHz for BCM4360 (14e4:43a0) / BCM43602 (14e4:43ba) devices

Changing the wireless channel to a lower channel number (like 40 or, if your router show MHz instead of channel numbers, like 5200 MHz or 5280 MHz) seems to allow connection to 5GHz bands. If your router has the same SSID for the 2.4GHZ and 5GHZ, this can fix problems with your wireless connection being unstable or very slow. Broadcom wireless - ArchWiki

can you post the output of

lsmod

Here’s the output of lsmod:

lsmod 
Module                  Size  Used by
brcmfmac              507904  0
bcma                   77824  0
cordic                 16384  0
mac80211             1310720  0
libarc4                16384  1 mac80211
pcmcia                 81920  0
pcmcia_core            36864  1 pcmcia
rfcomm                 90112  16
hid_magicmouse         20480  0
hid_apple              24576  0
hidp                   32768  2
snd_usb_audio         397312  2
snd_usbmidi_lib        45056  1 snd_usb_audio
snd_rawmidi            49152  1 snd_usbmidi_lib
snd_seq_device         16384  1 snd_rawmidi
mc                     77824  1 snd_usb_audio
usbhid                 73728  0
r8153_ecm              16384  0
cdc_ether              24576  1 r8153_ecm
usbnet                 57344  2 r8153_ecm,cdc_ether
r8152                 143360  1 r8153_ecm
mii                    16384  2 usbnet,r8152
uas                    32768  0
usb_storage            81920  1 uas
cmac                   16384  3
algif_hash             16384  1
qrtr                   57344  4
algif_skcipher         16384  1
af_alg                 36864  6 algif_hash,algif_skcipher
bnep                   28672  2
intel_rapl_msr         20480  0
intel_rapl_common      32768  1 intel_rapl_msr
intel_tcc_cooling      16384  0
x86_pkg_temp_thermal    20480  0
intel_powerclamp       20480  0
joydev                 28672  0
kvm_intel             393216  0
mousedev               24576  0
apple_mfi_fastcharge    20480  0
kvm                  1150976  1 kvm_intel
snd_hda_codec_cs8409    36864  1
snd_hda_codec_generic    98304  1 snd_hda_codec_cs8409
irqbypass              16384  1 kvm
iTCO_wdt               16384  0
spi_pxa2xx_platform    40960  0
crct10dif_pclmul       16384  1
dw_dmac                16384  0
amdgpu              10469376  48
intel_pmc_bxt          16384  1 iTCO_wdt
ledtrig_audio          16384  1 snd_hda_codec_generic
iTCO_vendor_support    16384  1 iTCO_wdt
crc32_pclmul           16384  0
polyval_clmulni        16384  0
8250_dw                24576  0
snd_hda_codec_hdmi     86016  1
polyval_generic        16384  1 polyval_clmulni
gf128mul               16384  1 polyval_generic
mei_hdcp               24576  0
ghash_clmulni_intel    16384  0
hci_uart              163840  0
mei_pxp                20480  0
btqca                  24576  1 hci_uart
sha512_ssse3           53248  0
btrtl                  28672  1 hci_uart
snd_hda_intel          61440  2
snd_intel_dspcfg       36864  1 snd_hda_intel
aesni_intel           393216  4
btbcm                  24576  1 hci_uart
crypto_simd            16384  1 aesni_intel
cryptd                 24576  3 crypto_simd,ghash_clmulni_intel
snd_intel_sdw_acpi     20480  1 snd_intel_dspcfg
btintel                45056  1 hci_uart
brcmutil               24576  1 brcmfmac
gpu_sched              49152  1 amdgpu
rapl                   16384  0
drm_buddy              20480  1 amdgpu
snd_hda_codec         188416  4 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_codec_cs8409,snd_hda_intel
intel_cstate           20480  0
cfg80211             1138688  2 brcmfmac,mac80211
bluetooth             937984  53 btrtl,hidp,btqca,btintel,hci_uart,btbcm,bnep,rfcomm
snd_hda_core          118784  5 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_codec_cs8409,snd_hda_intel,snd_hda_codec
drm_ttm_helper         16384  1 amdgpu
snd_hwdep              16384  2 snd_usb_audio,snd_hda_codec
intel_lpss_pci         28672  6
ttm                    94208  2 amdgpu,drm_ttm_helper
snd_pcm               172032  5 snd_hda_codec_hdmi,snd_hda_intel,snd_usb_audio,snd_hda_codec,snd_hda_core
i2c_i801               45056  0
vfat                   24576  1
snd_timer              49152  1 snd_pcm
fat                    98304  1 vfat
intel_uncore          221184  0
snd                   131072  20 snd_hda_codec_generic,snd_seq_device,snd_hda_codec_hdmi,snd_hwdep,snd_hda_codec_cs8409,snd_hda_intel,snd_usb_audio,snd_usbmidi_lib,snd_hda_codec,snd_timer,snd_pcm,snd_rawmidi
pcspkr                 16384  0
i2c_smbus              20480  1 i2c_i801
ecdh_generic           16384  2 bluetooth
mmc_core              233472  1 brcmfmac
thunderbolt           405504  0
drm_display_helper    184320  1 amdgpu
mei_me                 57344  2
intel_lpss             16384  1 intel_lpss_pci
sbs                    20480  0
cec                    81920  1 drm_display_helper
soundcore              16384  1 snd
rfkill                 36864  8 bluetooth,cfg80211
mei                   176128  5 mei_hdcp,mei_pxp,mei_me
idma64                 20480  0
sbshc                  16384  1 sbs
video                  65536  1 amdgpu
apple_gmux             28672  0
wmi                    45056  1 video
apple_bl               20480  1 apple_gmux
mac_hid                16384  0
applesmc               28672  0
coretemp               20480  0
crypto_user            24576  0
dm_mod                192512  0
fuse                  176128  3
loop                   36864  0
bpf_preload            24576  0
ip_tables              36864  0
x_tables               57344  1 ip_tables
ext4                 1032192  1
crc32c_generic         16384  0
mbcache                16384  1 ext4
jbd2                  192512  1 ext4
nvme                   61440  2
nvme_core             208896  3 nvme
crc32c_intel           24576  2
xhci_pci               24576  0
nvme_common            24576  1 nvme_core
xhci_pci_renesas       24576  1 xhci_pci
applespi               53248  0
crc16                  16384  3 bluetooth,ext4,applespi

Also I’m noticing that firmware seems to be missing, dmesg output:

[Jun12 17:29] usbcore: registered new interface driver brcmfmac
[  +0,105629] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43602-pcie for chip BCM43602/2
[  +0,000114] brcmfmac 0000:03:00.0: Direct firmware load for brcm/brcmfmac43602-pcie.Apple Inc.-MacBookPro13,3.bin failed with error -2
[  +0,000822] brcmfmac 0000:03:00.0: Direct firmware load for brcm/brcmfmac43602-pcie.clm_blob failed with error -2
[  +0,202575] brcmfmac: brcmf_c_process_clm_blob: no clm_blob available (err=-2), device may have limited channels available
[  +0,000766] brcmfmac: brcmf_c_preinit_dcmds: Firmware: BCM43602/2 wl0: Nov 10 2015 06:38:10 version 7.35.177.61 (r598657) FWID 01-ea662a8c
[  +0,072635] brcmfmac 0000:03:00.0 wlp3s0: renamed from wlan0

Read the info on the link I posted above: https://bugzilla.kernel.org/show_bug.cgi?id=193121#c62

  1. How I resolved connectivity issues

to

macaddr=00:90:4c:0d:f4:3e
ccode=0
regrev=1

In Terminal:
sudo cp ~/Downloads/brcmfmac43602-pcie.txt /lib/firmware/brcm/
sudo reboot