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

Home NTDEV
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/


UCSIControl.exe failed -regarding

prabhakar_vinayagamprabhakar_vinayagam Member - All Emails Posts: 114
Hi all,

Im running the ucsicontrol.exe and testing the "UCSI USB connection manager" device in device manager.

Issuing the command "ucsicontrol.exe send 0 1" , getting the exception of code : 0x800700aa , how to validate this device is working, when issuing the disable/enable the usb enumeration has been properly done.

when im running the traceview in windows 10 machine ,im not able to get the logs of the driver where it fails and which causes it fails.

Connected the traceview and use tracepdb -f ucmusci.pdb and create the mof/tmf, use the guid from mof file and provide the path of tmp file and get the trace by using the uscicontrol.exe send 0 1.
caught exception with code 0x800700aa
But i got like this :

00000001 UcmUcsi 4092 3284 0 1 01\01\2098-01:38:21:810 [Device: 0x0000597624990BB8] Received IOCTL 0x12131004
00000002 Unknown 4092 3284 0 2 00\00\ 0-00:00:00:00 Unknown( 40): GUID=d8cb96ca-974f-3dd8-f680-1811ae26ecc1 (No Format Information found).
00000003 Unknown 4092 3284 0 3 00\00\ 0-00:00:00:00 Unknown( 81): GUID=d8cb96ca-974f-3dd8-f680-1811ae26ecc1 (No Format Information found).
00000004 Unknown 4092 3284 0 4 00\00\ 0-00:00:00:00 Unknown( 62): GUID=d8cb96ca-974f-3dd8-f680-1811ae26ecc1 (No Format Information found).
00000005 Unknown 4092 3284 0 5 00\00\ 0-00:00:00:00 Unknown( 82): GUID=d8cb96ca-974f-3dd8-f680-1811ae26ecc1 (No Format Information found).
00000006 Unknown 4092 3284 0 6 00\00\ 0-00:00:00:00 Unknown( 95): GUID=d8cb96ca-974f-3dd8-f680-1811ae26ecc1 (No Format Information found).
00000007 Unknown 4092 3284 0 7 00\00\ 0-00:00:00:00 Unknown( 41): GUID=d8cb96ca-974f-3dd8-f680-1811ae26ecc1 (No Format Information found).
00000008 UcmUcsi 4092 3284 0 8 01\01\2098-01:38:23:114 [Device: 0x0000597624990BB8] Completed IOCTL_UCSI_SEND_COMMAND with 0x80000011(STATUS_DEVICE_BUSY) and information 0

Need to get the Unknowm format messg not found.

Could you please guide how i can solve this ?
what are the ways i can debug this command line utility which were failed and how i can resolve this.

Regards,
Prabhakar V

