Please let me know where i can find the PCI sample drivers for XP.

Re: Looking for a PCI sample driver for XP by Don

Don
Tue Dec 11 05:34:53 PST 2007

Take a look at PCIDRV sample from the WDK.


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


"Senthil" <ecedhil@gmail.com> wrote in message
news:259a25e2-782f-4ab9-bc21-7e2f1aac9767@f3g2000hsg.googlegroups.com...
> Please let me know where i can find the PCI sample drivers for XP.



Re: Looking for a PCI sample driver for XP by Senthil

Senthil
Wed Dec 12 00:38:10 PST 2007

Hi Don,

Thanks for the Help.
I have a WinDDK of XP which is released in May2003 ...
I am not able to find this example in this driver.

Please let me know which version of DDK do I need.

On Dec 11, 6:34 pm, "Don Burn" <b...@stopspam.windrvr.com> wrote:
> Take a look at PCIDRV sample from the WDK.
>
> --
> 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
>
> "Senthil" <eced...@gmail.com> wrote in message
>
> news:259a25e2-782f-4ab9-bc21-7e2f1aac9767@f3g2000hsg.googlegroups.com...
>
>
>
> > Please let me know where i can find the PCI sample drivers for XP.- Hide quoted text -
>
> - Show quoted text -


Re: Looking for a PCI sample driver for XP by Stephan

Stephan
Wed Dec 12 01:21:07 PST 2007

On Dec 12, 9:38 am, Senthil <eced...@gmail.com> wrote:
> Please let me know which version of DDK do I need.

Get the latest WDK here:

http://www.microsoft.com/whdc/DevTools/ddk/

Older DDKs are available through MSDN.

Stephan

Re: Looking for a PCI sample driver for XP by Senthil

Senthil
Tue Jan 15 01:33:15 CST 2008

Hi ,

I am trying to debug the PCI sample available in the DDK using windbg.
I am not able to map the symbol file the >pdb file for this.
Please let me know how I can proceed with this.

Regards,
Senthil.

Re: Looking for a PCI sample driver for XP by Maxim

Maxim
Tue Jan 15 05:31:43 CST 2008

Put PDB to some directory, and ensure it is in the WinDbg's symbol path.

Then do:

.reload /f mydriver.sys
x mydriver!*

the latter should print all symbols.

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

"Senthil" <ecedhil@gmail.com> wrote in message
news:9213ef19-7465-4d2f-a4fe-559b4c5798a8@k2g2000hse.googlegroups.com...
> Hi ,
>
> I am trying to debug the PCI sample available in the DDK using windbg.
> I am not able to map the symbol file the >pdb file for this.
> Please let me know how I can proceed with this.
>
> Regards,
> Senthil.


Re: Looking for a PCI sample driver for XP by Senthil

Senthil
Tue Jan 15 22:18:31 CST 2008

On Jan 15, 4:31=A0pm, "Maxim S. Shatskih" <ma...@storagecraft.com>
wrote:
> =A0 =A0 Put PDB to some directory, and ensure it is in the WinDbg's symbol=
path.
>
> =A0 =A0 Then do:
>
> =A0 =A0 =A0 =A0 .reload /f mydriver.sys
> =A0 =A0 =A0 =A0 x mydriver!*
>
> =A0 =A0 the latter should print all symbols.
>
> --
> Maxim Shatskih, Windows DDK MVP
> StorageCraft Corporation
> ma...@storagecraft.comhttp://www.storagecraft.com
>
> "Senthil" <eced...@gmail.com> wrote in message
>
> news:9213ef19-7465-4d2f-a4fe-559b4c5798a8@k2g2000hse.googlegroups.com...
>
>
>
> > Hi ,
>
> > I am trying to debug the PCI sample available in the DDK using windbg.
> > I am not able to map the symbol file the >pdb file for this.
> > Please let me know how I can proceed with this.
>
> > Regards,
> > Senthil.- Hide quoted text -
>
> - Show quoted text -

Hi Maxim ,

Thanks for the reply.
I have copied the contents of the .sys and pdb file from \WinDDK
\6000\src\kmdf\pcidrv\sys\hw\objchk_wxp_x86\i386 to D:/PCI.
and here is the result when I try to do the steps

kd> .sympath
Symbol search path is: SRV*d:\DebugSymbols*http://msdl.microsoft.com/
download/symbols;d:\PCI
kd> .reload /f PCIDRV.sys



"PCIDRV.sys" was not found in the image list.
Debugger will attempt to load "PCIDRV.sys" at given base 00000000.

