Jump to content
Mieze

New Driver for Realtek RTL8111

1,351 posts in this topic

Recommended Posts

@mweber: Use the debug version of the driver in order to collect kernel logs. I need at least a full boot sequence with the debug driver. By the way, have you ruled out any hardware issues (bad cable, dust on the connector, etc.)?

 

Mieze

Share this post


Link to post
Share on other sites
Advertisement

I have replaced the kext with the debug version, but I don't know where the kernel log is.  I haven't done one of those before.

 

And yes, all cabling and devices are correct, if I switch the cables into the two ports everything works, but for the other network.

Share this post


Link to post
Share on other sites

I have replaced the kext with the debug version, but I don't know where the kernel log is.  I haven't done one of those before.

 

And yes, all cabling and devices are correct, if I switch the cables into the two ports everything works, but for the other network.

Please see post#1 of this thread for instructions how to retrieve kernel logs.

 

Mieze

Share this post


Link to post
Share on other sites

@mweber: According to the logs the chip hangs so that the driver keeps resetting it but I still don't know why.

 

Anybody else with an RTL8111H out there who can confirm the problem or has a perfectly working connection?

 

Mieze

Share this post


Link to post
Share on other sites

 Yeah -- I thought it was strange because it acts just like the log is showing.  It says it's connect in the SPref > Network and then like 8 seconds later it goes red and starts again.

 

I've been using this exact same hardware on El Capitan for years and just upgraded to High Sierra last week.   Somehow it seems like it's a problem with the new OS.

Share this post


Link to post
Share on other sites

I've been using this exact same hardware on El Capitan for years and just upgraded to High Sierra last week.   Somehow it seems like it's a problem with the new OS.

If it started with HS, it might be related to ASPM as newer versions of macOS implement a more aggressive power management policy. Take a look at your BIOS settings and disable "PCH PCIE ASPM Support" (see board manual). Lets see if it helps.

 

Edit: By the way, do you have sleep/wake working with HS on your machine?

 

Mieze

Share this post


Link to post
Share on other sites

It certainly has to do with HS.  Never had any problems before

 
I just check BIOS and
 
PCIE ASPM is disabled
PCH PCIE ASPM is disabled
PCH DMI ASPM is disabled
 
I have never slept this computer in ElCap or HS, it runs 24/7.  So I've never tested it.
 
I was wondering if it had to do with switching SMBIOS Product Name to iMac17,1.  Somewhere when upgrading to HS I saw that iMax17,1 was the recommended config and I had tons of problems with my Nvidia because of it.  Other than HS upgrade that was the only other major change I made during the upgrade.

Share this post


Link to post
Share on other sites

I was wondering if it had to do with switching SMBIOS Product Name to iMac17,1.  Somewhere when upgrading to HS I saw that iMax17,1 was the recommended config and I had tons of problems with my Nvidia because of it.  Other than HS upgrade that was the only other major change I made during the upgrade.

Looks like I have to dig deeper. I'm going to have to look at the source code!

 

Mieze

Share this post


Link to post
Share on other sites

I'm not sure if this helps, but I did a packet capture on my firewall and the DHCP request is coming through from the NIC and the DHCP request is being answered (offer made), I guess the response just never gets to the driver.

post-1793391-0-92943000-1516231150_thumb.png

Share this post


Link to post
Share on other sites

Hi Mieze, you couldn't make version of the kext with an opportunity to change mac address of the network interface card as here (Realtek RTL8111/RTL8168 driver for OS X with MAC address spoofing), AnV has abandoned development this kext

Share this post


Link to post
Share on other sites

Hi Mieze, you couldn't make version of the kext with an opportunity to change mac address of the network interface card as here (Realtek RTL8111/RTL8168 driver for OS X with MAC address spoofing), AnV has abandoned development this kext

I see no reason why anybody should need or want something like that because it makes no sense at all. MAC addresses can be changed with ifconfig in Terminal or via a startup script and that's the proper way to handle it. That's why I can't understand why you are asking for this feature?

 

Mieze

Share this post


Link to post
Share on other sites

I see no reason why anybody should need or want something like that because it makes no sense at all. MAC addresses can be changed with ifconfig in Terminal or via a startup script and that's the proper way to handle it. That's why I can't understand why you are asking for this feature?

 

Mieze

Ok I will try a script the driver can and it isn't necessary

Share this post


