From: pradipmaya on
Hi All,

I am running driver verifier on my MPIO DSM and the storport; I am
consistently getting the following stack.
Could someone please help me understand what going wrong here.

Regards,
Pradipmaya.

1: kd> !analyze -v
*******************************************************************************
*
*
* Bugcheck
Analysis *
*
*
*******************************************************************************

DRIVER_VERIFIER_DMA_VIOLATION (e6)
An illegal DMA operation was attempted by a driver being verified.
Arguments:
Arg1: 00000021, Violation code.
Arg2: 00000000
Arg3: 00000000
Arg4: 00000000

Debugging Details:
------------------

DEFAULT_BUCKET_ID: DRIVER_FAULT

BUGCHECK_STR: 0xE6

PROCESS_NAME: Idle

CURRENT_IRQL: 2

LAST_CONTROL_TRANSFER: from 809b8256 to 80827c63

STACK_TEXT:
f78aeb1c 809b8256 000000e6 00000021 00000000 nt!KeBugCheckEx+0x1b
f78aeb40 809bb628 00000000 00000021 809f3bb0 nt!VfAssert+0x9e
f78aeb68 809bc0fc 8a20bca8 89e1b008 89186ef8 nt!ViMapDoubleBuffer+0x90
f78aeba0 f76cc592 8a87fdc8 8a87f030 89e1b008 nt!
VfBuildScatterGatherList+0x11c
f78aebd0 f76c8f41 8a87f2ac 8a87f030 89e1b008 storport!
RaidDmaBuildScatterGatherList+0x2c
f78aec10 f76c8f8f 8a87f2ac 00000000 f78aec40 storport!
RaidAdapterScatterGatherExecute+0x65
f78aec20 f76d4d23 8a87f0e8 8a234010 8929dd80 storport!
RaidAdapterExecuteXrb+0x21
f78aec40 f76cdc08 00000000 00000001 f78aec60 storport!RaUnitStartIo
+0x8b
f78aec74 f76d4b29 88ccac78 00000000 000000fe storport!
RaidStartNextIoPacket+0x6e
f78aecb4 f76d4c8c 893ca5f0 00000000 f7727a40 storport!RaUnitAsyncError
+0x1dd
f78aece8 f76c885a 8a234010 8a87f0a4 f78aed50 storport!
RaidUnitCompleteRequest+0xe6
f78aecf8 808320f0 8a87f0a4 8a87f030 00000000 storport!
RaidpAdapterDpcRoutine+0x28
f78aed50 8088de1f 00000000 0000000e 00000000 nt!KiRetireDpcList+0xca
f78aed54 00000000 0000000e 00000000 00000000 nt!KiIdleLoop+0x37


STACK_COMMAND: kb

FOLLOWUP_IP:
storport!RaidDmaBuildScatterGatherList+2c
f76cc592 5d pop ebp

SYMBOL_STACK_INDEX: 4

SYMBOL_NAME: storport!RaidDmaBuildScatterGatherList+2c

FOLLOWUP_NAME: MachineOwner

MODULE_NAME: storport

IMAGE_NAME: storport.sys

DEBUG_FLR_IMAGE_TIMESTAMP: 45d05c55

FAILURE_BUCKET_ID: 0xE6_VRF_storport!RaidDmaBuildScatterGatherList+2c

BUCKET_ID: 0xE6_VRF_storport!RaidDmaBuildScatterGatherList+2c

Followup: MachineOwner
---------
From: Doron Holan [MSFT] on
did you try to look up DRIVER_VERIFIER_DMA_VIOLATION in MSDN or your local
copy of the WDK docs?
http://msdn2.microsoft.com/en-us/library/ms797137.aspx. next time search in
the docs and you do not have to wait for somebody to do it for you....

d

--
Please do not send e-mail directly to this alias. this alias is for
newsgroup purposes only.
This posting is provided "AS IS" with no warranties, and confers no rights.