Comments

  • Tim_RobertsTim_Roberts Member - All Emails Posts: 13,450
    On Feb 1, 2017, at 7:24 AM, [email protected] wrote:
    >
    >
    > Connected the traceview and use tracepdb -f ucmusci.pdb and create the mof/tmf, use the guid from mof file and provide the path of tmp file and get the trace by using the uscicontrol.exe send 0 1.
    > caught exception with code 0x800700aa
    > But i got like this :
    >
    > 00000001 UcmUcsi 4092 3284 0 1 01\01\2098-01:38:21:810 [Device: 0x0000597624990BB8] Received IOCTL 0x12131004
    > 00000002 Unknown 4092 3284 0 2 00\00\ 0-00:00:00:00 Unknown( 40): GUID=d8cb96ca-974f-3dd8-f680-1811ae26ecc1 (No Format Information found).
    > 00000003 Unknown 4092 3284 0 3 00\00\ 0-00:00:00:00 Unknown( 81): GUID=d8cb96ca-974f-3dd8-f680-1811ae26ecc1 (No Format Information found).
    > 00000004 Unknown 4092 3284 0 4 00\00\ 0-00:00:00:00 Unknown( 62): GUID=d8cb96ca-974f-3dd8-f680-1811ae26ecc1 (No Format Information found).
    > 00000005 Unknown 4092 3284 0 5 00\00\ 0-00:00:00:00 Unknown( 82): GUID=d8cb96ca-974f-3dd8-f680-1811ae26ecc1 (No Format Information found).
    > 00000006 Unknown 4092 3284 0 6 00\00\ 0-00:00:00:00 Unknown( 95): GUID=d8cb96ca-974f-3dd8-f680-1811ae26ecc1 (No Format Information found).
    > 00000007 Unknown 4092 3284 0 7 00\00\ 0-00:00:00:00 Unknown( 41): GUID=d8cb96ca-974f-3dd8-f680-1811ae26ecc1 (No Format Information found).
    > 00000008 UcmUcsi 4092 3284 0 8 01\01\2098-01:38:23:114 [Device: 0x0000597624990BB8] Completed IOCTL_UCSI_SEND_COMMAND with 0x80000011(STATUS_DEVICE_BUSY) and information 0
    >
    > Need to get the Unknowm format messg not found.

    It seems like the STATUS_DEVICE_BUSY error by itself should be enough to chase this. Is your UCM device responding to the initial requests, or are you ignoring them?

    Does tracepdb tell you that the driver exposes the d8cb96ca... GUID?

    Tim Roberts, [email protected]
    Providenza & Boekelheide, Inc.

    Tim Roberts, [email protected]
    Providenza & Boekelheide, Inc.

  • prabhakar_vinayagamprabhakar_vinayagam Member - All Emails Posts: 114
    >>Does tracepdb tell you that the driver exposes the d8cb96ca... GUID?

    But when we run this command ,im getting this information of (No format
    Information Found), may it is related to driver , could you please how to
    get those information, if anything i have missed?

    How i can debug this STATUS_DEVICE_BUSY error, how i can debug this ?

    Im not able to use windbg with USB also and windbg over serial usb also ?



    On Thu, Feb 2, 2017 at 8:27 AM, Tim Roberts wrote:

    > On Feb 1, 2017, at 7:24 AM, [email protected] wrote:
    > >
    > >
    > > Connected the traceview and use tracepdb -f ucmusci.pdb and create the
    > mof/tmf, use the guid from mof file and provide the path of tmp file and
    > get the trace by using the uscicontrol.exe send 0 1.
    > > caught exception with code 0x800700aa
    > > But i got like this :
    > >
    > > 00000001 UcmUcsi 4092 3284 0 1
    > 01\01\2098-01:38:21:810 [Device: 0x0000597624990BB8] Received IOCTL
    > 0x12131004
    > > 00000002 Unknown 4092 3284 0 2 00\00\
    > 0-00:00:00:00 Unknown( 40): GUID=d8cb96ca-974f-3dd8-f680-1811ae26ecc1
    > (No Format Information found).
    > > 00000003 Unknown 4092 3284 0 3 00\00\
    > 0-00:00:00:00 Unknown( 81): GUID=d8cb96ca-974f-3dd8-f680-1811ae26ecc1
    > (No Format Information found).
    > > 00000004 Unknown 4092 3284 0 4 00\00\
    > 0-00:00:00:00 Unknown( 62): GUID=d8cb96ca-974f-3dd8-f680-1811ae26ecc1
    > (No Format Information found).
    > > 00000005 Unknown 4092 3284 0 5 00\00\
    > 0-00:00:00:00 Unknown( 82): GUID=d8cb96ca-974f-3dd8-f680-1811ae26ecc1
    > (No Format Information found).
    > > 00000006 Unknown 4092 3284 0 6 00\00\
    > 0-00:00:00:00 Unknown( 95): GUID=d8cb96ca-974f-3dd8-f680-1811ae26ecc1
    > (No Format Information found).
    > > 00000007 Unknown 4092 3284 0 7 00\00\
    > 0-00:00:00:00 Unknown( 41): GUID=d8cb96ca-974f-3dd8-f680-1811ae26ecc1
    > (No Format Information found).
    > > 00000008 UcmUcsi 4092 3284 0 8
    > 01\01\2098-01:38:23:114 [Device: 0x0000597624990BB8] Completed
    > IOCTL_UCSI_SEND_COMMAND with 0x80000011(STATUS_DEVICE_BUSY) and information
    > 0
    > >
    > > Need to get the Unknowm format messg not found.
    >
    > It seems like the STATUS_DEVICE_BUSY error by itself should be enough to
    > chase this. Is your UCM device responding to the initial requests, or are
    > you ignoring them?
    >
    > Does tracepdb tell you that the driver exposes the d8cb96ca... GUID?
    > —
    > Tim Roberts, [email protected]
    > Providenza & Boekelheide, Inc.
    >
    >
    > ---
    > NTDEV is sponsored by OSR
    >
    > Visit the list online at: showlists.cfm?list=ntdev>
    >
    > MONTHLY seminars on crash dump analysis, WDF, Windows internals and
    > software drivers!
    > Details at
    >
    > To unsubscribe, visit the List Server section of OSR Online at <
    > http://www.osronline.com/page.cfm?name=ListServer&gt;
    >
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