Jump to content
Mieze

IntelMausiEthernet.kext for Intel onboard LAN

962 posts in this topic

Recommended Posts

Working fine here on a matching pair of Intel DH87MC's for over a week now, each with i217V. No issues observed, wake not tested. Casual testing moving a 17 gig file in respect to hnak's 1000e shows over 25% performance improvement, i217v <-> i217v. Looks and works fine.

 

The highest speed I have seen copying large files is around 65.5 Mbytes per second, which I believe is a good number considering packet overhead etc. Thanks for the good work.

Share this post


Link to post
Share on other sites
Advertisement

Working fine here on a matching pair of Intel DH87MC's for over a week now, each with i217V. No issues observed, wake not tested. Casual testing moving a 17 gig file in respect to hnak's 1000e shows over 25% performance improvement, i217v <-> i217v. Looks and works fine.

 

The highest speed I have seen copying large files is around 65.5 Mbytes per second, which I believe is a good number considering packet overhead etc. Thanks for the good work.

I would check your settings again, i got 111 mb/s read and 109 mb/s write with blackmagic speedtest.

Share this post


Link to post
Share on other sites

I would check your settings again, i got 111 mb/s read and 109 mb/s write with blackmagic speedtest.

The numbers I quoted are sustained copy rates, using a Finder copy of 17 gig sparseimage documents. Burst rates may very well be far higher than the sustained rates I got, which include Finder overhead.

Share this post


Link to post
Share on other sites

With Blackmagic Disk Speed Test you get transfer rates near to the theoretical maximum thanks to caching effects, e. g. the test file won't be written/read from Disk anymore but will stay in the file system cache in RAM. In real world scenarios like copying a file in Finder the hard disk often is a limiting factor which reduces the  actual transfer rate significantly.

 

Mieze

Share this post


Link to post
Share on other sites

With Blackmagic Disk Speed Test you get transfer rates near to the theoretical maximum thanks to caching effects, e. g. the test file won't be written/read from Disk anymore but will stay in the file system cache in RAM. In real world scenarios like copying a file in Finder the hard disk often is a limiting factor which reduces the  actual transfer rate significantly.

 

Mieze

Agreed. The number I provided (65.5Mbytes) was obtained from SSD to SSD. HD to HD I was getting around 52Mbytes.

Share this post


Link to post
Share on other sites

With Blackmagic Disk Speed Test you get transfer rates near to the theoretical maximum thanks to caching effects, e. g. the test file won't be written/read from Disk anymore but will stay in the file system cache in RAM. In real world scenarios like copying a file in Finder the hard disk often is a limiting factor which reduces the  actual transfer rate significantly.

 

Mieze

In finder connected over afp on my nas i got beetween 92 - 114 mb/s read speed and 60 - 110 mb/s write speed, copying a  5 gb dmg file.

Share this post


Link to post
Share on other sites

Avoid the ambiguity entirely and use iperf. I have three network interfaces in my workstation and did a few 10-second tests over each and they all look similar to this:

[ ID] Interval       Transfer     Bandwidth
[  4]  0.0-10.0 sec  1.08 GBytes   927 Mbits/sec     # Yukon interface
[  5]  0.0-10.0 sec   706 MBytes   592 Mbits/sec     # AirPort Extreme interface
[  4]  0.0-10.0 sec  1.09 GBytes   934 Mbits/sec     # IntelMausi interface

So around 115-116MB/s. That Yukon card is a relic, but is very reliable. 

 