<pradipmaya(a)gmail.com> wrote in message
news:b89d38ec-1fed-462a-8418-a7bdfa5f7c92(a)q27g2000prf.googlegroups.com...
> Hi All,
>
> I am running driver verifier on my MPIO DSM and the storport; I am
> consistently getting the following stack.
> Could someone please help me understand what going wrong here.
>
> Regards,
> Pradipmaya.
>
> 1: kd> !analyze -v
> *******************************************************************************
> *
> *
> * Bugcheck
> Analysis *
> *
> *
> *******************************************************************************
>
> DRIVER_VERIFIER_DMA_VIOLATION (e6)
> An illegal DMA operation was attempted by a driver being verified.
> Arguments:
> Arg1: 00000021, Violation code.
> Arg2: 00000000
> Arg3: 00000000
> Arg4: 00000000
>
> Debugging Details:
> ------------------
>
> DEFAULT_BUCKET_ID: DRIVER_FAULT
>
> BUGCHECK_STR: 0xE6
>
> PROCESS_NAME: Idle
>
> CURRENT_IRQL: 2
>
> LAST_CONTROL_TRANSFER: from 809b8256 to 80827c63
>
> STACK_TEXT:
> f78aeb1c 809b8256 000000e6 00000021 00000000 nt!KeBugCheckEx+0x1b
> f78aeb40 809bb628 00000000 00000021 809f3bb0 nt!VfAssert+0x9e
> f78aeb68 809bc0fc 8a20bca8 89e1b008 89186ef8 nt!ViMapDoubleBuffer+0x90
> f78aeba0 f76cc592 8a87fdc8 8a87f030 89e1b008 nt!
> VfBuildScatterGatherList+0x11c
> f78aebd0 f76c8f41 8a87f2ac 8a87f030 89e1b008 storport!
> RaidDmaBuildScatterGatherList+0x2c
> f78aec10 f76c8f8f 8a87f2ac 00000000 f78aec40 storport!
> RaidAdapterScatterGatherExecute+0x65
> f78aec20 f76d4d23 8a87f0e8 8a234010 8929dd80 storport!
> RaidAdapterExecuteXrb+0x21
> f78aec40 f76cdc08 00000000 00000001 f78aec60 storport!RaUnitStartIo
> +0x8b
> f78aec74 f76d4b29 88ccac78 00000000 000000fe storport!
> RaidStartNextIoPacket+0x6e
> f78aecb4 f76d4c8c 893ca5f0 00000000 f7727a40 storport!RaUnitAsyncError
> +0x1dd
> f78aece8 f76c885a 8a234010 8a87f0a4 f78aed50 storport!
> RaidUnitCompleteRequest+0xe6
> f78aecf8 808320f0 8a87f0a4 8a87f030 00000000 storport!
> RaidpAdapterDpcRoutine+0x28
> f78aed50 8088de1f 00000000 0000000e 00000000 nt!KiRetireDpcList+0xca
> f78aed54 00000000 0000000e 00000000 00000000 nt!KiIdleLoop+0x37
>
>
> STACK_COMMAND: kb
>
> FOLLOWUP_IP:
> storport!RaidDmaBuildScatterGatherList+2c
> f76cc592 5d pop ebp
>
> SYMBOL_STACK_INDEX: 4
>
> SYMBOL_NAME: storport!RaidDmaBuildScatterGatherList+2c
>
> FOLLOWUP_NAME: MachineOwner
>
> MODULE_NAME: storport
>
> IMAGE_NAME: storport.sys
>
> DEBUG_FLR_IMAGE_TIMESTAMP: 45d05c55
>
> FAILURE_BUCKET_ID: 0xE6_VRF_storport!RaidDmaBuildScatterGatherList+2c
>
> BUCKET_ID: 0xE6_VRF_storport!RaidDmaBuildScatterGatherList+2c
>
> Followup: MachineOwner
> ---------

