AppleIGB
AppleIGB copied to clipboard
Internet connexion lost after a few minutes
Hi, just to thank you for your work and let you know what words and what does not in my case :
- What works : DHCP, local network, no breakdown after sleep, internet connectivity
- What does not : internet connectivity after a few minutes, I have to tweak link speed to make it work again. NIC : Intel GbE LAN chip (Built in Gigabyte Aorus X570 elite) OS version : macOS 12.2.1 Router : TP-link MR 400
Hi @Leborgne23 Thanks for checking this out
Which link speed works and doesn't work in your case? Does the link stable e.g. no packets loss?
One more thing 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
Hi Here are the info given by system report for the ethernet NIC, Wake on LAN and boot from LAN are disabled in bios. Bus: PCI Vendor ID: 0x8086 Device ID: 0x1539 Subsystem Vendor ID: 0x1458 Subsystem ID: 0xe000 Revision ID: 0x0003 PCIe Link Speed: 2.5 GT/s PCIe Link Width: x1 Driver: com.amdosx.driver.AppleIGB BSD Device Name: en2 MAC Address: 18:c0:4d:99:61:23 AVB Support: No Maximum Link Speed: 1 Gb/s
Forcing 1000BaseT breaks connexion (local + internet), forcing 10baseT or 100baseTX is ok.
Thanks again.
Fabrice
On 14 Feb 2022 at 13:14 +0100, donatengit @.***>, wrote:
One more thing 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 — Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android. You are receiving this because you were mentioned.Message ID: @.***>
Well so far so good : more than 4 hours with no interruption whatsoever. Only thing I did since last time has been updating macOS to 12.2.1 Regards.
On 14 Feb 2022 at 14:00 +0100, Fabrice Gelis @.***>, wrote:
Hi Here are the info given by system report for the ethernet NIC, Wake on LAN and boot from LAN are disabled in bios. Bus: PCI Vendor ID: 0x8086 Device ID: 0x1539 Subsystem Vendor ID: 0x1458 Subsystem ID: 0xe000 Revision ID: 0x0003 PCIe Link Speed: 2.5 GT/s PCIe Link Width: x1 Driver: com.amdosx.driver.AppleIGB BSD Device Name: en2 MAC Address: 18:c0:4d:99:61:23 AVB Support: No Maximum Link Speed: 1 Gb/s
Forcing 1000BaseT breaks connexion (local + internet), forcing 10baseT or 100baseTX is ok.
Thanks again.
Fabrice
On 14 Feb 2022 at 13:14 +0100, donatengit @.***>, wrote:
One more thing 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 — Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android. You are receiving this because you were mentioned.Message ID: @.***>
Nevermind, issue is back again after 5 hours. On 14 Feb 2022 at 15:30 +0100, Fabrice Gelis @.***>, wrote:
Well so far so good : more than 4 hours with no interruption whatsoever. Only thing I did since last time has been updating macOS to 12.2.1 Regards.
On 14 Feb 2022 at 14:00 +0100, Fabrice Gelis @.***>, wrote:
Hi Here are the info given by system report for the ethernet NIC, Wake on LAN and boot from LAN are disabled in bios. Bus: PCI Vendor ID: 0x8086 Device ID: 0x1539 Subsystem Vendor ID: 0x1458 Subsystem ID: 0xe000 Revision ID: 0x0003 PCIe Link Speed: 2.5 GT/s PCIe Link Width: x1 Driver: com.amdosx.driver.AppleIGB BSD Device Name: en2 MAC Address: 18:c0:4d:99:61:23 AVB Support: No Maximum Link Speed: 1 Gb/s
Forcing 1000BaseT breaks connexion (local + internet), forcing 10baseT or 100baseTX is ok.
Thanks again.
Fabrice
On 14 Feb 2022 at 13:14 +0100, donatengit @.***>, wrote:
One more thing 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 — Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android. You are receiving this because you were mentioned.Message ID: @.***>
Nevermind, issue is back again after 5 hours.
@Leborgne23 Problem is I can't fully reproduce 1Gb issues with my NIC as it autonegotiates 100Mb with my old router and all other options don't work -- not necessarily due to the driver. While I'm looking for a valid 1G partner for testing could you please test one more version: [DELETED]
It has some dirty hacks to avoid resets without obvious reason so ifconfig enX up/down
now works (in my case) but with a drawback that forcing speed/control dramatically reduces connection speed (unclear reason atm). Additionally it has far more logging please perform sudo dmesg | grep -i igb
in console while manipulating the NIC's state through ifconfig
for additional debug.
Hi @Leborgne23
Could you please try a new version? It's supposed to be far more stable with link state changes.
Thanks in advance
Hi ! Thanks a lot for the notification. I’’ve been using the new version for an hour or so with no problem so far. I’ll keep you posted. Thanks for what you do. Fabrice
On 20 Feb 2022 at 19:49 +0100, donatengit @.***>, wrote:
Hi @Leborgne23 Could you please try a new version? It supposed to be far more stable with link state changes. Thanks in advance — Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android. You are receiving this because you were mentioned.Message ID: @.***>
Hello there. I am also experiencing issues as per description with your latest version (the one you sent out one hour ago). I am trying to install Monterey, and the installation errored out because of the network connection cut off almost half an hour in.
I am using I211 on Asrock X570 Taichi.
I am trying to install Monterey
Hi @NyaomiDEV, Thanks for trying this out. The driver is for Monterey specifically (built targeted 12.1) SmallTree supposed to work well on previous versions (meaning download/upgrade could be done without this driver).
You could manage which driver is used in each OS version by setting Min/MaxKernel options for every kext loaded in config.plist
The driver is for Monterey specifically (built targeted 12.1)
I know. I am, indeed, trying to install Monterey from scratch, meaning that I am loading your kext on the macOS recovery. Please tell me if I am doing this wrong, though! I just want ~~this suffering to end~~ a working installation, so I can just keep trying all the kexts you can provide until I get the OS to install.
I am, indeed, trying to install Monterey from scratch, meaning that I am loading your kext on the macOS recovery.
Oh, I've never tested the driver in this way. And I'm not sure which debugging options available during the process tbh. Is WiFi working? If so just disable the driver for a while P.s. Feel free to ping me in discord donniedisc#1988 (server) if that's more convenient
Is WiFi working?
It's an Intel AX200, which I can use only after installing the system anyway. Can't count on it sadly.
(server)
We'll probably hear from each other in five minutes because of the Discord server cooldown.
Well I still have the issue using the new version sorry. Seems more stable if I force half duplex, maybe that can help. Thanks guys. On 20 Feb 2022 at 20:54 +0100, Fabrice Gelis @.***>, wrote:
Hi ! Thanks a lot for the notification. I’’ve been using the new version for an hour or so with no problem so far. I’ll keep you posted. Thanks for what you do. Fabrice
On 20 Feb 2022 at 19:49 +0100, donatengit @.***>, wrote:
Hi @Leborgne23 Could you please try a new version? It supposed to be far more stable with link state changes. Thanks in advance — Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android. You are receiving this because you were mentioned.Message ID: @.***>
Well I still have the issue using the new version sorry. Seems more stable if I force half duplex, maybe that can help.
@Leborgne23, thanks.
- Is it still connection lost (i.e. cable unplugged or similar) or packets loss?
- What kind of network activity was that period: intense or almost none? It might be something with EEE power management
- Will you be able to run additional couple of commands in terminal when noticing problems?
- What link speed status is shown on the router, is this the same as autonegotiated/you force?
Thanks ! Here are may answers On 21 Feb 2022 at 11:10 +0100, donatengit @.***>, wrote: Well I still have the issue using the new version sorry. Seems more stable if I force half duplex, maybe that can help. @Leborgne23, thanks.
- Is it still connection lost (i.e. cable unplugged or similar) or packets loss? -> connection lost but OS thinks it’s connected. Web browser tries to establish connexion and gives up after 30 seconds or so.
- What kind of network activity was that period: intense or almost none? It might be something with EEE power management -> I tested it using p2p (torrent) downloading / uploading so I guess yes it was intense.
- Will you be able to run additional couple of commands in terminal when noticing problems? Yes I’ll do it, which ones ?
- What link speed status is shown on the router, is this the same as autonegotiated/you force? Yes
— Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android. You are receiving this because you were mentioned.Message ID: @.***>
I tested it using p2p (torrent) downloading / uploading so I guess yes it was intense.
Ok, it narrows the root cause, I guess. It's either inability to cope with the load (torrent is one of the most network intensive activities indeed) or can't detect/manage hangs properly (since counter-party is often unreliable).
- Will you be able to run additional couple of commands in terminal when noticing problems? Yes I’ll do it, which ones ?
Great, I'll prepare a debug version with additional logging around packets transmission and would ask you to run sudo dmesg | grep -i igb
in terminal right after the problems occurs. But before I'll try to reproduce the issue myself with some torrents.
Hi @Leborgne23,
I've tested the driver under high torrents load and indeed some packets was getting timeouted (less with patches below) but the overall download speed was constantly hitting maximum speed ISP allows. And the link was still stable unfortunately.
Anyway I applied several changes that might help:
- Explicitly rejecting packets when transmit queue is busy (before that it was kind of silent)
- Increased default queue capacity from 256 to 1024
- Added options to (un)select EEE mode (there are notes that disabling it could fix spontaneous link problems)
- Ensured software interrupt register in watchdog for rx ring cleaned
Could you please test AppleIGB.kext.zip ?
I recommend to test autonegotiated 1Gbs first and if the issue remains force 1GBps without EEE. Separately it would make sense to test limiting download/upload speed of your torrent client to 80-90% of your maximum ISP speed keeping space for other web/network activity (according to my tests torrents could take all of it).
As for additional debug, please run 2 terminals:
- one with
ping 8.8.8.8
-- it constantly pings google and reflects time of response (it could show timeouts or increase in ms if torrents take all the bandwidth) - another with
sudo dmesg | grep -i igb
-- run this as soon as you see any problem and accumulate contents for further sharing
Thanks in advance
Hi I tested the attached version with no luck unfortunately. Here is the screenshot of the requested commands. Maybe something wrong with my OpenCore setup ? Thanks again. Fabrice
On 22 Feb 2022 at 13:45 +0100, donatengit @.***>, wrote:
Hi @Leborgne23, I've tested the driver under high torrents load and indeed some packets was getting timeouted (less with patches below) but the overall download speed was constantly hitting maximum speed ISP allows. And the link was still stable unfortunately. Anyway I applied several changes that might help:
- Explicitly rejecting packets when transmit queue is busy (before that it was kind of silent)
- Increased default queue capacity from 256 to 1024
- Added options to (un)select EEE mode (there are notes that disabling it could fix spontaneous link problems)
- Ensured software interrupt register in watchdog for rx ring cleaned
Could you please test AppleIGB.kext.zip ? I recommend to test autonegotiated 1Gbs first and if the issue remains force 1GBps without EEE. Separately it would make sense to test limiting download/upload speed of your torrent client to 80-90% of your maximum ISP speed keeping space for other web/network activity (according to my tests torrents could take all of it). As for additional debug, please run 2 terminals:
• one with ping 8.8.8.8 -- it constantly pings google and reflects time of response (it could show timeouts or increase in ms if torrents take all the bandwidth) • another with sudo dmesg | grep -i igb -- run this as soon as you see any problem and accumulate contents for further sharing •
Thanks in advance — Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android. You are receiving this because you were mentioned.Message ID: @.***>
@Leborgne23 Thanks, forgot to attach the screenshot?
Maybe something wrong with my OpenCore setup ?
Did SmallTree work well before?
I did attach the screenshot to the email, not in GitHub. Here it is again just in case. Thanks On 22 Feb 2022 at 19:55 +0100, donatengit @.***>, wrote:
@Leborgne23 Thanks, forgot to attach the screenshot? — Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android. You are receiving this because you were mentioned.Message ID: @.***>
I have no idea as I got this Mobo only last month and the only OS I used is Monterey, therefore with I got the issue everyone has with SmallTree. If that can help I can install Big Sur on an external disk, use SmallTree and report back. Fabrice On 22 Feb 2022 at 19:57 +0100, donatengit @.***>, wrote:
Maybe something wrong with my OpenCore setup ? Did SmallTree work well before? — Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android. You are receiving this because you were mentioned.Message ID: @.***>
@Leborgne23
I did attach the screenshot to the email, not in GitHub.
Thanks but still don't see it for some reason.
If that can help I can install Big Sur on an external disk, use SmallTree and report back.
It's a good idea, please follow dortania guide carefully and while testing ensure no other network interfaces are enabled (including wi-fi).
But before that there is another version available, stabilizing output speed by stalling packets (as in IntelMausi driver)
I'm having the most stable connection atm with the 5.7.2-im, with the newest 2 i keep having random disconnection every 2/3 min.
I'm having the most stable connection atm with the 5.7.2-im, with the newest 2 i keep having random disconnection every 2/3 min.
On which hardware though?
intel i211 controller. Its stable except under heavy upload load (download seems ok). The other 2 versions are really unstable in my config.
intel i211 controller
On which chipset?
AMD X570 aorus elite.
Edit: im having the same problems with that release too, was just lucky in some boots (still i dont know why)
Same issue x570f gaming i211 controller Seems like it stops when I'm trying to create a new connection (for example, joining to discord voice channel)