2008-03-27

25 new messages in 13 topics - digest

microsoft.public.development.device.drivers
http://groups.google.com/group/microsoft.public.development.device.drivers?hl=en

microsoft.public.development.device.drivers@googlegroups.com

Today's topics:

* Howto increase NT kernel stack size? (if it is possible at all) - 3 messages,
3 authors
http://groups.google.com/group/microsoft.public.development.device.drivers/browse_thread/thread/b7782a4cbf9a71db?hl=en
* Memory related questions - 2 messages, 2 authors
http://groups.google.com/group/microsoft.public.development.device.drivers/browse_thread/thread/43363f6f3e814cf1?hl=en
* IoGetDeviceProperty returns STATUS_OBJECT_NAME_NOT_FOUND - 4 messages, 3
authors
http://groups.google.com/group/microsoft.public.development.device.drivers/browse_thread/thread/48751d4f28d42bae?hl=en
* WINDDK help fails to start w/ cannot open the file ...\winddk.col - 1
messages, 1 author
http://groups.google.com/group/microsoft.public.development.device.drivers/browse_thread/thread/4bd8dc3635e54e16?hl=en
* Handle call to FlushFileBuffers in UMDF driver - 2 messages, 2 authors
http://groups.google.com/group/microsoft.public.development.device.drivers/browse_thread/thread/05dca16dd45b3156?hl=en
* Problem with reading from two drivers in Windows Service - 2 messages, 2
authors
http://groups.google.com/group/microsoft.public.development.device.drivers/browse_thread/thread/f16592f2b6720c67?hl=en
* hula girl cigar company tonya cooley cyber girl bike daytona girl - 1
messages, 1 author
http://groups.google.com/group/microsoft.public.development.device.drivers/browse_thread/thread/6c48af5e02684f90?hl=en
* vhidmini.pnf is needed using filemon - 1 messages, 1 author
http://groups.google.com/group/microsoft.public.development.device.drivers/browse_thread/thread/375baa318e3efa2b?hl=en
* KMDF Usb Multiple Configuration - 1 messages, 1 author
http://groups.google.com/group/microsoft.public.development.device.drivers/browse_thread/thread/0d721e11f150713c?hl=en
* mapping device memory to userspace through MDL direct io inter - 2 messages,
2 authors
http://groups.google.com/group/microsoft.public.development.device.drivers/browse_thread/thread/cd0b9239515f7fff?hl=en
* KeAcquireSpinLock or KeAcquireSpinLickAtDpc? - 4 messages, 4 authors
http://groups.google.com/group/microsoft.public.development.device.drivers/browse_thread/thread/9b7bd6d6295f6eaa?hl=en
* Accessing card in USB card reader - 1 messages, 1 author
http://groups.google.com/group/microsoft.public.development.device.drivers/browse_thread/thread/48d68577757b4af7?hl=en
* Drive letter from WdfDeviceCreateSymbolicLink not removed when driver
unloads - 1 messages, 1 author
http://groups.google.com/group/microsoft.public.development.device.drivers/browse_thread/thread/2331bc4826a8a821?hl=en

==============================================================================
TOPIC: Howto increase NT kernel stack size? (if it is possible at all)
http://groups.google.com/group/microsoft.public.development.device.drivers/browse_thread/thread/b7782a4cbf9a71db?hl=en
==============================================================================

== 1 of 3 ==
Date: Wed, Mar 26 2008 9:53 pm
From: "David Craig"


