Open kit-ty-kate opened 2 years ago
Machine: MacBook Air M1 2020
I am having a similar issue, however in my case the device does not get detected no matter how many cold/warm boots the computer gets. This is dual booting with macOS 12.2.1 right now. I'm using a USB-C hub with an ASIX AX88179 ethernet chip for temporary network access.
I've attempted to build the kernel with the newest commit for unrelated testing reasons (read: my curiosity) (a0ce482af27aaf2ed4f90dfa961a57fc54ed2f68) from github.com/AsahiLinux/linux which is what the attached dmesg and iomem are from but the issue happens in both my build and the reference package from the "asahi" repo (5.17.rc6.20220301-4).
07-03-2022-dmesg-a0ce482af27aaf2ed4f90dfa961a57fc54ed2f68.txt 07-03-2022-iomem-a0ce482af27aaf2ed4f90dfa961a57fc54ed2f68.txt
Same issue on MacBook Pro with M1 Max and the reference distro kernel. Like @kaferka it doesn't seem to matter how many warm/cold boots I do.
This should be fixed. Turns out power gating the PCIe peripheral makes everything randomly explode.
I'll leave this open since this needs investigation, but for now I just marked the PCIe domain as always-on so this won't break any more in the kernel packages.
Machine: macbook air 2020
In a few cases the wifi pcie device is not detected by the kernel. There seems to be a common (rather odd) pattern:
This is rather odd but it happend on the two times I booted the machine after having left it for a few hours, but never in the 50-ish reboot or poweroff+wait+boot I tried during the couple of hours after the first time it happened.
Here is the diff of dmesg output between a boot which detected the wifi pcie device and a boot that did not:
"as expected" by such a diff, when this behaviour happens,
lspci
only returns:Complete dmesg and diff here: https://gist.github.com/kit-ty-kate/348689e9b460b7267a5153bb12a5064b