xenserver / win-xenbus

XenServer Windows Paravitual Bus Device Driver
BSD 2-Clause "Simplified" License
7 stars 16 forks source link

failed #34

Open answerfly opened 9 years ago

answerfly commented 9 years ago

Help! I have successfully compiled the repo win-xenbus,win-xennet,win-xeniface,win-xenvbd,win-xenvss,win-xenvif,win-xenguestagent and win-installer. However,when I install the xstools I failed. The error is "Failed to install drivers: Installation failed, too many retries , last error :1603. Who help me? Thanks.

smeisner commented 9 years ago

What version of Windows is this? And what bitness (32 or 64 bit)? Could you supply the Windows\inf\setupapi.dev.log (assuming this is Win7 or 8)?

answerfly commented 9 years ago

Hello. I installed the tools in a 32bit Win7 which run on xenserver 6.5 I guess the problem is caused by xenbus The log is shown as follows:

[Import Driver Package - C:\Program Files\Citrix\XenTools\XenBus\XenBus.inf] Section start 2014/10/10 15:58:34.528 cmd: C:\Windows\system32\MsiExec.exe -Embedding AFA17457A71BC1A485568CD0DF2932AD M Global\MSI0000 sto: Importing driver package into Driver Store: sto: Driver Store = C:\Windows\System32\DriverStore (Online | 6.1.7601) sto: Driver Package = C:\Program Files\Citrix\XenTools\XenBus\XenBus.inf sto: Architecture = x86 sto: Locale Name = neutral sto: Flags = 0x00000008 sto: Copying driver package files to 'C:\Windows\TEMP{3f1063ae-7b83-10ef-20cc-115dee707370}'. inf: Opened INF: 'C:\Program Files\Citrix\XenTools\XenBus\XenBus.inf' ([strings]) inf: Opened INF: 'C:\Program Files\Citrix\XenTools\XenBus\XenBus.inf' ([strings]) flq: {FILE_QUEUE_COPY} flq: CopyStyle - 0x00000000 flq: SourceRootPath - 'C:\Program Files\Citrix\XenTools\XenBus' flq: SourceFilename - 'xenbus.cat' flq: TargetDirectory- 'C:\Windows\TEMP{3f1063ae-7b83-10ef-20cc-115dee707370}' flq: {FILE_QUEUE_COPY exit(0x00000000)} flq: {FILE_QUEUE_COPY} flq: CopyStyle - 0x00000000 flq: SourceRootPath - 'C:\Program Files\Citrix\XenTools\XenBus' flq: SourceFilename - 'XenBus.inf' flq: TargetDirectory- 'C:\Windows\TEMP{3f1063ae-7b83-10ef-20cc-115dee707370}' flq: {FILE_QUEUE_COPY exit(0x00000000)} flq: {FILE_QUEUE_COPY} flq: CopyStyle - 0x00000000 flq: SourceRootPath - 'C:\Program Files\Citrix\XenTools\XenBus' flq: SourceFilename - 'xenbus.sys' flq: TargetDirectory- 'C:\Windows\TEMP{3f1063ae-7b83-10ef-20cc-115dee707370}' flq: {FILE_QUEUE_COPY exit(0x00000000)} flq: {FILE_QUEUE_COPY} flq: CopyStyle - 0x00000000 flq: SourceRootPath - 'C:\Program Files\Citrix\XenTools\XenBus' flq: SourceFilename - 'xenfilt.sys' flq: TargetDirectory- 'C:\Windows\TEMP{3f1063ae-7b83-10ef-20cc-115dee707370}' flq: {FILE_QUEUE_COPY exit(0x00000000)} flq: {FILE_QUEUE_COPY} flq: CopyStyle - 0x00000000 flq: SourceRootPath - 'C:\Program Files\Citrix\XenTools\XenBus' flq: SourceFilename - 'xen.sys' flq: TargetDirectory- 'C:\Windows\TEMP{3f1063ae-7b83-10ef-20cc-115dee707370}' flq: {FILE_QUEUE_COPY exit(0x00000000)} flq: {FILE_QUEUE_COPY} flq: CopyStyle - 0x00000000 flq: SourceRootPath - 'C:\Program Files\Citrix\XenTools\XenBus' flq: SourceFilename - 'xenbus_coinst.dll' flq: TargetDirectory- 'C:\Windows\TEMP{3f1063ae-7b83-10ef-20cc-115dee707370}' flq: {FILE_QUEUE_COPY exit(0x00000000)} flq: {_commit_file_queue} flq: CommitQ DelNodes=0 RenNodes=0 CopyNodes=6 flq: {_commit_copy_subqueue} flq: subqueue count=6 flq: source media: flq: SourcePath - [C:\Program Files\Citrix\XenTools\XenBus] flq: SourceFile - [xenbus.cat] flq: Flags - 0x00000000 flq: {_commit_copyfile} flq: CopyFile: 'C:\Program Files\Citrix\XenTools\XenBus\xenbus.cat' flq: to: 'C:\Windows\TEMP{3f1063ae-7b83-10ef-20cc-115dee707370}\SETF2C.tmp' flq: MoveFile: 'C:\Windows\TEMP{3f1063ae-7b83-10ef-20cc-115dee707370}\SETF2C.tmp' flq: to: 'C:\Windows\TEMP{3f1063ae-7b83-10ef-20cc-115dee707370}\xenbus.cat' flq: {_commit_copyfile exit OK} flq: {_commit_copyfile} flq: CopyFile: 'C:\Program Files\Citrix\XenTools\XenBus\XenBus.inf' flq: to: 'C:\Windows\TEMP{3f1063ae-7b83-10ef-20cc-115dee707370}\SETF3D.tmp' flq: MoveFile: 'C:\Windows\TEMP{3f1063ae-7b83-10ef-20cc-115dee707370}\SETF3D.tmp' flq: to: 'C:\Windows\TEMP{3f1063ae-7b83-10ef-20cc-115dee707370}\XenBus.inf' flq: {_commit_copyfile exit OK} flq: {_commit_copyfile} flq: CopyFile: 'C:\Program Files\Citrix\XenTools\XenBus\xenbus.sys' flq: to: 'C:\Windows\TEMP{3f1063ae-7b83-10ef-20cc-115dee707370}\SETF3E.tmp' flq: MoveFile: 'C:\Windows\TEMP{3f1063ae-7b83-10ef-20cc-115dee707370}\SETF3E.tmp' flq: to: 'C:\Windows\TEMP{3f1063ae-7b83-10ef-20cc-115dee707370}\xenbus.sys' flq: {_commit_copyfile exit OK} flq: {_commit_copyfile} flq: CopyFile: 'C:\Program Files\Citrix\XenTools\XenBus\xenfilt.sys' flq: to: 'C:\Windows\TEMP{3f1063ae-7b83-10ef-20cc-115dee707370}\SETF3F.tmp' flq: MoveFile: 'C:\Windows\TEMP{3f1063ae-7b83-10ef-20cc-115dee707370}\SETF3F.tmp' flq: to: 'C:\Windows\TEMP{3f1063ae-7b83-10ef-20cc-115dee707370}\xenfilt.sys' flq: {_commit_copyfile exit OK} flq: {_commit_copyfile} flq: CopyFile: 'C:\Program Files\Citrix\XenTools\XenBus\xen.sys' flq: to: 'C:\Windows\TEMP{3f1063ae-7b83-10ef-20cc-115dee707370}\SETF4F.tmp' flq: MoveFile: 'C:\Windows\TEMP{3f1063ae-7b83-10ef-20cc-115dee707370}\SETF4F.tmp' flq: to: 'C:\Windows\TEMP{3f1063ae-7b83-10ef-20cc-115dee707370}\xen.sys' flq: {_commit_copyfile exit OK} flq: {_commit_copyfile} flq: CopyFile: 'C:\Program Files\Citrix\XenTools\XenBus\xenbus_coinst.dll' flq: to: 'C:\Windows\TEMP{3f1063ae-7b83-10ef-20cc-115dee707370}\SETF50.tmp' flq: MoveFile: 'C:\Windows\TEMP{3f1063ae-7b83-10ef-20cc-115dee707370}\SETF50.tmp' flq: to: 'C:\Windows\TEMP{3f1063ae-7b83-10ef-20cc-115dee707370}\xenbus_coinst.dll' flq: {_commit_copyfile exit OK} flq: {_commit_copy_subqueue exit OK} flq: {_commit_file_queue exit OK} pol: {Driver package policy check} 15:58:34.638 pol: {Driver package policy check - exit(0x00000000)} 15:58:34.638 sto: {Stage Driver Package: C:\Windows\TEMP{3f1063ae-7b83-10ef-20cc-115dee707370}\XenBus.inf} 15:58:34.638 inf: Opened INF: 'C:\Windows\TEMP{3f1063ae-7b83-10ef-20cc-115dee707370}\XenBus.inf' ([strings]) inf: Opened INF: 'C:\Windows\TEMP{3f1063ae-7b83-10ef-20cc-115dee707370}\XenBus.inf' ([strings]) sto: Copying driver package files: sto: Source Path = C:\Windows\TEMP{3f1063ae-7b83-10ef-20cc-115dee707370} sto: Destination Path = C:\Windows\System32\DriverStore\Temp{161c94cb-d64a-04ac-9cbf-1066a57d3642} flq: {FILE_QUEUE_COPY} flq: CopyStyle - 0x00000010 flq: SourceRootPath - 'C:\Windows\TEMP{3f1063ae-7b83-10ef-20cc-115dee707370}' flq: SourceFilename - 'xenbus.cat' flq: TargetDirectory- 'C:\Windows\System32\DriverStore\Temp{161c94cb-d64a-04ac-9cbf-1066a57d3642}' flq: {FILE_QUEUE_COPY exit(0x00000000)} flq: {FILE_QUEUE_COPY} flq: CopyStyle - 0x00000010 flq: SourceRootPath - 'C:\Windows\TEMP{3f1063ae-7b83-10ef-20cc-115dee707370}' flq: SourceFilename - 'XenBus.inf' flq: TargetDirectory- 'C:\Windows\System32\DriverStore\Temp{161c94cb-d64a-04ac-9cbf-1066a57d3642}' flq: {FILE_QUEUE_COPY exit(0x00000000)} flq: {FILE_QUEUE_COPY} flq: CopyStyle - 0x00000010 flq: SourceRootPath - 'C:\Windows\TEMP{3f1063ae-7b83-10ef-20cc-115dee707370}' flq: SourceFilename - 'xenbus.sys' flq: TargetDirectory- 'C:\Windows\System32\DriverStore\Temp{161c94cb-d64a-04ac-9cbf-1066a57d3642}' flq: {FILE_QUEUE_COPY exit(0x00000000)} flq: {FILE_QUEUE_COPY} flq: CopyStyle - 0x00000010 flq: SourceRootPath - 'C:\Windows\TEMP{3f1063ae-7b83-10ef-20cc-115dee707370}' flq: SourceFilename - 'xenfilt.sys' flq: TargetDirectory- 'C:\Windows\System32\DriverStore\Temp{161c94cb-d64a-04ac-9cbf-1066a57d3642}' flq: {FILE_QUEUE_COPY exit(0x00000000)} flq: {FILE_QUEUE_COPY} flq: CopyStyle - 0x00000010 flq: SourceRootPath - 'C:\Windows\TEMP{3f1063ae-7b83-10ef-20cc-115dee707370}' flq: SourceFilename - 'xen.sys' flq: TargetDirectory- 'C:\Windows\System32\DriverStore\Temp{161c94cb-d64a-04ac-9cbf-1066a57d3642}' flq: {FILE_QUEUE_COPY exit(0x00000000)} flq: {FILE_QUEUE_COPY} flq: CopyStyle - 0x00000010 flq: SourceRootPath - 'C:\Windows\TEMP{3f1063ae-7b83-10ef-20cc-115dee707370}' flq: SourceFilename - 'xenbus_coinst.dll' flq: TargetDirectory- 'C:\Windows\System32\DriverStore\Temp{161c94cb-d64a-04ac-9cbf-1066a57d3642}' flq: {FILE_QUEUE_COPY exit(0x00000000)} flq: {_commit_file_queue} flq: CommitQ DelNodes=0 RenNodes=0 CopyNodes=6 flq: {_commit_copy_subqueue} flq: subqueue count=6 flq: source media: flq: SourcePath - [C:\Windows\TEMP{3f1063ae-7b83-10ef-20cc-115dee707370}] flq: SourceFile - [xenbus.cat] flq: Flags - 0x00000000 flq: {_commit_copyfile} flq: CopyFile: 'C:\Windows\TEMP{3f1063ae-7b83-10ef-20cc-115dee707370}\xenbus.cat' flq: to: 'C:\Windows\System32\DriverStore\Temp{161c94cb-d64a-04ac-9cbf-1066a57d3642}\SETF99.tmp' flq: MoveFile: 'C:\Windows\System32\DriverStore\Temp{161c94cb-d64a-04ac-9cbf-1066a57d3642}\SETF99.tmp' flq: to: 'C:\Windows\System32\DriverStore\Temp{161c94cb-d64a-04ac-9cbf-1066a57d3642}\xenbus.cat' flq: {_commit_copyfile exit OK} flq: {_commit_copyfile} flq: CopyFile: 'C:\Windows\TEMP{3f1063ae-7b83-10ef-20cc-115dee707370}\XenBus.inf' flq: to: 'C:\Windows\System32\DriverStore\Temp{161c94cb-d64a-04ac-9cbf-1066a57d3642}\SETFAA.tmp' flq: MoveFile: 'C:\Windows\System32\DriverStore\Temp{161c94cb-d64a-04ac-9cbf-1066a57d3642}\SETFAA.tmp' flq: to: 'C:\Windows\System32\DriverStore\Temp{161c94cb-d64a-04ac-9cbf-1066a57d3642}\XenBus.inf' flq: {_commit_copyfile exit OK} flq: {_commit_copyfile} flq: CopyFile: 'C:\Windows\TEMP{3f1063ae-7b83-10ef-20cc-115dee707370}\xenbus.sys' flq: to: 'C:\Windows\System32\DriverStore\Temp{161c94cb-d64a-04ac-9cbf-1066a57d3642}\SETFAB.tmp' flq: MoveFile: 'C:\Windows\System32\DriverStore\Temp{161c94cb-d64a-04ac-9cbf-1066a57d3642}\SETFAB.tmp' flq: to: 'C:\Windows\System32\DriverStore\Temp{161c94cb-d64a-04ac-9cbf-1066a57d3642}\xenbus.sys' flq: {_commit_copyfile exit OK} flq: {_commit_copyfile} flq: CopyFile: 'C:\Windows\TEMP{3f1063ae-7b83-10ef-20cc-115dee707370}\xenfilt.sys' flq: to: 'C:\Windows\System32\DriverStore\Temp{161c94cb-d64a-04ac-9cbf-1066a57d3642}\SETFBC.tmp' flq: MoveFile: 'C:\Windows\System32\DriverStore\Temp{161c94cb-d64a-04ac-9cbf-1066a57d3642}\SETFBC.tmp' flq: to: 'C:\Windows\System32\DriverStore\Temp{161c94cb-d64a-04ac-9cbf-1066a57d3642}\xenfilt.sys' flq: {_commit_copyfile exit OK} flq: {_commit_copyfile} flq: CopyFile: 'C:\Windows\TEMP{3f1063ae-7b83-10ef-20cc-115dee707370}\xen.sys' flq: to: 'C:\Windows\System32\DriverStore\Temp{161c94cb-d64a-04ac-9cbf-1066a57d3642}\SETFBD.tmp' flq: MoveFile: 'C:\Windows\System32\DriverStore\Temp{161c94cb-d64a-04ac-9cbf-1066a57d3642}\SETFBD.tmp' flq: to: 'C:\Windows\System32\DriverStore\Temp{161c94cb-d64a-04ac-9cbf-1066a57d3642}\xen.sys' flq: {_commit_copyfile exit OK} flq: {_commit_copyfile} flq: CopyFile: 'C:\Windows\TEMP{3f1063ae-7b83-10ef-20cc-115dee707370}\xenbus_coinst.dll' flq: to: 'C:\Windows\System32\DriverStore\Temp{161c94cb-d64a-04ac-9cbf-1066a57d3642}\SETFCD.tmp' flq: MoveFile: 'C:\Windows\System32\DriverStore\Temp{161c94cb-d64a-04ac-9cbf-1066a57d3642}\SETFCD.tmp' flq: to: 'C:\Windows\System32\DriverStore\Temp{161c94cb-d64a-04ac-9cbf-1066a57d3642}\xenbus_coinst.dll' flq: {_commit_copyfile exit OK} flq: {_commit_copy_subqueue exit OK} flq: {_commit_file_queue exit OK} sto: {DRIVERSTORE_IMPORT_NOTIFY_VALIDATE} 15:58:34.731 inf: Opened INF: 'C:\Windows\System32\DriverStore\Temp{161c94cb-d64a-04ac-9cbf-1066a57d3642}\XenBus.inf' ([strings]) sig: {_VERIFY_FILE_SIGNATURE} 15:58:34.747 sig: Key = XenBus.inf sig: FilePath = C:\Windows\System32\DriverStore\Temp{161c94cb-d64a-04ac-9cbf-1066a57d3642}\XenBus.inf sig: Catalog = C:\Windows\System32\DriverStore\Temp{161c94cb-d64a-04ac-9cbf-1066a57d3642}\xenbus.cat flq: {SPFILENOTIFY_CABINETINFO} flq: {SPFILENOTIFY_CABINETINFO - exit(0x00000000)} flq: {SPFILENOTIFY_FILEEXTRACTED} flq: {SPFILENOTIFY_FILEEXTRACTED - exit(0x00000000)} flq: {SPFILENOTIFY_CABINETINFO} flq: {SPFILENOTIFY_CABINETINFO - exit(0x00000000)} flq: {SPFILENOTIFY_FILEEXTRACTED} flq: {SPFILENOTIFY_FILEEXTRACTED - exit(0x00000000)} ! 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. sig: {_VERIFY_FILE_SIGNATURE exit(0x800b0109)} 15:58:34.825 sig: {_VERIFY_FILE_SIGNATURE} 15:58:34.825 sig: Key = XenBus.inf sig: FilePath = C:\Windows\System32\DriverStore\Temp{161c94cb-d64a-04ac-9cbf-1066a57d3642}\XenBus.inf sig: Catalog = C:\Windows\System32\DriverStore\Temp{161c94cb-d64a-04ac-9cbf-1066a57d3642}\xenbus.cat ! sig: Verifying file against specific Authenticode(tm) catalog failed! (0x800b0109) ! sig: Error 0x800b0109: A certificate chain processed, but terminated in a root certificate which is not trusted by the trust provider. sig: {_VERIFY_FILE_SIGNATURE exit(0x800b0109)} 15:58:34.840 !!! sto: Catalog signer is untrusted. No error message will be displayed as client is running in non-interactive mode. !!! ndv: Driver package failed signature validation. Error = 0xE0000247 sto: {DRIVERSTORE_IMPORT_NOTIFY_VALIDATE exit(0xe0000247)} 15:58:34.840 !!! sto: Driver package failed signature verification. Error = 0xE0000247 !!! sto: Failed to import driver package into Driver Store. Error = 0xE0000247 sto: {Stage Driver Package: exit(0xe0000247)} 15:58:34.872 !!! sto: Failed to stage driver package to Driver Store. Error = 0xE0000247, Time = 265 ms <<< Section end 2014/10/10 15:58:34.887 <<< [Exit status: FAILURE(0xe0000247)]

pauldu commented 9 years ago

Your problem is clearly with lack of driver signature. The drivers are each signed with their own test cert and I believe that, by default, building the installer will leave these alone. IIRC the installer build scripts do have the ability to re-sign the drivers with your own cert but if this is not done then you will need to install the individual driver certs on your test system and turn on test signing.

answerfly commented 9 years ago

Thank you very much