Jump to content

New Driver for Realtek RTL8111

Realtek RTL8111 driver

  • Please log in to reply
792 replies to this topic

#741
Funky frank

Funky frank

    InsanelyMac Sage

  • Members
  • PipPipPipPipPip
  • 328 posts

I'm sorry to be so harsh but this is complete nonsense.

 

Mieze

:) Ok maybe I just accidentally thought it was related to this. But the other hint drastically increased my SMB connections, there are now as fast or faster than in SL.



#742
Mieze

Mieze

    Giant Cat

  • Coders
  • 562 posts
  • Gender:Female
  • Location:Germany
  • Interests:Cats

:) Ok maybe I just accidentally thought it was related to this. But the other hint drastically increased my SMB connections, there are now as fast or faster than in SL.

 

Yes, changing the delayed_ack setting has an influence on SMB performance, but this is well known since 10.7 and has been mentioned in this thread a long time ago. Playing with the MTU and "checking" with a ping is pure nonsense because ping uses 64 Byte packets plus IP-header (20 Bytes) which will always traverse any network making the hint just a bad joke. :lol:

 

By the way, lowering the MTU will only have an influence on performance when routing comes into play and the packets have to pass a network with a lower MTU so that they need to get fragmented, i.e. when they leave your local network, which is usually not the typical scenario SMB is used for.

 

Mieze



#743
Mieze

Mieze

    Giant Cat

  • Coders
  • 562 posts
  • Gender:Female
  • Location:Germany
  • Interests:Cats

@janel: I have uploaded new binaries of 1.2.3-dev1 built with Xcode 4.6.3. I verified that sleep is working as expected on my test machine, with and without WoL enabled.

 

Mieze



#744
janel

janel

    InsanelyMac Protégé

  • Members
  • Pip
  • 10 posts
  • Gender:Male

I am sorry to report that it is still bad:

Aug 22 11:29:31 localhost kernel[0]: Ethernet [RealtekRTL8111]: EEE support disabled.
Aug 22 11:29:31 localhost kernel[0]: Ethernet [RealtekRTL8111]: TCP/IPv4 segmentation offload enabled.
Aug 22 11:29:31 localhost kernel[0]: Ethernet [RealtekRTL8111]: TCP/IPv6 segmentation offload enabled.
Aug 22 11:29:31 localhost kernel[0]: Ethernet [RealtekRTL8111]: TCP/IPv6 checksum offload enabled.
Aug 22 11:29:31 localhost kernel[0]: Ethernet [RealtekRTL8111]: Version 1.2.3 using interrupt mitigate value 0xcf58.
Aug 22 11:29:31 localhost kernel[0]: Ethernet [RealtekRTL8111]: RTL8168B/8111B: (Chipset 1) at 0xffffff8109325000,  0:1f:d0:5a:xx: f
Aug 22 11:29:33 localhost kernel[0]: Ethernet [RealtekRTL8111]: Link up on en0, 1-Gigabit, Full-duplex, No flow-control
Aug 22 11:31:06 localhost kernel[0]: Ethernet [RealtekRTL8111]: Link down on en0
Aug 22 11:31:13 localhost kernel[0]: Ethernet [RealtekRTL8111]: Link up on en0, 1-Gigabit, Full-duplex, No flow-control

and

Aug 22 11:31:01 localhost powerd[16] <Notice>: Summary- [System: BGTask] Using AC
Aug 22 11:31:01 localhost powerd[16] <Notice>: Software Sleep pid=107: Using AC 
Aug 22 11:31:06 localhost powerd[16] <Notice>: PMConnection: Response from com.apple.apsd is slow (powercaps:0x0)
Aug 22 11:31:06 localhost powerd[16] <Notice>: Clients requested wake events: None
Aug 22 11:31:20 localhost powerd[16] <Notice>: Wake [CDNVA] due to /HID Activity: Using AC
Aug 22 11:31:20 localhost powerd[16] <Notice>: Kernel: Response from powerd is slow (powercaps:0x0)
The version that I have used for test is the one from #730

 

