Jump to content

Marvell (Aquantia) 10 Gb Ethernet support thread


d5aqoep
520 posts in this topic

Recommended Posts

On 9/25/2020 at 9:21 AM, Toskache said:

 

Finaly I got it! For some reason, "System / Library / Extensions / IONetworkingFamily.kext" was entered in the OC config under Kernel->Force ...

Sacked and good.

Has anyone tried if enabling the option actually makes the 10G work again??

Link to comment
Share on other sites

It makes no sense to speculate what might help. In case you want to know, take a disassembler like the free version of IDA64, and analyze the drivers checkConfigSupport() method. That's the way I found the "built-in"-patch and it shouldn't be too hard to find a reliable patch for Big Sur. I would to it if I had Sig Sur already installed on one of my machines but I haven't.

 

Mieze :cat:

Link to comment
Share on other sites

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

Hi there, @Mieze

 

I've just bought this Aquantia: 

 

https://www.amazon.it/SYBA-Porta-Gigabit-Ethernet-Scheda/dp/B07G2DV9K2/

 

following the advice of this forum because it should be native but it doesn't work at all ... any suggestion? I'm using Catalina 15.7 with the latest security patches (19H15) with OpenCore 0.6.3 ... and the build in signature. 

Link to comment
Share on other sites

  • 2 weeks later...
On 7/11/2020 at 5:20 PM, dehjomz said:

Patch works well in Big Sur. Had to adapt it so that it’s only applied just once. Otherwise it breaks the kernel collection, and even if boot from prelinked kernel, applying the patch more than once breaks sleep. 
 

it’s so pleasing to see my Aquantia fire up when macOS Big Sur boots. 
 

do you think apple changed something in the kernel deliberately to prevent Aquantia cards from loading, or is it a bug of the beta?? Seems strange that cards that worked without need to patch in Catalina stops working in Big Sur, and that external thunderbolt Aquantia cards work but internal pcie ones don’t. Very strange. 
 

since I’m so curious, how did you come about the values to patch? care to walk me through it please ??

Just curious what you did to make it so that this patch doesn't break sleep. Sleep works fine for me on Big Sur 11.1 without the patch but once I apply the patch the computer no longer wakes successfully.

 

Link to comment
Share on other sites

  • 3 weeks later...
On 9/9/2020 at 12:10 PM, d5aqoep said:

What's with bold font? Hehe

 

To tell you the truth, I have both the cards Asus and Syba and starting with Big Sur, they are not supported out of the box (OOTB). Asus needs the Clover/OpenCore kext patch available on 1st page of this topic in Catalina.

