Jump to content

Driver for Realtek's RTL810x Fast Ethernet Series

Realtek RTL8105 RTL8101 RTL8102 RTL8106 RTL8103 RTL8401 RTL8402 driver

  • Please log in to reply
135 replies to this topic

#81
dear.tayyab

dear.tayyab

    InsanelyMac Protégé

  • Members
  • Pip
  • 6 posts
  • Gender:Male
  • Location:Gujranwala, Pakistan

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.



#82
tifa621

tifa621

    InsanelyMac Protégé

  • Members
  • Pip
  • 2 posts

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

Attached Files



#83
polyzargone

polyzargone

    InsanelyMac Deity

  • Members
  • PipPipPipPipPipPipPipPipPipPip
  • 1,992 posts
  • Gender:Male
  • Location:France

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.



#84
tifa621

tifa621

    InsanelyMac Protégé

  • Members
  • Pip
  • 2 posts

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.

Attached Files



#85
Saud Mo7a

Saud Mo7a

    InsanelyMac Protégé

  • Members
  • Pip
  • 2 posts

Thanks for the great job. i'll try the driver now on 10.10.2.



#86
calibre™

calibre™

    InsanelyMac Sage

  • Members
  • PipPipPipPipPip
  • 259 posts
  • Gender:Male

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?



#87
Mieze

Mieze

    Giant Cat

  • Developers
  • 1,285 posts
  • Gender:Female
  • Location:Germany
  • Interests:Cats

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



#88
Dr. Hurt

Dr. Hurt

    InsanelyMac Deity

  • Members
  • PipPipPipPipPipPipPipPipPipPip
  • 1,673 posts
  • Gender:Male
  • Location:Santander, Spain
  • Interests:Politics, Sci/Tech, Medicine.
Mieze,

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

Thanks in advance :)

#89
Mieze

Mieze

    Giant Cat

  • Developers
  • 1,285 posts
  • Gender:Female
  • Location:Germany
  • Interests:Cats

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



#90
Dr. Hurt

Dr. Hurt

    InsanelyMac Deity

  • Members
  • PipPipPipPipPipPipPipPipPipPip
  • 1,673 posts
  • Gender:Male
  • Location:Santander, Spain
  • Interests:Politics, Sci/Tech, Medicine.

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



#91
vladvah77

vladvah77

    InsanelyMac Protégé

  • Members
  • Pip
  • 14 posts

Does it work with Yosemite 10.10.3?



#92
Dr. Hurt

Dr. Hurt

    InsanelyMac Deity

  • Members
  • PipPipPipPipPipPipPipPipPipPip
  • 1,673 posts
  • Gender:Male
  • Location:Santander, Spain
  • Interests:Politics, Sci/Tech, Medicine.

Does it work with Yosemite 10.10.3?


Yes, it works just fine :)

#93
bhundven

bhundven

    InsanelyMac Protégé

  • Members
  • Pip
  • 5 posts
  • Gender:Male
  • Location:Seattle, WA

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

 

https://github.com/M...L8100.cpp#L2621

 

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

mdio_write(tp, 0x10, data32);

After that line?



#94
Mieze

Mieze

    Giant Cat

  • Developers
  • 1,285 posts
  • Gender:Female
  • Location:Germany
  • Interests:Cats

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

 

https://github.com/M...L8100.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



#95
bhundven

bhundven

    InsanelyMac Protégé

  • Members
  • Pip
  • 5 posts
  • Gender:Male
  • Location:Seattle, WA

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.



#96
Mieze

Mieze

    Giant Cat

  • Developers
  • 1,285 posts
  • Gender:Female
  • Location:Germany
  • Interests:Cats

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



#97
bhundven

bhundven

    InsanelyMac Protégé

  • Members
  • Pip
  • 5 posts
  • Gender:Male
  • Location:Seattle, WA

I see, you are using the source from http://www.realtek.com.tw, and not from the mainline linux kernel.

 

Thanks, that makes way more sense now.



#98
Luisete

Luisete

    InsanelyMac Protégé

  • Members
  • Pip
  • 5 posts

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.



#99
Mieze

Mieze

    Giant Cat

  • Developers
  • 1,285 posts
  • Gender:Female
  • Location:Germany
  • Interests:Cats

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



#100
Luisete

Luisete

    InsanelyMac Protégé

  • Members
  • Pip
  • 5 posts

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?
 








0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

© 2017 InsanelyMac  |   News  |   Forum  |   Downloads  |   OSx86 Wiki  |   Designed by Ed Gain  |   Logo by irfan  |   Privacy Policy