Jump to content
Mieze

Driver for Realtek's RTL810x Fast Ethernet Series

162 posts in this topic

Recommended Posts

open a terminal window and type :

 

sudo touch /System/Library/Extensions

 

or

 

sudo kextcache -prelinked-kernel

 

then reboot

for both step 2 and step 4?? if so thanks

Share this post


Link to post
Share on other sites
Advertisement

sudo touch /System/Library/Extensions & sudo kextcache -prelinked-kernel do the same thing.

 

The first one is fast and simple, the second one is a little bit longer but you'll see onscreen what's happening.

 

You can do both one after the other if you want to see the difference but it's useless ;) and the result will be the same : it rebuilds kernel cache.

Note that it does NOT repair permissions !

 

Choose one of them then reboot

Share this post


Link to post
Share on other sites

sudo touch /System/Library/Extensions & sudo kextcache -prelinked-kernel do the same thing.

 

The first one is fast and simple, the second one is a little bit longer but you'll see onscreen what's happening.

 

You can do both one after the other if you want to see the difference but it's useless ;) and the result will be the same : it rebuilds kernel cache.

Note that it does NOT repair permissions !

 

Choose one of them then reboot

thanks again :)

Share this post


Link to post
Share on other sites

Mieze..Thanks for your outstanding contribution here. With the help of RehabMan directing my query to this post, I now have full ethernet functionality on my Lenovo U310, even after sleep. Smiles and chuckles after weeks of struggles. Thank you.  ssprod

Share this post


Link to post
Share on other sites

Mieze..Thanks charmed works for my 

(from lilnux )

01:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8101E/RTL8102E PCI Express Fast Ethernet controller (rev 07)

    Subsystem: Realtek Semiconductor Co., Ltd. Device 0123
    Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
    Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
    Latency: 0, Cache Line Size: 64 bytes
    Interrupt: pin A routed to IRQ 43
    Region 0: I/O ports at 3000
    Region 2: Memory at b0600000 (64-bit, non-prefetchable)
    Region 4: Memory at b0400000 (64-bit, prefetchable)
    Capabilities: <access denied>
    Kernel driver in use: r8169

Share this post


Link to post
Share on other sites

Thank you for this wonderful contribution Mieze. I have just compiled and installed it on Mavericks. It has been working like a charm. :)

Finally, I no longer have to manually configure speed, duplex and MTU.

Share this post


Link to post
Share on other sites

please help ..idk why i'm the only one in this world still can't make my ethernet card works at all...

check out my screen shot...

 

also idk what to delete before i setup it and i use Kext Wizard tool to install it

 

please help me

post-1496184-0-22112400-1425075599_thumb.png

Share this post


Link to post
Share on other sites

What's your bootloader ?

Where is installed the kext ?

Check you don't have duplicate kexts in different places (ie. in S/L/E and E/E or EFI/Clover/kexts/10.10)

 

To make sure the kext is correctly loaded, move it in S/L/E and delete all others instances in your setup. Make sure you use kext-dev-mode=1 boot-flag, rebuild kernelcache and reboot.

Share this post


Link to post
Share on other sites

my bootloader is Clover Configurator as it shows at the 1st picture

and i setup the .kext file by Kext Wizard as it at the 2nd picture

and i only delete the file which at S/ L/ E/ selected and reinstall it as it shown at the 3rd picture ...idk if there is anything else i should delete or not

and i do repair permissions and Rebuild cache after i finish seting up the driver....or i have to do this before i setup it?

 

sry if i'm talking too much because that's my 1st time ever with Mac system so idk ALOT about how to configure it.

post-1496184-0-73024100-1425114588_thumb.png

post-1496184-0-22083800-1425114679_thumb.png

post-1496184-0-23158600-1425114776_thumb.png

post-1496184-0-05997200-1425114864_thumb.png

Share this post


Link to post
Share on other sites

Hi Mieze

The driver works and no sign of interruption. But i have something in my log:

Ethernet [RealtekRTL8100]: EEE support enabled.
Ethernet [RealtekRTL8100]: TCP/IPv4 segmentation offload enabled.
Ethernet [RealtekRTL8100]: TCP/IPv6 checksum offload enabled.
Ethernet [RealtekRTL8100]: Using interrupt mitigate value 0x0.
Ethernet [RealtekRTL8100]: RTL8105E: (Chipset 11) at 0x35a62000, 44:8a:7d:b8:86:2a
RTL8100: Ethernet address 44:8a:7d:b8:86:2a
Ethernet [RealtekRTL8100]: Link up on en0, 100-Megabit, Full-duplex, No flow-control
Ethernet [RealtekRTL8100]: Tx timeout. Lost interrupt?
Ethernet [RealtekRTL8100]: Tx timeout. Lost interrupt?
Ethernet [RealtekRTL8100]: Tx timeout. Lost interrupt?
Ethernet [RealtekRTL8100]: Tx timeout. Lost interrupt?
Ethernet [RealtekRTL8100]: Tx timeout. Lost interrupt?
Ethernet [RealtekRTL8100]: Tx timeout. Lost interrupt?
Ethernet [RealtekRTL8100]: Tx timeout. Lost interrupt?
Ethernet [RealtekRTL8100]: Tx timeout. Lost interrupt?
Ethernet [RealtekRTL8100]: Tx timeout. Lost interrupt?
Ethernet [RealtekRTL8100]: Tx timeout. Lost interrupt?
Ethernet [RealtekRTL8100]: Tx timeout. Lost interrupt?
Ethernet [RealtekRTL8100]: Tx timeout. Lost interrupt?
Ethernet [RealtekRTL8100]: Tx timeout. Lost interrupt?
Ethernet [RealtekRTL8100]: Tx timeout. Lost interrupt?
Ethernet [RealtekRTL8100]: Tx timeout. Lost interrupt?
Ethernet [RealtekRTL8100]: Tx timeout. Lost interrupt?
Ethernet [RealtekRTL8100]: Tx timeout. Lost interrupt?
Ethernet [RealtekRTL8100]: Tx timeout. Lost interrupt?
Ethernet [RealtekRTL8100]: Tx timeout. Lost interrupt?
Ethernet [RealtekRTL8100]: Tx timeout. Lost interrupt?
Ethernet [RealtekRTL8100]: Tx timeout. Lost interrupt?
Ethernet [RealtekRTL8100]: Tx timeout. Lost interrupt?
Ethernet [RealtekRTL8100]: Tx timeout. Lost interrupt?
Ethernet [RealtekRTL8100]: Tx timeout. Lost interrupt?
Ethernet [RealtekRTL8100]: Tx timeout. Lost interrupt?
Ethernet [RealtekRTL8100]: Tx timeout. Lost interrupt?
Ethernet [RealtekRTL8100]: Tx timeout. Lost interrupt?
Ethernet [RealtekRTL8100]: Tx timeout. Lost interrupt?