For Big Sur DP3 to DP6 work both cards need this following kext patch in OpenCore. (I don't use clover anymore)



* com.apple.driver.AppleEthernetAquantiaAqtion
* Find: 0F84C002 0000
* Replace: 660F1F44 0000

Use OpenCore Configurator app to open your config.plist. Enter it in Kernel -> Patch section -> Identifier as com.apple.driver.AppleEthernetAquantiaAqtion

 

On a different note, has anyone got their Aquantia cards to WOL from shutdown? Intelmausi kext has a new fork to enable WOL from shutdown. Something similar for our 10 Gbe cards would be phenomenal. 

 

 

I finally got my hack upgraded to Big Sur and I can confirm this still works for 11.1 the official release.

 

My card is the TR-Link card I mentioned in previous replies. I also used DeviceProperties to change the name and type.

 

1073398196_Screenshot2021-01-06at07_47_43.thumb.png.95d8e8721d73d13b87a2ab5e742293b2.png

Edited by madins
Link to comment
Share on other sites

  • 3 weeks later...
  • 1 month later...
On 1/6/2021 at 3:46 PM, madins said:

 

I finally got my hack upgraded to Big Sur and I can confirm this still works for 11.1 the official release.

 

My card is the TR-Link card I mentioned in previous replies. I also used DeviceProperties to change the name and type.

 

1073398196_Screenshot2021-01-06at07_47_43.thumb.png.95d8e8721d73d13b87a2ab5e742293b2.png

 

 

my card have the same id as you. but i cannot put my system into sleep. it will wakeup immediately.

do you have the same problem?

Link to comment
Share on other sites

  • 4 weeks later...

This afternoon I reverse-engineered the driver's checkConfigSupport()-function, which determines if a card is supported, and developed a new patch that works with Catalina and Big Sur. Basically, it fixes the return value of the function marking any card as supported. As the patch is applied to a code section which hasn't changed for years, I'm quite confident that it will survive several updates of Big Sur too. Here is the OC patch:

 

1038438708_Bildschirmfoto2021-03-29um21_41_17.png.ebf9c9be3456e584bb49795b40ee685e.png

 

For those of you who are interested in the background, the picture below shows which code sequence is changed:

 

610698057_Bildschirmfoto2021-03-29um16_22_45.png.487ff627c286b9f5ceace34a19c75622.png

 

 

 

 

 

 

 

 

 

 

Have fun!

 

Mieze :cat:

Edited by Mieze
  • Like 6
  • Thanks 3
Link to comment
Share on other sites

  • 2 weeks later...
  • 2 weeks later...
  • 5 weeks later...
On 3/29/2021 at 10:01 PM, Mieze said:

This afternoon I reverse-engineered the driver's checkConfigSupport()-function, which determines if a card is supported, and developed a new patch that works with Catalina and Big Sur

@Mieze Is this the only patch to apply to get 10G Aquantia working on Big Sur? DHCP config/manual configs are still not functional with two ethernet cards onboard?

Link to comment
Share on other sites

@1Ale1 Yes! You might want to check if the driver loads in Terminal. Also it's possible to enable the driver's debug output with a boot argument mentioned earlier in this thread.

 

Mieze :cat:

Link to comment
Share on other sites

On 4/17/2021 at 9:41 PM, maleorderbride said:

Is the OP still up to date for Big Sur regarding the top two cards being natively supported? Last edit was 2019.

 

I have updated the revised list of cards available and Mieze’s new patch in First post soon. Thanks Mieze :thumbsup_anim:

 

 

On 12/10/2020 at 8:25 PM, hackaro said:

Hi there, @Mieze

 

I've just bought this Aquantia: 

 

https://www.amazon.it/SYBA-Porta-Gigabit-Ethernet-Scheda/dp/B07G2DV9K2/

 

following the advice of this forum because it should be native but it doesn't work at all ... any suggestion? I'm using Catalina 15.7 with the latest security patches (19H15) with OpenCore 0.6.3 ... and the build in signature. 

 

Apple has blocked AQC-107 or AQC-107S based third party cards since Catalina 15.4 and now a simple kext patch is needed. No biggie. They are only allowing AQC-107S based cards connected through thunderbolt port. Why they did it? No one knows.

 

@Mieze can you pin this topic now that we have a definite solution?

Edited by d5aqoep
  • Like 1
  • Thanks 1
Link to comment
Share on other sites

  • 3 weeks later...

You might try this old patch, which is still working for me on Monterey Beta 1.

				<key>Arch</key>
				<string>Any</string>
				<key>Base</key>
				<string>__ZN27AppleEthernetAquantiaAqtion5startEP9IOService</string>
				<key>Comment</key>
				<string>Aquantia AQC107 patch Big Sur</string>
				<key>Count</key>
				<integer>1</integer>
				<key>Enabled</key>
				<true/>
				<key>Find</key>
				<data>
				D4TAAgAA
				</data>
				<key>Identifier</key>
				<string>com.apple.driver.AppleEthernetAquantiaAqtion</string>
				<key>Limit</key>
				<integer>0</integer>
				<key>Mask</key>
				<data>
				</data>
				<key>MaxKernel</key>
				<string></string>
				<key>MinKernel</key>
				<string>20.0.0</string>
				<key>Replace</key>
				<data>
				Zg8fRAAA
				</data>
				<key>ReplaceMask</key>
				<data>
				</data>
				<key>Skip</key>
				<integer>0</integer>

 

  • Like 1
  • Thanks 1
Link to comment
Share on other sites

@d5aqoep Send me the kext from Monterey via PM and I'll take a look at it. You might want also enable the kext's debug output using the kernel parameter. Let's see what the driver has to say...

 

Mieze :cat:

  • Like 1
Link to comment
Share on other sites

Obviously the code sequence has changed a bit but the structure remains the same:

 

1238571158_Bildschirmfoto2021-06-09um16_20_51.png.97eb8ed9cbe0722c5771dc1922e94ec8.png

 

Therefore we've got to modify the patch too. You need to find

41 c7 45 00 00 00 00 00 e9

and replace it with

41 c7 45 00 01 00 00 00 e9

Good luck!

 

Mieze :cat:

  • Like 5
  • Thanks 3
Link to comment
Share on other sites

1 hour ago, Mieze said:

Obviously the code sequence has changed a bit but the structure remains the same:

 

1238571158_Bildschirmfoto2021-06-09um16_20_51.png.97eb8ed9cbe0722c5771dc1922e94ec8.png

 

Therefore we've got to modify the patch too. You need to find


41 c7 45 00 00 00 00 00 e9

and replace it with


41 c7 45 00 01 00 00 00 e9

Good luck!

 

Mieze :cat:

Perfection..... As always @Mieze thanks.

  • Like 1
  • Thanks 1
Link to comment
Share on other sites

  • 2 months later...
×
×
  • Create New...