Contribute
Register

RealtekRTL8111 make me crazy

Status
Not open for further replies.
Joined
Oct 20, 2011
Messages
29
Motherboard
Gigabyte Z390 AORUS PRO WIFI
CPU
i7-8700K
Graphics
RX 580
Mobile Phone
  1. iOS
I ve got a ASRock Z97M Anniversary that include a Realtek RTL8111GR onboard Ethernet Card but i simply cant get it to work.

I ve installed the latest kext from Mieze and the kext is loaded fine

78 0 0xffffff7f854b4000 0x67000 0x67000 com.insanelymac.RealtekRTL8111 (2.2.2) 24D129C7-C25C-3D7B-9E10-EA71D9BE6511 <19 13 6 5 3 1>

Also after a reboot the ethernet adapter show up in network utilitys, but if i ever put in a network cable it simply does never show a connection (the network setup is fine, i ve tested the cable - router setup with a usb to ethernet adapter).
What i ve seen is that the LED on the Network Card never show up.

Bildschirmfoto 2020-01-14 um 21.48.36.png


If anyone have anykind of idea what i could try, please let me know
 
Hey Rob,

thanks a lot for the information here is the log

Fabian-macOS:~ fboulegue$ log show --today | grep -i realtek
2020-01-15 17:46:05.126721+0100 0xd2 Default 0x0 0 0 kernel: (kernel) Ethernet [RealtekRTL8111]: EEE support enabled.
2020-01-15 17:46:05.126724+0100 0xd2 Default 0x0 0 0 kernel: (kernel) Ethernet [RealtekRTL8111]: RxPoll support enabled.
2020-01-15 17:46:05.126727+0100 0xd2 Default 0x0 0 0 kernel: (kernel) Ethernet [RealtekRTL8111]: TCP/IPv4 segmentation offload enabled.
2020-01-15 17:46:05.126730+0100 0xd2 Default 0x0 0 0 kernel: (kernel) Ethernet [RealtekRTL8111]: TCP/IPv6 segmentation offload enabled.
2020-01-15 17:46:05.126733+0100 0xd2 Default 0x0 0 0 kernel: (kernel) Ethernet [RealtekRTL8111]: TCP/IPv6 checksum offload enabled.
2020-01-15 17:46:05.126737+0100 0xd2 Default 0x0 0 0 kernel: (kernel) Ethernet [RealtekRTL8111]: Version 2.2.2 using interrupt mitigate value 0x5f51. Please don't support tonymacx86.com!
2020-01-15 17:46:05.126769+0100 0xd2 Default 0x0 0 0 kernel: (kernel) Ethernet [RealtekRTL8111]: Disable PCIe ASPM.

2020-01-15 17:46:05.141842+0100 0xd2 Default 0x0 0 0 kernel: (kernel) Ethernet [RealtekRTL8111]: RTL8168G/8111G: (Chipset 20) at 0x<private>, d0:50:99:55:4d:b8

and the ethernet information from the system

Bildschirmfoto 2020-01-15 um 17.49.26.png
 
maybe you can play around the settings in (RealtekRTL8111.kext/Contents/Info.plist), such as set enableEEE = No
some network switch do not compatible with Energy-Efficient Ethernet (EEE)

or try the RealtekRTL8111 2.0.0 kext (2.0.0 is inside the 2.2.1 package)

I have tested the newer version 2.3.0d7, the file transfer throughput, not as fast as the older version

NAS -> MAC (Synology NAS DSM 5.2, Realtek RTL8111F)
2.0.0/2.2.2 (> 100MB/s),
2.3.0d7 just ~70% of the older version (~ 70 MB/s)

Screen Shot 2020-01-18 at 09.21.27.png
 
I change one Parameter in the "RealtekRTL8111.kext".
In the "Info.plist" (within the RealtekRTL8111.kext directory) I change the Parameter from "Network-Root" towards "Root".
After this my issue was fixed.

