RegisterEthernetInterface fails on Monterey

My NetworkingDriverKit extension is failing on Monterey.

The RegisterEthernetInterface() call is returning a result of 0x08e4bd01.

This code works correctly on both Catalina and BigSur.

Can't find any information on that error code. Or what might have changed for Monterey.

Suggestions would be welcome!

networkInit_Impl [result = RegisterEthernetInterface(ivars->fHostMAC, ivars->poolPacketBuffer, ivars->queues, 4)] Unkown_kIOReturn 8e4bd01

Replies

Hello, sl149q

Have you solve this problem? Cause i have similar problem. The RegisterEthernetInterface() call is returning a result of 0x3dcbd500 in Monterey. This code works correctly on both Catalina and BigSur, too.

Any idea or suggestions would be welcome!!

  • I ended up having to compile each OS version with the matching XCode. Build three times, once each for Catalina, BigSur and Monterey. Each with a different version of XCode (11, 12 and 13) using EXPORT DEVELOPER_DIR=/pathto/XCode-NN etc before the xcodebuild

Add a Comment

Has the problem been solved? Bothering me for a long time, the same code on macOS 11 can work normally, but will RegisterEthernetInterface failure on macOS 12