Re: Assert in pci.sys

Tech-Archive recommends: Speed Up your PC by fixing your registry



"Michael" <Michael@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message news:0A928337-ECE0-45B1-9334-EE251DF7D638@xxxxxxxxxxxxxxxx
I have a PCIe x1 device that gets powered down in S3. When the system
resumes from S3, the memory space enable bit is not set in the config space,
and the BARs are no longer configured correctly. I replaced pci.sys with a
checked version, and turned on verbose logging. Pci.sys is asserting on
resume from S3. How can I determine the cause of this assert?

*** Assertion failed: (Offset >= PCI_COMMON_HDR_LENGTH) && ((Offset & 0x3) ==0)

As you can see - some offset is either < PCI_COMMON_HDR_LENGTH
(defined in wdm.h) or not aligned on 4 bytes. And this happens in PciReadDeviceCapability,
so it might be the PM capability.

--PA



.