(Edit: the iperf server in my test is on the same physical network as the client and connected via gigabit ethernet to it's truly horrible RealTek interface on a FreeBSD system)

Share this post


Link to post
Share on other sites

Hi Mieze,

 

With d6 version, I have no more problem connecting to iMessages.
For Time Machine backupsthe transfer speed on my LAN is about 30 MB/s. Very fast.

My connection has been running at 1 Gigabit for several days but this morning at start after a few minutes of connection at 1-Gigabit, it fell down to 100-Megabit.

It's not a question of cable nor a Network configuration because I had no problem before connecting at 1-Gigabit.

I restarted my machine, but same problem.
 

See my attached log.

 

Thank you for all your work.

Jean-Claude

IntelMausi.txt

Share this post


Link to post
Share on other sites

Hi Mieze,

 

With d6 version, I have no more problem connecting to iMessages.

For Time Machine backupsthe transfer speed on my LAN is about 30 MB/s. Very fast.

My connection has been running at 1 Gigabit for several days but this morning at start after a few minutes of connection at 1-Gigabit, it fell down to 100-Megabit.

It's not a question of cable nor a Network configuration because I had no problem before connecting at 1-Gigabit.

I restarted my machine, but same problem.

 

There is no evidence for a driver related problem in your kernel log. If selecting the medium manually doesn't resolve the issue, it's most likely some kind of hardware related problem as it persists after the reboot:

  • Bad or inferior cable.
  • Dust on the RJ45 connector.
  • EMI
  • Failure of the switch.
  • etc.

Mieze

Share this post


Link to post
Share on other sites

Thank you for your very quick response.

You are right, it was a connector problem. 

Sorry for disturbing you, I should have solved this myself.

 

JCDS

Share this post


Link to post
Share on other sites

Followed install instructions in OP, but got intractable kernel panics on boot like those described by tarasis; applied the same fix mentioned there and deleted:

 

/Library/Preferences/SystemConfiguration/NetworkInterfaces.plist

/Library/Preferences/SystemConfiguration/preferences.plist

 

Now the driver seems to work perfectly fine in my machine.

 

Can't really test full throughput yet as only getting a max 100baseTX connection to router (which has gigabit ports). Had this problem previously using AppleIntelE1000e.kext too, which likely suggests a wiring issue—probably involving the ~75ft of 8-y/o cat5e that runs from one end of the house to the other @ router. Guess I'm going to be having fun this wknd swapping that out for cat6… then I'll try posting some speed test results.

 

Anyway, thank you Mieze for making this.

 

Also, semi-related question: Does anyone know why there's an ~15s delay after a reboot before networking activates in OSX? I don't know if this is something specific to my hardware or not.

Share this post


Link to post
Share on other sites

Followed install instructions in OP, but got intractable kernel panics on boot like those described by tarasis; applied the same fix mentioned there and deleted:

 

 

/Library/Preferences/SystemConfiguration/NetworkInterfaces.plist

/Library/Preferences/SystemConfiguration/preferences.plist

 

 

Now the driver seems to work perfectly fine in my machine.

 

Can't really test full throughput yet as only getting a max 100baseTX connection to router (which has gigabit ports). Had this problem previously using AppleIntelE1000e.kext too, which likely suggests a wiring issue—probably involving the ~75ft of 8-y/o cat5e that runs from one end of the house to the other @ router. Guess I'm going to be having fun this wknd swapping that out for cat6… then I'll try posting some speed test results.

 

Anyway, thank you Mieze for making this.

 

Also, semi-related question: Does anyone know why there's an ~15s delay after a reboot before networking activates in OSX? I don't know if this is something specific to my hardware or not.

There is no delay on my machine after reboot, it´s working immediatly.

Maybe also a problem related to your cable?

Share this post


Link to post
Share on other sites

There is no delay on my machine after reboot, it´s working immediatly.

Maybe also a problem related to your cable?

Possible, but the WiFi also does the same thing. Which makes me think its something to do with the network stack initialization as a whole.

Share this post


Link to post
Share on other sites

Can't really test full throughput yet as only getting a max 100baseTX connection to router (which has gigabit ports). Had this problem previously using AppleIntelE1000e.kext too, which likely suggests a wiring issue—probably involving the ~75ft of 8-y/o cat5e that runs from one end of the house to the other @ router. Guess I'm going to be having fun this wknd swapping that out for cat6… then I'll try posting some speed test results.

 

First, try to clean the RJ-45 connectors/cables from dust. Gigabit ethernet needs all 8 wires to be working. I experienced this issue several times since I switched to gigabit ethernet 6 years ago and in more than 90% the cleaning resolved the issue.

Possible, but the WiFi also does the same thing. Which makes me think its something to do with the network stack initialization as a whole.

 

Sounds like a DHCP issue. Maybe you should take a look at the kernel logs and /or the DHCP server's logs.

 

Mieze

Share this post


Link to post
Share on other sites

I'm making progress with regard to the VMware issue. I created a version of the driver which uses Apple's private network driver interface introduced with 10.8. This new interface has an improved output queue handling and support for packet scheduling with QFQ. Performance and CPU usage seem to be comparable to the version with the traditional interface but it looks like VMware has stopped killing the network stack from time to time. At least I haven't had this issue since I switched over to the new interface. As it was introduced with Mountain Lion there is no way to make the new version work under anything below 10.8.

 

I will publish it during the weekend after running some more tests. Its version number will be 2.0.0d1.

 

Mieze

Share this post


Link to post
Share on other sites

d6 working wonderfully here on 2 installs (one yosemite, one mavericks).  Is jumbo frames still considered way too low a priority to make it into the v2 builds?

Share this post


Link to post
Share on other sites

D6 is working great. I am noticing copying large files to my NAS it doesnt take as long. Befre it used to copy extreamly slowly.

Share this post


Link to post
Share on other sites

First, try to clean the RJ-45 connectors/cables from dust. Gigabit ethernet needs all 8 wires to be working. I experienced this issue several times since I switched to gigabit ethernet 6 years ago and in more than 90% the cleaning resolved the issue.

Makes sense. Tried wiping down all the connectors, but I'm still topping out at 100baseTX.

 

Sounds like a DHCP issue. Maybe you should take a look at the kernel logs and /or the DHCP server's logs.

Does seem to be a DHCP issue—I set Ethernet to configure Manually using its usual DHCP allotted params in System Preferences:Networking, and now it works immediately upon startup. Thanks again.

Share this post


Link to post
Share on other sites

Is jumbo frames still considered way too low a priority to make it into the v2 builds?

 

It's not a question of priority but a question if it makes sense or not. After all jumbo frame support is more a marketing feature than a real benefit in most scenarios. Not to forget that jumbo frames are a troublemaker which will increase the number of support requests. That's why I'm reluctant to implement jumbo frame support.

 

Mieze  :cat:

Share this post


Link to post
Share on other sites

As already announced I just published version 2.0.0d1 a few moments ago. You can find it attached to post #1 of this thread.

 

Good luck!

 

Mieze  :cat:

Share this post


Link to post
Share on other sites

Hi 

I just gave the driver a try 'cause of those big-data-transfer-problems with hnak's intel1000e.

 

Good news first: it works well, transfer speed is very good - but i got a weird problem: safari always crashes!

I rechecked it with i1000e re-installed (checked kextstat that the correct driver is loaded) no safari crash  - checked again with mausi-driver: safari crashed. Any other browser (firefox, chrome) did work...

 

 

Just in case someone noticed my safari problems mentioned here: they're gone with version d6. No problems so far with VMWare Fusion .  :thumbsup_anim:

Transfer Speed via AFP (read) alternates randomly between 50 and 70Mb/s and I have lot of those messages in system.log

 

Mar 15 12:44:28 andromeda kernel[0]: Ethernet [intelMausi]: Not enough descriptors. Stalling.

Mar 15 12:44:28 andromeda kernel[0]: Ethernet [intelMausi]: Restart stalled queue!

 

 
One more change in my original setup is the recent security update 2 days ago.
 
Thanks for your work!
roh7

Share this post


Link to post
Share on other sites

As already announced I just published version 2.0.0d1 a few moments ago. You can find it attached to post #1 of this thread.

 

Good luck!

 

Mieze  :cat:

Note that "git log" shows "Version 2.0.0d1", but Info.plist is still 1.0.0d6. It is due to Module Version=1.0.0d6 in the project.

Share this post


Link to post
Share on other sites

Note that "git log" shows "Version 2.0.0d1", but Info.plist is still 1.0.0d6. It is due to Module Version=1.0.0d6 in the project.

 

You have to select the right target before you build the driver.

 

Mieze

Share this post


Link to post
Share on other sites

Just in order to be on the save side: is there anybody still experiencing random "Tx stalled" messages with the current versions (1.0.0d6/2.0.0d1) of the driver?

 

Mieze

Share this post


Link to post
Share on other sites

You have to select the right target before you build the driver.

 

Mieze

Is there some reason to have two separate targets?

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.

Announcements

  • Similar Content

    • By sapnupuas69
      hello everyone, so my Intel HD 530 is not getting recognised by macOS. In the about my mac section, it shows as 'Display 7mb'
      Im using HDMI connected to motherboard. I can only boot into os with 0x12345678 or 0x193b0005 as Fake Id and 0x19120000 as platform id with Mac17,1 as smbios. I do have the latest version of Lilu and WhateverGreen installed in boot loader and in L/E too. 
      I have looked through many forum posts, and have not found a solution yet. 
       

      edit: i forgot to change the smbios in the picture, I tried changing to 17,1 and restart, still no luck
      EFI.zip
    • By MaLd0n
      First...
      If you need DSDT edits... -Extract tables with F4 key in Clover boot screen! -Run it and send me files! RunMe.app   Installation --Create a bootable copy of El Capitan /  Sierra / High Sierra / Mojave https://github.com/chris1111/Create-Install-Media/releases   --Install Clover in USB stick https://github.com/CloverHackyColor/CloverBootloader/releases   --Replace with my Clover folder https://www.olarila.com/topic/5676-clover-folder-for-all-chipsets/   --Install EL Capitan / Sierra / High Sierra and boot into system!     Post Installation   --Install Clover and replace with my folder   https://www.olarila.com/topic/5676-clover-folder-for-all-chipsets/     --Reboot and activate video!   Bingo! Now you need a fine tune! DSDT Time!   My DSDT GA P35-DS3   DSDT.MaLd0n.zip     Patches -FIX ERRORS AND WARNINGS -HPET -SATA -SLPB -DARWIN -LPC -HDEF -RTC -EHCI -UHCI -IRQs -SBUS -BUS1 -MCHC -ALS0 -SHUTDOWN -LAN -EC -PNLF --Native Power Management
       
      Use Clover, check Generate P and C States
       
      --Brightness
      Install .app, select the required permission and reboot. Work in F1 / F2 keys!
      NativeDisplayBrightness.app.zip


      https://github.com/Bensge/NativeDisplayBrightness/releases
      *in some cases .app don't work, check patches in config.plist inside Clover folder Post Install
       
      --AUDIO
       
      Device HDEF + AppleAlc + Lilu
       
      --install Lan driver by Mieze
        -Atheros   http://www.insanelymac.com/forum/files/file/313-atherose2200ethernet/   -Intel   http://www.insanelymac.com/forum/files/file/396-intelmausiethernet/   -Realtek   http://www.insanelymac.com/forum/files/file/88-realtekrtl8111-binary/   --Links   -FakeSMC   https://bitbucket.org/RehabMan/os-x-fakesmc-kozlek   -Audio   https://github.com/vit9696/AppleALC http://www.insanelymac.com/forum/topic/293863-applehda-patch-requests/   -Credits and thanks to the old and new people in the community who developed patches, kexts and bootloaders!   Slice, Kabyl, usr-sse2, jadran, Blackosx, dmazar, STLVNUB, pcj, apianti, JrCs, pene, FrodoKenny, skoczy, ycr.ru, Oscar09, xsmile, SoThOr, RehabMan, Download-Fritz, Zenit432, cecekpawon, Intel, Apple, Oracle, Chameleon Team, crazybirdy, Mieze, Mirone, Oldnapalm, netkas, Elconiglio, artut-pt, ErmaC, Pavo, Toleda, Master Chief and family, bcc9, The King, PMheart, Sherlocks, Micky1979, vit9696, vandroiy2013, Voodoo Team, Pike R. Alpha, lvs1974, Austere.J, CVad and many, many, many others!   We're all here to have fun and learn from each other!   ENJOY!  
    • By poisson-myfish
      So I have some less powerful hardware, that's why I'm installing High Sierra in 2020. Anyway, I'm trying to boot from the USB and I get the following errors:
      00:000 00:000 OCB: Missing DMG signature, aborting 00:585 00:585 OCB: LoadImage failed - Unsupported That's it. The logs begin and end there. The rest of the file is zeroes.
       
      Bootloader: OpenCore 0.5.9 Release
      Drivers:
      HfsPlus.efi
      OpenRuntime.efi
       
      Kexts:
      AppleALC.kext
      Lilu.kext
      RealtekRTL8111.kext
      SMCBatteryManager.kext
      SMCLightSensor.kext
      SMCProcessor.kext
      SMCSuperIO.kext
      VirtualSMC.kext
      WhateverGreen.kext
       
      ACPI:
      SSDT-EC.aml
      SSDT-HPET.aml
      SSDT-PLUG.aml
      Note: I used SSDTTime to make the DSDT dumps for this exact computer
       
      Hardware:
      Intel Core i3 (Haswell)
      An Intel VGA-Compatible Haswell iGPU
      An nVidia Geforce 920m GPU (part of the reason for installing High Sierra)
      USB: Intel 8 Series USB xHCI HC
      SATA: Intel 8 series SATA Controller
       
      If you need more details, here's my laptop https://www.asus.com/Laptops/X540LJ/ . I have the 512GB version with 4GB of RAM
       
      I found a lot of forum posts about people having the same error, except nothing solved mine. Also, I haven't found anything online about the error with the Missing DMG Signature.
       
      EDIT: If anybody needs my config.plist, feel free to ask for it and I'll happily post it
    • By Mieze
      This project is dedicated to Lucy, my lovely little Tyrannofelis Rex. 
       

       
      LucyRTL8125Ethernet is an open source driver for the Realtek RTL8125 family of 2.5GBit Ethernet controllers.
       
      Key Features of the Driver
      Supports all versions of Realtek's RTL8125 2.5GBit Ethernet Controllers found on recent boards. Support for multisegment packets relieving the network stack of unnecessary copy operations when assembling packets for transmission. No-copy receive and transmit. Only small packets are copied on reception because creating a copy is more efficient than allocating a new buffer. TCP, UDP and IPv4 checksum offload (receive and transmit). TCP segmentation offload over IPv4 and IPv6. Support for TCP/IPv4, UDP/IPv4, TCP/IPv6 and UDP/IPv6 checksum offload. Supports jumbo frames up to 9000 bytes (strongly recommended for 2.5GBit operation). Fully optimized for Catalina (doesn't work with Mojave and below). Note that older versions of macOS might not support 2.5GB Ethernet. Supports Wake on LAN (untested). Supports VLAN (untested). Support for Energy Efficient Ethernet (EEE) which can be disabled by setting enableEEE to NO in the drivers Info.plist without rebuild. The default is YES. The driver is published under GPLv2.  
      Current Status
      The driver has been tested successfully under Catalina (10.15.4 and above) and, according to first tests, is working stable. I haven't experienced any Kernel Panics during my tests and is working stable on my primary work machine. The driver has been designed to work with Catalina but might also work with Mojave, provided you build from source with Xcode 10.. Please keep in mind that support for 2.5GBit Ethernet was introduced in Mojave (or maybe High Sierra?) so that there is no way to make it work with Sierra or below.  
      Known Issues
      Using autoselect medium it seems to prefer negotiating a connection speed of 1Gbit with my switch so that I had to select 2.5GBit/s manually in order to achieve this speed but it might be different with other switches.   Installation
      You might want to install the driver to /L/E as usual but it's also ok to use Clover's injection function (installation in the EFI folder). Use your favorite kext installation tool for installation or perform the installation manually (for Clover injection). It's your call!  
      Troubleshooting
      Make sure you have followed the installation instructions especially when you have issues with certain domains while the others are working fine. Use the debug version to collect log data when trying to track down problems. The kernel log messages can be retrieved with "log show --predicate "processID == 0" --debug" in order to retrieve kernel logs. Include the log data when asking for support or giving feedback. I'm an engineer, not a clairvoyant. Don't copy and paste large amounts of log data to your post. Create an archive with the log data and attach it to your post. In case you don't want to make your log data publicly accessible, contact me via PM and I will provide you a mail address to send it directly to me.  Delete the following files: /Library/Preferences/SystemConfiguration/NetworkInterfaces.plist /Library/Preferences/SystemConfiguration/preferences.plist In Terminal run netstat -s in order to display network statistics. Carefully examine the data for any unusual activity like a high number of packets with bad IP header checksums, etc. In case auto-configuration of the link layer connection doesn't work it might be necessary to select the medium manually in System Preferences under Network for the interface. Use Wireshark to create a packet dump in order to collect diagnostic information. Keep in mind that there are many manufacturers of network equipment. Although Ethernet is an IEEE standard, different implementations may show different behavior causing incompatibilities. In case you are having trouble try a different switch or a different cable.  
      Changelog
      Version 1.0.0d6 (2020-06-14) Fixed chip recognition. Version 1.0.0d3 (2020-04-20) First working development release.  
      Getting the driver
      Source code can be found on GitHub: https://github.com/Mieze/LucyRTL8125Ethernet You'll find the lastest prebuilt binary here in this thread (see below).  
       
    • By Yosa Tristian
      Can someone help me?
      When I turn on the USB Wireless Adapter (Wifi Dongle), my mouse is lagging (like quick ejecting & rejecting).
      When I turn off the Wifi Dongle, my mouse runs smooth again.
       
      Mouse: Fantech G13 Rhasta II
      Wifi Dongle: TPLink TL-WN725N
      Wifi Dongle Driver : https://github.com/chris1111/Wireless-USB-Adapter
       
      And if you don't mind, can you check my hackintosh configuration? maybe something isn't right yet
      Send me Yosas-MacBook-Pro.zip
×