Your design is bad. Reconsider. I heard from one person at Microsoft that
many have requested stack size increases for kernel mode drivers and the
kernel team said NO, NO WAY, NO HOW. There are some things that can
increase the stack size such as NTFS, and maybe some in the DirectX stack
(but I don't know about that), but not you. Describe the problem and what
design algorithms you are attempting to use that require that much stack
space. Using more than a few bytes per function for a kernel mode driver is
a very bad idea. Make that a VERY VERY VERY BAD BAD BAD IDEA!!!

"SergeV" <s_no_spam_v@a_ca.de_m.org> wrote in message
news:ewu0pJ8jIHA.4712@TK2MSFTNGP04.phx.gbl...
> (to that)
>
> Yea, Microsoft say:
> "the size of the kernel-mode stack on a given platform is set
> by the operating system and cannot be modified."
> this is clear.
>
>
> On the other hand, D.Probert (Microsoft) say:
> "kernel stacks.. can grow up to 64k.. in win64 .. 88k."
> http://www.i.u-tokyo.ac.jp/edu/training/ss/lecture/new-documents/Lectures/17-Win32K/Win32K.ppt
> (probably this is nothing about Windows NT/XP/2000. It is about
> Win32k.sys)
>
> Sorry if my questions sound silly.
> I try to find a way to do, not to find the reason why I can't do.
> Cheers.
> Sergei.
>


== 2 of 3 ==
Date: Thurs, Mar 27 2008 4:49 am
From: "Don Burn"


This was limited to extremely special circumstances with graphics subsystem
only IIRC. And even then it was a huge cause of crashes, fix your code.


--
Don Burn (MVP, Windows DDK)
Windows 2k/XP/2k3 Filesystem and Driver Consulting
Website: http://www.windrvr.com
Blog: http://msmvps.com/blogs/WinDrvr
Remove StopSpam to reply


"SergeV" <s_no_spam_v@a_ca.de_m.org> wrote in message
news:ewu0pJ8jIHA.4712@TK2MSFTNGP04.phx.gbl...
> (to that)
>
> Yea, Microsoft say:
> "the size of the kernel-mode stack on a given platform is set
> by the operating system and cannot be modified."
> this is clear.
>
>
> On the other hand, D.Probert (Microsoft) say:
> "kernel stacks.. can grow up to 64k.. in win64 .. 88k."
> http://www.i.u-tokyo.ac.jp/edu/training/ss/lecture/new-documents/Lectures/17-Win32K/Win32K.ppt
> (probably this is nothing about Windows NT/XP/2000. It is about
> Win32k.sys)
>
> Sorry if my questions sound silly.
> I try to find a way to do, not to find the reason why I can't do.
> Cheers.
> Sergei.
>


== 3 of 3 ==
Date: Thurs, Mar 27 2008 10:09 am
From: "Maxim S. Shatskih"


> On the other hand (-: they say :-) DirectX somehow manage to increase
> kernel stack size to 64k,

Any GUI apps (after first call to win32k) have this increase.

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


==============================================================================
TOPIC: Memory related questions
http://groups.google.com/group/microsoft.public.development.device.drivers/browse_thread/thread/43363f6f3e814cf1?hl=en
==============================================================================

== 1 of 2 ==
Date: Thurs, Mar 27 2008 2:33 am
From: Deepakumar


Thanks Maxim,
>
> > 2. Can any allocation be there in paged/nonpaged memory without tag (even
> > without wdm/ddk tag)?
>
> No. Default tag is substituted.
>
I asked this because I saw a contradictory measurement on memory allocation
in paged pool. The !vm shows that memory allocated in paged pool is 160MB
PagedPool Usage: 40960 ( 163840 Kb)
But the sum of all the paged pool used (!poolused 4) gives around 125MB. So
where is the remaning 35Mb?

> Mapped user buffers are not pool at all, and they are nonpaged.
>
Then in which kernel address space they are getting mapped?

== 2 of 2 ==
Date: Thurs, Mar 27 2008 10:11 am
From: "Maxim S. Shatskih"


> > Mapped user buffers are not pool at all, and they are nonpaged.
> >
> Then in which kernel address space they are getting mapped?

In the system PTEs area, same as used by MmMapIoSpace.

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


==============================================================================
TOPIC: IoGetDeviceProperty returns STATUS_OBJECT_NAME_NOT_FOUND
http://groups.google.com/group/microsoft.public.development.device.drivers/browse_thread/thread/48751d4f28d42bae?hl=en
==============================================================================

== 1 of 4 ==
Date: Thurs, Mar 27 2008 3:19 am
From: francois


In the AddDevice() handler from our driver for USB device, we call the
IoGetDeviceProperty() and it returns STATUS_OBJECT_NAME_NOT_FOUND.

We use the same PhysicalDeviceObject given as a parameter in the
AddDevice() handler.

Can you see one possible reason for this ?

Our driver is BDA driver with USB WDM lower edge. The strange thing is
that problem occurs only on Windows 2000 platform with USB composite
device. On Windows XP/Vista, or if the device exposes only one single
USB interface, the call to IoGetDeviceProperty() is successful.

Thanks for your help
Francois

== 2 of 4 ==
Date: Thurs, Mar 27 2008 7:23 am
From: chris.aseltine@gmail.com


On Mar 27, 5:19 am, francois <fkanounnik...@yahoo.fr> wrote:

> Our driver is BDA driver with USB WDM lower edge. The strange thing is
> that problem occurs only on Windows 2000 platform with USB composite
> device. On Windows XP/Vista, or if the device exposes only one single
> USB interface, the call to IoGetDeviceProperty() is successful.

Which property are you trying to pull?

== 3 of 4 ==
Date: Thurs, Mar 27 2008 7:52 am
From: francois


We are trying to pull "DevicePropertyBusTypeGuid" property

== 4 of 4 ==
Date: Thurs, Mar 27 2008 11:25 am
From: "Doron Holan [MSFT]"


is it a multi function device and usbccgp is your parent driver?

--
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.


"francois" <fkanounnikoff@yahoo.fr> wrote in message
news:9f7069d1-654f-4457-a75f-6b787a8a41c5@d4g2000prg.googlegroups.com...
> We are trying to pull "DevicePropertyBusTypeGuid" property
>


==============================================================================
TOPIC: WINDDK help fails to start w/ cannot open the file ...\winddk.col
http://groups.google.com/group/microsoft.public.development.device.drivers/browse_thread/thread/4bd8dc3635e54e16?hl=en
==============================================================================

== 1 of 1 ==
Date: Thurs, Mar 27 2008 1:35 am
From: ht_it

sirip wrote:
> *When I try to start WINDDK documentation from Programs->Development
> Kits->Windows DDK 3790.1830->Help->DDK Documentation, it fails with
> following
> error
>
> Cannot open the file : C:\WINDDK\3790~1.183\help\winddk.col
>
> Any help would be very much appreciated. I've tried complete
> un-installing,
> making sure there is no C:\WINDDK left and re-installing. Didn't
> help.
>
> thank you *

Hello sirip,
How to complete un-installing ddk?please help!Thanks.

--
ht_it
------------------------------------------------------------------------
Posted via http://www.codecomments.com
------------------------------------------------------------------------


==============================================================================
TOPIC: Handle call to FlushFileBuffers in UMDF driver
http://groups.google.com/group/microsoft.public.development.device.drivers/browse_thread/thread/05dca16dd45b3156?hl=en
==============================================================================

== 1 of 2 ==
Date: Thurs, Mar 27 2008 4:57 am
From: Andre


Hi,

I tried to work around this UMDF restriction. At this I am using a KMDF
lower filter driver, which is supposed to handle the IRP_MJ_FLUSH_BUFFERS. In
the FilterEvtDeviceAdd function I have registered an IRP preprocess callback
like it is done in the KMDF serial sample:

status = WdfDeviceInitAssignWdmIrpPreprocessCallback(DeviceInit,
SerialFlush, IRP_MJ_FLUSH_BUFFERS, NULL, 0);

The return status is OK. However, the registered callback is never called. I
have used IrpTracker (from OSR) which indicates that the FLUSH_BUFFERS IRP is
completed by \Driver\WudfRd with completion status "NOT_SUPPORTED". In the
book "Developing Drivers with the WDF" (P. Orwick, G. Smith, page 503) I
found the information that the reflector passes IRPs of unsupported type to
the next-lower driver in the kernel-mode device stack.

So why does the reflector complete the IRP instead of passing it to the
filter driver?

Thanks and best regards,
Andre


"Doron Holan [MSFT]" wrote:

> cannot be done in UMDF, the kernel mode reflector does not reflect flush
> buffers into the user mode driver host
>
> 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.
>
>
> "Andre" <Andre@discussions.microsoft.com> wrote in message
> news:6B90D442-13E4-4700-929D-E8BBF2CC3DB9@microsoft.com...
> > Hi,
> >
> > I have a UMDF driver which creates a virtual serial COM port. An
> > application, which calls FlushFileBuffers with a handle to this COM port,
> > receives error 50, which indicates that this request is not supported. The
> > driver for the normal COM port, however, supports a call to
> > FlushFileBuffers,
> > at least this call does not fail. In the KMDF serial port driver example
> > one
> > can find that it handles IRP_MJ_FLUSH_BUFFERS. So I guess I need to
> > implement
> > the corresponding interface in UMDF. However, I was not able to find it.
> > Which interface must be implemented to handle IRP_MJ_FLUSH_BUFFERS.
> >
> > Thanks for any suggestions and best regards,
> > Andre
> >
> >
> >
>
>

== 2 of 2 ==
Date: Thurs, Mar 27 2008 10:09 am
From: "Maxim S. Shatskih"


Use some IOCTL instead of flush buffers.

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

"Andre" <Andre@discussions.microsoft.com> wrote in message
news:A5284E93-E0C3-46F7-9FF7-CEB3DECE951E@microsoft.com...
> Hi,
>
> I tried to work around this UMDF restriction. At this I am using a KMDF
> lower filter driver, which is supposed to handle the IRP_MJ_FLUSH_BUFFERS. In
> the FilterEvtDeviceAdd function I have registered an IRP preprocess callback
> like it is done in the KMDF serial sample:
>
> status = WdfDeviceInitAssignWdmIrpPreprocessCallback(DeviceInit,
> SerialFlush, IRP_MJ_FLUSH_BUFFERS, NULL, 0);
>
> The return status is OK. However, the registered callback is never called. I
> have used IrpTracker (from OSR) which indicates that the FLUSH_BUFFERS IRP is
> completed by \Driver\WudfRd with completion status "NOT_SUPPORTED". In the
> book "Developing Drivers with the WDF" (P. Orwick, G. Smith, page 503) I
> found the information that the reflector passes IRPs of unsupported type to
> the next-lower driver in the kernel-mode device stack.
>
> So why does the reflector complete the IRP instead of passing it to the
> filter driver?
>
> Thanks and best regards,
> Andre
>
>
> "Doron Holan [MSFT]" wrote:
>
> > cannot be done in UMDF, the kernel mode reflector does not reflect flush
> > buffers into the user mode driver host
> >
> > 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.
> >
> >
> > "Andre" <Andre@discussions.microsoft.com> wrote in message
> > news:6B90D442-13E4-4700-929D-E8BBF2CC3DB9@microsoft.com...
> > > Hi,
> > >
> > > I have a UMDF driver which creates a virtual serial COM port. An
> > > application, which calls FlushFileBuffers with a handle to this COM port,
> > > receives error 50, which indicates that this request is not supported.
The
> > > driver for the normal COM port, however, supports a call to
> > > FlushFileBuffers,
> > > at least this call does not fail. In the KMDF serial port driver example
> > > one
> > > can find that it handles IRP_MJ_FLUSH_BUFFERS. So I guess I need to
> > > implement
> > > the corresponding interface in UMDF. However, I was not able to find it.
> > > Which interface must be implemented to handle IRP_MJ_FLUSH_BUFFERS.
> > >
> > > Thanks for any suggestions and best regards,
> > > Andre
> > >
> > >
> > >
> >
> >


==============================================================================
TOPIC: Problem with reading from two drivers in Windows Service
http://groups.google.com/group/microsoft.public.development.device.drivers/browse_thread/thread/f16592f2b6720c67?hl=en
==============================================================================

== 1 of 2 ==
Date: Thurs, Mar 27 2008 5:12 am
From: "KBJ"


Hello,
> Have you tried attaching the kernel debugger (windbg) to the crashing
> machine and see where it crashes?


Yes, I'm getting the following error:

*** Fatal System Error: 0x0000004e
(0x00000007,0x00001A83,0x00000002,0x00000000)

Thu Mar 27 13:04:32.082 2008 (GMT+1): Break instruction exception - code
80000003 (first chance)

A fatal system error has occurred.
Debugger entered on first try; Bugcheck callbacks have not been invoked.

A fatal system error has occurred.

Connected to Windows XP 2600 x86 compatible target, ptr64 FALSE
Loading Kernel Symbols
.........................................................................................
Loading User Symbols

Loading unloaded module list
.....
*******************************************************************************
*
*
* Bugcheck Analysis
*
*
*
*******************************************************************************

Use !analyze -v to get detailed debugging information.

BugCheck 4E, {7, 1a83, 2, 0}

Probably caused by : memory_corruption

Followup: memory_corruption
---------

nt!RtlpBreakWithStatusInstruction:
804e3b25 cc int 3
kd> !analyze -v
*******************************************************************************
*
*
* Bugcheck Analysis
*
*
*
*******************************************************************************

PFN_LIST_CORRUPT (4e)
Typically caused by drivers passing bad memory descriptor lists (ie: calling
MmUnlockPages twice with the same list, etc). If a kernel debugger is
available get the stack trace.
Arguments:
Arg1: 00000007, A driver has unlocked a page more times than it locked it
Arg2: 00001a83, page frame number
Arg3: 00000002, current share count
Arg4: 00000000, 0

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


BUGCHECK_STR: 0x4E_7

DEFAULT_BUCKET_ID: CODE_CORRUPTION

PROCESS_NAME: System

IRP_ADDRESS: 8149f008

LAST_CONTROL_TRANSFER: from 805328e7 to 804e3b25

SYMBOL_ON_RAW_STACK: 1

STACK_ADDR_RAW_STACK_SYMBOL: fffffffff97094e8

STACK_COMMAND: dds F97094E8-0x20 ; kb

STACK_TEXT:
f97094c8 f9709970
f97094cc 80504e4d nt!MiCleanSection+0x6bd
f97094d0 e15165a0
f97094d4 00000001
f97094d8 00000000
f97094dc 00000000
f97094e0 00000000
f97094e4 f64cf8a4 mrxdav!_NULL_IMPORT_DESCRIPTOR+0x3c
f97094e8 f64a7000 mrxdav!MrxDAVEfsControlCompletion <PERF> (mrxdav+0x0)
f97094ec 805a758e nt!MiSnapThunk+0x6f
f97094f0 814a8500
f97094f4 f64d035e mrxdav!_NULL_IMPORT_DESCRIPTOR+0xaf6
f97094f8 000000ff
f97094fc f64cf8a4 mrxdav!_NULL_IMPORT_DESCRIPTOR+0x3c
f9709500 f64adaa8 mrxdav!_imp__GetSecurityUserInfo
f9709504 805a7701 nt!MiSnapThunk+0x382
f9709508 816c6290
f970950c 00000000
f9709510 f64a7000 mrxdav!MrxDAVEfsControlCompletion <PERF> (mrxdav+0x0)
f9709514 f970991c
f9709518 f64adaa8 mrxdav!_imp__GetSecurityUserInfo
f970951c 804f2d87 nt!MiRemoveMappedView+0x253
f9709520 816c6260
f9709524 817cca00
f9709528 f995a958 KSecDD!DESParityTable <PERF> (KSecDD+0x14958)
f970952c 00000000
f9709530 0000000e
f9709534 f64d0372 mrxdav!_NULL_IMPORT_DESCRIPTOR+0xb0a
f9709538 00000000
f970953c 00000000
f9709540 00000000
f9709544 00040100


CHKIMG_EXTENSION: !chkimg -lo 50 -d !nt
804d910c - nt!KiXMMIZeroPage+73
[ fb:90 ]
804d9112-804d9115 4 bytes - nt!KiXMMIZeroPage+79 (+0x06)
[ 57 ff ff ff:dd e7 0e 01 ]
804d9545-804d954a 6 bytes - nt!ExAcquireResourceSharedLite+10 (+0x433)
[ fa 8b 75 08 33 db:e9 13 e4 0e 01 cc ]
804d9564 - nt!ExAcquireResourceSharedLite+98 (+0x1f)
[ fb:90 ]
804d9569-804d9570 8 bytes - nt!ExAcquireResourceSharedLite+b8 (+0x05)
[ c2 08 00 90 90 90 90 90:e9 63 ab 10 01 c2 08 00 ]
804dbb82 - nt!ExReleaseResourceLite+ba (+0x2619)
[ 99:3f ]
804dbb94 - nt!ExReleaseResourceLite+c8 (+0x12)
[ 87:2d ]
804dbba0 - nt!ExReleaseResourceLite+d0 (+0x0c)
[ 7e:24 ]
804dbbc5-804dbbcd 9 bytes - nt!ExReleaseResourceLite+f5 (+0x25)
[ 90 90 90 90 90 90 90 90:e9 f1 84 10 01 5f 5e 5b ]
804dbbd5-804dbbda 6 bytes - nt!ExReleaseResourceLite+5 (+0x10)
[ 64 a1 24 01 00 00:e9 64 bd 0e 01 cc ]
804dbbe8 - nt!ExReleaseResourceLite+18 (+0x13)
[ 36:dc ]
804dbbf9 - nt!ExReleaseResourceLite+29 (+0x11)
[ 25:cb ]
804dbc16-804dbc1a 5 bytes - nt!ExReleaseResourceLite+75 (+0x1d)
[ 66 81 e2 7f ff:e9 11 bd 0e 01 ]
804deff2-804deff8 7 bytes - nt!KiFastCallEntry+7f (+0x33dc)
[ c7 45 08 00 0d db ba:e9 06 89 0e 01 cc cc ]
804df07c-804df080 5 bytes - nt!KiServiceExit (+0x8a)
[ fa f7 45 70 00:e9 7c 50 10 01 ]
804df16b-804df16d 3 bytes - nt!KiSystemCallExitBranch+2 (+0xef)
[ 5a 59 9d:c8 02 04 ]
804e34b4-804e34b8 5 bytes - nt!ExfInterlockedInsertHeadList+1 (+0x4349)
[ fa 8b 01 89 02:e9 f3 43 0e 01 ]
804e34d1-804e34d6 6 bytes - nt!ExfInterlockedInsertTailList+1 (+0x1d)
[ fa 8b 41 04 89 0a:e9 f9 43 0e 01 cc ]
804e34f2-804e34f6 5 bytes - nt!ExfInterlockedRemoveHeadList+1 (+0x21)
[ fa 8b 01 3b c1:e9 8d 43 0e 01 ]
804e3b4c-804e3b50 5 bytes - nt!ExAcquireResourceExclusiveLite+7
(+0x65a)
[ 64 a1 24 01 00:e9 19 05 10 01 ]
804e3b6d-804e3b71 5 bytes - nt!ExAcquireResourceExclusiveLite+47
(+0x21)
[ 89 46 1c 66 89:e9 16 05 10 01 ]
804e9175-804e917a 6 bytes - nt!ExAcquireSharedWaitForExclusive+10
(+0x5608)
[ fa 8b 75 08 33 db:e9 d4 e7 0d 01 cc ]
804e9194 - nt!ExAcquireSharedWaitForExclusive+ae (+0x1f)
[ fb:90 ]
804e9199-804e91a0 8 bytes - nt!ExAcquireSharedWaitForExclusive+ef
(+0x05)
[ c2 08 00 90 90 90 90 90:0f c7 c8 02 03 c2 08 00 ]
804ed809-804ed80f 7 bytes - nt!CcGetActiveVacb+5 (+0x4670)
[ fa 8b 45 08 8b 48 48:e9 5e a1 0d 01 cc cc ]
804ef1dc-804ef1e3 8 bytes - nt!CcSetActiveVacb+7 (+0x19d3)
[ fa 8b 45 08 83 78 48 00:e9 e0 87 0d 01 cc cc cc ]
804ef1ff-804ef20c 14 bytes - nt!CcSetActiveVacb+a3 (+0x23)
[ 8b 0a 89 48 48 89 58 50:e9 ad 87 0d 01 e9 9c 87 ]
130 errors : !nt (804d910c-804ef20c)

MODULE_NAME: memory_corruption

IMAGE_NAME: memory_corruption

FOLLOWUP_NAME: memory_corruption

DEBUG_FLR_IMAGE_TIMESTAMP: 0

MEMORY_CORRUPTOR: LARGE

FAILURE_BUCKET_ID: MEMORY_CORRUPTION_LARGE

BUCKET_ID: MEMORY_CORRUPTION_LARGE

Followup: memory_corruption
---------


--
Regards
KBJ


== 2 of 2 ==
Date: Thurs, Mar 27 2008 10:13 am
From: "Maxim S. Shatskih"


> When i try to read from two drivers (NDIS IM & TDI) in one Windows (XP)
> Service, Windows is crashing (PFN_LIST_CORRUPT (4e)).

MDL mismanagement usually.

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


==============================================================================
TOPIC: hula girl cigar company tonya cooley cyber girl bike daytona girl
http://groups.google.com/group/microsoft.public.development.device.drivers/browse_thread/thread/6c48af5e02684f90?hl=en
==============================================================================

== 1 of 1 ==
Date: Thurs, Mar 27 2008 6:52 am
From: amateursjcom@gmail.com


http://escort-carrick-on-shannon.meterwas.nx.cn/map.html Escort
carrick on shannon
http://the-geeks-get-the-girls-lyrics.deathmay.nx.cn/map.html The
geeks get the girls lyrics
http://estrogen-causes-breast-tenderness.meterwas.nx.cn/map.html
Estrogen causes breast tenderness
http://triumph-vintage-registry.formfrom.nx.cn/map.html Triumph
vintage registry
http://dan-radcliffe-equus-amateur-photos.deathfrom.nx.cn/map.html Dan
radcliffe equus amateur photos
http://favorite-pants-dickie-s.meterwas.nx.cn/map.html Favorite pants
dickie s
http://charo-erotic-picture.banksact.nx.cn/map.html Charo erotic
picture
http://pee-and-poo-doll-set.buycds.nx.cn/map.html Pee and poo doll set
http://rich-sambora-wife.meterfor.nx.cn/map.html Rich sambora wife
http://teen-suicides-caused-by-psychosis.careythe.nx.cn/map.html Teen
suicides caused by psychosis
http://bars-topless-marquette-mi.buyknow.nx.cn/map.html Bars topless
marquette mi
http://fenugreek-increase-breast-size.meterwas.nx.cn/map.html
Fenugreek increase breast size
http://heated-spoon-breast-master.phpbuy.nx.cn/map.html Heated spoon
breast master
http://bootie-clap.careyfox.nx.cn/map.html Bootie clap
http://asiana-in-pantyhose.careyasu.nx.cn/map.html Asiana in pantyhose
http://tonya-harding-nude-photos.leakfrom.nx.cn/map.html Tonya harding
nude photos
http://tampa-bay-shrimping.downbuy.nx.cn/map.html Tampa bay shrimping
http://mediterranean-shrimp-scampi-recipe.fromlady.nx.cn/map.html
Mediterranean shrimp scampi recipe
http://pleasure-point-tattoo-santa-cruz.thecarey.nx.cn/map.html
Pleasure point tattoo santa cruz
http://omar-english-male-porn-star.ownerbuy.nx.cn/map.html Omar
english male porn star
http://friggin-in-the-riggin-sex-pistols.meterwas.nx.cn/map.html
Friggin in the riggin sex pistols
http://foot-fetish-links-aragorn.buy-cott.nx.cn/map.html Foot fetish
links aragorn
http://ophelias-dream-all-beauty-is-sad.aspbanks.nx.cn/map.html
Ophelias dream all beauty is sad
http://galveston-places-to-suck-cock.meterwas.nx.cn/map.html Galveston
places to suck cock
http://penthouse-for-sale-in-aguadilla.careyphd.nx.cn/map.html
Penthouse for sale in aguadilla
http://brittanys-class-playmate-world.novaint.nx.cn/map.html Brittanys
class playmate world
http://gay-gregory-lemarchal.meterwas.nx.cn/map.html Gay gregory
lemarchal
http://gay-hotels-near-machu-picchu.meterwas.nx.cn/map.html Gay hotels
near machu picchu
http://gay-ibcest.meterwas.nx.cn/map.html Gay ibcest
http://gay-narcisstic-personality-disorder.meterwas.nx.cn/map.html Gay
narcisstic personality disorder
http://amanda-beard-playboy-naked.clickbuy.nx.cn/map.html Amanda beard
playboy naked
http://gay-porta-pia-rome-italy.meterwas.nx.cn/map.html Gay porta pia
rome italy
http://nipple-stimulation-lactation.yourbuy.nx.cn/map.html Nipple
stimulation lactation
http://bulgarian-gipsy-girl-wives.cfmfrom.nx.cn/map.html Bulgarian
gipsy girl wives
http://is-karla-homulka-pregnant.bothbuy.nx.cn/map.html Is karla
homulka pregnant
http://gfe-providers-in-humboldt-california.meterwas.nx.cn/map.html
Gfe providers in humboldt california
http://pussy-foot-n.buycds.nx.cn/map.html Pussy foot n
http://amanda-beard-free-naked-pics.aintwho.nx.cn/map.html Amanda
beard free naked pics
http://zelda-windwaker-cartoon.meterthe.nx.cn/map.html Zelda windwaker
cartoon
http://girls-of-morgantown-calendar-2007.meterwas.nx.cn/map.html Girls
of morgantown calendar 2007
groin kicking girl, girl kicking boys in the groin,
russian girl groin kicking mpegs, girl kicking guy in groin, girl
kicking boy groin, asian girl kicking guy in groin, girl kicking boy
in the groin,
asian girls groin kicking,
ball busting fetish groin image kicking, girls kicking groin, pain
fetish-asian girl kicking, free girl groin kick video, knee in the
groin girl,
boy girl in kicking picture testicle, girls like kicking boys in
groin, girl busting groin, asian groin kicking girls, girl got kicked
in the groin, girl kicking testicle,
girl love kicking testicle, girl grabs groin, girls kicking boys in
groin, fetish groin kicking, girl kick boy in groin, video of
breakdancer kicking little girl, free girl busting groin story, female
groin kicking videos, girl knees boy in the groin, download free girl
groin kick, japanese girl groin kick,
girl kicks in groin, boy girl in kicking testicle,
girl kick in the groin,
girl getting kicked in the groin, girl kick balls groin, kicking guy
in groin porn,
girl busting groin story, crotch girl kicking, girl fight kick groin,
karate kicking girl jpg,
asian groin kicking mpegs, crotch kicking girl, kicked in the groin
girl, girl kicking like testicle, girl kicks boy in the groin, girl
kicked in groin, girl groin kick, female groin kicking, girl doing
groin kick, boy girl kicking pain testicle, karate groin kick girl,
girl kicking boy in the testicle, girl kick groin, girl kicking
groins,
girls kicking guys in the groin, girls groin kicking, girl kick groin
mpegs,
girl guy in kicking like nut,
girl like kicking testicle,
girl kicks groin,
punching kicking another girl for video, that naughty girl knee groin,
stories about girls kicking the groin, groin kick girl,
girl defense groin grabbing, free girls groin kicking mpegs, girl
groin protection, groin kicking girls feet,
girls kicking men in the groin, girl groin in kick, boy girl groin in
kick, erotic groin kicking pictures, groin kicking babes,
girl knee groin, groin kicking fetish, girl groin attack defense,
chinese groin kicking girls, girls kicking in the groin, girls kicking
boys in the groin, doing girl groin kick,
groin kicking girls, girls kicking groin videos, van morrison brown
eyed girl tab,
story of a girl guitar ninedays, purdy girl greenwich village, growth
chart percentile girl, pig boar sex girl, imgboard board3 little girl,
bike daytona girl, stencils of geisha girl, dilivery girl, whirly girl
the movie, girl does stripshow for boyfriend,
adventure girl lava sharkboy, mutya buena reall girl, girl socks
stink,
pirelli calendar girl, girl spreader bar, sexy burmese girl dancing
ago, kiss because i ma girl mv, girl shagging horse, dark magician
girl ecchi, sienna miller nude video factory girl, rush limbaughs girl
friend,
sexy girl webcams for mac dashboard,
1940 pin up girl pictures,
free cheatah girl invitations, jojo not that kinda girl video, all-
girl orgy, testicle kicking fetish, gfx girl, lutheran girl jokes,
girl southington, reliant k girl friend,
butterfly girl clipart,
7 girl phatty,
octa girl, chinees girl feet, cruel girl jeans web site, feedee girl,
banquet cheering girl,
caryl top girl, barloe girl she, by girl lyric talk tlc,
wisconsin girl scout camps,
galaxy girl sim date, foglio girl genius, girl scouts kennebec
council, girl getting banged bt horse, young girl swimmer sheila,
historical dress american girl doll,
palm glade girl scouts, cookie delivery girl scout, pinup girl with
bow and arrow,
nicaragua nude girl photos, teen girl glases,
bam margera girl women clothes, aloud girl hot long summer video,
sweat young girl nude,
girl want suckdick, download barlow girl,
girl relay runners, brownie uniform for american girl doll, daddy
punishes girl, girl scouts great trail council,
harry potter girl scout camp, thc girl, skinnie girl,
girl maria moore xl, ebony t-girl,
chat ethiopian girl, treat gloom cookie girl pretty, eamon girl
version, leo blais oh girl, homly girl, whirly girl puke scene,
japanese geisha girl tattoo, kenworth trucking mud flap girl, roller
blade girl boogie nights, bad man nah dress like girl, types of girl
scout cookies 2005,
girl scout puzzlers badge, cosmo girl magazine website,
wb show gilmore girl, girl scouts camp seniors detroit michigan,
jersey shore girl dottie, barbie german girl rammstein, fingerbang a
girl, girl from ipanema song lyric, factory girl sienna sex scenes,
zales commercial girl song, fruits basket akito girl, arta girl,
reclining girl by francois boucher, 6yo girl, how to impress a teenage
girl, girl koi no victory, aqua ugly girl lyrics,
mud flap girl pin, rostov on don girl, japanese kogal school girl,
girl nipples tortured,
litles girl, girl take it easy lyrics pietasters, animated lust little
girl squirrel, arabic blue clip girl tooth, goodbye girl squeeze,
brownie girl idea scout, molestation girl symptoms signs, white girl
feat young jeezy,
girl scout camporee meals, voodoo girl tim burton, eureka springs
girl's getaway, girl's buzzcut, mckay pasadena girl, ballow girl,
naked college hooter girl, costume dance georgie girl, girl in
lovefreekz video,
girl gone wild dorm room, missing girl devin arizona,
college girl gyno,
tw3 girl, girl groaning audio, derry community girl scouts, ganguro
girl v 1.5 cheats, miracle lyrics boy meets girl, al martino daddys
little girl lyrics, 20th century american girl doll,
bird girl seussical, johanna grace flower girl dress,
yong girl upskirt, girl scouts cookie boxes,
mae girl orgasm, girl s titi, rottweiler on girl, girl scout candy
mould, country girl cleaning service nashville tn,
nina sky move your body girl, lip piercing girl hiding,
girl crush lip potion, lynching murder girl,
girl pooping in jeans, escort girl versailles, girl viginas boobs,
poor little rich girl edie warhol, killers video mr brightside girl,
the girl most likely rebecca sparrow, nude girl tweens, thai names-
girl, girl mcdaniel mel plastic, china girl iggy pop, girl scouts of
america jackson michigan, girl hip hugger jeans,
girl fucks landlord, whacked out sports girl, girl scout pen pals, big
shoeless girl, girl in the pentacle, never alone by barlow girl
lyrics, champagne girls flower girl dresses, neil simon the goodbye
girl, champagne bottle in a girl ass,
natural hairy girl leslie, the other boleyn girl phillipa gregory,
busty pinup girl,
ordinary girl clueless, impressionists girl looking at her hands,
rockabilly girl hair style, north face metropolis girl, gunslinger
girl wallpapers, baby girl briggs washington state,
girl picture skinhead, baby girl nursery decorating ideas, the
bottlerockets gas girl, kick in the groin girls, excort girl,
lyrics nasty girl christina, judo girl comic, sikh girl in action,
daisy girl scouts bridging, tuskegee girl,
teen girl slumber parties supplies,
jesse mccartney daddys little girl lyrics, girl peeing in the potty,
commercial fahrenheit girl, charleston south carolina girl scouts,
girl gone summer wiled,
school girl plaid skirt,
the history of girl scout swaps, girl scouts of adirondack, girl scout
of san fernando valley, pisces animated girl pictures, girl scouts
brownie vest, cover girl eye shadow discontinued colors, girl little
strange strangler, i want a girl barbershop, kathy van zeeland and
undercover girl, melina pizza girl, 50s girl pin up, girl wearing
diapers and rubber panties,
psycho girl matt download, yellowstone girl scouts, stacy keibler
nitro girl, cotton toddler girl pajamas,
1.5 cheat ganguro girl,
girl indian saree,
unconscious girl fetish webcam,
girl scout daisy petals, audio girl sammie should, flower girl purse
ivory, coppertone cute dog girl remember,
chaos girl az goth skinny,
etnies skate shoes for girl, girl trench coats, slavic girl, sim girl
2.3 cheat,
the slave girl by buchi emecheta, southern storm girl's basketball ky,
av girl idol japanese school,
daddys girl scrapbooking, girl snapping turtles, daddies little girl
pirn, the temptations my girl chords, myspace graphics congratulations
baby girl, kai winding hit girl, the girl who killed the python,
japenese dark magician girl,
girl avril lavine, naked everquest girl, girl in skimpy skirt teenage,
girl scouts of america iowa jobs, never alone barlow girl tab, hula
girl doll, listen to daddys little girl, hawaiian hula girl pictures,
maori girl baby names, girl gone gild, ahemdabad webcam college girl,
attack female groin, girl from ipanema lyrics stan getz, girl in
showet, gwen stefani hollow back girl, girl fights hairpulling, rate
girl like hotornot, my girl the temptations chords,
girl masturbatin vidio, diapered slave girl, pretty dumb things
chelsea girl, inventor of american girl dolls, pregnant girl milking,
reiko biker girl hentai not demo, girl masturbating with hairbrush,
girl leaking cum out of pussy, candid gymnastics girl cheerleading,
girl npower,
lusty girl fantasies video, chicana girl drawings, my girl weeping
willow,
brown eyed girl remakes, animated cow girl hentail, a-rod and girl
friend yankees, free guitar cords for barlow girl, trillville some cut
video girl, girl puberty pubic hair pics, girly girl wikipedia the
free encyclopedia, cinammon girl lyrics,
girl godannar, loveline myspace girl, girl with a pearl earrning
author,
hot louisville girl swing, olesya cute girl feet,
anime girl cums, lyrics the girl from ipanema, girl masturbates and
lube, pa t-girl, 2nd edition goose-girl, disney cheetah girl raven
naked, helen oyeyemi icarus girl,
sterling sims nasty girl, pitbull bend over girl, girl gymnastics
photo preschool,
cane girl punish,
nude 16year old girl, girl iowa newton site web,
girl scouts savanna georgia, teen girl squad homestarrunner, jersey
girl butt sweat pants,
chun delightful girl hyang, girl licking anus,
girl 3some, belly chubby fat girl,
girl like you the troggs, hula girl cigar company,
girl ass chug, little bitty baby girl,
moxie girl catalog, 1950 s calender pinup girl,
mcfly that girl lyrics,
girl horse mating, blind melon no rain bumblebee girl,
tri county basketball girl nj, nitty nasty girl lyric, girl gone wild
the seized video,
brown eyed girl bassline, girl fart in skirt, premade baby girl
scrapbook pages,
harem girl bondage, billy gilman she's my girl, girl hockey twister,
little girl recording irish demolition, nasty girl chanel, halloween
girl seraphim shock, teenage girl weight gain unexpectadly, brownie
into junior badges girl scouts, amture girl, lucy becker cyber girl,
cnn girl paints painting of jesus,
red neck girl the bellamy brothers,
girl scout serivce center asheville nc, my beautiful girl mari
torrent,
anaheim 4 year old little girl, girl's bermuda shorts, diva girl mugs,
girl triathlon valley, baby girl nursery decorating ideas online,
tonya cooley cyber girl, sasuke's love for a girl quizilla,
electra kill mint girl, vixen girl band, holla back girl mp3, girl
fingerfucking, backstreet boy poster girl lyric, girl fight beatdown
sits on her, pelosi and girl scouts, shy sorority girl convinced to
fuck, sexy girl pictures in twenties, snazzy girl discount codes,
pioneer valley girl scouts massachusetts, girls kicking groins mpeg,
eurthymics who s that girl, aqua barbie german girl, erika netvideo
girl, av school girl you kitajima, cbt kicking asian bb videos,
girl masturbatting, girl bobies, huffy girl's bikes, lyrics to girl
fight by brooke, neil fallon interview memphis girl, occupied japan
boy and girl figures, ambulance girl kathy bates,
girl scouts 95th swaps, twisty's girl holly, ney girl love, bich girl,
diaper humiliation girl, bull girl mechanical riding, lionel ritchie's
daughter ballerina girl, beck girl bass tabs,
lyrics girl power cheetah girls, free trial issue of cosmo girl,
amputee girl rak, dim girl lyric sum, bound gagged girl school, call
coimbatore girl in, hollaback girl remix lyrics, daddys little girl
lyrics alabama, little girl modles, girl jeezy lyrics,
ebaumsworld sim girl,
anale girl, naughty girly girl,
gloria wise boy girl club,
manley girl found dead, girl masturbation vido, dian fossey girl, big
booty girl groped,
girl squatted and peed, canvas girl reading kitten, ain't no hollaback
girl, adolescent girl in bikini, overhaulin girl a j,
amber carson t girl, uil girl softball,
escort girl beijing hotell social guide,
girl humping sink, girl julie london lonely lp, song jesse's girl,
girl getting shagged, daisy girl scout scrapbook pages, webstar girl,
somebodys girl is at this party, girl scouts in baton rouge louisiana,
girl scout cadette, who is the bhaskars girl wiwes, boy meets girl
agency london, hooter girl halloween, biggest farang girl, akita girl,
2k2 girl gone gras mardi wild, sweet indian girl sunbathing, gastineau
girl e, photo triptych girl white fur, spicer girl stop, the rough-
face girl by rafe martin, girl with viberator, stylish rugs teen girl
bedroom, barbie girl alto saxophone sheet music, girl ruffle socks,
gorgie girl song, girl kicked stripped naked, 12y o russian girl fuck,
hooters girl cartersville, heart palpitations in young girl,
maryland girl scout troops, girl mallu photes, bme pain girl, alex
chilton what's your sign girl, giantess crush ants,


==============================================================================
TOPIC: vhidmini.pnf is needed using filemon
http://groups.google.com/group/microsoft.public.development.device.drivers/browse_thread/thread/375baa318e3efa2b?hl=en
==============================================================================

== 1 of 1 ==
Date: Thurs, Mar 27 2008 11:05 pm
From: "pico"


this didn't answer me.

it says:

E:\vhidmini>devcon install vhidmini.inf
"{D49F883C-6486-400a-8C22-1A9EF48577E4}\HID_DEVICE"
Device node created. Install is complete when drivers are updated...
Updating drivers for devcon failed.


I want to know how I should watch the real problem.

TIA

"Doron Holan [MSFT]" <doronh@online.microsoft.com> wrote in message
news:OeiGBG4jIHA.2396@TK2MSFTNGP05.phx.gbl...
> if the PNF is not present it is not an error. look at the logs to see why
> the udpate failed instead of trying to guess
>
> 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.
>
>
> "pico" <webmaster@pico.com> wrote in message
> news:e9qUPt0jIHA.3512@TK2MSFTNGP03.phx.gbl...
>>I want to use devcon to install vhidmini sample driver according to reame.
>>
>> but it claims update failed always. so I use filemon to check which file
>> it is accessing,
>> found that vhidmini.pnf.
>>
>> this is generated by setup application when installing, why it didn't do
>> that?
>>
>>
>> TIA
>>
>



==============================================================================
TOPIC: KMDF Usb Multiple Configuration
http://groups.google.com/group/microsoft.public.development.device.drivers/browse_thread/thread/0d721e11f150713c?hl=en
==============================================================================

== 1 of 1 ==
Date: Thurs, Mar 27 2008 7:25 am
From: chris.aseltine@gmail.com


On Mar 26, 7:36 am, siddu <siddu.k...@gmail.com> wrote:

> I am writing a driver for USB to Serial device in KMDF, which has 2
> configurations. After selecting 1 configuration and downloading the firmware,
> i am not able to switch to 2 configuration. I want to know whether KMDF
> supports multiple configurations and how to select the required configuration.

I would just use a separate PID (and USB configuration #0) for the
"firmware loaded" configuration.


==============================================================================
TOPIC: mapping device memory to userspace through MDL direct io inter
http://groups.google.com/group/microsoft.public.development.device.drivers/browse_thread/thread/cd0b9239515f7fff?hl=en
==============================================================================

== 1 of 2 ==
Date: Thurs, Mar 27 2008 7:30 am
From: kota


Hi Gary,

Thanks for very quick & short reply, could you be little more brief about
your suggestions (or) plz provide any link about your suggesting for mapping
kernel device memory to user space.

I am currently following the method suggested in below paper:
http://www.microsoft.com/whdc/driver/kernel/mem-mgmt.mspx
But instead of getting the virtual kernel address space, i am taking user
virtual address space from below function:
MmMapLockedPagesSpecifyCache
After looking to the below article, i modified the code:

http://www.osronline.com/article.cfm?id=423
Instead of using MmBuildNonPagedPool, i used MmMapLockedPages, with this
method, i could map the memory till 1MB, where as it was working only 100KB
with earlier method.
if i increase the memory limit more than this, i am getting the bluse screen
with same info.

>

== 2 of 2 ==
Date: Thurs, Mar 27 2008 7:33 am
From: "Don Burn"


And as Gary asked why do you think you need this? What problem are you
trying to solve, that can justify the security problems you are creating
with this approach? What is the characteristics of your device that need
the level of performance that can only be justified by this?


--
Don Burn (MVP, Windows DDK)
Windows 2k/XP/2k3 Filesystem and Driver Consulting
Website: http://www.windrvr.com
Blog: http://msmvps.com/blogs/WinDrvr
Remove StopSpam to reply


"kota" <kota@discussions.microsoft.com> wrote in message
news:04A19F1C-ECB3-411C-94BF-33C83B0FE85C@microsoft.com...
> Hi Gary,
>
> Thanks for very quick & short reply, could you be little more brief about
> your suggestions (or) plz provide any link about your suggesting for
> mapping
> kernel device memory to user space.
>
> I am currently following the method suggested in below paper:
> http://www.microsoft.com/whdc/driver/kernel/mem-mgmt.mspx
> But instead of getting the virtual kernel address space, i am taking user
> virtual address space from below function:
> MmMapLockedPagesSpecifyCache
> After looking to the below article, i modified the code:
> http://www.osronline.com/article.cfm?id=423
> Instead of using MmBuildNonPagedPool, i used MmMapLockedPages, with this
> method, i could map the memory till 1MB, where as it was working only
> 100KB
> with earlier method.
> if i increase the memory limit more than this, i am getting the bluse
> screen
> with same info.
>
>>



==============================================================================
TOPIC: KeAcquireSpinLock or KeAcquireSpinLickAtDpc?
http://groups.google.com/group/microsoft.public.development.device.drivers/browse_thread/thread/9b7bd6d6295f6eaa?hl=en
==============================================================================

== 1 of 4 ==
Date: Thurs, Mar 27 2008 8:06 am
From: Uv


On Mar 26, 5:11 pm, Raj <R...@discussions.microsoft.com> wrote:
> I have a function that uses KeAcquireSpinLock(). This function will be called
> for each packet in a data stream at DISPATCH_LEVEL and I was interested to
> tune the performance. Then I read documentation that KeAcquireSpinLockAtDpc()
> will improve performance. I also want to use this function in few places
> where it rarely be called at " less than DISPATCH Irql".
>
> I am thinking of using KeGetCurrentIrql() to decide whether I use
> KeAcquireSpinLock() or KeAcquireSpinLockAtDpc(). I am not sure if I should
> bother to do this or simply always use KeAcquireSpinLock(). Is the
> performance be considerable to use conditional KeAcquireSpinLockAtDpc() ?
>
> Thanks,
> Raj

Optimizations such as the one you are proposing will affect the total
throughput only if the code path is under high contention.
Otherwise, the general rule is to improve the design to get better
performance and not depend on micro-optimizations.

Regards,
UV

== 2 of 4 ==
Date: Thurs, Mar 27 2008 8:13 am
From: "Don Burn"


Actually, IIRC KeGetCurrentIrql() is expensive enough that it will probably
decrease performance.


--
Don Burn (MVP, Windows DDK)
Windows 2k/XP/2k3 Filesystem and Driver Consulting
Website: http://www.windrvr.com
Blog: http://msmvps.com/blogs/WinDrvr
Remove StopSpam to reply

"Uv" <yuvraaj@gmail.com> wrote in message
news:70050799-892a-4bfd-bb6d-466b21945007@h11g2000prf.googlegroups.com...
> On Mar 26, 5:11 pm, Raj <R...@discussions.microsoft.com> wrote:
>> I have a function that uses KeAcquireSpinLock(). This function will be
>> called
>> for each packet in a data stream at DISPATCH_LEVEL and I was interested
>> to
>> tune the performance. Then I read documentation that
>> KeAcquireSpinLockAtDpc()
>> will improve performance. I also want to use this function in few places
>> where it rarely be called at " less than DISPATCH Irql".
>>
>> I am thinking of using KeGetCurrentIrql() to decide whether I use
>> KeAcquireSpinLock() or KeAcquireSpinLockAtDpc(). I am not sure if I
>> should
>> bother to do this or simply always use KeAcquireSpinLock(). Is the
>> performance be considerable to use conditional KeAcquireSpinLockAtDpc() ?
>>
>> Thanks,
>> Raj
>
> Optimizations such as the one you are proposing will affect the total
> throughput only if the code path is under high contention.
> Otherwise, the general rule is to improve the design to get better
> performance and not depend on micro-optimizations.
>
> Regards,
> UV


== 3 of 4 ==
Date: Thurs, Mar 27 2008 10:17 am
From: "Maxim S. Shatskih"


>Then I read documentation that KeAcquireSpinLockAtDpc()
> will improve performance. I also want to use this function in few places
> where it rarely be called at " less than DISPATCH Irql".

In these places, use KeRaiseIrql and the KeAcquireSpinLockAtDpcLevel.

In usual places, use KeAcquireSpinLockAtDpcLevel alone.

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

== 4 of 4 ==
Date: Thurs, Mar 27 2008 11:24 am
From: "Doron Holan [MSFT]"


it comes down to a simple litmus test

1) if you know you are at dispatch level, the AtDpc version will be faster
b/c there is no IRQL get and possible set.
2) otherwise, if you do no not know for sure, just call KeAcquireSpinLock.
internally it will call KeGetCurrentIrql to know if it needs to raise to
dispatch level, so if you check for current irql first and you are at
passive level, you get worse performance b/c KeGetCurrentIrql is called
twice

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.


