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

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

the child pdo device can not start(code 10)

sean_xiaosean_xiao Member Posts: 6
Dear experts,
I'm developing a bus driver(wdf mode).Now i encounter a probel as title.
My bus driver use Dynamic enumeration mode, the call back function EVT_WDF_CHILD_LIST_CREATE_DEVICE was called and I do what the documents told me to do.
The child device can be found in device manager but the yellow exclamation?device status is "This device cannot start. (Code 10)
The specified request is not a valid operation for the target device."
By using windbg, devnode information is showing as below:
ExtensionFlags (0x00000010) DOE_START_PENDING

Previous State = DeviceNodeStartCompletion (0x306)
StateHistory[07] = DeviceNodeStartCompletion (0x306)
StateHistory[06] = DeviceNodeAwaitingQueuedRemoval (0x30f)
StateHistory[05] = DeviceNodeStartCompletion (0x306)
StateHistory[04] = DeviceNodeStartPending (0x305)
StateHistory[03] = DeviceNodeResourcesAssigned (0x304)
StateHistory[02] = DeviceNodeDriversAdded (0x303)
StateHistory[01] = DeviceNodeInitialized (0x302)
StateHistory[00] = DeviceNodeUninitialized (0x301)

Problem = CM_PROB_FAILED_START
Problem Status = 0xc0000010
Failure Status 0000000000
it is looks like the "IRP_MN_START_DEVICE" was failed, as per my understanding, The PNP staff was handled by wdf framework, so how can i fix the problem?

Comments

  • Doron_HolanDoron_Holan Member - All Emails Posts: 10,371
    Did you install a function driver on the pdo? Or do you expect the pdo to start without additional drivers?

    Bent from my phone
    ________________________________
    From: xxxxx@lists.osr.com on behalf of xxxxx@hotmail.com
    Sent: Wednesday, November 29, 2017 6:05:20 PM
    To: Windows System Software Devs Interest List
    Subject: [ntdev] the child pdo device can not start(code 10)

    Dear experts,
    I'm developing a bus driver(wdf mode).Now i encounter a probel as title.
    My bus driver use Dynamic enumeration mode, the call back function EVT_WDF_CHILD_LIST_CREATE_DEVICE was called and I do what the documents told me to do.
    The child device can be found in device manager but the yellow exclamation?device status is "This device cannot start. (Code 10)
    The specified request is not a valid operation for the target device."
    By using windbg, devnode information is showing as below:
    ExtensionFlags (0x00000010) DOE_START_PENDING

    Previous State = DeviceNodeStartCompletion (0x306)
    StateHistory[07] = DeviceNodeStartCompletion (0x306)
    StateHistory[06] = DeviceNodeAwaitingQueuedRemoval (0x30f)
    StateHistory[05] = DeviceNodeStartCompletion (0x306)
    StateHistory[04] = DeviceNodeStartPending (0x305)
    StateHistory[03] = DeviceNodeResourcesAssigned (0x304)
    StateHistory[02] = DeviceNodeDriversAdded (0x303)
    StateHistory[01] = DeviceNodeInitialized (0x302)
    StateHistory[00] = DeviceNodeUninitialized (0x301)

    Problem = CM_PROB_FAILED_START
    Problem Status = 0xc0000010
    Failure Status 0000000000
    it is looks like the "IRP_MN_START_DEVICE" was failed, as per my understanding, The PNP staff was handled by wdf framework, so how can i fix the problem?


    ---
    NTDEV is sponsored by OSR

    Visit the list online at:

    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
  • sean_xiaosean_xiao Member Posts: 6
    Dear Doron Holan,
    Yes, I installed a function driver for the child pdo.
  • Doron_HolanDoron_Holan Member - All Emails Posts: 10,371
    Then the loaded function driver failed the pnp start.

    Bent from my phone
    ________________________________
    From: xxxxx@lists.osr.com on behalf of xxxxx@hotmail.com
    Sent: Wednesday, November 29, 2017 9:28:38 PM
    To: Windows System Software Devs Interest List
    Subject: RE:[ntdev] the child pdo device can not start(code 10)

    Dear Doron Holan,
    Yes, I installed a function driver for the child pdo.


    ---
    NTDEV is sponsored by OSR

    Visit the list online at:

    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
  • sean_xiaosean_xiao Member Posts: 6
    Dear Doron Holan,
    In my WDF driver, I create a default queue for parent FDO and set EvtIoInternalDeviceControl dispatch callback, but it was never called.
    Instead, I found Wdf01000!FxPkgIo::DispatchStep1 return 0xc0000010.
    Should I create another queue for child PDO or ???
  • Doron_HolanDoron_Holan Member - All Emails Posts: 10,371
    If you expect the pdo to process io you need to create queue(s) for it

    Bent from my phone
    ________________________________
    From: xxxxx@lists.osr.com on behalf of xxxxx@hotmail.com
    Sent: Monday, December 4, 2017 10:45:48 PM
    To: Windows System Software Devs Interest List
    Subject: RE:[ntdev] the child pdo device can not start(code 10)

    Dear Doron Holan,
    In my WDF driver, I create a default queue for parent FDO and set EvtIoInternalDeviceControl dispatch callback, but it was never called.
    Instead, I found Wdf01000!FxPkgIo::DispatchStep1 return 0xc0000010.
    Should I create another queue for child PDO or ???

    ---
    NTDEV is sponsored by OSR

    Visit the list online at:

    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
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!