Win 7 "anamoly"

Has anyone seen Win7 “hang” during shutdown and restart? My first thought
was it was my driver, but I’ve been seeing this when my driver is or is not
in the system, on both the host and target systems. Both are running 64 bit
windows systems, and at times one or the other will simply take
exceptionally long to shutdown, if I let it run long enough. I’ve broken
into the target a number of times and see it consistenly cycling in the idle
loop, with virtually no disk activity taking place. I’m not saying it’s
“stuck” in idle, since at times I have left them run while I had an errand
or had lunch and the systems will have finished what ever it is. It’s also
not necessarily associated with Windows update either.

Just curious if I’m the only one that has noticed this.

Gary G. Little

H (952) 223-1349

C (952) 454-4629

xxxxx@comcast.net

I found such problem in Windows 7 but the problem was related only for our drivers. We had a Virtual Disk driver which has on its lower edge a NDIS Protocol driver. On Windows version prior Windows 7 the NDIS Protocol driver stayed long enough during shutdown that the Virtual Disk driver could finish all transactions. But in Windows 7 the Protocol driver shutdown early that we expected and Virtual disk could not finish its work and produce “long shutdown”. OS eventually shutdown everything but the problem in our driver produce such effect. We fixed that and now everything work fine.
The boom line is that in Windows 7 changes sequences of shutdown on some way. It doesn’t mean that it must effect all drivers but it would possible that your system may have drivers which face the same problem which I described.

Igor Sharovar

You might want to try a !stacks 2 during the hang and see if you find anyone
out there doing something interesting. !poaction might be useful as well
since someone might be holding up a power IRP.

-scott


Scott Noone
Consulting Associate
OSR Open Systems Resources, Inc.
http://www.osronline.com

“Gary G. Little” wrote in message
news:xxxxx@ntdev…
Has anyone seen Win7 “hang” during shutdown and restart? My first thought
was it was my driver, but I’ve been seeing this when my driver is or is not
in the system, on both the host and target systems. Both are running 64 bit
windows systems, and at times one or the other will simply take
exceptionally long to shutdown, if I let it run long enough. I’ve broken
into the target a number of times and see it consistenly cycling in the idle
loop, with virtually no disk activity taking place. I’m not saying it’s
“stuck” in idle, since at times I have left them run while I had an errand
or had lunch and the systems will have finished what ever it is. It’s also
not necessarily associated with Windows update either.

Just curious if I’m the only one that has noticed this.

Gary G. Little
H (952) 223-1349
C (952) 454-4629
xxxxx@comcast.net

Information from ESET Smart Security, version of virus signature
database 4797 (20100122)


The message was checked by ESET Smart Security.

http://www.eset.com

I did an analyze on it and saw some suspicious activity in an Intel driver
that was recently updated. Not satisfied that was the culprit since I did
just fix a crash in my driver. I’ll hang on to your answer and do that the
next time it happens.

Gary G. Little
H (952) 223-1349
C (952) 454-4629
xxxxx@comcast.net

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Scott Noone
Sent: Friday, January 22, 2010 1:51 PM
To: Windows System Software Devs Interest List
Subject: Re:[ntdev] Win 7 “anamoly”

You might want to try a !stacks 2 during the hang and see if you find anyone

out there doing something interesting. !poaction might be useful as well
since someone might be holding up a power IRP.

-scott


Scott Noone
Consulting Associate
OSR Open Systems Resources, Inc.
http://www.osronline.com

“Gary G. Little” wrote in message
news:xxxxx@ntdev…
Has anyone seen Win7 “hang” during shutdown and restart? My first thought
was it was my driver, but I’ve been seeing this when my driver is or is not
in the system, on both the host and target systems. Both are running 64 bit
windows systems, and at times one or the other will simply take
exceptionally long to shutdown, if I let it run long enough. I’ve broken
into the target a number of times and see it consistenly cycling in the idle

loop, with virtually no disk activity taking place. I’m not saying it’s
“stuck” in idle, since at times I have left them run while I had an errand
or had lunch and the systems will have finished what ever it is. It’s also
not necessarily associated with Windows update either.

Just curious if I’m the only one that has noticed this.

