Open lvs1974 opened 4 years ago
Looks like I need to revert one of the changes I made earlier- the log shows a regression. Thank you!
@hatf0: I will be glad if my log can help somehow. Thank you!
With the latest commit (8ef98774e9b8d1f69139373511540c3bb84cb619) the driver works a bit better: Wi-Fi device is available in the system (and in Network preferences pane). I also tried to turn on/off wifi using menu bar icon, but it seems to be inconsistent with the current status in Network preferences pane.
The problem is that device is displayed as "Turned off", and when I try to press this button, nothing happens.
dmesg.txt
Thank you!
Same for me on Intel Wireless-AC 8265. Thank you!
Still I don't really know how to make logs. But I managed to get some part of it. dmesg.txt Maybe it can help you somehow.
@lvs1974 It seems that the Wi-Fi card still existing is an issue from running the other intel wifi kext- but otherwise your hardware does initialize properly.
@vladdenisov That dmesg file doesn’t contain anything relating to the kext. But if it’s the same- be patient as change will come soon
@vladdenisov: dmseg it is a cyclic buffer, it has a size 4096 bytes by default. In order to increase this size, you should add a boot-arg: msgbuf=1048576 (maximum size). @hatf0: I will try to remove these files from /Library/Preferences/SystemConfiguration/ and repeat: com.apple.airport.preferences.plist com.apple.network.identification.plist com.apple.wifi.message-tracer.plist NetworkInterfaces.plist
I also have Intel AC-9560, but i get kernel panic instead with this kext (built a few minutes ago). Could it be conflict between usb wi-fi and this or .kext for intel bt? log.panic.zip panic_after_load.txt
@lvs1974 can you share your kext?
@tikscr: try to put your kext into /Library/Extensions, or load it in terminal via kextutil. I also had the same exception. It seems to be sporadic.
@lvs1974 i've put kext into /L/E - and system boots OK, kext is mentioned a lot of times in boot log, but it's missing from loaded kexts as well as wi-fi is still missing from my laptop. Loading via kextutil causes kernel panic a few seconds later. Also, kexutil mentions issue with sign of kext, maybe it's the main problem? btw, i've tried both release and debug configurations of build.
I don't really know if this log is helpful, but i've tried to follow lvs1974 instructions :/ dmesg.txt
Intel(R) Dual Band Wireless AC 8265.
You can use the following command for a cleaner log.
log show --last boot --predicate 'process == "kernel"' | grep -i intel > ~/Desktop/log.txt
@tikscr Signing shouldn't be a problem as long as you have SIP for unsigned kexts off. The kext isn't up to the point where it'll show up as a network interface yet. Back when I built it, (xcodebuild
from Terminal) I had to use the release version, not the debug version, for the proper code to run. Haven't built it recently so I don't know whether hatf0 has fixed the issue.
@dhinakg well, in my case (dell g5, ac-9560) release version ( i built it by xcodebuild) causes kernel panic in every case i've tried (kextutil, kextload, l/e and clover/kexts/other). Debug version seems to be not working at all. Release version without last commit acts the same way. All comands i do are:
I think, that either my kext is not 100% correct or there might be some conflict with other kexts.
@tikscr I know why. The problem with developing this is that there’s not a clear distinction between memory which has been allocated through allocatePacket and memory that’s been allocated with IOAlloc, and I assume I missed a place where memory is actually allocated from such- your panic log shows this. Sadly it’s not as simple as calling free() for everything :(
I’ll take a look and see where it’s panicking though.
how about AC 3160? whare can I get kext file and how to install it?
I'm also having trouble with AC 9560 (M2 Key E/M intergrated)
First try is to install kext in EFI/OC/Kexts (OpenCore) => Kernel Panic Kernel_2020-02-29-000555_XXX.panic.txt
Second try with kextload -v => Its create new Ethernet en2 interface AppleIntelWifiAdapter-log-try2.txt
Third try with kextload : after using kext unload and remove plists in SystemConfiguration as @lvs1974 mention (other files not found so I've only removed two files: com.apple.airport.preferences.plist & NetworkInterfaces.plist) => Its create new Ethernet en2 interface again AppleIntelWifiAdapter-log-try3.txt
Hope these information will be helpful
Same here it's creating Ethernet en1 interface. I tried to unload kext and reloaded again but still, the problem persists.
Here my log. log.txt
Same here even with latest commits. Tried to load and unload kext 3 times.
Intel(R) Dual Band Wireless AC 8265. log.txt
@vladdenisov is that worked with earlier commits?
@Timothybas nope. It didn't.
@vladdenisov @Timothybas This is intended behavior. I'm still decently within the card initialization phase and have to continually unload and reload the kext in order to develop. This isn't possible with the IO80211Controller, as there's a release loop or something within CoreWLAN. My bet is that Apple wouldn't even attempt to fix it either, and we're probably going to build two different versions of the kext.
@hatf0 Great improvement. Now it's listed as WiFI in network settings but not searching any devices here is my log.txt (May help you to debug the issue)
Latest version of kext doesn't load on AC-9560. OS version - 10.15.4 log.txt It says, that library kext com.apple.iokit.IO80211Family not found. But OS doesn't have this kext neither in S/L/E or L/E/ @hatf0 UPDATE: Somehow, on my hackintosh SIP was enabling on it's own and i couldn't load that kext. But as of now (27.03.20),after correctly disabled SIP, kext doesn't load on boot (i put it in clover). The only way to load it is to use kextutil in terminal.
Preference unknown state issue fixed but not searching WiFi networks around (Tested with 2G)
[Uploading log.txt…]()
I have the same (yellow) state (the latest revision 5526d3ba0546fc6690fec19b130e8dbe184c98a1). And I don't see any SSID names neither in Wi-Fi menu nor in log. dmesg.txt.zip
Hello! That's good a progress! Can now see networks around me in log, but not in preferences.
Intel(R) Wireless-AC 8265
Thank you!
log.txt
@hatf0, could you have a look at my log, please? With the latest commit 9297292d57516266239aa02f4549fa7502bd70b9 still there are no network names. log.txt
unknown state issue is back with the recent commit and as @lvs1974 told no networks in both panel and logs.
Your card unfortunately crashes while scanning... I’ll make an issue for this, but this is a known issue and @1Revenger1 has brought this to my attention as well. There’s sadly a variety of things it could be..
ERR: Microcode SW error detected. Restarting 0x2000000
@hatf0, I got a log for the latest version 8a4d9faed506fa095e226d207affef2525f8153c (with fixes from @1Revenger1), and there is line "Microcode SW error detected. Restarting 0x2000000". log.txt
I've sent a new set of patches to @hatf0 with more changes. I just got scanning to work without it crashing the card, so it is now listing devices appropriately.
That is weird your card seemed to crash there though - should've gotten some responses back from the card. I'll take a closer look at it. I would appreciate if you could test again after my next set of patches goes in.
@1Revenger1, thank you very much for contribution! Hopefully you will manage to fix this issue! Usually I test immediately as soon as I see new commits here.
Still, device search is not working here is my log. log.txt
Yes, I still have the same error with the latest version: Microcode SW error detected. Restarting 0x2000000 log.txt
Can someone please tag me when they want me to test this for the AC 9560?
Revision d4b3b735687fc92ef00a9e8d3872c842ea2778f6, error "Microcode SW error detected. Restarting 0x2000000" still can be found. log.txt
Scanning for the 9560 should be merged into master now.
Thanks for all the excellent work. I have a 9650 card, macOS 10.15.4 Once I load the kext, I can see all network, but the problem is that somehow it clashes with my Bluetooth. Has anyone experienced a similar issue?
I definitely notice a giant clash with bluetooth - I haven't really looked into it and I don't think @hatf0 has either.
I ran into an issue: i've clicked on "show wifi status in menu bar", and rebooted. Now this icon is stuck in menu bar despite kext isn't loaded. And even if i load the kext - icon becomes interactive (doesn't show scan results), but in network preferences i still don't see wi-fi entry (it used to be present before i removed it and deleted networkpreferences.plist with reboot). How can i make system create wi-fi entry in preferences? OS version is 10.15.4
@tikscr You can try pressing the +
button at the left corner and see if the Wifi interface is there.
@vladdenisov i've tried it - it's not present there.
Strange, I've faced a similar problem, and the solution was simple as that.
@tikscr Probably means that the firmware isn’t loading correctly on your device (and is failing right around the enable callback). Can you provide me logs?
@hatf0 if i knew how to get log from manually loaded kext. It doesn't load on boot.
@tikscr If I understood correctly, there is a special script in scripts
folder called logs.sh
. It will create log.txt
in scripts folder.
@tikscr Yes, but this clearly shows you’re trying to load the kext again. Please try to load the KEXT when you’re on the desktop (and do not try to load it through your boot loader) and then run the logging script.
Hello, tried this driver, here is an log output: dmesg.txt
Everything looks ok, but there is no available wi-fi device in mac os.