On Sun, 2009-11-22 at 13:07 -0500, xxxxx@evitechnology.com wrote:
I would start by looking at \Windows\setupapi.log and see what it says.
The name of that file may have changed again, unfortunately.
Well… I turned on verbosity, so it says many things. Among other
things I delete the existing log and copy the one created after the
devcon update so it only has log points for the update. This turns out
to be 45+Kb, in 600 lines.
The ‘driver’ itself is (literally) nothing more than a DriverEntry that
calls an empty (no executable code) DeviceAdd function. A mere
skeleton.
Couple of interesting points in the log:
sig: {_VERIFY_FILE_SIGNATURE} 09:40:29.687
sig: Key = vbus.inf
sig: FilePath = z:\tmp\vbus.inf
sig: Catalog = z:\tmp\vbus.cat
! sig: Verifying file against specific (valid) catalog failed! (0x800b0109)
! sig: Error 0x800b0109: A certificate chain processed, but terminated in a root certificate which is not trusted by the trust provider.
But I also get this here:
sig: Using catalog ‘C:\Windows\system32\CatRoot{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\oem1.CAT’.
! sig: VerifyTrustFailed for C:\Windows\system32\DRIVERS\SETDAE0.tmp.
! sig: Error 0x800b0109: A certificate chain processed, but terminated in a root certificate which is not trusted by the trust provider.
So its not clear to me that this is a true error. Note I am using a test cert, and signing the
inf with that cert. I also change the version section date every day, which seems to be required
if I change a source and/or .inx file.
I also get:
dvi: {Restarting Devices} 09:40:46.140
dvi: Restart: PCI\VEN_11DA&DEV_2000&SUBSYS_11001AF4&REV_02\3&13C0B0C5&0&18
dvi: Restart complete.
! dvi: Device required reboot: Device has problem: 0x0c: CM_PROB_NORMAL_CONFLICT.
Which appears to be the issue at hand.
Note also that I am expecting a MSI, and I enable that in the .inf with:
[Vbus_Device.NT.AddReg]
; Use same security checks on relative opens
;HKR,DeviceCharacteristics,0x10001,0x0100
; Allow generic-all access to Built-in administrators and Local system
;HKR,Security,“D:P(A;;GA;;;BA)(A;;GA;;;SY)”
; MSI enablement.
HKR,Interrupt Management,0x00000010
HKR,Interrupt Management\MessageSignaledInterruptProperties,0x00000010
HKR,Interrupt Management\MessageSignaledInterruptProperties,MSISupported,0x00010001,1
Which, IIUC, is correct according to the documentation. But even if I comment the above (err, MSI parts) out,
I still fail with the same error in device manager.
Thanks,
-PWM