donatengit / AppleIGB

49 stars 4 forks source link

Gigabyte Aorus Pro Wifi #7

Open SapixIV opened 2 years ago

SapixIV commented 2 years ago

Kext loads but doesn't work. No internet connection through the Ethernet port.

donatengit commented 2 years ago

Kext loads but doesn't work. No internet connection through the Ethernet port.

Hi @SapixIV

This doesn't help much. Could you please provide more info?

  1. First of all did your MacOs work with SmallTree driver before Monterey? Which MacOs version you have?
  2. Could you please send what is detected in (Mac) -> (About) -> (Ethernet). Interested in Device/Vendor IDs https://support.apple.com/en-gb/guide/system-information/syspr35536/mac
  3. Please install DEBUG version and gather log info from dmesg: sudo dmesg | grep -i igb right after cable plug-in or sudo ifconfig enX up/down (if you are familiar with terminal commands`
  4. Could you try changing connection modes: from Auto to 100 or 1000mbps, Full-duplex, With or Without Flow-control. (Mac OS Settings -> Network -> Ethernet adapter (the i211 one) -> Advanced or Additional -> Hardware tab. And check if anything changes?
  5. Do you have other network devices in your setup: another network chipset, wifi, iphone plugged via USB, ... ? Including virtuals e.g. VPN? Does the issue remain if everything else is switched off?
  6. Is there anything else not working properly at the moment e.g. wi-fi, bluetooth?
SapixIV commented 2 years ago

for macOS Monterey the kext doesn't work it loads in OpenCore but after the Monterey recovery image was loaded it just acted as if nothing was plugged into the Ethernet port. When i switched to Big Sur and SmallTree it worked fine. i couldn't get any settings or in-depth info because i was stuck in the recovery installer, and the even though i was using the debug version of the kext, it wasn't generating any debug info that i could find despite checking for said debug info. changing connection modes wasn't possible as it was recovery mode and i couldn't get into settings. the Aorus Pro WiFi board has Ethernet and WiFi and Bluetooth built in, but as i have no use for the WiFi and Bluetooth since my tower is right next to the router, i didn't include their kexts. after discovering that the Ethernet didn't work i tried the relevant WiFi kext and it failed to load at all and i was left with a recovery image that couldn't do it's job. I don't use any VPN, I have no other networking hardware installed aside from whats included on the motherboard as a result i changed the image to Big Sur and changed the relevant kexts and everything works, including WiFi and Bluetooth.

donatengit commented 2 years ago

It's a good sign that hardware is working in BigSur but unusual that both WiFi and Ethernet don't work.

Re: wifi

Which motherboard do you have exactly? On my Aorus Pro B450 I use following kext for WiFi: https://github.com/OpenIntelWireless/itlwm/releases it works without any problem. Plus IntelBluetoothFirmware.kext and BlueToolFixup.kext for Bluetooth

Please note that there are different driver versions per MacOS releases, so you would probably need Min/Max Kernel version setting for both versions in config.plist to load proper version.

Re: ethernet AppleIGB

I am not sure the driver is properly loaded. What do you see in (Apple) -> (About this Mac) -> System report -> Hardware Ethernet ? Need Vendor ID, Device ID, etc

Separately what does this command show in terminal kextstat | grep AppleIGB it should show something like:

93 0 0 0x59000 0x59000 com.amdosx.driver.AppleIGB (5.7.2) E3F8386F-A120-35BA-8644-1FF61753942F <50 16 7 6 3 1>

Also try inspecting output of ioreg command in ethernet sections to check how it's seen by mac.

aospiridonov commented 2 years ago

I have some problem for X570 Aorus Elite (use 5.7.2-im ) kextstat | grep AppleIGB 77 0 0 0x2c000 0x2c000 com.amdosx.driver.AppleIGB (5.7.2) FB62AB16-DD88-37B9-A37B-1A45B2EDB1CC <50 16 7 6 3 1>

donatengit commented 2 years ago

I have some problem for X570 Aorus Elite (use 5.7.2-im ) kextstat | grep AppleIGB 77 0 0 0x2c000 0x2c000 com.amdosx.driver.AppleIGB (5.7.2) FB62AB16-DD88-37B9-A37B-1A45B2EDB1CC <50 16 7 6 3 1>

Could you please try latest version? In various modes: set speed, duplex, flow control with and without EEE (Settings -> Network -> Ethernet -> Advanced -> Hardware tab)

donatengit commented 2 years ago

Hi Guys , Very unlikely it would help X570 but please try a version based on Intel's 5.11.4. If it doesn't help there is not much I could do without both the X570 hardware and free time to debug. I'll describe extended project status soon and update here.

aospiridonov commented 2 years ago

I have some problem for X570 Aorus Elite (use 5.7.2-im ) kextstat | grep AppleIGB 77 0 0 0x2c000 0x2c000 com.amdosx.driver.AppleIGB (5.7.2) FB62AB16-DD88-37B9-A37B-1A45B2EDB1CC <50 16 7 6 3 1>

Could you please try latest version? In various modes: set speed, duplex, flow control with and without EEE (Settings -> Network -> Ethernet -> Advanced -> Hardware tab)

Sorry didn't have time to check. And I have alternative Wifi (they work but slowly).

Hi Guys , Very unlikely it would help X570 but please try a version based on Intel's 5.11.4. If it doesn't help there is not much I could do without both the X570 hardware and free time to debug. I'll describe extended project status soon and update here.

I download last version 5.11.4, but it can't helped me. kextstat | grep AppleIGB 94 0 0 0x59000 0x59000 com.amdosx.driver.AppleIGB (5.11.4) D49AF61A-8CC6-3C90-84E9-2E654E04114C <50 16 7 6 3 1> Connection was broken (but work long time):

Connection was broken:

Connection failed:

My observations

I use terminal and command ping www.google.com in Connection was broken I had message in terminal Request timeout for icmp_seq XXXX and after that connection can not recover. In case Connection was broken (but work long time) after Request timeout for icmp_seq XXXX then connection recovered or not. And in full-duplex speed test showed decrease download speed and upload speed is normal. And in half-duplex speed test showed download and upload speed is normal.

I can test. Write instructions on how to get the debug logs and where to send them to you?

I haven't tested MTU. Does it need to be tested as well?

donatengit commented 2 years ago

Hey @aospiridonov

Thanks for helping.

Write instructions on how to get the debug logs and where to send them to you?

In order to get logs, please run sudo dmesg | grep -i igb right after you start experiencing issues and shortly after that again. I've prepared additional version with functions tracing. It generates tones of logs so momentum is important. Hopefully it helps us to get any clue where the problem is for X570

Natedude commented 2 years ago

I have Z390 Aorus Pro Wifi. Haven't tested yet to see if it works, still just putting kexts together.

This is a total newbie Q, but how do I compile the repo into a .kext?

I opened it in Xcode and built it and got a .kext file I will try to use, but it had a lot of warnings during the build. Is there a better way to build it from the repo?

Can you release a pre-compiled .kext file?

henkiewie commented 2 years ago

Can you release a pre-compiled .kext file?

https://github.com/donatengit/AppleIGB/releases look under assets for the kext release you want/need.