Specific (Dell) machine problem

Under Windows 2000 we have a driver that’s still legacy but works fine
in all machines but one. On a Dell Precision 420 server box although
all the calls in DriverEntry appear to work OK we have no Interrupts
being caught. We have tried all the usual: different slots, boards,
number of boards, adding/subtracting other types of adapters, monkeying
with BIOS settings, etc.

Anyone seen this or know what this might be? Dell?

Bill Casey

=== SCSI Adapters & VirtualSCSI Target Mode Libs ===
Advanced Storage Concepts, Inc. www.virtualscsi.com

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com]On Behalf Of Eliyas Yakub
Sent: Thursday, June 29, 2000 1:40 PM
To: NT Developers Interest List
Subject: [ntdev] RE: KeWaitForXXX, APCs, Alerts, and thread termination

I think the rule is that if the waitmode is KernelMode then the wait
does
not abort when an APC is delivered. The
APC gets executed and the wait resumes.

If the wait is Usermode then the wait is aborted with STATUS_ALERTED.

If you want to be alerted during thread termination then this is how you
should wait.

status = KeWaitForSingleObject( &Event,
Executive,
UserMode,
(BOOLEAN) TRUE,
(PLARGE_INTEGER) NULL );

if(status == STATUS_ALERTED || status == STATUS_USER_APC)
{

// Handle the thread rundown case. .
}

This whole thing swirls my mind ): Hope this helps.
Eliyas

-----Original Message-----
From: Phillip Susi [mailto:xxxxx@iag.net]
Sent: Wednesday, June 28, 2000 8:21 AM
To: NT Developers Interest List
Subject: [ntdev] KeWaitForXXX, APCs, Alerts, and thread termination

I’m somewhat confused as to what goes on with KeWaitForXXX() when
special
actions are taken, such as kernel APCs, Alerts, and thread
termination. First off, what exactly is an alert? Just a generic way
to
wake a thread up and tell it to return to user mode? As far as I can
gleen
from the DDK, the wait functions can return STATUS_USER_APC if the
alertable parameter is true, and the waitmode is usermode. They can
also
return STATUS_ALERTED if the alertable parameter is true, and a kernel
mode
alert is delivered ( whatever that means ). The docs however do not say
that it will ever return STATUS_KERNEL_APC. Am I to understand that the
thread may be woken up to process kernel apcs, but the wait functions
will
go back to sleep and not satisfy the wait? Also, is this “kernel mode
alert” how threads are terminated? If I wish to block for a long time,
should I set the alertable parameter to true so that I can be told I
need
to return to user mode for thread termination with STATUS_ALERTED?
Should
I also set WaitMode to UserMode so that I can be told to return to user
mode to allow user mode APCs to be delivered?
–>Phillip Susi
xxxxx@iag.net


You are currently subscribed to ntdev as: xxxxx@microsoft.com
To unsubscribe send a blank email to $subst(‘Email.Unsub’)


You are currently subscribed to ntdev as: xxxxx@advstor.com
To unsubscribe send a blank email to $subst(‘Email.Unsub’)