Please provide the full image name, including the extension (i.e.
kernel32.dll)
for more reliable results.Base address and size overrides can be given
as
=2Ereload <image.ext>=3D<base>,<size>.
DBGENG: PCIDRV.sys - Partial symbol image load missing image info
DBGHELP: No header for PCIDRV.sys. Searching for dbg file
DBGHELP: d:\PCI\PCIDRV.dbg - file not found
DBGHELP: d:\PCI\sys\PCIDRV.dbg - path not found
DBGHELP: d:\PCI\symbols\sys\PCIDRV.dbg - path not found
DBGHELP: .\PCIDRV.dbg - file not found
DBGHELP: .\sys\PCIDRV.dbg - path not found
DBGHELP: .\symbols\sys\PCIDRV.dbg - path not found
DBGHELP: PCIDRV.sys missing debug info. Searching for pdb anyway
DBGHELP: Can't use symbol server for PCIDRV.pdb - no header
information available
DBGHELP: PCIDRV - private symbols & lines
d:\PCI\PCIDRV.pdb - unmatched
Unable to add module at 00000000


I dont have an dbg file in this folder.

Regards,
Senthil.

Re: Looking for a PCI sample driver for XP by Maxim

Maxim
Wed Jan 16 09:45:12 CST 2008

> d:\PCI\PCIDRV.pdb - unmatched

Old PDB mismatching the current SYS

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


Re: Looking for a PCI sample driver for XP by Senthil

Senthil
Tue Jan 22 00:02:32 CST 2008

On Jan 16, 8:45=A0pm, "Maxim S. Shatskih" <ma...@storagecraft.com>
wrote:
> > =A0 =A0 =A0 =A0 d:\PCI\PCIDRV.pdb - unmatched
>
> Old PDB mismatching the current SYS
>
> --
> Maxim Shatskih, Windows DDK MVP
> StorageCraft Corporation
> ma...@storagecraft.comhttp://www.storagecraft.com

Hi,

I tried reinstalling the DDK and rebuild the PCI drive folder in the
client machine.
Then I installed the same driver in the target machine.
Then also I am getting the same result. There is no change in
behaviour when I do the .reload.

Senthil.

Re: Looking for a PCI sample driver for XP by David

David
Tue Jan 22 00:23:22 CST 2008

What is the version of the driver that is loaded? If it isn't the current
date, then maybe system file protection is protecting that driver. Read the
newsgroups and documentation for ways to replace the driver with your own
version. If the version being currently used is not the same as the one
shipped with the version of XP you are using, probably SP2, then a Windows
Update may have replaced it and the source won't enable you to build an
identical version.

"Senthil" <ecedhil@gmail.com> wrote in message
news:44fa2a74-99b1-40f0-8dda-c2f3c2511514@p69g2000hsa.googlegroups.com...
On Jan 16, 8:45 pm, "Maxim S. Shatskih" <ma...@storagecraft.com>
wrote:
> > d:\PCI\PCIDRV.pdb - unmatched
>
> Old PDB mismatching the current SYS
>
> --
> Maxim Shatskih, Windows DDK MVP
> StorageCraft Corporation
> ma...@storagecraft.comhttp://www.storagecraft.com

Hi,

I tried reinstalling the DDK and rebuild the PCI drive folder in the
client machine.
Then I installed the same driver in the target machine.
Then also I am getting the same result. There is no change in
behaviour when I do the .reload.

Senthil.



Re: Looking for a PCI sample driver for XP by Mark

Mark
Fri Jan 25 12:36:15 CST 2008

On Jan 22, 1:02=A0am, Senthil <eced...@gmail.com> wrote:
> On Jan 16, 8:45=A0pm, "Maxim S. Shatskih" <ma...@storagecraft.com>
> wrote:
>
> > > =A0 =A0 =A0 =A0 d:\PCI\PCIDRV.pdb - unmatched
>
> > Old PDB mismatching the current SYS
>
> > --
> > Maxim Shatskih, Windows DDK MVP
> > StorageCraft Corporation
> > ma...@storagecraft.comhttp://www.storagecraft.com
>
> Hi,
>
> I tried reinstalling the DDK and rebuild the PCI drive folder in the
> client machine.
> Then I installed the same driver in the target machine.
> Then also I am getting the same result. There is no change in
> behaviour when I do the .reload.
>
> Senthil.

What makes you think that pcidrv.sys is even loaded? Do an lm command
in windbg and see if the driver has been loaded. Do you have the right
hardware plugged in? You need a Plx9xxx device for this driver.