Jump to content

Driver for Realtek's RTL810x Fast Ethernet Series


178 posts in this topic

Recommended Posts

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

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 :)
  • 1 month later...

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

  • 3 weeks later...

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
  • 2 weeks later...
  • 1 month later...

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.

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

  • 2 weeks later...
  • 3 weeks later...

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?

  • 1 month later...

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

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

  • 1 month later...
  • 6 months later...

@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

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

  • 4 months later...

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.

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

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?
 

×
×
  • Create New...