Windows System Software -- Consulting, Training, Development -- Unique Expertise, Guaranteed Results

Before Posting...

Please check out the Community Guidelines in the Announcements and Administration Category.

More Info on Driver Writing and Debugging


The free OSR Learning Library has more than 50 articles on a wide variety of topics about writing and debugging device drivers and Minifilters. From introductory level to advanced. All the articles have been recently reviewed and updated, and are written using the clear and definitive style you've come to expect from OSR over the years.


Check out The OSR Learning Library at: https://www.osr.com/osr-learning-library/


Kernel debugging Macbook Pro with Thunderbolt ports

craniumratcraniumrat Member Posts: 17

Hi,

Has any one managed to kernel debug a driver on a Macbook Pro? The 2019 Macbook Pro has 4 thunderbolt ports and nothing else. kdnet does not show a valid NIC. There are no Ethernet ports on it.

I'm not able to find a A-A crossover USB 3.0 compliant cable (like DataPro) online (in India). I'm not even sure the cable will work with a USB-C -> USB-A female adapter in the middle. I have tried connecting a regular USB-C to USB-C cable and a USB-C to USB-A 3.0 cable to my desktop, but failed to make a connection. I could not create a Virtual USB-EEM Ethernet Network Connection to try and work with kdnet.

So, once again, has any one managed to get this to work?

Thanks,
Mridul.

Comments

  • Eric_WittmayerEric_Wittmayer Member Posts: 50

    I haven't tried on a Macbook but i'm using a A to C adapter with a datapro cable right now and its working. But it will only work if you flip the type C connector one direction. At least with the Asmedie USB 3 host i'm using on my debug machine. Not sure if that is related to the cable or the host. I also just tried with a standard Type-C to Type-C cable and it worked. I don't have a 2019 Macbook to try on.

    Remember to start windbg as administrator the first time so it can install the drivers. Kudos to the MSFT WinDbg guys because it actually reminded me to do this when i forget the first time.

    Eric

  • salma16salma16 Member Posts: 1

    @craniumrat said:
    Hi,

    Has any one managed to kernel debug a driver on a Macbook Pro? The 2019 Macbook Pro has 4 thunderbolt ports and nothing else. kdnet does not show a valid NIC. There are no Ethernet ports on it.

    I'm not able to find a A-A crossover USB 3.0 compliant cable (like DataPro) online (in India). I'm not even sure the cable will work with a USB-C -> USB-A female adapter in the middle. I have tried connecting a regular USB-C to USB-C cable and a USB-C to USB-A 3.0 cable to my desktop, but failed to make a connection. I could not create a Virtual USB-EEM Ethernet Network Connection to try and work with kdnet.

    So, once again, has any one managed to get this to work?

    Thanks,
    Mridul.

    Kernel debugging can be difficult on a 2018 MacBook Pro with Thunderbolt ports due to the lack of Ethernet ports. It's important for developers to find a compatible cable or adapter for the debugging setup. Has anyone achieved this and can provide guidance or solutions?

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. Sign in or register to get started.

Upcoming OSR Seminars
OSR has suspended in-person seminars due to the Covid-19 outbreak. But, don't miss your training! Attend via the internet instead!
Kernel Debugging 16-20 October 2023 Live, Online
Developing Minifilters 13-17 November 2023 Live, Online
Internals & Software Drivers 4-8 Dec 2023 Live, Online
Writing WDF Drivers 10-14 July 2023 Live, Online