NDIS sample driver problem

Hello

I had built StlFilter driver sample which comes with Compuware,
I built this sample with 3790 DDK with checked build envronment,
when trying to install this service on WinXP with SP2 operating system,
machine restarts.

on reboot it shows a message on NEW H/W FOUND, when path of the driver is
given machine restarts again.

I dont know what is causing machine to restart.

Vibhor Mahajan

You should use the softice debugger that came with the development toolkit
you purchased from Compuware to debug your driver. IWhen that fails, you
might want to use windbg, and when the system crashes run the windbg command
‘analyze -v’ as this may help you debug Compuware’s bug. If all else fails,
you might want to try contacting Compuware to see if they support the
product that they sold you.

By the way, if you want to get actual help diagnosing a system crash caused
by your driver, you need to read the FAQ. Getting help on crash analysis
starts with "run the windbg command ‘analyze -v’ ".

=====================
Mark Roddy DDK MVP
Windows 2003/XP/2000 Consulting
Hollis Technology Solutions 603-321-1032
www.hollistech.com


From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Vibhor Mahajan
Sent: Friday, April 07, 2006 7:45 AM
To: Windows System Software Devs Interest List
Subject: [ntdev] NDIS sample driver problem

Hello

I had built StlFilter driver sample which comes with Compuware,
I built this sample with 3790 DDK with checked build envronment,
when trying to install this service on WinXP with SP2 operating system,
machine restarts.

on reboot it shows a message on NEW H/W FOUND, when path of the driver is
given machine restarts again.

I dont know what is causing machine to restart.

Vibhor Mahajan
— Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256 To unsubscribe, visit the List
Server section of OSR Online at
http://www.osronline.com/page.cfm?name=ListServer

Here’s the picture I get of what you have done so far. You’ve written a
lot of code, compiled it, fixed compile errors and corrected logic in the
driver until you think it is functional. You’ve also written an INF and
debunked it. With all of that in hand you have stuffed your device in a
test machine, loaded up your install package and watched your driver
install, and your machine restart, and watched your driver install, and
your machine restart, and watched your driver install, and your machine
restart, and watched your driver install, and your machine restart, and
watched your driver install, and your machine restart, and watched your
driver install, and your machine restart.

But what have you done to debug the problem? Have you set breakpoints
using SoftIce, and stepped through any code? Have you looked at EventVwr?
SetupApi.log? What have you done to do your own debug? If you haven’t done
any of the basics, then get off your ass and do so, and THEN come back
here and tell us what you found.

Gary G. Little


From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Vibhor Mahajan
Sent: Friday, April 07, 2006 6:45 AM
To: Windows System Software Devs Interest List
Subject: [ntdev] NDIS sample driver problem

Hello

I had built StlFilter driver sample which comes with Compuware,
I built this sample with 3790 DDK with checked build envronment,
when trying to install this service on WinXP with SP2 operating system,
machine restarts.

on reboot it shows a message on NEW H/W FOUND, when path of the driver is
given machine restarts again.

I dont know what is causing machine to restart.

Vibhor Mahajan
— Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256 To unsubscribe, visit the List
Server section of OSR Online at
http://www.osronline.com/page.cfm?name=ListServer

Thanks Mark for your solution. I am trying this i hope it works…

On 4/7/06, Mark Roddy wrote:
>
> You should use the softice debugger that came with the development toolkit
> you purchased from Compuware to debug your driver. IWhen that fails, you
> might want to use windbg, and when the system crashes run the windbg command
> ‘analyze -v’ as this may help you debug Compuware’s bug. If all else fails,
> you might want to try contacting Compuware to see if they support the
> product that they sold you.
>
> By the way, if you want to get actual help diagnosing a system crash
> caused by your driver, you need to read the FAQ. Getting help on crash
> analysis starts with "run the windbg command ‘analyze -v’ ".
>
>
> =====================
> Mark Roddy DDK MVP
> Windows 2003/XP/2000 Consulting
> Hollis Technology Solutions 603-321-1032
> www.hollistech.com
>
>
> ------------------------------
> From: xxxxx@lists.osr.com [mailto:
> xxxxx@lists.osr.com] *On Behalf Of *Vibhor Mahajan
> Sent: Friday, April 07, 2006 7:45 AM
> To: Windows System Software Devs Interest List
> Subject: [ntdev] NDIS sample driver problem
>
> Hello
>
> I had built StlFilter driver sample which comes with Compuware,
> I built this sample with 3790 DDK with checked build envronment,
> when trying to install this service on WinXP with SP2 operating system,
> machine restarts.
>
> on reboot it shows a message on NEW H/W FOUND, when path of the driver is
> given machine restarts again.
>
> I dont know what is causing machine to restart.
>
> Vibhor Mahajan
> — Questions? First check the Kernel Driver FAQ at
> http://www.osronline.com/article.cfm?id=256 To unsubscribe, visit the List
> Server section of OSR Online at
> http://www.osronline.com/page.cfm?name=ListServer
> —
> Questions? First check the Kernel Driver FAQ at
> http://www.osronline.com/article.cfm?id=256
>
> To unsubscribe, visit the List Server section of OSR Online at
> http://www.osronline.com/page.cfm?name=ListServer
>

Turn off the “Automatically restart on STOP error” feature in the System
properties (Control Panel).

Maxim Shatskih, Windows DDK MVP
StorageCraft Corporation
xxxxx@storagecraft.com
http://www.storagecraft.com

----- Original Message -----
From: “Vibhor Mahajan”
To: “Windows System Software Devs Interest List”
Sent: Friday, April 07, 2006 3:45 PM
Subject: [ntdev] NDIS sample driver problem

Hello

I had built StlFilter driver sample which comes with Compuware,
I built this sample with 3790 DDK with checked build envronment,
when trying to install this service on WinXP with SP2 operating system,
machine restarts.

on reboot it shows a message on NEW H/W FOUND, when path of the driver is
given machine restarts again.

I dont know what is causing machine to restart.

Vibhor Mahajan


Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256

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