about virtualize scsi miniport driver

My plan is to emulate a scsi disk with a file. Now I get some
problems.

1.Why the driver cannot start up successfully(error code 10)?
When the underlying media is a local file, the driver cannot start up
successfully(error code 10), if i choose to update the driver, it can work
and a new scsi disk shows in the device tree. In the .INF file, i have set
the ServiceType with 1, startType with 0. What goes wrong?

2.Is a TDI Client necessary in my virtualize scsi miniport driver?
To emulate disk with a CIFS file, what should i do? When i just map a
CIFS folder as local driver and take it as the underlying media, i can’t get
driver startted even i choose to update the driver, it says it will take
effect after reboot, then it never gets startted. Is a TDI Client necessary
In my virtualize scsi miniport driver? if so, what’s the architecture?

any advise or help will be appreciated.
thanks in advance.
paul


FREE pop-up blocking with the new MSN Toolbar – get it now!
http://toolbar.msn.click-url.com/go/onm00200415ave/direct/01/

We need more details. But let me ask a couple of questions:

  1. What’s the OS and service-pack level?
  2. Is your driver a WDM filter driver, bus driver or what?


James Antognini
Windows DDK Support

This posting is provided “AS IS” with no warranties, and confers no rights.

“paul chen” wrote in message news:xxxxx@ntdev…
> My plan is to emulate a scsi disk with a file. Now I get some
> problems.
>
> 1.Why the driver cannot start up successfully(error code 10)?
> When the underlying media is a local file, the driver cannot start
up
> successfully(error code 10), if i choose to update the driver, it can work
> and a new scsi disk shows in the device tree. In the .INF file, i have
set
> the ServiceType with 1, startType with 0. What goes wrong?
>
> 2.Is a TDI Client necessary in my virtualize scsi miniport driver?
> To emulate disk with a CIFS file, what should i do? When i just map a
> CIFS folder as local driver and take it as the underlying media, i can’t
get
> driver startted even i choose to update the driver, it says it will take
> effect after reboot, then it never gets startted. Is a TDI Client
necessary
> In my virtualize scsi miniport driver? if so, what’s the architecture?
>
> any advise or help will be appreciated.
> thanks in advance.
> paul
>
> _________________________________________________________________
> FREE pop-up blocking with the new MSN Toolbar - get it now!
> http://toolbar.msn.click-url.com/go/onm00200415ave/direct/01/
>
>

hi, James
i was working on win2k/sp4. My driver is a miniport driver and a bus
driver.
thanks for ur reply.
paul


MSN Toolbar provides one-click access to Hotmail from any Web page – FREE
download! http://toolbar.msn.click-url.com/go/onm00200413ave/direct/01/

You’ve not supplied enough information to help in diagnosis, in particular,
in your first paragraph.

As to the second paragraph, I suppose your driver would need TDI services
(and be a TDI client driver) in certain situations. But, again, we don’t
have enough to work on.


James Antognini
Windows DDK Support

This posting is provided “AS IS” with no warranties, and confers no rights.

“paul chen” wrote in message news:xxxxx@ntdev…
> My plan is to emulate a scsi disk with a file. Now I get some
> problems.
>
> 1.Why the driver cannot start up successfully(error code 10)?
> When the underlying media is a local file, the driver cannot start
up
> successfully(error code 10), if i choose to update the driver, it can work
> and a new scsi disk shows in the device tree. In the .INF file, i have
set
> the ServiceType with 1, startType with 0. What goes wrong?
>
> 2.Is a TDI Client necessary in my virtualize scsi miniport driver?
> To emulate disk with a CIFS file, what should i do? When i just map a
> CIFS folder as local driver and take it as the underlying media, i can’t
get
> driver startted even i choose to update the driver, it says it will take
> effect after reboot, then it never gets startted. Is a TDI Client
necessary
> In my virtualize scsi miniport driver? if so, what’s the architecture?
>
> any advise or help will be appreciated.
> thanks in advance.
> paul
>
> _________________________________________________________________
> FREE pop-up blocking with the new MSN Toolbar - get it now!
> http://toolbar.msn.click-url.com/go/onm00200415ave/direct/01/
>
>