drive verifier makes DMA impossible
Dear all,
Im writing a WDM driver for a PCI device doing bus master packed based
DMA. The device and the driver are working well so far, until I followed
the suggestion of some experts to turn on driver verifier. OK, I did
that and ran into several problems (which actually was caused by my not
so correct code). The most ones I could solve but there was one I
couldn't get rid of: The DMA runs perfectly but the data are always
0x0E, no matter what was in my user buffer!
The device is not "scatter/gather-able" so I split up the DMA transfer
into several small one-page DMA transfers. The logical address
determined by MapTransfer() seemed to be NOT describing my user buffer.
When DMA checking of driver verifier is disabled the transfer works
perfect and the logical address determined by MapTransfer() is higher
(e.g. 0x0a2ed1f8), but I don't know if the address has anything to do
with that problem.
Thanks for help
Daniel Tag: driver verifier makes DMA impossible (cont.) Tag: 53439
Device Driver and FS
when I wrote a device driver,
how do I known which type of file system would be attached to it.
Does this decided by my device driver or PNP manamger? Tag: driver verifier makes DMA impossible (cont.) Tag: 53426
PortMonitor can't be installed
Hi,
Has anyone seen this behaviour? I use the Add Port to install the port
monitor coming with the DDK and after the inf is pointed to monitor.inf
,nothing happens.
What's happening? I had installed once the DDK portmon long time back, but
can't make out why it doesn't go through this time.
Thanks Tag: driver verifier makes DMA impossible (cont.) Tag: 53423
WinXP PRO - UPS Minidriver Dll localisation bug ?
Hi,
I've written an UPS minidriver Dll.
When running the Dll on an english version of Windows XP Pro everything
works fine.
According to the DDK documentation the battery status
(HKLM\System\CurrentControlSet\Services\UPS\Status\BatteryStatus)
has 3 documented states (0=unknown, 1=OK, 2=replace).
Looking at the UPS status display (Start\Settings\Power Options\Power
Options Properties\UPS) the display shows "Good" for state 1 and "Needs
replacing" for state 2.
When shutting down the system because of lost AC power a messenger service
dialog box pops up saying "The UPS service is starting shut down at XXX".
So far so good, the DDK documentation is consistent with the user display.
Running the same Minidriver Dll on a german Windows XP shows a slightly
different behaviour.
The UPS status display shows "Niedrig" for state 1.
This means "low" - a big difference to the documentation and the english
version and confusing for the user because he thinks the batteries are low.
The messenger service dialog box says "Der USV Dienst beginnt, wegen
geringer Batteriespannung, bei XXX mit dem Herunterfahren."
This means "The UPS service is starting shut down because of low battery
voltage at XXX".
This is also a big difference to the english version and confusing for the
user because he thinks the batteries are low.
The behaviour is the same with SP1 and SP2 of the german version.
Now my question : is this just a bug in the german translation of XP or
are there any other side effects (internal state etc.) ? Tag: driver verifier makes DMA impossible (cont.) Tag: 53418
About file sytem
When I insert a cdrom disk into the CDROM,the CDFS would be attached to
CDROM.
Why does in this time that I insert the cdrom disk the CDFS be attached to
CDROM.
WHY is the CDFS ,not FAT32 to be attached to CDROM.
What the CDROM do, when the CDFS is attached to CDROM. Tag: driver verifier makes DMA impossible (cont.) Tag: 53415
OID_802_11_ADD_KEY failed on HCT 12.0
Hi,
A key describe by the NDIS_802_11_KEY structure as defined as
follows:
typedef struct _NDIS_802_11_KEY
{
ULONG Length;
ULONG KeyIndex;
ULONG KeyLength;
NDIS_802_11_MAC_ADDRESS BSSID;
NDIS_802_11_KEY_RSC KeyRSC;
UCHAR KeyMaterial[1];
} NDIS_802_11_KEY, *PNDIS_802_11_KEY;
Notes: the member Length is sepcifies the length of the NDIS_802_11_KEY
structure in bytes.
When testing the HCT 12.0, the SetInformation of the OID_802_11_ADD_KEY
indicate the
InformationBufferLength was 104 bytes which meant the size of the
NDIS_802_11_KEY
structure was 104 bytes, but the member Length of the NDIS_802_11KEY
structure
was 72 (0x48) bytes. Why?
Thanks for the help. Tag: driver verifier makes DMA impossible (cont.) Tag: 53412
large block size under NTFS
Hi
I understand that the largest cluster/block size under NTFS is 64KB. I
wonder how I can get around this and use a larger block size of , say, 2MB.
In other words, each time when an application writes a large chunk of data,
say 2MB, I want consecutive sectors be used. Can this be done with a filter
driver on top of NTFS?
Bo Tag: driver verifier makes DMA impossible (cont.) Tag: 53410
website
i want to learn wdm,who can give me sime website which has some information
about wdm, Tag: driver verifier makes DMA impossible (cont.) Tag: 53408
Printer drivers and StretchDIBits calls
Hello
I am writing a virtual printer driver for Win XP/2000. The driver is using
an engine-managed surface and is hooking all next DDI functions:
- DrvBitBlt
- DrvStretchBlt
- DrvTransparentBlt
- DrvCopyBits
- DrvAlphaBlend
- DrvStretchBltROP
- DrvPlgBlt
All these functions are tested when printing from different applications,
and they work fine.
But when an application is printing a bitmap using StretchDIBits function,
none of the above driver functions is called.
Is StrechDIBits function writing directly on the driver surface bitmap,
without calling any of Drv...() functions? Is there any way I can hook this
function before it is writing the bitmap on the driver surface?
Thanks
Luminita Tag: driver verifier makes DMA impossible (cont.) Tag: 53407
AVStream : How to pre-test drivers for MS MCE?
Dear All,
I would like to know the procedure to pass MCE certification. Does MS
provide driver developers some tools to pre-test drivers are compliant with
MS MCE or not?
Thanks,
Edward Tag: driver verifier makes DMA impossible (cont.) Tag: 53406
WinXP build environment
I have installed (in this order):
VC++ 6.0
Platform SDK February 2003
Windows 2000 DDK
in my system (Windows XP SP1) for my build environment but it seems I
messed it up.I cannot build the sample plotter driver.
When I launch the checked build or free build utility, it says that there
are some program or batch files that cannot be recognized.
When I build the sample plotter driver, there is a U1073 error.
plotlib.lib build method is not set, something like that.
When I installed the SDK, I chose to automatically set the environment.
Any idea on this.
Thank you. Tag: driver verifier makes DMA impossible (cont.) Tag: 53395
WDM NIC driver causes diabling of all network properties
Hi All,
I have a WDM driver for W2k/XP for a NIC this **IS NOT AN NDIS
DRIVER** but a normal WDM driver that allows direct access to the NIC
hardware. The hardware is a 3COM 3c90x on PCI. Once the driver is
installed the user is not able to change any network settings for
other installed network drivers (that do use NDIS drivers). The
properties of other installed network drivers is disabled. The client
has to uninstall the non-NDIS WDM driver to change the network setting
and then re-install.
Why is this and how can I prevent it?
Cheers,
SAB. Tag: driver verifier makes DMA impossible (cont.) Tag: 53390
Dll Build
I am trying to build a class installer dll and I want to use a .def file to
specify the exported functions. After looking at the SDK and some DDK
samples, I'm still a bit confused. How should I be building the dll: use
the command line utility included with the SDK or the VC++ build enviroment?
Is it just a matter of preference? I found a section in the MSDN library
about how to use a .def file in the VC++ IDE, but was unable to locate the
"project Property Page" to set the /DEF option. Can someone explain the
steps needed to export functions in a dll using either the VC++ IDE or
command line? Or point me to an article. Thank you for your time. Tag: driver verifier makes DMA impossible (cont.) Tag: 53385
Driver Certification
Could someone please tell me what are all the steps involved in Device Driver
certification. I am looking for a high level information to decide the
effort it takes to get the driver certified and also how much it costs.
Thanks, Tag: driver verifier makes DMA impossible (cont.) Tag: 53381
PASSTHRU by Thomas/MS
Thomas,
As you noticed in my previous questions, I'm analyzing the passthru example
you provided at your site...
therefore I just want to double check my understanding of the Passthru
layered structure with you...
in whole, Passthru is an intermediate (IM) driver type reside bellow the IP
layer and above a miniport driver.
therefore the MINIPORT.C provides the functionality necessary for the lower
edge (bellow) of the IM and PROTOCOL.C provides the functionality for the
upper edge (above) support.
Is this a correct ?
thankx Tag: driver verifier makes DMA impossible (cont.) Tag: 53375
hooked functions in usermode printer driver
I have a monolithic usermode printer driver (see my numerous previous
question for details :) under development. It's adapted from an earlier
kernel-mode printer driver. I'm trying to work out the final kinks, and I've
come across some rather odd behavior.
I've found that some applications have trouble printing particular shapes
(diagonal lines and ellipsesfor example) on any page except the first. In the
kernel-mode driver, these work fine, and in the debug output I can see calls
to DrvBitBlt for each of these shapes that is drawn on the printed image.
In user-mode, I don't see these calls. In fact, I don't see any of my driver
code being called. Somehow these shapes make it onto the first page I print,
but never the second.
I am hooking DrvBitBlt, DrvCopyBits, DrvStretchBlt, DrvTextOut,
DrvFillPath, DrvStrokePath, DrvStrokeAndFillPath, and DrvLineTo.
How would the application get data onto the driver's surfaces?
--
Matt Kane
mkane@zebra.camel.com minus cigarettes Tag: driver verifier makes DMA impossible (cont.) Tag: 53373
WDM driver and services
What are the things that one needs to consider when interacting with a user
mode component( say with a service EXE) from a WDM streaming driver.
Basically, the service si started before the logon and it makes an IOCTL to
the driver with the necessary data. It also wants to create an Event that the
driver would call whenever it needs data and waits on the event so that when
the event is triggered, it does an IOCTL(KssyncrhroniseDeviceControl through
a cutom property set) and then goes back into Wait mode for the event to
signal.
How would this be done ? Just implementing a pending IRP wont do as there
are no IRP's, but SRB's and the WMD streaming driver would only interact with
the Stream Class driver.
Does, the WDM driver need to implement EVENT_SETS(I guess not) ? Because, in
this case, the service can Create an Event and send that event handle to the
WDM driver and wait on it to get into signalled state ?
so if thats the right approach, what does the WDM streaming driver need to
do to handle this scenario and signal the event, whenever it needs some data.
Thanks. Tag: driver verifier makes DMA impossible (cont.) Tag: 53369
Device CoInstaller
Hello,
Following the toaster example in the Windows XP DDK, I have been able to
make a device co-installer and have had my inf file register it properly. I
am handling the DIF_ADDPROPERTYPAGE_ADVANCED event, but am unable to get my
property page to show up. If I make it a class installer, I can get the page
to show up (this is the specific example in the DDK, whereas I want to have
it device specific). I get no errors, and everything seems to be as the DDK
describes, but the page simply does not show up. Am I having the page get
added to the wrong device instance (though I only have 1 enumerated)? Does
anyone have any additional examples where this is being done for a device
co-installer?
Thanks,
Abe Krebs Tag: driver verifier makes DMA impossible (cont.) Tag: 53363
how to notify?
Hello all,
From time to time I want to send some data from NDIS driver to user-mode
application.
How can I do it?
The first thing that comes up to my mind is to create a device with
NdisMRegisterDevice and query it in a loop from user-mode program. But this
will take some processor resources...
Are there any other ways to receive notifications from driver?
What I need is a two-way pipe between driver and user-mode application.
Thanks.
Best regards,
Serge. Tag: driver verifier makes DMA impossible (cont.) Tag: 53362
Exuuidcreate() function
All,
Other than timestamp and ethernet mac address what other components
microsoft uses to create the guid, in Exuuidcreate() function.
The reason i am asking is, if two machines have virtual ethernet adapter and
have the same commmon mac address. Tag: driver verifier makes DMA impossible (cont.) Tag: 53360
application name
Hello all,
Is there any way to determine what user-mode application caused a trafic
from NDIS IM driver? In other words, I want to get "c:\program
files\internet explorer\iexplore.exe" string when I acceess any website with
IE.
I would appreciate any thoughts about how this can be implemented.
Thanks.
Best regards,
Serge. Tag: driver verifier makes DMA impossible (cont.) Tag: 53354
=?ISO-8859-1?Q?Compilaton_Piofake_Walter_Oney=B4s_sample?=
I have a WinXP ddk and I´m trying to compilate Walter Oney´s sample in
the Command prompt with the build command(because i tryied to make the
changes into the VC++6 and I receive a message saing that the Compiler
version is not supported by Windows DDK) and it compilates ok, but the
result is a driver with 10k and the original that came with the book
has 136k.
And just the original driver works when the createfile is called in
the user code.
What is the problem?
thanks in advance. Tag: driver verifier makes DMA impossible (cont.) Tag: 53352
WDM driver for WinXP writefile and readfile error
Hello all,
Well I´m learning how wdm drivers work and reading Walter Oney´s book,
I was testing the driver and I can create a handle to the driver
normaly but when I try to read or to write to the driver I receive an
error.
an the getlasterror function returns me 1 (Incorrect function).
I have already added the driver into the system with the inf file.
What it is missing? or what could be the mistake?
HANDLE hdevice = CreateFile("\\\\.\\piofake"/, GENERIC_READ |
GENERIC_WRITE, 0, NULL, OPEN_EXISTING, 0, NULL);
if (hdevice == INVALID_HANDLE_VALUE)
{
printf("Can't open PIOFAKE device - %d\n", GetLastError());
return 1;
}
// Read what's left in buffer
DWORD TxdBytes;
char *Rvalue;
Rvalue = new char[10];
if( !ReadFile(hdevice, &Rvalue, 3, &TxdBytes, NULL) )
{
printf("Could not read value %d\n", GetLastError());
} Tag: driver verifier makes DMA impossible (cont.) Tag: 53348
ExAllocatePool error into .lib
Hi all,
I'm calling the function 'GenericRegisterInterface' into generic.lib (Walter
Oney's framework)
This function tries allocate a small (36 bytes) NonPagedPool and fails.
But, just after the call to 'GenericRegisterInterface' others allocations
work fine.
What's the problem with ExAllocatePool in functions imported from a lib?
Thanks Very Much
Edgard Lima
edgard.lima@cin.ufpe.br
GenericRegisterInterface(pdx->pgx, &GUID_DEVINTERFACE_WAYTSUSB);
void *p;
if ( p = ExAllocatePool(NonPagedPool, 36) ) {
KdPrint((DRIVERNAME " - Allocated 36\n"));
ExFreePool(p);
if ( p = ExAllocatePool(NonPagedPool, 128) ) {
KdPrint((DRIVERNAME " - Allocated 128\n"));
ExFreePool(p);
if ( p = ExAllocatePool(NonPagedPool, 1024) ) {
KdPrint((DRIVERNAME " - Allocated 1024\n"));
ExFreePool(p);
if ( p = ExAllocatePool(NonPagedPool, 2048) ) {
KdPrint((DRIVERNAME " - Allocated 2048\n"));
ExFreePool(p);
}
}
}
} Tag: driver verifier makes DMA impossible (cont.) Tag: 53347
driver signing
I need sign my driver.
So, where can I buy digital certificate in x.509 format. This must by a
authorisation centrum accepted by Mycrosoft. I can't make WHQL tests in
Microsoft., This is very specyfic device not compatybile with any class. Tag: driver verifier makes DMA impossible (cont.) Tag: 53339
Question on porting the USB driver from Windows 2000 to Windows 98
Hoi,
I have a USB driver like this(quoted from the driver user guide, a little
bit complicated):
---------------------------------------------------------------
The USB host driver runs on Windows 2000 and Windows XP platforms. It
simulates two types of legacy functions or devices over USB: modem and serial
port. The driver accepts the following:
* Single-function device â?? includes the USB modem and the simulated legacy
serial port device
* Composite device â?? consists of a logical modem and a logical serial port
device
Although the driver is designed to work with the device compliant to USB CDC
1.1 Abstract Control Model (ACM), it accepts standard USB CDC ACM descriptors
as well as AAA vendor-specific descriptors. (here, AAA stands for the company
name)
---------------------------------------------------------------
Do you think it can be ported to Windows 98 SE without major changes(e.g.,
have to change the driver model from WDM to VxD)?
If yes, modify the existing driver source code so that it could be compiled
under 98DDK successfully, or use Walter Oney's WDMSTUB technique?
which method is possible and easier?
Good Day~~ Tag: driver verifier makes DMA impossible (cont.) Tag: 53335
"net start ntice"reports "system error 31 has occured"
The question in the subject.
The problem appeared after I HCT.
But! It remains even I rectory the OS by GHOST !?!
How it's possible ?!?
Any recomendation. Please.
Full text:
>net start ntice
System error 31 has occurred.
A device attached to the system is not functioning.
PS. It's seen such as SIWVID is not started... Tag: driver verifier makes DMA impossible (cont.) Tag: 53333
Storing filter rules for NDIS Intermediate Driver
Hello,
I want to filter outgoing packets with some simple filter rules. Do I
really need to implement an IOCTL Interface or is there a way to
implement a simple dynamic data structure in kernel space where I can
store the filter rules?
I thought about sending the rules by an application via a
configuration packet filtered by the driver, so the problem only
relates to the data structure. Tag: driver verifier makes DMA impossible (cont.) Tag: 53331
winCE driver
hai,
experts plz help me..... i am a beginer in driver side. plz help me to
test a driver. how can we test a device driver that given with the winCE
platform builder.
plz help................. Tag: driver verifier makes DMA impossible (cont.) Tag: 53330
USB to IDE in 2003
Here I am developing the USB to IDE device. A strange problem happened in
server 2003 is that the disk drive will not be showed "the first time" in
the explorer when I connected my device to host. It is not showed until I
assign the drive number to it. On other Windows, the disk drive will be
automatically assigned by OS.
I found that the disk drive will be automatically assigned if I set the
RMB(Removable Medium Bit) in the SCSI Inquiry just like the USB card reader.
If I clear this bit in case of connecting HD, the disk drive will not be
assigned unless I manually assign it. Why this happened? Is there any
solution? Tag: driver verifier makes DMA impossible (cont.) Tag: 53329
Port redirection using Remote desktop
Hi,
When "Serial Port" redirection is enabled for TS sessions over the WAN,
writting to PORT using WriteFile is slow. But same works fine over LAN.
Is there any settings needs to be done to improve the performance ?
Client (placed remotely) is using remote desktop to connect to windows
server 2003. Pole display device is attached to his local WS.
We use CreateFile & WriteFile WINAPIs for Pole Display. These works but only
issue is, it is slow when accessing it over the WAN.
Thanks in advanced, Tag: driver verifier makes DMA impossible (cont.) Tag: 53326
driver with timestamp (nanoseconds)
Hi,
I am seeking for a driver with a
high resolution timestamp (nanosecond).
Who can tell me an example or links?
Thanks michael Tag: driver verifier makes DMA impossible (cont.) Tag: 53324
Is WinXP SP2 support WPA2?
WPS ddk says:
Authentication modes of WPA2 and WPA2PSK are currently not supported in
Windows XP with SP2 and Windows Server 2003 with SP1.
So that means Win XP sp2 does not support WPA2 now? If yes, when will
Microsoft publish WPA2 supplicant?
Regards,
RedOctober Tag: driver verifier makes DMA impossible (cont.) Tag: 53323
About ACPI driver
By device tree ,we can see more PDO and FDO created by ACPI driver .
What's the function of ACPI driver?
When does the ACPI should create the PDO or FDO?
What decide it?
Regards.
zengfeng. Tag: driver verifier makes DMA impossible (cont.) Tag: 53322
Win9x/Me printer driver
Hello,
I like to setup my printer driver buiding environment for Win98.
What version of Visual C++ should I use?
Do I still need to install SDK?
thanks. Tag: driver verifier makes DMA impossible (cont.) Tag: 53321
Bug in Windows IrDA stack (VFIR)!
Hi ,
The Windows IrDA stack (IrLAP) does not accept a
Windows Size greater than 7. For VFIR the Window
Size can be any value from 1 to 127.
Is there a fix for the IrLAP driver?
Thanks,
Milton Tag: driver verifier makes DMA impossible (cont.) Tag: 53319
How to access mapped memory from kernel driver
Hello,
This is probably a very simple thing, but somehow i can not find any
examples on the internet dealing with direct memory access.
I have embeded board that has battery backed memory - this memory is linked
to ram (like video RAM) and it is located at D000:0000 (in DOS like format)
I can access this memory from dos and i also can access this memory from
winDriver utility and other utilities dealing with memory access from
windows XP.
however in my kernel driver I'm getting
Access violation - code c0000005 (!!! second chance !!!) error on any
attempt to acces this memory range.
I have portions of my driver accessing ports - this works fine so I'm really
lost here.
this is what I'm doing:
in driver entry:
PHYSICAL_ADDRESS MemAddress;
ULONG MemLength;
MemAddress.HighPart = 0x00000; MemAddress.LowPart = 0x0D0000; //NVRam Base
Address (d000:0000, 4 kb window)
MemLength=0x1000; //4kb window
......
ResourceList.List[0].PartialResourceList.PartialDescriptors[1].Type =
CmResourceTypeMemory;
ResourceList.List[0].PartialResourceList.PartialDescriptors[1].Flags =
CM_RESOURCE_MEMORY_READ_WRITE;
ResourceList.List[0].PartialResourceList.PartialDescriptors[1].ShareDisposit
ion = CmResourceShareDriverExclusive;
ResourceList.List[0].PartialResourceList.PartialDescriptors[1].u.Memory.Star
t = MemAddress;
ResourceList.List[0].PartialResourceList.PartialDescriptors[1].u.Memory.Leng
th = MemLength;
.....
devExt->MemLength =MemLength;
HalTranslateBusAddress(Isa,0,MemAddress,&MemType,&MappedAddress);
devExt->MemBase = MmMapIoSpace(MappedAddress, MemLength,
MmNonCached);
...
works with no erros
the value of devExt->MemBase is set to something like ( F416F000 or F4526000
and so on - it it helps to understand my problem)
in reading IOCTL i'm doing this:
*(PUCHAR)pIOBuffer = READ_REGISTER_UCHAR((PUCHAR)((ULONG)devExt->MemBase
+ 0x00) );
and it giving me Access violation - code c0000005 (!!! second chance !!!)
nt!READ_REGISTER_UCHAR+0x4:
80516ef8 8a02 mov al,[edx]
Actually the best way for me is to access this memory just by pointer,
something like
varchar=*((PUCHAR)((ULONG)devExt->MemBase+Some_Seed));
this also do not work , with same error
what am I doing wrong? Also, should I setup and use DMA instead??
Thank you
Alex Novikov Tag: driver verifier makes DMA impossible (cont.) Tag: 53318
PsSetCreateProcessNotifyRoutine
What is the problem with unloading a driver that called
PsSetCreateProcessNotifyRoutine? I've heard there was a bug in Windows with
leaving the hook in the list even after unregistering. Wasn't that bug fixed
in Win2k or XP? Unloading seems to work fine on XP.
Cheers,
Pete Tag: driver verifier makes DMA impossible (cont.) Tag: 53316
SetupCopyOEMInf
SetupCopyOEMInf does not recopy the file if it finds that a binary image of
the specified INF file already exists in the INF directory with the same
name or a name of the form OEM*.INF.
My question is:
If I wanted to replace the INF file and OEM file every time installing the
driver, what method or function call I need to use in order to make this
happen?
I used CopyFile() to copy the INF file while installing but it pop up the
window asking for the DLL file and I don't want the pop up either, it
suppose to be silent install.
I also tried SetupCopyOEMInf(szInfFullPath2, NULL, SPOST_PATH,
SP_COPY_REPLACEONLY, szInfNameAfterCopy, MAX_PATH, NULL, NULL)
to replace the INF file and I got error code 0x80070002
Any help are apreciated,
Thanks,
Hannah. Tag: driver verifier makes DMA impossible (cont.) Tag: 53315
1394 + WinXP SP2
Hi All!
Unfortunately, I'm a total newb to driver development and I have a broken
driver that I have no idea whats going wrong.
Its a 1394 isocronous camera driver that was developed on W2K but had been
working on XP until SP2 was released. Now the driver will no longer load
itself.
The failure occurs on IOCallDriver which returns 0xC0120090. The error is
defined as STATUS_FLOAT_INVALID_OPERATION. I can not determine what that
error means.
The driver is in the process of initializing an address space to receive
quadlet write requests (status messages) from the camera. An isochronous
channel and bandwidth has not yet been allocated at this point.
Any hints or clues would be greatly appreciated!
Regards,
John Tag: driver verifier makes DMA impossible (cont.) Tag: 53283
Where to find more detailed INF description?
Hi
I have the problem that I don't get usber.sys working on Windows ME. On Win2k
it works, but I guess that it's more luck than knowing what exactly goes on
(there are some good examples to find).
The key-problem is, that the i.e. registry entries are not fully specified
(what's possible in the Install section).
Does anybody know where to find a more detailed information about INF files,
i.e. what different registry entries are possible, or how to extract a default
driver from default Windows installation CD, etc?
Without additional information it will stay trial-and-error to complete the INF
file - but still: how to know about existing possibilities without having a
description about it?
Many thanks for help
Holi Tag: driver verifier makes DMA impossible (cont.) Tag: 53280
SoftIce with Driver Verifier problem...
This is a multi-part message in MIME format.
------=_NextPart_000_02ED_01C4AFA7.841E1620
Content-Type: text/plain;
charset="windows-1255"
Content-Transfer-Encoding: quoted-printable
After HCT installation SoftIce doesn't starting and reports:
>net start ntice
System error 31 has occurred.
A device attached to the system is not functioning.
The problem appears after HCT installation.
I guess, it's Driver Verifier and SoftIce incompatibility.
The deleting existing setting and reboot doesn't help!!!
1. Which driver support Driver Verifier such as I would change its Start =
option?
2. Can I close Verifier to wake up SoftIce?
Thanks for Help,
Michael.
------=_NextPart_000_02ED_01C4AFA7.841E1620
Content-Type: text/html;
charset="windows-1255"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Dwindows-1255">
<META content=3D"MSHTML 6.00.2800.1458" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY>
<DIV><FONT face=3DArial size=3D2>After HCT installation SoftIce doesn't =
starting and=20
reports:</FONT></DIV>
<DIV>
<DIV><FONT face=3DArial size=3D2><EM>>net start =
ntice</EM></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><EM>System error 31 has =
occurred.</EM></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><EM>A device attached to the system is =
not=20
functioning.</EM></FONT></DIV></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>The problem appears after HCT=20
installation.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>I guess, it's Driver Verifier and =
SoftIce=20
incompatibility.</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial size=3D2>The deleting existing setting and =
reboot doesn't=20
help!!!</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2><STRONG>1. Which driver support Driver =
Verifier=20
such as I would change its Start option?</STRONG></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><STRONG>2. Can I close Verifier =
to wake=20
up SoftIce?</STRONG></FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV><FONT face=3DArial =
size=3D2></FONT>
<DIV><BR><FONT face=3DArial size=3D2>Thanks for Help,</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Michael.</FONT></DIV></BODY></HTML>
------=_NextPart_000_02ED_01C4AFA7.841E1620-- Tag: driver verifier makes DMA impossible (cont.) Tag: 53277
How to set INF [DiskSourceName] for 9x os
I have inf file for miniport driver and I want to install that driver
silently everything else works perfectly but at start of installation it ask
to insert disk and I have to provide path of installation dir. Is there any
way out Tag: driver verifier makes DMA impossible (cont.) Tag: 53271
How to set up a USB driver to read an Interrupt End Point
Dear Experts,
I have a device with an interrupt endpoint where data can be
asynchronously sent by the device. To read this data, I have followed
the technic presented by Mr. Walter Oney in his book on WDM driver -
setup a End Point in transaction to be always pending on the desired
end point. This technic works functionally but reads data one byte by
one. This is slowing down my driver. I want to setup this pending IRP
to read as many bytes as are present in the EP buffer in one shot.
How do I do this? Do I simply set the IRP to read multiple bytes?
What will happen if the device has just one byte to be sent? Will this
not keep the IRP pending till the device has as many bytes of data as
requested? I do not want this to happen either - I want to read "as
many bytes as present at the time of issueing this IRP" without
waiting if less no. of bytes are present.
Thanks for any ideas.
Regards,
Ganesh Okade
Sunlux Technologies Ltd.
www.sunlux-india.com Tag: driver verifier makes DMA impossible (cont.) Tag: 53269
device driver missing or corrupted
I am using Windows XP SP1 on a HP Pavillion Desktop a335w & I am in desperate
need of help! My printer is not working, nor, my floppy disk! Keep getting
message Code 39 that device driver for my floppy disk is either missing or
corrupted & I do not know what to do as I cannot find a driver for this
anywhere. I'm very new to the computer world & have tons of errors, freezes,
etc. & cannot even do my updates. I thought I would start out with this
problem first becausre if I need to do backups before updates. Could someone
please give me some info ASAP; I'm @ my wits end! Thank you, JaJay Tag: driver verifier makes DMA impossible (cont.) Tag: 53268
Resume from suspend and USB storage driver may continue copying fi
Hi,
I'm writing a USB removable disk driver for WinXP.
I have a problem need to help. It is:
"Copy a large file from disk to a removable disk, then go to
suspend (S1 or
S3). After resume, it needs to finish file copy without any
error messages."
But the system returns error a message such as " Cannot Copy filexxxx,
file
system error". Anyone can help me or give suggestions.
Thanks a lot.
Hsiang Hua,Chao
C-Media Inc. Tag: driver verifier makes DMA impossible (cont.) Tag: 53264
Installation under Windows Server 2003
I changed INF due to
http://www.microsoft.com/whdc/whql/resources/news/WHQLNews_032204.html
which tell how to forbid driver's installation under W2003 Server , but
driver installed without problems on it.
Some comments , did someone succeed in that ?
TIA
Arkady Tag: driver verifier makes DMA impossible (cont.) Tag: 53259
How to precisely control timing write I/O to lpt with driver?
can someone tell me how to precisely control timing to write I/O out to Lpt
with kernel mode driver?
I had compiled and modified a kernel mode parallel port driver, a user mode
dll to export I/O read and write, and a MFC application that issues I/O read
and write through the driver to an externel device connected to the parallel
port. Everything seem like ok, but when i use QueryPerformanceCounter and
QueryPerformanceFrequency api in the MFC application to obtain accurate
desired timing delay (in nanosecond accuracy), the application writing out a
waveform to the Lpt to the external device, may not appear as accurate as
desired. Sometime the delay appear longer, though most of the time it works
fine. In some computer it has such delay error appear at every particular
interval. And it will not produce a desired delay when a CD or music is
played at the computer.
below is the source code:
do{
BOOL bResult = ::QueryPerformanceCounter(&liCurrentCnt);
if(liCurrentCnt.QuadPart < liBeginCnt.QuadPart)
{
AfxMessageBox("Error occured in timing!"); // never happen
break;
}
}while(liCurrentCnt.QuadPart < liMaxBoundCnt.QuadPart);
Is there any solution to this problem?
Is there any method in kernel mode driver, that I can hog the CPU processing
for a certain amount of time?
Or is there any way can I put my application thread or driver service
routine to the highest priority that no other software can interrupt it?
Can anyone please help? Tag: driver verifier makes DMA impossible (cont.) Tag: 53258