Link to post
Share on other sites

The driver now forces ASPM to disabled/enabled according to the configuration parameter setting in its Info.plist. Here is a final test build (for Sierra and High Sierra) which also fixes a few cosmetic issues. Everybody is encouraged to test it. Provided there are no further problem reports, I'm planning to make this build the next official release.

 

Good luck!

 

Mieze

RealtekRTL8111.kext-V2.2.2d2.zip

Share this post


Link to post
Share on other sites

 I'm planning to make build the next official release.

 

Good luck!

 

Mieze

 

Please sync code source and commit with this new last version on GitHub  https://github.com/Mieze/RTL8111_driver_for_OS_X/commits/master

Last version release very old time - 2.2.1 from (2016-03-12), what is changelog for new version?

When building from source what using XCode version and SDK?

What is requires support target for versions of OS X?

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Similar Content

    • By grisno
      Hi people,
       
      Installer to activate the sound card REALTEK ALC282-v2 (10ec:0282) with LayoutID 1 or 3 in MacOS. This installer does not contain AppleHDA patched Kext. To work properly, it must be installed over vanilla AppleHDA.kext.
       
      I want to thank the whole community for their efforts and content provided, because without these it would not be possible to create this installer.
       
      I would appreciate comments and suggestions!!
       
      Status:
      Speakers : OK Headphones : OK HDMI Audio : OK (Intel HD4K Tested) LineIn : N/A (Model Without LineIn) MicInt : OK MicIntNoiseReduction : OK MicExt : N/A (Model Without MicExt) AutoDetectLineIn : N/A (Model Without LineIn) Sleep : OK WakeUp : OK AutoSleep : OK Hibernate : OK Siri : OK   Tested Laptops:
       
      - HP Pavillion 15-D002SS
       
      Coming Soon:
       
      - Unified installer for the different supported operating systems.
      - Support model with LineIn jack.
       
      Modified Verbs:
      01271C20 01271D00 01271EA0 01271F90 01471C10 01471D00 01471E17 01471F90 01871CF0 01871D00 01871E00 01871F40 01E71CF0 01E71D00 01E71E00 01E71F40 02171C30 02171D10 02171E21 02171F00 01470C02   DSDT:
       
      Patch to apply with MaciASL in your DSDT
      ######################################### HDEF v1.00######################################## into method label _DSM parent_label HDEF remove_entry;into device label HDEF insertbeginMethod (_DSM, 4, NotSerialized)\n{\n If (LEqual (Arg2, Zero)) { Return (Buffer() { 0x03 } ) }\n Return (Package()\n {\n "layout-id", Buffer() { 0x01, 0x00, 0x00, 0x00 },\n //"layout-id", Buffer() { 0x03, 0x00, 0x00, 0x00 },\n "hda-gfx", Buffer() { "onboard-1" },\n "PinConfigurations", Buffer() { },\n })\n}\nend;  
    • By grisno
      Hi people,
       
      This is a preliminary installer to activate the Combo Mini PCIe Atheros QCWB335 in MacOS.
       
      I want to thank the whole community for their efforts and content provided, because without these it would not be possible to create this installer.
       
      I would appreciate comments and suggestions!!
       
      Status:
      AIRPORT : OK Atheros QCWB335 (AR9565) (168c:0036) Mini PCIe * BLUETOOTH : OK Atheros AR3012 (0cf3:3121) USB 2.0 ** AIRDROP : Not Tested HANDOFF : Not Tested CONTINUITY : Not Tested WOL : Not Tested IMESSAGE : OK FACETIME : OK ICLOUD : OK APPSTORE : OK   Known Issues:
       
      - Partial support with a maximum speed of 10Mbits (10.11.0+) *
      - Don't support Bluetooth Power Off/On by Software (10.10.0+) **
      - Sometimes Lost Bluetooth After Sleep WakeUp (10.10.0+) **
       
      Sources:
       
      Insanelymac
    • By grisno
      Installer to activate the Combo Mini PCIe AZUREWAVE AW-CE123H in macOS (10.8.5+)
       
      Status:
      AIRPORT : OK AzureWave AW-CE123H (14e4:43b1) [Broadcom BCM94352 HMB] Mini PCIe BLUETOOTH : OK AzureWave AW-CE123H (17cf:0b05) [Broadcom BCM20702A1] USB 2.0 AIRDROP : OK HANDOFF : OK CONTINUITY : OK WOL : Not Tested IMESSAGE : OK FACETIME : OK ICLOUD : OK APPSTORE : OK SIRI : OK   I want to thank the whole community for their efforts and content provided, because without these it would not be possible to create this installer.
       
      I would appreciate comments and suggestions!!
    • By grisno
      macOS driver installer for laptop HP Pavilion G6-2209SS with support for dual boot Bootloader. Maybe it can be installed on other HP Pavillion G6 series laptops, but in some cases additional fixes will have to be made.
       
      I want to thank the whole community for their efforts and content provided, because without these it would not be possible to create this installer.
       
      I would appreciate comments and suggestions!!
       
      Status:
      CPU : OK Intel Core i3-2370M AUDIO : OK IDT 92HD87B2/4 (111d:76d9) Layer 3 & 12 (Speakers+Hearphones+LineIn+MicInt w/NoiseFilter+MicExt+HDMI) VIDEO : OK Intel HD Graphics 3000 (8086:0116) (LVDS + HDMI A/V + VGA) (VGA MacOS < 10.8.2) MEMORY : OK Intel 2nd Generation Core Proccesor DRAM Controller (8086:0104) (Dual Channel DDR3 Up To 16GB) SATA : OK Intel 7 Series Chipset Family SATA Controller (8086:1e03) (ACHI Mode) DVD : OK (Read & Write) USB 2.0 : OK Intel 7/C216 Chipset Family USB Enhaced Host Controller (8086:1e26 & 8086:1e2d) USB 3.0 : OK Intel 7/C216 Chipset Family USB xHCI Host Controller (08086:1e31) WEBCAM : OK HP TrueVision HD (SuYin) (064e:e263) [USB 2.0] KEYBOARD : OK PS/2 TRACKPAD : OK PS/2 Synaptics LAN : OK Realtek RTL8501E Fast/Gigabyte Ethernet Controller PCI Express (10ec:103c) * AIRPORT : KO MediaTek RT3290 PCI Express (1814:3290) (Not Supported) BLUETOOTH : KO MediaTek RT3290 PCI Express (1814:3298) (Not Supported) CREADER : OK Realtek RTS5229 PCI Express (10ec:5229) (10.12.5+) *** ACPI BAT : OK (Chameleon & Clover) ACPI PWR : OK (Chameleon & Clover) ACPI RST : OK (Chameleon & Clover) ACPI SLP : OK (Chameleon & Clover) ** ACPI WAK : OK (Chameleon & Clover) ** HIBERNATE : OK (Only Clover Bootloader w/Hibernatemode: 0, 21 & 29) IMESSAGE : OK (Chameleon & Clover) FACETIME : OK (Chameleon & Clover) ICLOUD : OK (Chameleon & Clover) APPSTORE : OK (Chameleon & Clover) ITUNES : OK (A/V DRM Content & Sync iPod/iPhone) SIRI : OK CMOS : OK RTC : OK LPC : OK Intel HM76 Express LPC Controller (8086:1e44) SMBUS : OK Intel 7/C216 Chipset Family SMBus Controller (8086:1e22) IMEI : OK Intel 7/C216 Chipset Family MEI Controller (8086:131a) GPT PART. : OK (Chameleon & Clover) (10.13+ APFS Not Tested) MBR PART. : Not Tested   Known Issues:
       
      - AppleRTL8169Ethernet: phyWaitForAutoNegotiation TIMEOUT. *
      - AppleRTL8169Ethernet: only work to 10Mbits. *
      - You can't wake up the system when the laptop uses the battery and the system disk is a USB hard drive. **
      - You can't wake up the system from PS/2 Keyboard/Trackpad. **
      - The Wifi MediaTek RT3290 (1814:3290) device are not supported.
      - The Bluetooth MediaTek RT3290 (1814:3298) device are not supported.
      - The PCIe CardReader Realtek RTS5229 (10ec:5229) device are not supported. *** (10.12.5-)
      - Stop working when sleep with inserted card. *** (10.12.5+)
      - Chameleon Bootloader Not Work Properly With macOS Mojave
       
      Coming soon:
       
      - Installer: Create unified installer for all Mac OS versions
      - Manual: How To Install Wifi Card Blacklisted In HP UEFI BIOS
      - Manual: How To Install OSX Without Destroying Windows 8.x Partition
      - Driver: VirtualSMC Support
×