"Raj" <Raj@discussions.microsoft.com> wrote in message
news:8611CC23-B6C0-42BC-91DE-EC0AAA411FC0@microsoft.com...
>I have a function that uses KeAcquireSpinLock(). This function will be
>called
> for each packet in a data stream at DISPATCH_LEVEL and I was interested to
> tune the performance. Then I read documentation that
> KeAcquireSpinLockAtDpc()
> will improve performance. I also want to use this function in few places
> where it rarely be called at " less than DISPATCH Irql".
>
> I am thinking of using KeGetCurrentIrql() to decide whether I use
> KeAcquireSpinLock() or KeAcquireSpinLockAtDpc(). I am not sure if I should
> bother to do this or simply always use KeAcquireSpinLock(). Is the
> performance be considerable to use conditional KeAcquireSpinLockAtDpc() ?
>
> Thanks,
> Raj


==============================================================================
TOPIC: Accessing card in USB card reader
http://groups.google.com/group/microsoft.public.development.device.drivers/browse_thread/thread/48d68577757b4af7?hl=en
==============================================================================

== 1 of 1 ==
Date: Thurs, Mar 27 2008 10:13 am
From: "Maxim S. Shatskih"


No ways except the ones proprietary for this particular reader, and even
they are possibly nonexistent.

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