LE:
I have also tested with 1.2.2-dev4: same results. I can't find an 1.2.2 or 1.2.1 version before you have introduced ASPM features, to test. Perhaps is somehow related. Up until now 1.2.0 works the best for me.



#745
Mieze

Mieze

    Giant Cat

  • Coders
  • 562 posts
  • Gender:Female
  • Location:Germany
  • Interests:Cats

@janel: I checked the source code once again and I see no reason why this happens. Differences between 1.2.0 and 1.2.2 are minimal and most of them don't apply to chipset 1 at all. ASPM is a feature of some newer chipsets, the RTL8111B doesn't support it so that it's not affected in any way.

 

There is nothing wrong with version 1.2.0 for your chipset. It might be the best way to stay with this version. 

 

By the way, what happens when you disable wakeup events by PCI/PCIe devices in BIOS? Does this strange behavior persist?

 

Mieze



#746
janel

janel

    InsanelyMac Protégé

  • Members
  • Pip
  • 10 posts
  • Gender:Male

Yes, everything related to wake-up is disabled in BIOS. Strange indeed. I'll stick with 1.2.0 for now...



#747
Mieze

Mieze

    Giant Cat

  • Coders
  • 562 posts
  • Gender:Female
  • Location:Germany
  • Interests:Cats

Yes, everything related to wake-up is disabled in BIOS. Strange indeed. I'll stick with 1.2.0 for now...

 

Technically speaking this means that there is no wakeup event, the machine simply refuses to sleep as in Mavericks sleep is delayed.

 

Mieze



#748
janel

janel

    InsanelyMac Protégé

  • Members
  • Pip
  • 10 posts
  • Gender:Male

Well, yes, somehow. But the system actually sleeps for a few seconds: hard drives, fans, graphics everything is off.

I have disabled the integrated card and installed an Intel PCIe: this one works exactly as the Realtek with 1.2.0 drivers: no glitch.

Aug 22 18:16:20 localhost powerd[16] <Notice>: Software Sleep pid=108: Using AC 
Aug 22 18:16:25 localhost powerd[16] <Notice>: PMConnection: Response from com.apple.apsd is slow (powercaps:0x0)
Aug 22 18:16:25 localhost powerd[16] <Notice>: Clients requested wake events: None
Aug 22 23:00:09 localhost powerd[16] <Notice>: Wake [CDNVA] due to UHC5/HID Activity: Using AC
Aug 22 23:00:09 localhost powerd[16] <Notice>: Kernel: Response from powerd is slow (powercaps:0x0)


#749
Mieze

Mieze

    Giant Cat

  • Coders
  • 562 posts
  • Gender:Female
  • Location:Germany
  • Interests:Cats

As version 1.2.3-dev1 contains a small bug, it reports TSO6 support to the OS even for the outdated RTL8111B although the chip doesn't support it, here is the fixed version 1.2.3-dev2 which I already put on my server for the long term stability test because I'm planning to make it the next official release provided there are no more bugs. All users are invited to test it.

 

Good luck and have fun!

 

Mieze

Attached Files



#750
MilesTEG1

MilesTEG1

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 112 posts
  • Gender:Male

Try to get an add-in card with a RTL8111E because these chips work best and are well tested. I'm using this chip in my server with the driver since march 2013 and never lost connection. I'd recommend the Delock 89357 which I tested myself.

 

Avoid the old RTL8111B which is still found on many ultra cheap cards as these chips have more bugs and less offload functions.

 

In case the manufacturer doesn't mention the chip used, have a look at the PCIe compatibility spec of the card which is a good hint to distinguish old and new chips. In case it's PCIe 1.1 compatible, it's equipped with a RTL8111C or newer (probably RTL8111E), but in case it's only PCIe 1.0 compatible you'll get one of the outdated RTL8111B chips.

 

Mieze

 

 

Ok, thanks for the advise.
Does this card correspond to your description (photo) :

http://www.amazon.fr...#productDetails

41gYm1CEjhL.jpg

It's a bit more expensive than the one I wanted to buy, bit If you tested it successfully, I could do the effort :D

(I hop it will works on windows 8.1 ?)

 

 

Yes, it's the same card I'm using.

 

Mieze

 

After two weeks of waiting the card to be in my mail box, I finally got it !

