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/


1394 on Win10

Larry_ClawsonLarry_Clawson Member Posts: 191
Setting up to use 1394 with WinDbg does not seem to work any more I have in the past used :

bcdedit /dbgsettings 1394 CHANNEL:43
bcdedit /set testsigning on
bcdedit /debug on


Which worked after the reboot.

Have things changed?

Larry C

Comments

  • Scott_Noone_(OSR)Scott_Noone_(OSR) Administrator Posts: 3,302
    1394 debugging has been removed from Windows, focus is switching over to
    network debugging. You will eventually need to get the 1394 bits from the
    SDK, current workaround is to find them elsewhere:

    https://blogs.msdn.microsoft.com/windbg/2016/08/11/kd-1394-work-around/

    -scott
    OSR
    @OSRDrivers

    wrote in message news:[email protected]

    Setting up to use 1394 with WinDbg does not seem to work any more I have in
    the past used :

    bcdedit /dbgsettings 1394 CHANNEL:43
    bcdedit /set testsigning on
    bcdedit /debug on


    Which worked after the reboot.

    Have things changed?

    Larry C

    -scott
    OSR

  • Larry_ClawsonLarry_Clawson Member Posts: 191
    I am debugging network drivers, so how does one debug a network driver using a network connection?

    Thanks for the link.

    Larry C
  • aluhrsaluhrs Member - All Emails Posts: 32
    You can use KDNET over a different network card to debug your network driver.
  • OSR_Community_UserOSR_Community_User Member Posts: 110,217
    Aluhrs is right:

    A network card is much easier to obtain and much cheaper than any other card.

    Yes, you can use a secondary NIC card. If multiple network cards are available, the PCI bus "parameters" of the one used for debugging must be passed to bcdedit upon configuring the target for debugging.

    <MSDN>
    ...
    5. If there is more than one network adapter in the target computer, use Device Manager to determine the PCI bus, device, and function numbers for the adapter you want to use for debugging. Then in an elevated Command Prompt window, enter the following command, where b, d, and f are the bus number, device number, and function number of the adapter:

    bcdedit /set "{dbgsettings}" busparams b.d.f

    6. Reboot the target computer.
    </MSDN>

    https://msdn.microsoft.com/en-us/library/windows/hardware/hh439346(v=vs.85).aspx
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

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 30 Mar 2020 OSR Seminar Space
Developing Minifilters 15 Jun 2020 LIVE ONLINE
Writing WDF Drivers 22 June 2020 LIVE ONLINE
Internals & Software Drivers 28 Sept 2020 Dulles, VA