From: pradipmaya on
On Apr 25, 5:06 pm, "Doron Holan [MSFT]" <dor...(a)online.microsoft.com>
wrote:
> did you try to look up DRIVER_VERIFIER_DMA_VIOLATION  in MSDN or your local
> copy of the WDK docs?http://msdn2.microsoft.com/en-us/library/ms797137.aspx.  next time search in
> the docs and you do not have to wait for somebody to do it for you....
>
> d
>
> --
> Please do not send e-mail directly to this alias. this alias is for
> newsgroup purposes only.
> This posting is provided "AS IS" with no warranties, and confers no rights..
>
> <pradipm...(a)gmail.com> wrote in message
>
> news:b89d38ec-1fed-462a-8418-a7bdfa5f7c92(a)q27g2000prf.googlegroups.com...
>
>
>
> > Hi All,
>
> > I am running driver verifier on my MPIO DSM and the storport; I am
> > consistently getting the following stack.
> > Could someone please help me understand what going wrong here.
>
> > Regards,
> > Pradipmaya.
>
> > 1: kd> !analyze -v
> > ***************************************************************************­****
> > *
> > *
> > *                        Bugcheck
> > Analysis                                    *
> > *
> > *
> > ***************************************************************************­****
>
> > DRIVER_VERIFIER_DMA_VIOLATION (e6)
> > An illegal DMA operation was attempted by a driver being verified.
> > Arguments:
> > Arg1: 00000021, Violation code.
> > Arg2: 00000000
> > Arg3: 00000000
> > Arg4: 00000000
>
> > Debugging Details:
> > ------------------
>
> > DEFAULT_BUCKET_ID:  DRIVER_FAULT
>
> > BUGCHECK_STR:  0xE6
>
> > PROCESS_NAME:  Idle
>
> > CURRENT_IRQL:  2
>
> > LAST_CONTROL_TRANSFER:  from 809b8256 to 80827c63
>
> > STACK_TEXT:
> > f78aeb1c 809b8256 000000e6 00000021 00000000 nt!KeBugCheckEx+0x1b
> > f78aeb40 809bb628 00000000 00000021 809f3bb0 nt!VfAssert+0x9e
> > f78aeb68 809bc0fc 8a20bca8 89e1b008 89186ef8 nt!ViMapDoubleBuffer+0x90
> > f78aeba0 f76cc592 8a87fdc8 8a87f030 89e1b008 nt!
> > VfBuildScatterGatherList+0x11c
> > f78aebd0 f76c8f41 8a87f2ac 8a87f030 89e1b008 storport!
> > RaidDmaBuildScatterGatherList+0x2c
> > f78aec10 f76c8f8f 8a87f2ac 00000000 f78aec40 storport!
> > RaidAdapterScatterGatherExecute+0x65
> > f78aec20 f76d4d23 8a87f0e8 8a234010 8929dd80 storport!
> > RaidAdapterExecuteXrb+0x21
> > f78aec40 f76cdc08 00000000 00000001 f78aec60 storport!RaUnitStartIo
> > +0x8b
> > f78aec74 f76d4b29 88ccac78 00000000 000000fe storport!
> > RaidStartNextIoPacket+0x6e
> > f78aecb4 f76d4c8c 893ca5f0 00000000 f7727a40 storport!RaUnitAsyncError
> > +0x1dd
> > f78aece8 f76c885a 8a234010 8a87f0a4 f78aed50 storport!
> > RaidUnitCompleteRequest+0xe6
> > f78aecf8 808320f0 8a87f0a4 8a87f030 00000000 storport!
> > RaidpAdapterDpcRoutine+0x28
> > f78aed50 8088de1f 00000000 0000000e 00000000 nt!KiRetireDpcList+0xca
> > f78aed54 00000000 0000000e 00000000 00000000 nt!KiIdleLoop+0x37
>
> > STACK_COMMAND:  kb
>
> > FOLLOWUP_IP:
> > storport!RaidDmaBuildScatterGatherList+2c
> > f76cc592 5d              pop     ebp
>
> > SYMBOL_STACK_INDEX:  4
>
> > SYMBOL_NAME:  storport!RaidDmaBuildScatterGatherList+2c
>
> > FOLLOWUP_NAME:  MachineOwner
>
> > MODULE_NAME: storport
>
> > IMAGE_NAME:  storport.sys
>
> > DEBUG_FLR_IMAGE_TIMESTAMP:  45d05c55
>
> > FAILURE_BUCKET_ID:  0xE6_VRF_storport!RaidDmaBuildScatterGatherList+2c
>
> > BUCKET_ID:  0xE6_VRF_storport!RaidDmaBuildScatterGatherList+2c
>
> > Followup: MachineOwner
> > ---------- Hide quoted text -
>
> - Show quoted text -

Thanks Doron.
I did get have this information but was trying to see if anyone else
faced anything similar. The issues I am facing is, this does not
happen for every call... It crashes sometimes after 30 mins and
sometimes after an hour...
Anyways.. I appreciate your comments.

Regards,
Pradipmaya.
From: Doron Holan [MSFT] on
did you read the description for 0x21? you are mapping a zero length
buffer.

--
Please do not send e-mail directly to this alias. this alias is for
newsgroup purposes only.
This posting is provided "AS IS" with no warranties, and confers no rights.