Gary G. Little
H (952) 223-1349
C (952) 454-4629
xxxxx@comcast.net

Information from ESET Smart Security, version of virus signature
database 4797 (20100122)


The message was checked by ESET Smart Security.

http://www.eset.com


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

Information from ESET Smart Security, version of virus signature
database 4797 (20100122)


The message was checked by ESET Smart Security.

http://www.eset.com

Information from ESET Smart Security, version of virus signature
database 4798 (20100122)


The message was checked by ESET Smart Security.

http://www.eset.com

Not to slag on the OsrVirtualCdAndDisk, because it’s an otherwise excellent
tool, but I have observed a consistent shutdown delay when I left a virtual
disk mounted at shutdown on Windows 7 x64. It was so bad that I wrote a
shutdown script to dismount the disk on the way down. Don’t know if it had
the same problem with ISOs, I typically mounted those, used them, then
unmounted them.

Of course, if you don’t have a disk mounted, that clearly wouldn’t be it.
:slight_smile:

Phil

Philip D. Barila

From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Gary G. Little
Sent: Friday, January 22, 2010 10:43 AM
To: Windows System Software Devs Interest List
Subject: [ntdev] Win 7 “anamoly”

Has anyone seen Win7 “hang” during shutdown and restart? My first thought
was it was my driver, but I’ve been seeing this when my driver is or is not
in the system, on both the host and target systems. Both are running 64 bit
windows systems, and at times one or the other will simply take
exceptionally long to shutdown, if I let it run long enough. I’ve broken
into the target a number of times and see it consistenly cycling in the idle
loop, with virtually no disk activity taking place. I’m not saying it’s
“stuck” in idle, since at times I have left them run while I had an errand
or had lunch and the systems will have finished what ever it is. It’s also
not necessarily associated with Windows update either.

Just curious if I’m the only one that has noticed this.

Gary G. Little

H (952) 223-1349

C (952) 454-4629

xxxxx@comcast.net

That could conceivably be an issue with the host/development laptop, but not
on the target since it does not have that software, nor have I even used the
CD/DVD, other than the OS install time. But, since I have Roxio installed on
the host, and it conveniently has the ISO image loading capability I’ve been
using that instead of OSR’s (ooops . True Confessions!?!?!?).

Gary G. Little

H (952) 223-1349

C (952) 454-4629

xxxxx@comcast.net

From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Philip D Barila
Sent: Friday, January 22, 2010 3:51 PM
To: Windows System Software Devs Interest List
Subject: RE: [ntdev] Win 7 “anamoly”

Not to slag on the OsrVirtualCdAndDisk, because it’s an otherwise excellent
tool, but I have observed a consistent shutdown delay when I left a virtual
disk mounted at shutdown on Windows 7 x64. It was so bad that I wrote a
shutdown script to dismount the disk on the way down. Don’t know if it had
the same problem with ISOs, I typically mounted those, used them, then
unmounted them.

Of course, if you don’t have a disk mounted, that clearly wouldn’t be it.
:slight_smile:

Phil

Philip D. Barila

From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Gary G. Little
Sent: Friday, January 22, 2010 10:43 AM
To: Windows System Software Devs Interest List
Subject: [ntdev] Win 7 “anamoly”

Has anyone seen Win7 “hang” during shutdown and restart? My first thought
was it was my driver, but I’ve been seeing this when my driver is or is not
in the system, on both the host and target systems. Both are running 64 bit
windows systems, and at times one or the other will simply take
exceptionally long to shutdown, if I let it run long enough. I’ve broken
into the target a number of times and see it consistenly cycling in the idle
loop, with virtually no disk activity taking place. I’m not saying it’s
“stuck” in idle, since at times I have left them run while I had an errand
or had lunch and the systems will have finished what ever it is. It’s also
not necessarily associated with Windows update either.

Just curious if I’m the only one that has noticed this.

Gary G. Little

H (952) 223-1349

C (952) 454-4629

xxxxx@comcast.net


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

__________ Information from ESET Smart Security, version of virus signature
database 4798 (20100122) __________

The message was checked by ESET Smart Security.

http://www.eset.com