I have deactivated the onboard ethernet card, installing the drivers for it in windows.
After shutting down the computer, and installed the delock on my computer, it works very well (on OS X Mavericks and windows) !

I don't try iMessage, but I finally got a working computer :D

Thanks for your advise.

(PS : I use the last driver you provided, 1.2.3-dev2 with Clover, for my Mavericks installation)



#751
Mieze

Mieze

    Giant Cat

  • Coders
  • 562 posts
  • Gender:Female
  • Location:Germany
  • Interests:Cats

I'll be on a holiday trip to Spain next week which means that there will be no support for the next 8 days.

 

Mieze



#752
magnifico

magnifico

    Retired

  • Donators
  • 2,523 posts
  • Gender:Male

Hi Mieze..i have this chip Realtek RTL8111GR

 

work with your kext?



#753
Mieze

Mieze

    Giant Cat

  • Coders
  • 562 posts
  • Gender:Female
  • Location:Germany
  • Interests:Cats

Hi Mieze..i have this chip Realtek RTL8111GR

 

work with your kext?

 

Yes, of course.

 

Mieze



#754
magnifico

magnifico

    Retired

  • Donators
  • 2,523 posts
  • Gender:Male

Thank you Mieze..great news for me.. :wink_anim:



#755
avian

avian

    InsanelyMac Protégé

  • Members
  • PipPip
  • 62 posts

I really have nothing to add to the discussion except to say thank you so much for this driver.  I installed v1.2.2 after having (different) issues with both the realtek and lnx2mac versions.  So far yours seems the most superior in terms of speed, compatibility and stability.   An (initial) 400gb time machine backup occurs substantially faster and more reliably now than it did before.  Thanks Mieze!



#756
MoOrRe

MoOrRe

    InsanelyMac Protégé

  • Members
  • Pip
  • 4 posts

Mieze

hello! How about changing the Kernel socket buffer size to kick off my problems with system freezing in an hour after starting torrent clients with thousands of torrents?

Attached Files



#757
copil

copil

    InsanelyMac Deity

  • Members
  • PipPipPipPipPipPipPipPipPipPip
  • 1,703 posts
  • Gender:Male
  • Location:Italy

Mieze

I'm using your kext (RTL8111- V1.2.3-dev2 installed in system/library/extensions/ionetworkingfamily.kext/contents/plugins/

works to perfection but leaving the stop sometimes I get this screen, I'm using chameleon-2.2svn-r2395 last fakesmc vers. 6.9.315 by netkas 

also use ethernetbuiltin = yes in o.c.B.p. 
after several openings-closings safari everything works
*yosemite build DP8 + dsdt untouched + hd 3000 patch + hdef alc887 + applehda (bios 4003 modified rom http://biosrepo.word...s.com/asus/z68/ )
 
*thanks for any response* 

Attached Files



#758
Mieze

Mieze

    Giant Cat

  • Coders
  • 562 posts
  • Gender:Female
  • Location:Germany
  • Interests:Cats

@copil: Take a look at the kernel logs because it is essential to find out what is wrong. Looks like the connection is unstable sometimes. Try to select the connection speed manually or try to disable EEE.

 

Mieze



#759
copil

copil

    InsanelyMac Deity

  • Members
  • PipPipPipPipPipPipPipPipPipPip
  • 1,703 posts
  • Gender:Male
  • Location:Italy

Mieze

in /Library/Logs/DiagnosticReports i have this:

 

select the connection speed manually or try to disable EEE 

pardon as you do?

Attached Files



#760
Mieze

Mieze

    Giant Cat

  • Coders
  • 562 posts
  • Gender:Female
  • Location:Germany
  • Interests:Cats

@copil: I described how to retrieve kernel logs sereral times in this thread. Please use the search function. Same with disabling EEE.

 

Mieze







Also tagged with one or more of these keywords: Realtek, RTL8111, driver


1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users

© 2014 InsanelyMac  |   News  |   Forum  |   Downloads  |   OSx86 Wiki  |   Mac Netbook  |   PHP hosting by CatN  |   Designed by Ed Gain  |   Logo by irfan  |   Privacy Policy