Any idea?

Share this post


Link to post
Share on other sites

Any idea?

 

There is no need for further explanations because the log messages are self explanatory. These are lost interrupts, nothing less and nothing more.

 

Mieze

Share this post


Link to post
Share on other sites

Mieze,

 

Could you please update this driver to the new driver interface?

 

Thanks in advance :)

Share this post


Link to post
Share on other sites

Mieze,

 

Could you please update this driver to the new driver interface?

 

Thanks in advance :)

 

Sure, but I need a volunteer who is able to build from source in order to run some tests because I don't have any appropriate hardware to test the driver myself.

 

Mieze

Share this post


Link to post
Share on other sites

Sure, but I need a volunteer who is able to build from source in order to run some tests because I don't have any appropriate hardware to test the driver myself.

 

Mieze

 

I could help with testing but not building  :blush:

 

Thanks

Share this post


Link to post
Share on other sites

@Mieze Just curious, I was reading this code and noticed this:

 

https://github.com/Mieze/RealtekRTL8100/blob/master/RealtekRTL8100/RealtekRTL8100.cpp#L2621

 

data32 is not used after this point. Should there be:

mdio_write(tp, 0x10, data32);

After that line?

Please ask the Realtek developers because I took these lines from their linux driver and due to the lack of documentation I have no idea what it does.

 

Mieze

Share this post


Link to post
Share on other sites

Ok. Would you mind telling me which version linux you took this code from? That way I can cross-reference the changes that have been made.

Share this post


Link to post
Share on other sites

Ok. Would you mind telling me which version linux you took this code from? That way I can cross-reference the changes that have been made.

Take a look at the Linux source files inside the project. At the top of these files you'll find the answer on the header.

 

Mieze

Share this post


Link to post
Share on other sites

Not working on my laptop. HP Pavilion 15-ab205ns Skylake (Device id: 10ec:8136). Ethernet detected in system preferences. It gets ip, submask, router and dns correctly, but no internet.

Tried manual configuration, same result.

Share this post


Link to post
Share on other sites

Not working on my laptop. HP Pavilion 15-ab205ns Skylake (Device id: 10ec:8136). Ethernet detected in system preferences. It gets ip, submask, router and dns correctly, but no internet.

Tried manual configuration, same result.

If the interface successfully manages to acquire an IP address via DHCP the driver is working properly. In case you still haven't internet access, search somewhere else but a driver issue can be ruled out almost certainly.

 

Mieze

Share this post


Link to post
Share on other sites

Good afternoon, Mieze... Thanks for your answer...

This is the log when is detected by your kext...

 

May 31 20:47:43 iMac com.apple.kextd[43]: kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext "/System/Library/Extensions/RealtekRTL8100.kext"
May 31 20:47:43 iMac com.apple.kextd[43]: kext signature failure override allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext "/System/Library/Extensions/RealtekRTL8100.kext"
May 31 20:47:43 iMac kernel[0]: Ethernet [RealtekRTL8100]: Warning: PCIe ASPM enabled.
May 31 20:47:43 iMac kernel[0]: Ethernet [RealtekRTL8100]: EEE support enabled.
May 31 20:47:43 iMac kernel[0]: Ethernet [RealtekRTL8100]: TCP/IPv4 segmentation offload enabled.
May 31 20:47:43 iMac kernel[0]: Ethernet [RealtekRTL8100]: TCP/IPv6 checksum offload enabled.
May 31 20:47:43 iMac kernel[0]: Ethernet [RealtekRTL8100]: Using interrupt mitigate value 0x0.
May 31 20:47:43 iMac kernel[0]: Ethernet [RealtekRTL8100]: RTL8101E: (Chipset 0) at 0x<ptr>, 70:5a: f:19:94:5c
May 31 20:48:16 iMac kernel[0]: Ethernet [RealtekRTL8100]: Link up on en0, 100-Megabit, Full-duplex, flow-control

 

It's correct? Or something fails?
 

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
×