<pradipmaya(a)gmail.com> wrote in message
news:d9e9cb02-ab81-4234-b12c-bb84ada1353b(a)k1g2000prb.googlegroups.com...
On Apr 25, 5:06 pm, "Doron Holan [MSFT]" <dor...(a)online.microsoft.com>
wrote:
> did you try to look up DRIVER_VERIFIER_DMA_VIOLATION in MSDN or your local
> copy of the WDK
> docs?http://msdn2.microsoft.com/en-us/library/ms797137.aspx. next time
> search in
> the docs and you do not have to wait for somebody to do it for you....
>
> d
>
> --
> Please do not send e-mail directly to this alias. this alias is for
> newsgroup purposes only.
> This posting is provided "AS IS" with no warranties, and confers no
> rights.
>
> <pradipm...(a)gmail.com> wrote in message
>
> news:b89d38ec-1fed-462a-8418-a7bdfa5f7c92(a)q27g2000prf.googlegroups.com...
>
>
>
> > Hi All,
>
> > I am running driver verifier on my MPIO DSM and the storport; I am
> > consistently getting the following stack.
> > Could someone please help me understand what going wrong here.
>
> > Regards,
> > Pradipmaya.
>
> > 1: kd> !analyze -v
> > ***************************************************************************�****
> > *
> > *
> > * Bugcheck
> > Analysis *
> > *
> > *
> > ***************************************************************************�****
>
> > DRIVER_VERIFIER_DMA_VIOLATION (e6)
> > An illegal DMA operation was attempted by a driver being verified.
> > Arguments:
> > Arg1: 00000021, Violation code.
> > Arg2: 00000000
> > Arg3: 00000000
> > Arg4: 00000000
>
> > Debugging Details:
> > ------------------
>
> > DEFAULT_BUCKET_ID: DRIVER_FAULT
>
> > BUGCHECK_STR: 0xE6
>
> > PROCESS_NAME: Idle
>
> > CURRENT_IRQL: 2
>
> > LAST_CONTROL_TRANSFER: from 809b8256 to 80827c63
>
> > STACK_TEXT:
> > f78aeb1c 809b8256 000000e6 00000021 00000000 nt!KeBugCheckEx+0x1b
> > f78aeb40 809bb628 00000000 00000021 809f3bb0 nt!VfAssert+0x9e
> > f78aeb68 809bc0fc 8a20bca8 89e1b008 89186ef8 nt!ViMapDoubleBuffer+0x90
> > f78aeba0 f76cc592 8a87fdc8 8a87f030 89e1b008 nt!
> > VfBuildScatterGatherList+0x11c
> > f78aebd0 f76c8f41 8a87f2ac 8a87f030 89e1b008 storport!
> > RaidDmaBuildScatterGatherList+0x2c
> > f78aec10 f76c8f8f 8a87f2ac 00000000 f78aec40 storport!
> > RaidAdapterScatterGatherExecute+0x65
> > f78aec20 f76d4d23 8a87f0e8 8a234010 8929dd80 storport!
> > RaidAdapterExecuteXrb+0x21
> > f78aec40 f76cdc08 00000000 00000001 f78aec60 storport!RaUnitStartIo
> > +0x8b
> > f78aec74 f76d4b29 88ccac78 00000000 000000fe storport!
> > RaidStartNextIoPacket+0x6e
> > f78aecb4 f76d4c8c 893ca5f0 00000000 f7727a40 storport!RaUnitAsyncError
> > +0x1dd
> > f78aece8 f76c885a 8a234010 8a87f0a4 f78aed50 storport!
> > RaidUnitCompleteRequest+0xe6
> > f78aecf8 808320f0 8a87f0a4 8a87f030 00000000 storport!
> > RaidpAdapterDpcRoutine+0x28
> > f78aed50 8088de1f 00000000 0000000e 00000000 nt!KiRetireDpcList+0xca
> > f78aed54 00000000 0000000e 00000000 00000000 nt!KiIdleLoop+0x37
>
> > STACK_COMMAND: kb
>
> > FOLLOWUP_IP:
> > storport!RaidDmaBuildScatterGatherList+2c
> > f76cc592 5d pop ebp
>
> > SYMBOL_STACK_INDEX: 4
>
> > SYMBOL_NAME: storport!RaidDmaBuildScatterGatherList+2c
>
> > FOLLOWUP_NAME: MachineOwner
>
> > MODULE_NAME: storport
>
> > IMAGE_NAME: storport.sys
>
> > DEBUG_FLR_IMAGE_TIMESTAMP: 45d05c55
>
> > FAILURE_BUCKET_ID: 0xE6_VRF_storport!RaidDmaBuildScatterGatherList+2c
>
> > BUCKET_ID: 0xE6_VRF_storport!RaidDmaBuildScatterGatherList+2c
>
> > Followup: MachineOwner
> > ---------- Hide quoted text -
>
> - Show quoted text -

Thanks Doron.
I did get have this information but was trying to see if anyone else
faced anything similar. The issues I am facing is, this does not
happen for every call... It crashes sometimes after 30 mins and
sometimes after an hour...
Anyways.. I appreciate your comments.

Regards,
Pradipmaya.