fixed what issue ?
 
Sorry. It is not working. I still have problems with my Network on Asus Z390-P under catalina.

If anybody could help, I will be very thankful.
After I reboot from Windows towards catalina I have no Network. I have to plug out the Lan wait 5s and plug in the Lan cable. after this it works....
 
Last edited:
My test today was as follow (shown at https://github.com/Mieze/RTL8111_driver_for_OS_X/issues/21):

sudo rm -rf ~/Library/Caches/*
sudo rm -rf /Library/Caches/*
sudo rm -rf /System/Library/Caches/*

Reboot

sudo kextcache -system-prelinked-kernel
sudo kextcache -i /
sudo kextcache -system-cache
sudo update_dyld_shared_cache -force

Reboot again

cd /Library/Preferences/SystemConfiguration
sudo rm -rf NetworkInterfaces.plist com.apple.airport.preferences.plist preferences.plist com.apple.wifi.message-tracer.plist com.apple.smb.server.plist com.apple.AutoWake.plist com.apple.Boot.plist com.apple.network.eapolclient.configuration.plist

Reboot again

Actual it works, I will give you an update in some days if it is really stable.
 
I have recently started experiencing a similar problem!

My Setup
I'm running Mojave 10.14.6 and my motherboard LAN is reported as "Realtek RTL8168H/8111H PCI Express Gigabit Ethernet". I have version 2.2.2 of RealtekRTL8111.kext from the developer's repo (https://github.com/Mieze/RTL8111_driver_for_OS_X), not the tonymacx86 version. I dual-boot Windows 10 on a separate SSD.

Symptoms
Whenever I reboot from Windows into macOS, the ethernet status in macOS cycles between "the cable is unplugged" and "connected, but has no IP address". I can resolve this by unplugging the ethernet cable for several seconds and then plugging it back in, just like @kaminkehrer described.

The ethernet connection works fine in Windows, and is stable in macOS after this re-plugging process. I've rebooted my router too, but it seems to make no difference.

I was using this same setup without this problem until around January, then this problem started happening on each reboot. I usually install incremental macOS updates when they become available, so it's possible the problem is related to a macOS update from around that time.

Diagnostics
Here is a log sample showing this issue occurring. You can see the ethernet card starting up, then cycling between "Link up on en0" and "TX stalled? Resetting chipset." (I've removed some of these for brevity). Then the cable is unplugged for a while, then re-plugged, and then the card starts up again and connects successfully. The error message about the kext path near the end of the log looks like a failure, but after this the ethernet is working correctly.

Code:
> $ log show --today | grep -i realtek                                                                                                                             

2020-03-14 13:13:52.686171-0400 0xfd       Default     0x0                  0      0    kernel: (kernel) Ethernet [RealtekRTL8111]: EEE support enabled.
2020-03-14 13:13:52.686580-0400 0xfd       Default     0x0                  0      0    kernel: (kernel) Ethernet [RealtekRTL8111]: RxPoll support enabled.
2020-03-14 13:13:52.687079-0400 0xfd       Default     0x0                  0      0    kernel: (kernel) Ethernet [RealtekRTL8111]: TCP/IPv4 segmentation offload enabled.
2020-03-14 13:13:52.687411-0400 0xfd       Default     0x0                  0      0    kernel: (kernel) Ethernet [RealtekRTL8111]: TCP/IPv6 segmentation offload enabled.
2020-03-14 13:13:52.687752-0400 0xfd       Default     0x0                  0      0    kernel: (kernel) Ethernet [RealtekRTL8111]: TCP/IPv6 checksum offload enabled.
2020-03-14 13:13:52.687919-0400 0xfd       Default     0x0                  0      0    kernel: (kernel) Ethernet [RealtekRTL8111]: Version 2.2.2 using interrupt mitigate value 0x5f51. Please don't support tonymacx86.com!
2020-03-14 13:13:52.688276-0400 0xfd       Default     0x0                  0      0    kernel: (kernel) Ethernet [RealtekRTL8111]: Disable PCIe ASPM.
2020-03-14 13:13:52.704067-0400 0xfd       Default     0x0                  0      0    kernel: (kernel) Ethernet [RealtekRTL8111]: RTL8168H/8111H: (Chipset 29) at 0x<private>, b4:2e:99:37:bd:8d
2020-03-14 13:14:09.259771-0400 0x140      Default     0x0                  0      0    kernel: (kernel) Ethernet [RealtekRTL8111]: Link up on en0, 1-Gigabit, Full-duplex, No flow-control
2020-03-14 13:14:12.272139-0400 0x17c      Default     0x0                  0      0    kernel: (kernel) Ethernet [RealtekRTL8111]: Tx stalled? Resetting chipset. ISR=0xc0, IMR=0x803f.
2020-03-14 13:14:16.020513-0400 0x140      Default     0x0                  0      0    kernel: (kernel) Ethernet [RealtekRTL8111]: Link up on en0, 1-Gigabit, Full-duplex, No flow-control
2020-03-14 13:14:21.025625-0400 0x1ed      Default     0x0                  0      0    kernel: (kernel) Ethernet [RealtekRTL8111]: Tx stalled? Resetting chipset. ISR=0x0, IMR=0x803f.
2020-03-14 13:14:24.851592-0400 0x140      Default     0x0                  0      0    kernel: (kernel) Ethernet [RealtekRTL8111]: Link up on en0, 1-Gigabit, Full-duplex, No flow-control
2020-03-14 13:14:29.855496-0400 0x1ed      Default     0x0                  0      0    kernel: (kernel) Ethernet [RealtekRTL8111]: Tx stalled? Resetting chipset. ISR=0x0, IMR=0x803f.
2020-03-14 13:14:33.587101-0400 0x140      Default     0x0                  0      0    kernel: (kernel) Ethernet [RealtekRTL8111]: Link up on en0, 1-Gigabit, Full-duplex, No flow-control
...
2020-03-14 13:21:21.579237-0400 0x17c      Default     0x0                  0      0    kernel: (kernel) Ethernet [RealtekRTL8111]: Tx stalled? Resetting chipset. ISR=0x0, IMR=0x803f.
2020-03-14 13:21:25.384987-0400 0x140      Default     0x0                  0      0    kernel: (kernel) Ethernet [RealtekRTL8111]: Link up on en0, 1-Gigabit, Full-duplex, No flow-control
2020-03-14 13:21:28.386086-0400 0x17c      Default     0x0                  0      0    kernel: (kernel) Ethernet [RealtekRTL8111]: Tx stalled? Resetting chipset. ISR=0x0, IMR=0x803f.
2020-03-14 13:21:32.140550-0400 0x140      Default     0x0                  0      0    kernel: (kernel) Ethernet [RealtekRTL8111]: Link up on en0, 1-Gigabit, Full-duplex, No flow-control
2020-03-14 13:21:35.142791-0400 0x17c      Default     0x0                  0      0    kernel: (kernel) Ethernet [RealtekRTL8111]: Tx stalled? Resetting chipset. ISR=0x80, IMR=0x803f.
2020-03-14 13:21:38.876104-0400 0x140      Default     0x0                  0      0    kernel: (kernel) Ethernet [RealtekRTL8111]: Link up on en0, 1-Gigabit, Full-duplex, No flow-control
2020-03-14 13:21:39.757614-0400 0x140      Default     0x0                  0      0    kernel: (kernel) Ethernet [RealtekRTL8111]: Link down on en0
2020-03-14 13:33:39.651053-0400 0xf9       Default     0x0                  0      0    kernel: (kernel) Ethernet [RealtekRTL8111]: EEE support enabled.
2020-03-14 13:33:39.651117-0400 0xf9       Default     0x0                  0      0    kernel: (kernel) Ethernet [RealtekRTL8111]: RxPoll support enabled.
2020-03-14 13:33:39.651629-0400 0xf9       Default     0x0                  0      0    kernel: (kernel) Ethernet [RealtekRTL8111]: TCP/IPv4 segmentation offload enabled.
2020-03-14 13:33:39.651793-0400 0xf9       Default     0x0                  0      0    kernel: (kernel) Ethernet [RealtekRTL8111]: TCP/IPv6 segmentation offload enabled.
2020-03-14 13:33:39.651958-0400 0xf9       Default     0x0                  0      0    kernel: (kernel) Ethernet [RealtekRTL8111]: TCP/IPv6 checksum offload enabled.
2020-03-14 13:33:39.652467-0400 0xf9       Default     0x0                  0      0    kernel: (kernel) Ethernet [RealtekRTL8111]: Version 2.2.2 using interrupt mitigate value 0x5f51. Please don't support tonymacx86.com!
2020-03-14 13:33:39.652987-0400 0xf9       Default     0x0                  0      0    kernel: (kernel) Ethernet [RealtekRTL8111]: Disable PCIe ASPM.
2020-03-14 13:33:39.668322-0400 0xf9       Default     0x0                  0      0    kernel: (kernel) Ethernet [RealtekRTL8111]: RTL8168H/8111H: (Chipset 29) at 0x<private>, b4:2e:99:37:bd:8d
2020-03-14 13:41:50.401052-0400 0x278      Error       0x0                  45     0    kextd: (IOKit) [com.apple.kext:kextlog] Unable to determine realpath for /EFI\CLOVER\kexts\Other\RealtekRTL8111.kext - failing.
2020-03-14 13:41:50.410632-0400 0x278      Error       0x0                  45     0    kextd: (IOKit) [com.apple.kext:kextlog] Kext com.insanelymac.RealtekRTL8111 not found for client path request.
2020-03-14 13:56:01.805920-0400 0x140      Default     0x0                  0      0    kernel: (kernel) Ethernet [RealtekRTL8111]: Link up on en0, 1-Gigabit, Full-duplex, No flow-control

I don't have a good theory yet on how this can be fixed, but I'll update here if I find anything.
 
I have recently started experiencing a similar problem!

My Setup
I'm running Mojave 10.14.6 and my motherboard LAN is reported as "Realtek RTL8168H/8111H PCI Express Gigabit Ethernet". I have version 2.2.2 of RealtekRTL8111.kext from the developer's repo (https://github.com/Mieze/RTL8111_driver_for_OS_X), not the tonymacx86 version. I dual-boot Windows 10 on a separate SSD.

Symptoms
Whenever I reboot from Windows into macOS, the ethernet status in macOS cycles between "the cable is unplugged" and "connected, but has no IP address". I can resolve this by unplugging the ethernet cable for several seconds and then plugging it back in, just like @kaminkehrer described.

The ethernet connection works fine in Windows, and is stable in macOS after this re-plugging process. I've rebooted my router too, but it seems to make no difference.

I was using this same setup without this problem until around January, then this problem started happening on each reboot. I usually install incremental macOS updates when they become available, so it's possible the problem is related to a macOS update from around that time.

Diagnostics
Here is a log sample showing this issue occurring. You can see the ethernet card starting up, then cycling between "Link up on en0" and "TX stalled? Resetting chipset." (I've removed some of these for brevity). Then the cable is unplugged for a while, then re-plugged, and then the card starts up again and connects successfully. The error message about the kext path near the end of the log looks like a failure, but after this the ethernet is working correctly.

Code:
> $ log show --today | grep -i realtek                                                                                                                           

2020-03-14 13:13:52.686171-0400 0xfd       Default     0x0                  0      0    kernel: (kernel) Ethernet [RealtekRTL8111]: EEE support enabled.
2020-03-14 13:13:52.686580-0400 0xfd       Default     0x0                  0      0    kernel: (kernel) Ethernet [RealtekRTL8111]: RxPoll support enabled.
2020-03-14 13:13:52.687079-0400 0xfd       Default     0x0                  0      0    kernel: (kernel) Ethernet [RealtekRTL8111]: TCP/IPv4 segmentation offload enabled.
2020-03-14 13:13:52.687411-0400 0xfd       Default     0x0                  0      0    kernel: (kernel) Ethernet [RealtekRTL8111]: TCP/IPv6 segmentation offload enabled.
2020-03-14 13:13:52.687752-0400 0xfd       Default     0x0                  0      0    kernel: (kernel) Ethernet [RealtekRTL8111]: TCP/IPv6 checksum offload enabled.
2020-03-14 13:13:52.687919-0400 0xfd       Default     0x0                  0      0    kernel: (kernel) Ethernet [RealtekRTL8111]: Version 2.2.2 using interrupt mitigate value 0x5f51. Please don't support tonymacx86.com!
2020-03-14 13:13:52.688276-0400 0xfd       Default     0x0                  0      0    kernel: (kernel) Ethernet [RealtekRTL8111]: Disable PCIe ASPM.
2020-03-14 13:13:52.704067-0400 0xfd       Default     0x0                  0      0    kernel: (kernel) Ethernet [RealtekRTL8111]: RTL8168H/8111H: (Chipset 29) at 0x<private>, b4:2e:99:37:bd:8d
2020-03-14 13:14:09.259771-0400 0x140      Default     0x0                  0      0    kernel: (kernel) Ethernet [RealtekRTL8111]: Link up on en0, 1-Gigabit, Full-duplex, No flow-control
2020-03-14 13:14:12.272139-0400 0x17c      Default     0x0                  0      0    kernel: (kernel) Ethernet [RealtekRTL8111]: Tx stalled? Resetting chipset. ISR=0xc0, IMR=0x803f.
2020-03-14 13:14:16.020513-0400 0x140      Default     0x0                  0      0    kernel: (kernel) Ethernet [RealtekRTL8111]: Link up on en0, 1-Gigabit, Full-duplex, No flow-control
2020-03-14 13:14:21.025625-0400 0x1ed      Default     0x0                  0      0    kernel: (kernel) Ethernet [RealtekRTL8111]: Tx stalled? Resetting chipset. ISR=0x0, IMR=0x803f.
2020-03-14 13:14:24.851592-0400 0x140      Default     0x0                  0      0    kernel: (kernel) Ethernet [RealtekRTL8111]: Link up on en0, 1-Gigabit, Full-duplex, No flow-control
2020-03-14 13:14:29.855496-0400 0x1ed      Default     0x0                  0      0    kernel: (kernel) Ethernet [RealtekRTL8111]: Tx stalled? Resetting chipset. ISR=0x0, IMR=0x803f.
2020-03-14 13:14:33.587101-0400 0x140      Default     0x0                  0      0    kernel: (kernel) Ethernet [RealtekRTL8111]: Link up on en0, 1-Gigabit, Full-duplex, No flow-control
...
2020-03-14 13:21:21.579237-0400 0x17c      Default     0x0                  0      0    kernel: (kernel) Ethernet [RealtekRTL8111]: Tx stalled? Resetting chipset. ISR=0x0, IMR=0x803f.
2020-03-14 13:21:25.384987-0400 0x140      Default     0x0                  0      0    kernel: (kernel) Ethernet [RealtekRTL8111]: Link up on en0, 1-Gigabit, Full-duplex, No flow-control
2020-03-14 13:21:28.386086-0400 0x17c      Default     0x0                  0      0    kernel: (kernel) Ethernet [RealtekRTL8111]: Tx stalled? Resetting chipset. ISR=0x0, IMR=0x803f.
2020-03-14 13:21:32.140550-0400 0x140      Default     0x0                  0      0    kernel: (kernel) Ethernet [RealtekRTL8111]: Link up on en0, 1-Gigabit, Full-duplex, No flow-control
2020-03-14 13:21:35.142791-0400 0x17c      Default     0x0                  0      0    kernel: (kernel) Ethernet [RealtekRTL8111]: Tx stalled? Resetting chipset. ISR=0x80, IMR=0x803f.
2020-03-14 13:21:38.876104-0400 0x140      Default     0x0                  0      0    kernel: (kernel) Ethernet [RealtekRTL8111]: Link up on en0, 1-Gigabit, Full-duplex, No flow-control
2020-03-14 13:21:39.757614-0400 0x140      Default     0x0                  0      0    kernel: (kernel) Ethernet [RealtekRTL8111]: Link down on en0
2020-03-14 13:33:39.651053-0400 0xf9       Default     0x0                  0      0    kernel: (kernel) Ethernet [RealtekRTL8111]: EEE support enabled.
2020-03-14 13:33:39.651117-0400 0xf9       Default     0x0                  0      0    kernel: (kernel) Ethernet [RealtekRTL8111]: RxPoll support enabled.
2020-03-14 13:33:39.651629-0400 0xf9       Default     0x0                  0      0    kernel: (kernel) Ethernet [RealtekRTL8111]: TCP/IPv4 segmentation offload enabled.
2020-03-14 13:33:39.651793-0400 0xf9       Default     0x0                  0      0    kernel: (kernel) Ethernet [RealtekRTL8111]: TCP/IPv6 segmentation offload enabled.
2020-03-14 13:33:39.651958-0400 0xf9       Default     0x0                  0      0    kernel: (kernel) Ethernet [RealtekRTL8111]: TCP/IPv6 checksum offload enabled.
2020-03-14 13:33:39.652467-0400 0xf9       Default     0x0                  0      0    kernel: (kernel) Ethernet [RealtekRTL8111]: Version 2.2.2 using interrupt mitigate value 0x5f51. Please don't support tonymacx86.com!
2020-03-14 13:33:39.652987-0400 0xf9       Default     0x0                  0      0    kernel: (kernel) Ethernet [RealtekRTL8111]: Disable PCIe ASPM.
2020-03-14 13:33:39.668322-0400 0xf9       Default     0x0                  0      0    kernel: (kernel) Ethernet [RealtekRTL8111]: RTL8168H/8111H: (Chipset 29) at 0x<private>, b4:2e:99:37:bd:8d
2020-03-14 13:41:50.401052-0400 0x278      Error       0x0                  45     0    kextd: (IOKit) [com.apple.kext:kextlog] Unable to determine realpath for /EFI\CLOVER\kexts\Other\RealtekRTL8111.kext - failing.
2020-03-14 13:41:50.410632-0400 0x278      Error       0x0                  45     0    kextd: (IOKit) [com.apple.kext:kextlog] Kext com.insanelymac.RealtekRTL8111 not found for client path request.
2020-03-14 13:56:01.805920-0400 0x140      Default     0x0                  0      0    kernel: (kernel) Ethernet [RealtekRTL8111]: Link up on en0, 1-Gigabit, Full-duplex, No flow-control

I don't have a good theory yet on how this can be fixed, but I'll update here if I find anything.

Hello,

Go to /Library/Preferences/SystemConfiguration/ take backup of these files and delete:
  1. NetworkInterfaces.plist
  2. preferences.plist
  3. com.apple.airport.preferences.plist
  4. com.apple.network.eapolclient.configuration.plist
  5. com.apple.wifi.message-tracer.plist
Restart and check.
Apple will recreate these file once you restart.

For me it worked on Mojave but not under Catalina.

Regards
kaminkehrer
 
Last edited:
Status
Not open for further replies.
Back
Top