From: PRANAV KANT GAUR on 24 Mar 2010 10:01 Please help me in identifying the problem with the steps i have taken: 1).I wrote KMDF driver for my USB mass storage device(taking OSRUSBFx2 sample as reference). 2).I tried installing it through 'driver update wizard' in device manager for my device.It was reported to be installed properly but failed to start-ERROR CODE 10'. 3).I used Windbg to open crash dump to determine the values of status(return value of object creation requests)variables,through 'memory' window. It only displays the failure message but status code is not displayed e.g. MY DRIVER CREATE FAILED WITH STATUS............ (i.e. status code isn't displayed) Please guide me regarding the steps that i should take.
From: Egidio [MSFT] on 24 Mar 2010 12:04 Try setting a bp in your routines (or add some tracing) and check if any of them returns an error. the !wdflogdump <your driver name> should also have some info about the error if any wdf api failed. Egi. "PRANAV KANT GAUR" <PRANAVKANTGAUR(a)discussions.microsoft.com> wrote in message news:51569FBD-957B-4944-8AC7-D7422657B2AC(a)microsoft.com... > Please help me in identifying the problem with the steps i have taken: > > 1).I wrote KMDF driver for my USB mass storage device(taking OSRUSBFx2 > sample as reference). > > 2).I tried installing it through 'driver update wizard' in device manager > for my device.It was reported to be installed properly but failed to > start-ERROR CODE 10'. > > 3).I used Windbg to open crash dump to determine the values of > status(return > value of object creation requests)variables,through 'memory' window. > It only displays the failure message but status code is not displayed > e.g. MY DRIVER CREATE FAILED WITH STATUS............ (i.e. status code > isn't displayed) > > Please guide me regarding the steps that i should take.
From: Tim Roberts on 25 Mar 2010 00:00 PRANAV KANT GAUR <PRANAVKANTGAUR(a)discussions.microsoft.com> wrote: > >1).I wrote KMDF driver for my USB mass storage device(taking OSRUSBFx2 >sample as reference). Why? Every USB mass storage device manufactured in the last 12 years meets the USB Mass Storage Class specification. Such a device does not NEED a driver -- all modern operating systems provide one. -- Tim Roberts, timr(a)probo.com Providenza & Boekelheide, Inc.
From: PRANAV KANT GAUR on 25 Mar 2010 09:06 "Tim Roberts" wrote: > PRANAV KANT GAUR <PRANAVKANTGAUR(a)discussions.microsoft.com> wrote: > > > >1).I wrote KMDF driver for my USB mass storage device(taking OSRUSBFx2 > >sample as reference). > > Why? Every USB mass storage device manufactured in the last 12 years meets > the USB Mass Storage Class specification. Such a device does not NEED a > driver -- all modern operating systems provide one. > -- > Tim Roberts, timr(a)probo.com > Providenza & Boekelheide, Inc. > . > I am talking about replacing the vendor-provided function driver from driver stack for my flash drive through the driver i have written(actually i was trying to learn how request processing by function driver is done,by implementing it practically).
|
Pages: 1 Prev: Problem using wdfkd.wdflogdump Next: WLK 1.5: Tool for discovering client machines |