"anonymous" <anonymous@discussions.microsoft.com> wrote in message
news:F45DE756-660E-4CE1-B348-CBA81BBEA555@microsoft.com...
> I would like to issue an ATA Identity command to a CF card in a USB card
> reader. I understand that card readers in general (and in this specific case)
> are using USBSTOR.SYS which is a SCSI interface, so unless I were to make my
> own driver and have support for that in the unit, I really can't do that.
>
> What I can do is send SCSI commands down to the unit, but when I use SCSI
> passthrough and ask for the identity, I get the identity of the card reader
> and not the card.
>
> Wondering if anyone in this group knows how to access to the card. I
> understand its possibly vendor specific, but figured it worth a shot here.


==============================================================================
TOPIC: Drive letter from WdfDeviceCreateSymbolicLink not removed when driver
unloads
http://groups.google.com/group/microsoft.public.development.device.drivers/browse_thread/thread/2331bc4826a8a821?hl=en
==============================================================================

== 1 of 1 ==
Date: Thurs, Mar 27 2008 10:14 am
From: Kevin


Hi,

I'm building something like the ramdisk example in the WinDDK. It uses
WdfDeviceCreateSymbolicLink to attach to a drive letter. The problem is
that when the driver unloads, the drive letter doesn't completely go
away. It remains in Windows Explorer as a disk with a red circle and a
white question mark in the middle. The "Map Network Drive" wizard shows
the drive letter as available. It completely disappears from explorer
after a reboot.

Any ideas? I want it to go away completely after the driver unloads.

Regards,
Kevin

==============================================================================

You received this message because you are subscribed to the Google Groups "microsoft.public.development.device.drivers"
group.

To post to this group, visit http://groups.google.com/group/microsoft.public.development.device.drivers?hl=en

To unsubscribe from this group, send email to microsoft.public.development.device.drivers-unsubscribe@googlegroups.com

To change the way you get mail from this group, visit:
http://groups.google.com/group/microsoft.public.development.device.drivers/subscribe?hl=en

To report abuse, send email explaining the problem to abuse@googlegroups.com

==============================================================================
Google Groups: http://groups.google.com?hl=en

No comments: