I am developing a usb to fast ethernet miniport
driver. Driver is tranmitting upto 5 packets then
system crashed . it showing debug code 1E and
remaining parameters with 0. and the message is “A
Wait operation, a yield process is attempted from the
DPC routine.”
How can I solve this
thanks for every valuable hints.
by saju
Yahoo! Mail Mobile
Take Yahoo! Mail with you! Check email on your mobile phone.
http://mobile.yahoo.com/learn/mail
Are you calling KeWaitForSingleObject with NULL as the last parameter in
your IRP completion routine? Note that NULL is different then pointing
to a LARGE_INTEGER whose value is zero. NULL is an INFINITE wait. 0 is
a test and return w/no wait. You are not allowed to wait infinitely at
DISPATCH_LEVEL.
d
-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Saju Sebastian
Sent: Thursday, May 05, 2005 9:39 PM
To: Windows System Software Devs Interest List
Subject: [ntdev] usb miniport driver
I am developing a usb to fast ethernet miniport
driver. Driver is tranmitting upto 5 packets then
system crashed . it showing debug code 1E and
remaining parameters with 0. and the message is “A
Wait operation, a yield process is attempted from the
DPC routine.”
How can I solve this
thanks for every valuable hints.
by saju
Yahoo! Mail Mobile
Take Yahoo! Mail with you! Check email on your mobile phone.
http://mobile.yahoo.com/learn/mail
Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256
You are currently subscribed to ntdev as: xxxxx@windows.microsoft.com
To unsubscribe send a blank email to xxxxx@lists.osr.com
To clarify, you are not allowed to perform any operation to switches
context in a DPC, which includes:
Waiting with anything other than “immediate” timeout, i.e. timeout value of
0 (not the same as a NULL pointer!)
Calling any “Sleep” routine (there are delay routines that are safe to
call)
Calling “Yield”.
Reading/writing to files.
And many other functions.
–
Mats
xxxxx@lists.osr.com wrote on 05/06/2005 07:28:19 AM:
Are you calling KeWaitForSingleObject with NULL as the last parameter in
your IRP completion routine? Note that NULL is different then pointing
to a LARGE_INTEGER whose value is zero. NULL is an INFINITE wait. 0 is
a test and return w/no wait. You are not allowed to wait infinitely at
DISPATCH_LEVEL.
d
-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Saju Sebastian
Sent: Thursday, May 05, 2005 9:39 PM
To: Windows System Software Devs Interest List
Subject: [ntdev] usb miniport driver
I am developing a usb to fast ethernet miniport
driver. Driver is tranmitting upto 5 packets then
system crashed . it showing debug code 1E and
remaining parameters with 0. and the message is “A
Wait operation, a yield process is attempted from the
DPC routine.”
How can I solve this
thanks for every valuable hints.
by saju
Yahoo! Mail Mobile
Take Yahoo! Mail with you! Check email on your mobile phone.
http://mobile.yahoo.com/learn/mail
Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256
You are currently subscribed to ntdev as: xxxxx@windows.microsoft.com
To unsubscribe send a blank email to xxxxx@lists.osr.com
Questions? First check the Kernel Driver FAQ at http://www.
osronline.com/article.cfm?id=256
You are currently subscribed to ntdev as: unknown lmsubst tag argument:
‘’
To unsubscribe send a blank email to xxxxx@lists.osr.com
ForwardSourceID:NT00011EBE
I hate to state the obvious, but did you have driver verifier enabled
for your driver (and the port driver it uses, since it’s a miniport)?
.
-----Original Message-----
From: Saju Sebastian [mailto:xxxxx@yahoo.com]
Sent: Thursday, May 05, 2005 9:39 PM
Subject: usb miniport driver
I am developing a usb to fast ethernet miniport
driver. Driver is tranmitting upto 5 packets then
system crashed . it showing debug code 1E and
remaining parameters with 0. and the message is “A
Wait operation, a yield process is attempted from the
DPC routine.”
How can I solve this
thanks for every valuable hints.
by saju
Yahoo! Mail Mobile
Take Yahoo! Mail with you! Check email on your mobile phone.
http://mobile.yahoo.com/learn/mail
> To clarify, you are not allowed to perform any operation to switches
context in a DPC, which includes:
Waiting with anything other than “immediate” timeout, i.e. timeout value of
0 (not the same as a NULL pointer!)
Calling any “Sleep” routine (there are delay routines that are safe to
call)
Calling “Yield”.
Reading/writing to files.
And many other functions.
Also - touching anything pageable
Maxim Shatskih, Windows DDK MVP
StorageCraft Corporation
xxxxx@storagecraft.com
http://www.storagecraft.com