Re: Mirror driver installation issue on Server 2000 SP4.

Yes Tim, I know Server2000 is very old but our existing product supports
that and I have been asked to support too :(. I know in latest WDK it is not
present so I have downloaded older WDK which is having 2000 build
environment and build the driver but some how OS is not allowing to load the
driver.

Please assume that I have build driver in correct build environment. Since
I have tried mirror sample given in WDK and it is also giving the same
result so I am wondering if I am missing some thing here.

Any suggestion or hint will help a lot here.

/sarbojit

On Tue, Nov 23, 2010 at 12:03 AM, Tim Roberts wrote:

> Sarbojit Sarkar wrote:
> >
> > I have successfully build my mirror driver under Server2000
> > environment and install the driver using INF file. But it is showing
> > yellow bang in device manger. I checked in driver property it is
> > saying “This device is not working properly because Windows cannot
> > load the drivers required for this device.(Code 31).”. I thought some
> > compatibility issue I had made in my code because of that this is
> > happening. Just to identify that I tried to install sample mirror
> > driver available in WDK but the result was same, Yellow Bang .
> >
> > I am not able to debug the issue because system is not available
> > locally. I have asked to provide local system but till then if some
> > one can come up with any suggestion will help a lot here.
>
> You keep saying “Server 2000”. Is that literally what you mean? You
> are working with an operating system that is 10 years old? The fact
> that you said “SP4” leads me to think so.
>
> There is no “Server 2000” build environment in the latest WDK. That
> support has been removed. You cannot use the “Server 2003” or “Server
> 2008” build environments to build Windows 2000 drivers. You must find
> the Vista WDK and use the Windows 2000 build environment.
>
> –
> Tim Roberts, xxxxx@probo.com
> Providenza & Boekelheide, Inc.
>
>
> —
> NTDEV is sponsored by OSR
>
> For our schedule of WDF, WDM, debugging and other seminars visit:
> http://www.osr.com/seminars
>
> To unsubscribe, visit the List Server section of OSR Online at
> http://www.osronline.com/page.cfm?name=ListServer
>

We cannot assume anything here. We depend totally on what a poster places in a post and too many times that proves to be ripe with the posters own assumptions. So, asking if you are sure you built your driver properly is always a valid question on this list. Don’t return attitude when you get asked the obvious

How are you installing the driver? Is the newer driver replacing the older driver pointed to by image path? Did you check the date/time stamps?

Gary G. Little

----- Original Message -----
From: “Sarbojit Sarkar”
To: “Windows System Software Devs Interest List”
Sent: Monday, November 22, 2010 11:01:04 PM
Subject: Re: [ntdev] Mirror driver installation issue on Server 2000 SP4.

Yes Tim, I know Server2000 is very old but our existing product supports that and I have been asked to support too :(. I know in latest WDK it is not present so I have downloaded older WDK which is having 2000 build environment and build the driver but some how OS is not allowing to load the driver.

Please assume that I have build driver in correct build environment. Since I have tried mirror sample given in WDK and it is also giving the same result so I am wondering if I am missing some thing here.

Any suggestion or hint will help a lot here.

/sarbojit

On Tue, Nov 23, 2010 at 12:03 AM, Tim Roberts < xxxxx@probo.com > wrote:

Sarbojit Sarkar wrote:
>
> I have successfully build my mirror driver under Server2000
> environment and install the driver using INF file. But it is showing
> yellow bang in device manger. I checked in driver property it is
> saying “This device is not working properly because Windows cannot
> load the drivers required for this device.(Code 31).”. I thought some
> compatibility issue I had made in my code because of that this is
> happening. Just to identify that I tried to install sample mirror
> driver available in WDK but the result was same, Yellow Bang .
>
> I am not able to debug the issue because system is not available
> locally. I have asked to provide local system but till then if some
> one can come up with any suggestion will help a lot here.

You keep saying “Server 2000”. Is that literally what you mean? You
are working with an operating system that is 10 years old? The fact
that you said “SP4” leads me to think so.

There is no “Server 2000” build environment in the latest WDK. That
support has been removed. You cannot use the “Server 2003” or “Server
2008” build environments to build Windows 2000 drivers. You must find
the Vista WDK and use the Windows 2000 build environment.


Tim Roberts, xxxxx@probo.com
Providenza & Boekelheide, Inc.


NTDEV is sponsored by OSR

For our schedule of WDF, WDM, debugging and other seminars visit:
http://www.osr.com/seminars

To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer

— NTDEV is sponsored by OSR For our schedule of WDF, WDM, debugging and other seminars visit: http://www.osr.com/seminars To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer

@Gary
I never said, that was an obvious question or people should not ask that
type of question so *please please* don’t take it that way. In fact I have
requested to consider that I have used required build environment i.e.
server 2000-32bits.

BTW, I have disabled warning using “#pragma warning(disable,4201)”, will it
be a problem?

/sarbojit

On Tue, Nov 23, 2010 at 7:17 PM, Gary%20G.%20Little%20%40%20comcast <
xxxxx@comcast.net> wrote:

We cannot assume anything here. We depend totally on what a poster places
in a post and too many times that proves to be ripe with the posters own
assumptions. So, asking if you are sure you built your driver properly is
always a valid question on this list. Don’t return attitude when you get
asked the obvious

How are you installing the driver? Is the newer driver replacing the older
driver pointed to by image path? Did you check the date/time stamps?

Gary G. Little

----- Original Message -----
From: “Sarbojit Sarkar”
> To: “Windows System Software Devs Interest List”
> Sent: Monday, November 22, 2010 11:01:04 PM
> Subject: Re: [ntdev] Mirror driver installation issue on Server 2000 SP4.
>
> Yes Tim, I know Server2000 is very old but our existing product supports
> that and I have been asked to support too :(. I know in latest WDK it is not
> present so I have downloaded older WDK which is having 2000 build
> environment and build the driver but some how OS is not allowing to load the
> driver.
>
> Please assume that I have build driver in correct build environment. Since
> I have tried mirror sample given in WDK and it is also giving the same
> result so I am wondering if I am missing some thing here.
>
> Any suggestion or hint will help a lot here.
>
> /sarbojit
>
> On Tue, Nov 23, 2010 at 12:03 AM, Tim Roberts wrote:
>
>> Sarbojit Sarkar wrote:
>> >
>> > I have successfully build my mirror driver under Server2000
>> > environment and install the driver using INF file. But it is showing
>> > yellow bang in device manger. I checked in driver property it is
>> > saying “This device is not working properly because Windows cannot
>> > load the drivers required for this device.(Code 31).”. I thought some
>> > compatibility issue I had made in my code because of that this is
>> > happening. Just to identify that I tried to install sample mirror
>> > driver available in WDK but the result was same, Yellow Bang .
>> >
>> > I am not able to debug the issue because system is not available
>> > locally. I have asked to provide local system but till then if some
>> > one can come up with any suggestion will help a lot here.
>>
>> You keep saying “Server 2000”. Is that literally what you mean? You
>> are working with an operating system that is 10 years old? The fact
>> that you said “SP4” leads me to think so.
>>
>> There is no “Server 2000” build environment in the latest WDK. That
>> support has been removed. You cannot use the “Server 2003” or “Server
>> 2008” build environments to build Windows 2000 drivers. You must find
>> the Vista WDK and use the Windows 2000 build environment.
>>
>> –
>> Tim Roberts, xxxxx@probo.com
>> Providenza & Boekelheide, Inc.
>>
>>
>> —
>> NTDEV is sponsored by OSR
>>
>> For our schedule of WDF, WDM, debugging and other seminars visit:
>> http://www.osr.com/seminars
>>
>> To unsubscribe, visit the List Server section of OSR Online at
>> http://www.osronline.com/page.cfm?name=ListServer
>>
>
> — NTDEV is sponsored by OSR For our schedule of WDF, WDM, debugging and
> other seminars visit: http://www.osr.com/seminars To unsubscribe, visit
> the List Server section of OSR Online at
> http://www.osronline.com/page.cfm?name=ListServer
>
> —
> NTDEV is sponsored by OSR
>
> For our schedule of WDF, WDM, debugging and other seminars visit:
> http://www.osr.com/seminars
>
> To unsubscribe, visit the List Server section of OSR Online at
> http://www.osronline.com/page.cfm?name=ListServer
>

Forgot to answer the questions asked by Gary,

>>How are you installing the driver?
Using INF file.

>>Is the newer driver replacing the older driver pointed to by image path?
No this is a new driver.

>>Did you check the date/time stamps?
I am using INF file with latest time stamp. Could you please let me know
where exactly you want me to check date and time?

On Tue, Nov 23, 2010 at 8:39 PM, Sarbojit Sarkar wrote:

> @Gary
> I never said, that was an obvious question or people should not ask that
> type of question so please please don’t take it that way. In fact I have
> requested to consider that I have used required build environment i.e.
> server 2000-32bits.
>
> BTW, I have disabled warning using “#pragma warning(disable,4201)”, will it
> be a problem?
>
> /sarbojit
>
> On Tue, Nov 23, 2010 at 7:17 PM, Gary%20G.%20Little%20%40%20comcast <
> xxxxx@comcast.net> wrote:
>
>> We cannot assume anything here. We depend totally on what a poster
>> places in a post and too many times that proves to be ripe with the posters
>> own assumptions. So, asking if you are sure you built your driver properly
>> is always a valid question on this list. Don’t return attitude when you get
>> asked the obvious
>>
>> How are you installing the driver? Is the newer driver replacing the older
>> driver pointed to by image path? Did you check the date/time stamps?
>>
>> Gary G. Little
>>
>>
>> ----- Original Message -----
>> From: “Sarbojit Sarkar”
>> To: “Windows System Software Devs Interest List”
>> Sent: Monday, November 22, 2010 11:01:04 PM
>> Subject: Re: [ntdev] Mirror driver installation issue on Server 2000 SP4.
>>
>> Yes Tim, I know Server2000 is very old but our existing product supports
>> that and I have been asked to support too :(. I know in latest WDK it is not
>> present so I have downloaded older WDK which is having 2000 build
>> environment and build the driver but some how OS is not allowing to load the
>> driver.
>>
>> Please assume that I have build driver in correct build environment.
>> Since I have tried mirror sample given in WDK and it is also giving the same
>> result so I am wondering if I am missing some thing here.
>>
>> Any suggestion or hint will help a lot here.
>>
>> /sarbojit
>>
>> On Tue, Nov 23, 2010 at 12:03 AM, Tim Roberts wrote:
>>
>>> Sarbojit Sarkar wrote:
>>> >
>>> > I have successfully build my mirror driver under Server2000
>>> > environment and install the driver using INF file. But it is showing
>>> > yellow bang in device manger. I checked in driver property it is
>>> > saying “This device is not working properly because Windows cannot
>>> > load the drivers required for this device.(Code 31).”. I thought some
>>> > compatibility issue I had made in my code because of that this is
>>> > happening. Just to identify that I tried to install sample mirror
>>> > driver available in WDK but the result was same, Yellow Bang .
>>> >
>>> > I am not able to debug the issue because system is not available
>>> > locally. I have asked to provide local system but till then if some
>>> > one can come up with any suggestion will help a lot here.
>>>
>>> You keep saying “Server 2000”. Is that literally what you mean? You
>>> are working with an operating system that is 10 years old? The fact
>>> that you said “SP4” leads me to think so.
>>>
>>> There is no “Server 2000” build environment in the latest WDK. That
>>> support has been removed. You cannot use the “Server 2003” or “Server
>>> 2008” build environments to build Windows 2000 drivers. You must find
>>> the Vista WDK and use the Windows 2000 build environment.
>>>
>>> –
>>> Tim Roberts, xxxxx@probo.com
>>> Providenza & Boekelheide, Inc.
>>>
>>>
>>> —
>>> NTDEV is sponsored by OSR
>>>
>>> For our schedule of WDF, WDM, debugging and other seminars visit:
>>> http://www.osr.com/seminars
>>>
>>> To unsubscribe, visit the List Server section of OSR Online at
>>> http://www.osronline.com/page.cfm?name=ListServer
>>>
>>
>> — NTDEV is sponsored by OSR For our schedule of WDF, WDM, debugging and
>> other seminars visit: http://www.osr.com/seminars To unsubscribe, visit
>> the List Server section of OSR Online at
>> http://www.osronline.com/page.cfm?name=ListServer
>>
>> —
>> NTDEV is sponsored by OSR
>>
>> For our schedule of WDF, WDM, debugging and other seminars visit:
>> http://www.osr.com/seminars
>>
>> To unsubscribe, visit the List Server section of OSR Online at
>> http://www.osronline.com/page.cfm?name=ListServer
>>
>
>

Finally able to load the driver using .inf installation but facing following
issues:

  1. In device manager ‘uninstall’ option is not present for my driver.
  2. Devcon is also not able to uninstall the driver but it(Devcon) is able
    install the driver.

Issues are specific to server2000 so please let me know if any one already
faced these issues.
I found an old link http://www.osronline.com/showthread.cfm?link=144418 Where
same problem had raised but did not find any suggestion or probable reasons
behind this, so asking here again. Please let me know if this behavior is
because of some issue in driver.
/sarbojit
On Tue, Nov 23, 2010 at 9:29 PM, Sarbojit Sarkar wrote:

> Forgot to answer the questions asked by Gary,
>
> >>>How are you installing the driver?
> Using INF file.
>
> >>>Is the newer driver replacing the older driver pointed to by image path?
>
> No this is a new driver.
>
> >>>Did you check the date/time stamps?
> I am using INF file with latest time stamp. Could you please let me know
> where exactly you want me to check date and time?
>
>
> On Tue, Nov 23, 2010 at 8:39 PM, Sarbojit Sarkar wrote:
>
>> @Gary
>> I never said, that was an obvious question or people should not ask that
>> type of question so please please don’t take it that way. In fact I
>> have requested to consider that I have used required build environment i.e.
>> server 2000-32bits.
>>
>> BTW, I have disabled warning using “#pragma warning(disable,4201)”, will
>> it be a problem?
>>
>> /sarbojit
>>
>> On Tue, Nov 23, 2010 at 7:17 PM, Gary%20G.%20Little%20%40%20comcast <
>> xxxxx@comcast.net> wrote:
>>
>>> We cannot assume anything here. We depend totally on what a poster
>>> places in a post and too many times that proves to be ripe with the posters
>>> own assumptions. So, asking if you are sure you built your driver properly
>>> is always a valid question on this list. Don’t return attitude when you get
>>> asked the obvious
>>>
>>> How are you installing the driver? Is the newer driver replacing the
>>> older driver pointed to by image path? Did you check the date/time stamps?
>>>
>>> Gary G. Little
>>>
>>>
>>> ----- Original Message -----
>>> From: “Sarbojit Sarkar”
>>> To: “Windows System Software Devs Interest List”
>>> Sent: Monday, November 22, 2010 11:01:04 PM
>>> Subject: Re: [ntdev] Mirror driver installation issue on Server 2000 SP4.
>>>
>>> Yes Tim, I know Server2000 is very old but our existing product supports
>>> that and I have been asked to support too :(. I know in latest WDK it is not
>>> present so I have downloaded older WDK which is having 2000 build
>>> environment and build the driver but some how OS is not allowing to load the
>>> driver.
>>>
>>> Please assume that I have build driver in correct build environment.
>>> Since I have tried mirror sample given in WDK and it is also giving the same
>>> result so I am wondering if I am missing some thing here.
>>>
>>> Any suggestion or hint will help a lot here.
>>>
>>> /sarbojit
>>>
>>> On Tue, Nov 23, 2010 at 12:03 AM, Tim Roberts wrote:
>>>
>>>> Sarbojit Sarkar wrote:
>>>> >
>>>> > I have successfully build my mirror driver under Server2000
>>>> > environment and install the driver using INF file. But it is showing
>>>> > yellow bang in device manger. I checked in driver property it is
>>>> > saying “This device is not working properly because Windows cannot
>>>> > load the drivers required for this device.(Code 31).”. I thought some
>>>> > compatibility issue I had made in my code because of that this is
>>>> > happening. Just to identify that I tried to install sample mirror
>>>> > driver available in WDK but the result was same, Yellow Bang .
>>>> >
>>>> > I am not able to debug the issue because system is not available
>>>> > locally. I have asked to provide local system but till then if some
>>>> > one can come up with any suggestion will help a lot here.
>>>>
>>>> You keep saying “Server 2000”. Is that literally what you mean? You
>>>> are working with an operating system that is 10 years old? The fact
>>>> that you said “SP4” leads me to think so.
>>>>
>>>> There is no “Server 2000” build environment in the latest WDK. That
>>>> support has been removed. You cannot use the “Server 2003” or “Server
>>>> 2008” build environments to build Windows 2000 drivers. You must find
>>>> the Vista WDK and use the Windows 2000 build environment.
>>>>
>>>> –
>>>> Tim Roberts, xxxxx@probo.com
>>>> Providenza & Boekelheide, Inc.
>>>>
>>>>
>>>> —
>>>> NTDEV is sponsored by OSR
>>>>
>>>> For our schedule of WDF, WDM, debugging and other seminars visit:
>>>> http://www.osr.com/seminars
>>>>
>>>> To unsubscribe, visit the List Server section of OSR Online at
>>>> http://www.osronline.com/page.cfm?name=ListServer
>>>>
>>>
>>> — NTDEV is sponsored by OSR For our schedule of WDF, WDM, debugging and
>>> other seminars visit: http://www.osr.com/seminars To unsubscribe, visit
>>> the List Server section of OSR Online at
>>> http://www.osronline.com/page.cfm?name=ListServer
>>>
>>> —
>>> NTDEV is sponsored by OSR
>>>
>>> For our schedule of WDF, WDM, debugging and other seminars visit:
>>> http://www.osr.com/seminars
>>>
>>> To unsubscribe, visit the List Server section of OSR Online at
>>> http://www.osronline.com/page.cfm?name=ListServer
>>>
>>
>>
>

1.Can you please post the INF

  1. Also, what did you change to get the driver to load?

From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Sarbojit Sarkar
Sent: Wednesday, November 24, 2010 4:49 PM
To: Windows System Software Devs Interest List
Subject: Re: [ntdev] Mirror driver installation issue on Server 2000
SP4.

Finally able to load the driver using .inf installation but facing
following issues:

  1. In device manager ‘uninstall’ option is not present for my driver.

  2. Devcon is also not able to uninstall the driver but it(Devcon) is
    able install the driver.

Issues are specific to server2000 so please let me know if any one
already faced these issues.

I found an old link http://www.osronline.com/showthread.cfm?link=144418
Where same problem had raised but did not find any suggestion or
probable reasons behind this, so asking here again. Please let me know
if this behavior is because of some issue in driver.

/sarbojit

On Tue, Nov 23, 2010 at 9:29 PM, Sarbojit Sarkar
wrote:

Forgot to answer the questions asked by Gary,

>>>How are you installing the driver?

Using INF file.

>>>Is the newer driver replacing the older driver pointed to by image
path?

No this is a new driver.

>>>Did you check the date/time stamps?

I am using INF file with latest time stamp. Could you please let me know
where exactly you want me to check date and time?

On Tue, Nov 23, 2010 at 8:39 PM, Sarbojit Sarkar
wrote:

@Gary

I never said, that was an obvious question or people should not ask that
type of question so please please don’t take it that way. In fact I have
requested to consider that I have used required build environment i.e.
server 2000-32bits.

BTW, I have disabled warning using “#pragma warning(disable,4201)”, will
it be a problem?

/sarbojit

On Tue, Nov 23, 2010 at 7:17 PM, Gary%20G.%20Little%20%40%20comcast
wrote:

We cannot assume anything here. We depend totally on what a poster
places in a post and too many times that proves to be ripe with the
posters own assumptions. So, asking if you are sure you built your
driver properly is always a valid question on this list. Don’t return
attitude when you get asked the obvious

How are you installing the driver? Is the newer driver replacing the
older driver pointed to by image path? Did you check the date/time
stamps?

Gary G. Little

----- Original Message -----
From: “Sarbojit Sarkar”
To: “Windows System Software Devs Interest List”
Sent: Monday, November 22, 2010 11:01:04 PM
Subject: Re: [ntdev] Mirror driver installation issue on Server 2000
SP4.

Yes Tim, I know Server2000 is very old but our existing product supports
that and I have been asked to support too :(. I know in latest WDK it is
not present so I have downloaded older WDK which is having 2000 build
environment and build the driver but some how OS is not allowing to load
the driver.

Please assume that I have build driver in correct build environment.
Since I have tried mirror sample given in WDK and it is also giving the
same result so I am wondering if I am missing some thing here.

Any suggestion or hint will help a lot here.

/sarbojit

On Tue, Nov 23, 2010 at 12:03 AM, Tim Roberts wrote:

Sarbojit Sarkar wrote:
>
> I have successfully build my mirror driver under Server2000
> environment and install the driver using INF file. But it is showing
> yellow bang in device manger. I checked in driver property it is
> saying “This device is not working properly because Windows cannot
> load the drivers required for this device.(Code 31).”. I thought some
> compatibility issue I had made in my code because of that this is
> happening. Just to identify that I tried to install sample mirror
> driver available in WDK but the result was same, Yellow Bang .
>
> I am not able to debug the issue because system is not available
> locally. I have asked to provide local system but till then if some
> one can come up with any suggestion will help a lot here.

You keep saying “Server 2000”. Is that literally what you mean? You
are working with an operating system that is 10 years old? The fact
that you said “SP4” leads me to think so.

There is no “Server 2000” build environment in the latest WDK. That
support has been removed. You cannot use the “Server 2003” or “Server
2008” build environments to build Windows 2000 drivers. You must find
the Vista WDK and use the Windows 2000 build environment.


Tim Roberts, xxxxx@probo.com
Providenza & Boekelheide, Inc.


NTDEV is sponsored by OSR

For our schedule of WDF, WDM, debugging and other seminars visit:
http://www.osr.com/seminars

To unsubscribe, visit the List Server section of OSR Online at
http://www.osronline.com/page.cfm?name=ListServer

— NTDEV is sponsored by OSR For our schedule of WDF, WDM, debugging
and other seminars visit: http://www.osr.com/seminars To unsubscribe,
visit the List Server section of OSR Online at
http://www.osronline.com/page.cfm?name=ListServer



NTDEV is sponsored by OSR

For our schedule of WDF, WDM, debugging and other seminars visit:
http://www.osr.com/seminars

To unsubscribe, visit the List Server section of OSR Online at
http://www.osronline.com/page.cfm?name=ListServer

— NTDEV is sponsored by OSR For our schedule of WDF, WDM, debugging
and other seminars visit: http://www.osr.com/seminars To unsubscribe,
visit the List Server section of OSR Online at
http://www.osronline.com/page.cfm?name=ListServer

Sarbojit,

Do a command line “dir” on the sys file in \Windows\system32\drivers and compare the date/time to the one in your targeted build directory.

In your driver did you provide and register an Unload function?

Gary

----- Original Message -----
From: “Amitrajit Banerjee”
To: “Windows System Software Devs Interest List”
Sent: Wednesday, November 24, 2010 5:29:56 AM
Subject: RE: [ntdev] Mirror driver installation issue on Server 2000 SP4.

1.Can you please post the INF

2. Also, what did you change to get the driver to load?

From: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com] On Behalf Of Sarbojit Sarkar
Sent: Wednesday, November 24, 2010 4:49 PM
To: Windows System Software Devs Interest List
Subject: Re: [ntdev] Mirror driver installation issue on Server 2000 SP4.

Finally able to load the driver using .inf installation but facing following issues:

1. In device manager ‘uninstall’ option is not present for my driver.

2. Devcon is also not able to uninstall the driver but it(Devcon) is able install the driver.

Issues are specific to server2000 so please let me know if any one already faced these issues.

I found an old link http://www.osronline.com/showthread.cfm?link=144418 Where same problem had raised but did not find any suggestion or probable reasons behind this, so asking here again. Please let me know if this behavior is because of some issue in driver.

/sarbojit

On Tue, Nov 23, 2010 at 9:29 PM, Sarbojit Sarkar < xxxxx@gmail.com > wrote:

Forgot to answer the questions asked by Gary,

>>>How are you installing the driver?

Using INF file.

>>>Is the newer driver replacing the older driver pointed to by image path?

No this is a new driver.

>>>Did you check the date/time stamps?

I am using INF file with latest time stamp. Could you please let me know where exactly you want me to check date and time?

On Tue, Nov 23, 2010 at 8:39 PM, Sarbojit Sarkar < xxxxx@gmail.com > wrote:

@Gary

I never said, that was an obvious question or people should not ask that type of question so please please don’t take it that way. In fact I have requested to consider that I have used required build environment i.e. server 2000-32bits.

BTW, I have disabled warning using “#pragma warning(disable,4201)”, will it be a problem?

/sarbojit

On Tue, Nov 23, 2010 at 7:17 PM, Gary%20G.%20Little%20%40%20comcast < xxxxx@comcast.net > wrote:

We cannot assume anything here. We depend totally on what a poster places in a post and too many times that proves to be ripe with the posters own assumptions. So, asking if you are sure you built your driver properly is always a valid question on this list. Don’t return attitude when you get asked the obvious

How are you installing the driver? Is the newer driver replacing the older driver pointed to by image path? Did you check the date/time stamps?

Gary G. Little

----- Original Message -----
From: “Sarbojit Sarkar” < xxxxx@gmail.com >
To: “Windows System Software Devs Interest List” < xxxxx@lists.osr.com >
Sent: Monday, November 22, 2010 11:01:04 PM
Subject: Re: [ntdev] Mirror driver installation issue on Server 2000 SP4.

Yes Tim, I know Server2000 is very old but our existing product supports that and I have been asked to support too :(. I know in latest WDK it is not present so I have downloaded older WDK which is having 2000 build environment and build the driver but some how OS is not allowing to load the driver.

Please assume that I have build driver in correct build environment. Since I have tried mirror sample given in WDK and it is also giving the same result so I am wondering if I am missing some thing here.

Any suggestion or hint will help a lot here.

/sarbojit

On Tue, Nov 23, 2010 at 12:03 AM, Tim Roberts < xxxxx@probo.com > wrote:

Sarbojit Sarkar wrote:
>
> I have successfully build my mirror driver under Server2000
> environment and install the driver using INF file. But it is showing
> yellow bang in device manger. I checked in driver property it is
> saying “This device is not working properly because Windows cannot
> load the drivers required for this device.(Code 31).”. I thought some
> compatibility issue I had made in my code because of that this is
> happening. Just to identify that I tried to install sample mirror
> driver available in WDK but the result was same, Yellow Bang .
>
> I am not able to debug the issue because system is not available
> locally. I have asked to provide local system but till then if some
> one can come up with any suggestion will help a lot here.

You keep saying “Server 2000”. Is that literally what you mean? You
are working with an operating system that is 10 years old? The fact
that you said “SP4” leads me to think so.

There is no “Server 2000” build environment in the latest WDK. That
support has been removed. You cannot use the “Server 2003” or “Server
2008” build environments to build Windows 2000 drivers. You must find
the Vista WDK and use the Windows 2000 build environment.


Tim Roberts, xxxxx@probo.com
Providenza & Boekelheide, Inc.


NTDEV is sponsored by OSR

For our schedule of WDF, WDM, debugging and other seminars visit:
http://www.osr.com/seminars

To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer

— NTDEV is sponsored by OSR For our schedule of WDF, WDM, debugging and other seminars visit: http://www.osr.com/seminars To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer



NTDEV is sponsored by OSR

For our schedule of WDF, WDM, debugging and other seminars visit:
http://www.osr.com/seminars

To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer

— NTDEV is sponsored by OSR For our schedule of WDF, WDM, debugging and other seminars visit: http://www.osr.com/seminars To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer

NTDEV is sponsored by OSR

For our schedule of WDF, WDM, debugging and other seminars visit:
http://www.osr.com/seminars

To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer

Thanks Gary for your response.

On Wed, Nov 24, 2010 at 6:06 AM, Gary%20G.%20Little%20%40%20comcast <
xxxxx@comcast.net> wrote:

Sarbojit,

Do a command line “dir” on the sys file in \Windows\system32\drivers and
compare the date/time to the one in your targeted build directory.

>> Both are having same time stamp.

In your driver did you provide and register an Unload function?

>> No,I have not added unload function but even without that I can see
unload option for win7/vista/xp/server2003/server2008. Is this requirement
specific to Server2000?

Gary

----- Original Message -----
From: “Amitrajit Banerjee”
> To: “Windows System Software Devs Interest List”
> Sent: Wednesday, November 24, 2010 5:29:56 AM
> Subject: RE: [ntdev] Mirror driver installation issue on Server 2000 SP4.
>
> 1.Can you please post the INF
>
> 2. Also, what did you change to get the driver to load?
>
>
>
> From: xxxxx@lists.osr.com [mailto:
> xxxxx@lists.osr.com] *On Behalf Of *Sarbojit Sarkar
> Sent: Wednesday, November 24, 2010 4:49 PM
> To: Windows System Software Devs Interest List
> Subject: Re: [ntdev] Mirror driver installation issue on Server 2000
> SP4.
>
>
>
> Finally able to load the driver using .inf installation but facing
> following issues:
>
>
>
> 1. In device manager ‘uninstall’ option is not present for my driver.
>
> 2. Devcon is also not able to uninstall the driver but it(Devcon) is able
> install the driver.
>
>
>
> Issues are specific to server2000 so please let me know if any one already
> faced these issues.
>
> I found an old link http://www.osronline.com/showthread.cfm?link=144418 Where
> same problem had raised but did not find any suggestion or probable reasons
> behind this, so asking here again. Please let me know if this behavior is
> because of some issue in driver.
>
> /sarbojit
>
> On Tue, Nov 23, 2010 at 9:29 PM, Sarbojit Sarkar
> wrote:
>
> Forgot to answer the questions asked by Gary,
>
>
>
> >>>How are you installing the driver?
>
> Using INF file.
>
>
>
> >>>Is the newer driver replacing the older driver pointed to by image path?
>
>
> No this is a new driver.
>
>
>
> >>>Did you check the date/time stamps?
>
> I am using INF file with latest time stamp. Could you please let me know
> where exactly you want me to check date and time?
>
>
>
>
> On Tue, Nov 23, 2010 at 8:39 PM, Sarbojit Sarkar
> wrote:
>
> @Gary
>
> I never said, that was an obvious question or people should not ask that
> type of question so please please don’t take it that way. In fact I have
> requested to consider that I have used required build environment i.e.
> server 2000-32bits.
>
>
>
> BTW, I have disabled warning using “#pragma warning(disable,4201)”, will it
> be a problem?
>
>
>
> /sarbojit
>
>
>
> On Tue, Nov 23, 2010 at 7:17 PM, Gary%20G.%20Little%20%40%20comcast <
> xxxxx@comcast.net> wrote:
>
> We cannot assume anything here. We depend totally on what a poster places
> in a post and too many times that proves to be ripe with the posters own
> assumptions. So, asking if you are sure you built your driver properly is
> always a valid question on this list. Don’t return attitude when you get
> asked the obvious
>
> How are you installing the driver? Is the newer driver replacing the older
> driver pointed to by image path? Did you check the date/time stamps?
>
> Gary G. Little
>
>
>
> ----- Original Message -----
> From: “Sarbojit Sarkar”
> To: “Windows System Software Devs Interest List”
> Sent: Monday, November 22, 2010 11:01:04 PM
> Subject: Re: [ntdev] Mirror driver installation issue on Server 2000 SP4.
>
> Yes Tim, I know Server2000 is very old but our existing product supports
> that and I have been asked to support too :(. I know in latest WDK it is not
> present so I have downloaded older WDK which is having 2000 build
> environment and build the driver but some how OS is not allowing to load the
> driver.
>
>
>
> Please assume that I have build driver in correct build environment. Since
> I have tried mirror sample given in WDK and it is also giving the same
> result so I am wondering if I am missing some thing here.
>
>
>
> Any suggestion or hint will help a lot here.
>
>
>
> /sarbojit
>
> On Tue, Nov 23, 2010 at 12:03 AM, Tim Roberts wrote:
>
> Sarbojit Sarkar wrote:
> >
> > I have successfully build my mirror driver under Server2000
> > environment and install the driver using INF file. But it is showing
> > yellow bang in device manger. I checked in driver property it is
> > saying “This device is not working properly because Windows cannot
> > load the drivers required for this device.(Code 31).”. I thought some
> > compatibility issue I had made in my code because of that this is
> > happening. Just to identify that I tried to install sample mirror
> > driver available in WDK but the result was same, Yellow Bang .
> >
> > I am not able to debug the issue because system is not available
> > locally. I have asked to provide local system but till then if some
> > one can come up with any suggestion will help a lot here.
>
> You keep saying “Server 2000”. Is that literally what you mean? You
> are working with an operating system that is 10 years old? The fact
> that you said “SP4” leads me to think so.
>
> There is no “Server 2000” build environment in the latest WDK. That
> support has been removed. You cannot use the “Server 2003” or “Server
> 2008” build environments to build Windows 2000 drivers. You must find
> the Vista WDK and use the Windows 2000 build environment.
>
> –
> Tim Roberts, xxxxx@probo.com
> Providenza & Boekelheide, Inc.
>
>
> —
> NTDEV is sponsored by OSR
>
> For our schedule of WDF, WDM, debugging and other seminars visit:
> http://www.osr.com/seminars
>
> To unsubscribe, visit the List Server section of OSR Online at
> http://www.osronline.com/page.cfm?name=ListServer
>
>
>
> — NTDEV is sponsored by OSR For our schedule of WDF, WDM, debugging and
> other seminars visit: http://www.osr.com/seminars To unsubscribe, visit
> the List Server section of OSR Online at
> http://www.osronline.com/page.cfm?name=ListServer
>
>
> —
>
> NTDEV is sponsored by OSR
>
> For our schedule of WDF, WDM, debugging and other seminars visit:
> http://www.osr.com/seminars
>
> To unsubscribe, visit the List Server section of OSR Online at
> http://www.osronline.com/page.cfm?name=ListServer
>
>
>
>
>
>
> — NTDEV is sponsored by OSR For our schedule of WDF, WDM, debugging and
> other seminars visit: http://www.osr.com/seminars To unsubscribe, visit
> the List Server section of OSR Online at
> http://www.osronline.com/page.cfm?name=ListServer
>
> —
> NTDEV is sponsored by OSR
>
> For our schedule of WDF, WDM, debugging and other seminars visit:
> http://www.osr.com/seminars
>
> To unsubscribe, visit the List Server section of OSR Online at
> http://www.osronline.com/page.cfm?name=ListServer
>
> —
> NTDEV is sponsored by OSR
>
> For our schedule of WDF, WDM, debugging and other seminars visit:
> http://www.osr.com/seminars
>
> To unsubscribe, visit the List Server section of OSR Online at
> http://www.osronline.com/page.cfm?name=ListServer
>