Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🐛 BUG:Failed to setup adapter (problem code: 0x34) #1136

Open
futurecad opened this issue May 6, 2024 · 25 comments
Open

🐛 BUG:Failed to setup adapter (problem code: 0x34) #1136

futurecad opened this issue May 6, 2024 · 25 comments
Labels
WaitingForInfo Issue is not actionable because of missing required information, which needs to be provided.

Comments

@futurecad
Copy link

What version of nebula are you using? (nebula -version)

1.8.2

What operating system are you using?

windows

Describe the Bug

Failed to setup adapter (problem code: 0x34):The display device needs to be reinitialized due to a hardware error

Logs from affected hosts


Config files from affected hosts


@johnmaguire
Copy link
Collaborator

Hi @futurecad - please fill out the logs and config section and give a little more detail as to how you ran into this error. Thanks.

@johnmaguire johnmaguire added the WaitingForInfo Issue is not actionable because of missing required information, which needs to be provided. label May 7, 2024
@futurecad
Copy link
Author

time="2024-05-07T14:37:55+08:00" level=error msg="Failed to get a tun/tap device" error="create Wintun interface failed, create TUN device failed: Error creating interface: The device is not ready for use."
2024/05/07 14:37:40 Using existing driver 0.14
2024/05/07 14:37:40 Creating adapter
2024/05/07 14:37:55 Timed out waiting for device query: Waiting operation expired(Code 0x00000102)
2024/05/07 14:37:55 Failed to setup adapter (problem code: 0x38, ntstatus: 0x0): Device is not ready(Code 0x000010DF)

@johnmaguire
Copy link
Collaborator

johnmaguire commented May 12, 2024

@futurecad There is some info here that may be relevant to your issue: tailscale/tailscale#4225 (comment)

Can you provide logs from the referenced file? Also curious if any of the listed workarounds help.

@johnmaguire johnmaguire removed the WaitingForInfo Issue is not actionable because of missing required information, which needs to be provided. label May 12, 2024
@futurecad
Copy link
Author

I've seen this and I'm also looking for the specific impact.

@futurecad
Copy link
Author

Another problem I encountered was that the log reported an error failed to set address: Element not found.

@johnmaguire
Copy link
Collaborator

@futurecad Waiting on logs from C:\Windows\INF\setupapi.dev.log. Did any of the workarounds in the linked ticket help?

@johnmaguire johnmaguire added the WaitingForInfo Issue is not actionable because of missing required information, which needs to be provided. label May 20, 2024
@futurecad
Copy link
Author

[SetupCopyOEMInf - C:\Windows\Temp\85fe6ddfd4ae1779afdfd3dc49397016b94b1ff46d522c838a8f99705bb095c2\wintun.inf]
Section start 2024/04/18 10:28:57.683
cmd: C:\Users\71407232\Desktop\zkpt_sdp-windows\plugins\sdp-client.exe -config C:\Users\71407232\Desktop\zkpt_sdp-windows/conf/config.yml
sto: {Import Driver Package: C:\Windows\Temp\85fe6ddfd4ae1779afdfd3dc49397016b94b1ff46d522c838a8f99705bb095c2\wintun.inf} 10:28:57.752
sto: Importing driver package into Driver Store:
sto: Driver Store = C:\Windows\System32\DriverStore (Online | 6.1.7601)
sto: Driver Package = C:\Windows\Temp\85fe6ddfd4ae1779afdfd3dc49397016b94b1ff46d522c838a8f99705bb095c2\wintun.inf
sto: Architecture = amd64
sto: Locale Name = neutral
sto: Flags = 0x00000000
sto: Copying driver package files to 'C:\Users\71407232\AppData\Local\Temp{7a97c721-2345-1330-a8b5-4f08550e8502}'.
inf: Opened INF: 'C:\Windows\Temp\85fe6ddfd4ae1779afdfd3dc49397016b94b1ff46d522c838a8f99705bb095c2\wintun.inf' ([strings])
inf: Opened INF: 'C:\Windows\Temp\85fe6ddfd4ae1779afdfd3dc49397016b94b1ff46d522c838a8f99705bb095c2\wintun.inf' ([strings])
flq: {FILE_QUEUE_COPY}
flq: CopyStyle - 0x00000000
flq: SourceRootPath - 'C:\Windows\Temp\85fe6ddfd4ae1779afdfd3dc49397016b94b1ff46d522c838a8f99705bb095c2'
flq: SourceFilename - 'wintun.cat'
flq: TargetDirectory- 'C:\Users\71407232\AppData\Local\Temp{7a97c721-2345-1330-a8b5-4f08550e8502}'
flq: {FILE_QUEUE_COPY exit(0x00000000)}
flq: {FILE_QUEUE_COPY}
flq: CopyStyle - 0x00000000
flq: SourceRootPath - 'C:\Windows\Temp\85fe6ddfd4ae1779afdfd3dc49397016b94b1ff46d522c838a8f99705bb095c2'
flq: SourceFilename - 'wintun.inf'
flq: TargetDirectory- 'C:\Users\71407232\AppData\Local\Temp{7a97c721-2345-1330-a8b5-4f08550e8502}'
flq: {FILE_QUEUE_COPY exit(0x00000000)}
flq: {FILE_QUEUE_COPY}
flq: CopyStyle - 0x00000000
flq: SourceRootPath - 'C:\Windows\Temp\85fe6ddfd4ae1779afdfd3dc49397016b94b1ff46d522c838a8f99705bb095c2'
flq: SourceFilename - 'wintun.sys'
flq: TargetDirectory- 'C:\Users\71407232\AppData\Local\Temp{7a97c721-2345-1330-a8b5-4f08550e8502}'
flq: {FILE_QUEUE_COPY exit(0x00000000)}
flq: {_commit_file_queue}
flq: CommitQ DelNodes=0 RenNodes=0 CopyNodes=3
flq: {_commit_copy_subqueue}
flq: subqueue count=3
flq: source media:
flq: SourcePath - [C:\Windows\Temp\85fe6ddfd4ae1779afdfd3dc49397016b94b1ff46d522c838a8f99705bb095c2]
flq: SourceFile - [wintun.cat]
flq: Flags - 0x00000000
flq: {_commit_copyfile}
flq: CopyFile: 'C:\Windows\Temp\85fe6ddfd4ae1779afdfd3dc49397016b94b1ff46d522c838a8f99705bb095c2\wintun.cat'
flq: to: 'C:\Users\71407232\AppData\Local\Temp{7a97c721-2345-1330-a8b5-4f08550e8502}\SET3636.tmp'
flq: MoveFile: 'C:\Users\71407232\AppData\Local\Temp{7a97c721-2345-1330-a8b5-4f08550e8502}\SET3636.tmp'
flq: to: 'C:\Users\71407232\AppData\Local\Temp{7a97c721-2345-1330-a8b5-4f08550e8502}\wintun.cat'
flq: {_commit_copyfile exit OK}
flq: {_commit_copyfile}
flq: CopyFile: 'C:\Windows\Temp\85fe6ddfd4ae1779afdfd3dc49397016b94b1ff46d522c838a8f99705bb095c2\wintun.inf'
flq: to: 'C:\Users\71407232\AppData\Local\Temp{7a97c721-2345-1330-a8b5-4f08550e8502}\SET36B4.tmp'
flq: MoveFile: 'C:\Users\71407232\AppData\Local\Temp{7a97c721-2345-1330-a8b5-4f08550e8502}\SET36B4.tmp'
flq: to: 'C:\Users\71407232\AppData\Local\Temp{7a97c721-2345-1330-a8b5-4f08550e8502}\wintun.inf'
flq: {_commit_copyfile exit OK}
flq: {_commit_copyfile}
flq: CopyFile: 'C:\Windows\Temp\85fe6ddfd4ae1779afdfd3dc49397016b94b1ff46d522c838a8f99705bb095c2\wintun.sys'
flq: to: 'C:\Users\71407232\AppData\Local\Temp{7a97c721-2345-1330-a8b5-4f08550e8502}\SET3732.tmp'
flq: MoveFile: 'C:\Users\71407232\AppData\Local\Temp{7a97c721-2345-1330-a8b5-4f08550e8502}\SET3732.tmp'
flq: to: 'C:\Users\71407232\AppData\Local\Temp{7a97c721-2345-1330-a8b5-4f08550e8502}\wintun.sys'
flq: {_commit_copyfile exit OK}
flq: {_commit_copy_subqueue exit OK}
flq: {_commit_file_queue exit OK}
pol: {Driver package policy check} 10:28:58.647
pol: {Driver package policy check - exit(0x00000000)} 10:28:58.651
sto: {Stage Driver Package: C:\Users\71407232\AppData\Local\Temp{7a97c721-2345-1330-a8b5-4f08550e8502}\wintun.inf} 10:28:58.659
inf: Opened INF: 'C:\Users\71407232\AppData\Local\Temp{7a97c721-2345-1330-a8b5-4f08550e8502}\wintun.inf' ([strings])
inf: Opened INF: 'C:\Users\71407232\AppData\Local\Temp{7a97c721-2345-1330-a8b5-4f08550e8502}\wintun.inf' ([strings])
sto: Copying driver package files:
sto: Source Path = C:\Users\71407232\AppData\Local\Temp{7a97c721-2345-1330-a8b5-4f08550e8502}
sto: Destination Path = C:\Windows\System32\DriverStore\Temp{53418914-6312-38e1-4814-787e28d3a905}
flq: {FILE_QUEUE_COPY}
flq: CopyStyle - 0x00000010
flq: SourceRootPath - 'C:\Users\71407232\AppData\Local\Temp{7a97c721-2345-1330-a8b5-4f08550e8502}'
flq: SourceFilename - 'wintun.cat'
flq: TargetDirectory- 'C:\Windows\System32\DriverStore\Temp{53418914-6312-38e1-4814-787e28d3a905}'
flq: {FILE_QUEUE_COPY exit(0x00000000)}
flq: {FILE_QUEUE_COPY}
flq: CopyStyle - 0x00000010
flq: SourceRootPath - 'C:\Users\71407232\AppData\Local\Temp{7a97c721-2345-1330-a8b5-4f08550e8502}'
flq: SourceFilename - 'wintun.inf'
flq: TargetDirectory- 'C:\Windows\System32\DriverStore\Temp{53418914-6312-38e1-4814-787e28d3a905}'
flq: {FILE_QUEUE_COPY exit(0x00000000)}
flq: {FILE_QUEUE_COPY}
flq: CopyStyle - 0x00000010
flq: SourceRootPath - 'C:\Users\71407232\AppData\Local\Temp{7a97c721-2345-1330-a8b5-4f08550e8502}'
flq: SourceFilename - 'wintun.sys'
flq: TargetDirectory- 'C:\Windows\System32\DriverStore\Temp{53418914-6312-38e1-4814-787e28d3a905}'
flq: {FILE_QUEUE_COPY exit(0x00000000)}
flq: {_commit_file_queue}
flq: CommitQ DelNodes=0 RenNodes=0 CopyNodes=3
flq: {_commit_copy_subqueue}
flq: subqueue count=3
flq: source media:
flq: SourcePath - [C:\Users\71407232\AppData\Local\Temp{7a97c721-2345-1330-a8b5-4f08550e8502}]
flq: SourceFile - [wintun.cat]
flq: Flags - 0x00000000
flq: {_commit_copyfile}
flq: CopyFile: 'C:\Users\71407232\AppData\Local\Temp{7a97c721-2345-1330-a8b5-4f08550e8502}\wintun.cat'
flq: to: 'C:\Windows\System32\DriverStore\Temp{53418914-6312-38e1-4814-787e28d3a905}\SET3A0D.tmp'
flq: MoveFile: 'C:\Windows\System32\DriverStore\Temp{53418914-6312-38e1-4814-787e28d3a905}\SET3A0D.tmp'
flq: to: 'C:\Windows\System32\DriverStore\Temp{53418914-6312-38e1-4814-787e28d3a905}\wintun.cat'
flq: {_commit_copyfile exit OK}
flq: {_commit_copyfile}
flq: CopyFile: 'C:\Users\71407232\AppData\Local\Temp{7a97c721-2345-1330-a8b5-4f08550e8502}\wintun.inf'
flq: to: 'C:\Windows\System32\DriverStore\Temp{53418914-6312-38e1-4814-787e28d3a905}\SET3A7B.tmp'
flq: MoveFile: 'C:\Windows\System32\DriverStore\Temp{53418914-6312-38e1-4814-787e28d3a905}\SET3A7B.tmp'
flq: to: 'C:\Windows\System32\DriverStore\Temp{53418914-6312-38e1-4814-787e28d3a905}\wintun.inf'
flq: {_commit_copyfile exit OK}
flq: {_commit_copyfile}
flq: CopyFile: 'C:\Users\71407232\AppData\Local\Temp{7a97c721-2345-1330-a8b5-4f08550e8502}\wintun.sys'
flq: to: 'C:\Windows\System32\DriverStore\Temp{53418914-6312-38e1-4814-787e28d3a905}\SET3B57.tmp'
flq: MoveFile: 'C:\Windows\System32\DriverStore\Temp{53418914-6312-38e1-4814-787e28d3a905}\SET3B57.tmp'
flq: to: 'C:\Windows\System32\DriverStore\Temp{53418914-6312-38e1-4814-787e28d3a905}\wintun.sys'
flq: {_commit_copyfile exit OK}
flq: {_commit_copy_subqueue exit OK}
flq: {_commit_file_queue exit OK}
sto: {DRIVERSTORE_IMPORT_NOTIFY_VALIDATE} 10:28:59.561
inf: Opened INF: 'C:\Windows\System32\DriverStore\Temp{53418914-6312-38e1-4814-787e28d3a905}\wintun.inf' ([strings])
sig: {_VERIFY_FILE_SIGNATURE} 10:28:59.632
sig: Key = wintun.inf
sig: FilePath = C:\Windows\System32\DriverStore\Temp{53418914-6312-38e1-4814-787e28d3a905}\wintun.inf
sig: Catalog = C:\Windows\System32\DriverStore\Temp{53418914-6312-38e1-4814-787e28d3a905}\wintun.cat
sig: Success: File is signed in catalog.
sig: {_VERIFY_FILE_SIGNATURE exit(0x00000000)} 10:28:59.965
sto: Validating driver package files against catalog 'wintun.cat'.
sto: Driver package is valid.
sto: {DRIVERSTORE_IMPORT_NOTIFY_VALIDATE exit(0x00000000)} 10:29:00.022
sto: Verified driver package signature:
sto: Digital Signer Score = 0x0D000005
sto: Digital Signer Name = Microsoft Windows Hardware Compatibility Publisher
sto: {DRIVERSTORE_IMPORT_NOTIFY_BEGIN} 10:29:00.045
ndv: System restore not required for signed driver package.
sto: {DRIVERSTORE_IMPORT_NOTIFY_BEGIN: exit(0x00000000)} 10:29:00.059
sto: Importing driver package files:
sto: Source Path = C:\Windows\System32\DriverStore\Temp{53418914-6312-38e1-4814-787e28d3a905}
sto: Destination Path = C:\Windows\System32\DriverStore\FileRepository\wintun.inf_amd64_neutral_8ed20477a29aa8f7
sto: {Copy Directory: C:\Windows\System32\DriverStore\Temp{53418914-6312-38e1-4814-787e28d3a905}} 10:29:00.084
sto: Target Path = C:\Windows\System32\DriverStore\FileRepository\wintun.inf_amd64_neutral_8ed20477a29aa8f7
sto: {Copy Directory: exit(0x00000000)} 10:29:00.135
sto: {Index Driver Package: C:\Windows\System32\DriverStore\FileRepository\wintun.inf_amd64_neutral_8ed20477a29aa8f7\wintun.inf} 10:29:00.139
idb: Registered driver store entry 'wintun.inf_amd64_neutral_8ed20477a29aa8f7'.
idb: Published 'wintun.inf_amd64_neutral_8ed20477a29aa8f7\wintun.inf' to 'C:\Windows\INF\oem44.inf'
idb: Published driver store entry 'wintun.inf_amd64_neutral_8ed20477a29aa8f7'.
sto: Published driver package INF 'oem44.inf' was changed.
sto: Active published driver package is 'wintun.inf_amd64_neutral_8ed20477a29aa8f7'.
sto: {Index Driver Package: exit(0x00000000)} 10:29:00.472
sto: {DRIVERSTORE_IMPORT_NOTIFY_END} 10:29:00.477
ndv: No system restore point was set earlier.
sto: {DRIVERSTORE_IMPORT_NOTIFY_END: exit(0x00000000)} 10:29:00.487
sto: {Stage Driver Package: exit(0x00000000)} 10:29:00.510
ndv: Doing device matching lookup!
sto: Driver package was staged to Driver Store. Time = 2230 ms
sto: Imported driver package into Driver Store:
sto: Filename = C:\Windows\System32\DriverStore\FileRepository\wintun.inf_amd64_neutral_8ed20477a29aa8f7\wintun.inf
sto: Time = 2948 ms
sto: {Import Driver Package: exit(0x00000000)} 10:29:00.804
inf: Opened INF: 'C:\Windows\Temp\85fe6ddfd4ae1779afdfd3dc49397016b94b1ff46d522c838a8f99705bb095c2\wintun.inf' ([strings])
inf: Driver Store location: C:\Windows\System32\DriverStore\FileRepository\wintun.inf_amd64_neutral_8ed20477a29aa8f7\wintun.inf
inf: Published Inf Path: C:\Windows\INF\oem44.inf
inf: Opened INF: 'C:\Windows\Temp\85fe6ddfd4ae1779afdfd3dc49397016b94b1ff46d522c838a8f99705bb095c2\wintun.inf' ([strings])
inf: Installing catalog wintun.cat as: oem44.CAT
<<< Section end 2024/04/18 10:29:01.166
<<< [Exit status: SUCCESS]

level=fatal msg="failed to set address: Element not found."

@futurecad
Copy link
Author

There are also two virtual network cards appearing.
Wintun Userspace Tunnel
and nebula tunnel

@futurecad
Copy link
Author

There are also two virtual network cards appearing. Wintun Userspace Tunnel and nebula tunnel

This will result in access to only Nebula authorized networks and no other networks.

@futurecad
Copy link
Author

[SetupCopyOEMInf - C:\Windows\Temp\85fe6ddfd4ae1779afdfd3dc49397016b94b1ff46d522c838a8f99705bb095c2\wintun.inf]
Section start 2024/04/18 10:28:57.683
cmd: C:\Users\71407232\Desktop\zkpt_sdp-windows\plugins\sdp-client.exe -config C:\Users\71407232\Desktop\zkpt_sdp-windows/conf/config.yml
sto: {Import Driver Package: C:\Windows\Temp\85fe6ddfd4ae1779afdfd3dc49397016b94b1ff46d522c838a8f99705bb095c2\wintun.inf} 10:28:57.752
sto: Importing driver package into Driver Store:
sto: Driver Store = C:\Windows\System32\DriverStore (Online | 6.1.7601)
sto: Driver Package = C:\Windows\Temp\85fe6ddfd4ae1779afdfd3dc49397016b94b1ff46d522c838a8f99705bb095c2\wintun.inf
sto: Architecture = amd64
sto: Locale Name = neutral
sto: Flags = 0x00000000
sto: Copying driver package files to 'C:\Users\71407232\AppData\Local\Temp{7a97c721-2345-1330-a8b5-4f08550e8502}'.
inf: Opened INF: 'C:\Windows\Temp\85fe6ddfd4ae1779afdfd3dc49397016b94b1ff46d522c838a8f99705bb095c2\wintun.inf' ([strings])
inf: Opened INF: 'C:\Windows\Temp\85fe6ddfd4ae1779afdfd3dc49397016b94b1ff46d522c838a8f99705bb095c2\wintun.inf' ([strings])
flq: {FILE_QUEUE_COPY}
flq: CopyStyle - 0x00000000
flq: SourceRootPath - 'C:\Windows\Temp\85fe6ddfd4ae1779afdfd3dc49397016b94b1ff46d522c838a8f99705bb095c2'
flq: SourceFilename - 'wintun.cat'
flq: TargetDirectory- 'C:\Users\71407232\AppData\Local\Temp{7a97c721-2345-1330-a8b5-4f08550e8502}'
flq: {FILE_QUEUE_COPY exit(0x00000000)}
flq: {FILE_QUEUE_COPY}
flq: CopyStyle - 0x00000000
flq: SourceRootPath - 'C:\Windows\Temp\85fe6ddfd4ae1779afdfd3dc49397016b94b1ff46d522c838a8f99705bb095c2'
flq: SourceFilename - 'wintun.inf'
flq: TargetDirectory- 'C:\Users\71407232\AppData\Local\Temp{7a97c721-2345-1330-a8b5-4f08550e8502}'
flq: {FILE_QUEUE_COPY exit(0x00000000)}
flq: {FILE_QUEUE_COPY}
flq: CopyStyle - 0x00000000
flq: SourceRootPath - 'C:\Windows\Temp\85fe6ddfd4ae1779afdfd3dc49397016b94b1ff46d522c838a8f99705bb095c2'
flq: SourceFilename - 'wintun.sys'
flq: TargetDirectory- 'C:\Users\71407232\AppData\Local\Temp{7a97c721-2345-1330-a8b5-4f08550e8502}'
flq: {FILE_QUEUE_COPY exit(0x00000000)}
flq: {_commit_file_queue}
flq: CommitQ DelNodes=0 RenNodes=0 CopyNodes=3
flq: {_commit_copy_subqueue}
flq: subqueue count=3
flq: source media:
flq: SourcePath - [C:\Windows\Temp\85fe6ddfd4ae1779afdfd3dc49397016b94b1ff46d522c838a8f99705bb095c2]
flq: SourceFile - [wintun.cat]
flq: Flags - 0x00000000
flq: {_commit_copyfile}
flq: CopyFile: 'C:\Windows\Temp\85fe6ddfd4ae1779afdfd3dc49397016b94b1ff46d522c838a8f99705bb095c2\wintun.cat'
flq: to: 'C:\Users\71407232\AppData\Local\Temp{7a97c721-2345-1330-a8b5-4f08550e8502}\SET3636.tmp'
flq: MoveFile: 'C:\Users\71407232\AppData\Local\Temp{7a97c721-2345-1330-a8b5-4f08550e8502}\SET3636.tmp'
flq: to: 'C:\Users\71407232\AppData\Local\Temp{7a97c721-2345-1330-a8b5-4f08550e8502}\wintun.cat'
flq: {_commit_copyfile exit OK}
flq: {_commit_copyfile}
flq: CopyFile: 'C:\Windows\Temp\85fe6ddfd4ae1779afdfd3dc49397016b94b1ff46d522c838a8f99705bb095c2\wintun.inf'
flq: to: 'C:\Users\71407232\AppData\Local\Temp{7a97c721-2345-1330-a8b5-4f08550e8502}\SET36B4.tmp'
flq: MoveFile: 'C:\Users\71407232\AppData\Local\Temp{7a97c721-2345-1330-a8b5-4f08550e8502}\SET36B4.tmp'
flq: to: 'C:\Users\71407232\AppData\Local\Temp{7a97c721-2345-1330-a8b5-4f08550e8502}\wintun.inf'
flq: {_commit_copyfile exit OK}
flq: {_commit_copyfile}
flq: CopyFile: 'C:\Windows\Temp\85fe6ddfd4ae1779afdfd3dc49397016b94b1ff46d522c838a8f99705bb095c2\wintun.sys'
flq: to: 'C:\Users\71407232\AppData\Local\Temp{7a97c721-2345-1330-a8b5-4f08550e8502}\SET3732.tmp'
flq: MoveFile: 'C:\Users\71407232\AppData\Local\Temp{7a97c721-2345-1330-a8b5-4f08550e8502}\SET3732.tmp'
flq: to: 'C:\Users\71407232\AppData\Local\Temp{7a97c721-2345-1330-a8b5-4f08550e8502}\wintun.sys'
flq: {_commit_copyfile exit OK}
flq: {_commit_copy_subqueue exit OK}
flq: {_commit_file_queue exit OK}
pol: {Driver package policy check} 10:28:58.647
pol: {Driver package policy check - exit(0x00000000)} 10:28:58.651
sto: {Stage Driver Package: C:\Users\71407232\AppData\Local\Temp{7a97c721-2345-1330-a8b5-4f08550e8502}\wintun.inf} 10:28:58.659
inf: Opened INF: 'C:\Users\71407232\AppData\Local\Temp{7a97c721-2345-1330-a8b5-4f08550e8502}\wintun.inf' ([strings])
inf: Opened INF: 'C:\Users\71407232\AppData\Local\Temp{7a97c721-2345-1330-a8b5-4f08550e8502}\wintun.inf' ([strings])
sto: Copying driver package files:
sto: Source Path = C:\Users\71407232\AppData\Local\Temp{7a97c721-2345-1330-a8b5-4f08550e8502}
sto: Destination Path = C:\Windows\System32\DriverStore\Temp{53418914-6312-38e1-4814-787e28d3a905}
flq: {FILE_QUEUE_COPY}
flq: CopyStyle - 0x00000010
flq: SourceRootPath - 'C:\Users\71407232\AppData\Local\Temp{7a97c721-2345-1330-a8b5-4f08550e8502}'
flq: SourceFilename - 'wintun.cat'
flq: TargetDirectory- 'C:\Windows\System32\DriverStore\Temp{53418914-6312-38e1-4814-787e28d3a905}'
flq: {FILE_QUEUE_COPY exit(0x00000000)}
flq: {FILE_QUEUE_COPY}
flq: CopyStyle - 0x00000010
flq: SourceRootPath - 'C:\Users\71407232\AppData\Local\Temp{7a97c721-2345-1330-a8b5-4f08550e8502}'
flq: SourceFilename - 'wintun.inf'
flq: TargetDirectory- 'C:\Windows\System32\DriverStore\Temp{53418914-6312-38e1-4814-787e28d3a905}'
flq: {FILE_QUEUE_COPY exit(0x00000000)}
flq: {FILE_QUEUE_COPY}
flq: CopyStyle - 0x00000010
flq: SourceRootPath - 'C:\Users\71407232\AppData\Local\Temp{7a97c721-2345-1330-a8b5-4f08550e8502}'
flq: SourceFilename - 'wintun.sys'
flq: TargetDirectory- 'C:\Windows\System32\DriverStore\Temp{53418914-6312-38e1-4814-787e28d3a905}'
flq: {FILE_QUEUE_COPY exit(0x00000000)}
flq: {_commit_file_queue}
flq: CommitQ DelNodes=0 RenNodes=0 CopyNodes=3
flq: {_commit_copy_subqueue}
flq: subqueue count=3
flq: source media:
flq: SourcePath - [C:\Users\71407232\AppData\Local\Temp{7a97c721-2345-1330-a8b5-4f08550e8502}]
flq: SourceFile - [wintun.cat]
flq: Flags - 0x00000000
flq: {_commit_copyfile}
flq: CopyFile: 'C:\Users\71407232\AppData\Local\Temp{7a97c721-2345-1330-a8b5-4f08550e8502}\wintun.cat'
flq: to: 'C:\Windows\System32\DriverStore\Temp{53418914-6312-38e1-4814-787e28d3a905}\SET3A0D.tmp'
flq: MoveFile: 'C:\Windows\System32\DriverStore\Temp{53418914-6312-38e1-4814-787e28d3a905}\SET3A0D.tmp'
flq: to: 'C:\Windows\System32\DriverStore\Temp{53418914-6312-38e1-4814-787e28d3a905}\wintun.cat'
flq: {_commit_copyfile exit OK}
flq: {_commit_copyfile}
flq: CopyFile: 'C:\Users\71407232\AppData\Local\Temp{7a97c721-2345-1330-a8b5-4f08550e8502}\wintun.inf'
flq: to: 'C:\Windows\System32\DriverStore\Temp{53418914-6312-38e1-4814-787e28d3a905}\SET3A7B.tmp'
flq: MoveFile: 'C:\Windows\System32\DriverStore\Temp{53418914-6312-38e1-4814-787e28d3a905}\SET3A7B.tmp'
flq: to: 'C:\Windows\System32\DriverStore\Temp{53418914-6312-38e1-4814-787e28d3a905}\wintun.inf'
flq: {_commit_copyfile exit OK}
flq: {_commit_copyfile}
flq: CopyFile: 'C:\Users\71407232\AppData\Local\Temp{7a97c721-2345-1330-a8b5-4f08550e8502}\wintun.sys'
flq: to: 'C:\Windows\System32\DriverStore\Temp{53418914-6312-38e1-4814-787e28d3a905}\SET3B57.tmp'
flq: MoveFile: 'C:\Windows\System32\DriverStore\Temp{53418914-6312-38e1-4814-787e28d3a905}\SET3B57.tmp'
flq: to: 'C:\Windows\System32\DriverStore\Temp{53418914-6312-38e1-4814-787e28d3a905}\wintun.sys'
flq: {_commit_copyfile exit OK}
flq: {_commit_copy_subqueue exit OK}
flq: {_commit_file_queue exit OK}
sto: {DRIVERSTORE_IMPORT_NOTIFY_VALIDATE} 10:28:59.561
inf: Opened INF: 'C:\Windows\System32\DriverStore\Temp{53418914-6312-38e1-4814-787e28d3a905}\wintun.inf' ([strings])
sig: {_VERIFY_FILE_SIGNATURE} 10:28:59.632
sig: Key = wintun.inf
sig: FilePath = C:\Windows\System32\DriverStore\Temp{53418914-6312-38e1-4814-787e28d3a905}\wintun.inf
sig: Catalog = C:\Windows\System32\DriverStore\Temp{53418914-6312-38e1-4814-787e28d3a905}\wintun.cat
sig: Success: File is signed in catalog.
sig: {_VERIFY_FILE_SIGNATURE exit(0x00000000)} 10:28:59.965
sto: Validating driver package files against catalog 'wintun.cat'.
sto: Driver package is valid.
sto: {DRIVERSTORE_IMPORT_NOTIFY_VALIDATE exit(0x00000000)} 10:29:00.022
sto: Verified driver package signature:
sto: Digital Signer Score = 0x0D000005
sto: Digital Signer Name = Microsoft Windows Hardware Compatibility Publisher
sto: {DRIVERSTORE_IMPORT_NOTIFY_BEGIN} 10:29:00.045
ndv: System restore not required for signed driver package.
sto: {DRIVERSTORE_IMPORT_NOTIFY_BEGIN: exit(0x00000000)} 10:29:00.059
sto: Importing driver package files:
sto: Source Path = C:\Windows\System32\DriverStore\Temp{53418914-6312-38e1-4814-787e28d3a905}
sto: Destination Path = C:\Windows\System32\DriverStore\FileRepository\wintun.inf_amd64_neutral_8ed20477a29aa8f7
sto: {Copy Directory: C:\Windows\System32\DriverStore\Temp{53418914-6312-38e1-4814-787e28d3a905}} 10:29:00.084
sto: Target Path = C:\Windows\System32\DriverStore\FileRepository\wintun.inf_amd64_neutral_8ed20477a29aa8f7
sto: {Copy Directory: exit(0x00000000)} 10:29:00.135
sto: {Index Driver Package: C:\Windows\System32\DriverStore\FileRepository\wintun.inf_amd64_neutral_8ed20477a29aa8f7\wintun.inf} 10:29:00.139
idb: Registered driver store entry 'wintun.inf_amd64_neutral_8ed20477a29aa8f7'.
idb: Published 'wintun.inf_amd64_neutral_8ed20477a29aa8f7\wintun.inf' to 'C:\Windows\INF\oem44.inf'
idb: Published driver store entry 'wintun.inf_amd64_neutral_8ed20477a29aa8f7'.
sto: Published driver package INF 'oem44.inf' was changed.
sto: Active published driver package is 'wintun.inf_amd64_neutral_8ed20477a29aa8f7'.
sto: {Index Driver Package: exit(0x00000000)} 10:29:00.472
sto: {DRIVERSTORE_IMPORT_NOTIFY_END} 10:29:00.477
ndv: No system restore point was set earlier.
sto: {DRIVERSTORE_IMPORT_NOTIFY_END: exit(0x00000000)} 10:29:00.487
sto: {Stage Driver Package: exit(0x00000000)} 10:29:00.510
ndv: Doing device matching lookup!
sto: Driver package was staged to Driver Store. Time = 2230 ms
sto: Imported driver package into Driver Store:
sto: Filename = C:\Windows\System32\DriverStore\FileRepository\wintun.inf_amd64_neutral_8ed20477a29aa8f7\wintun.inf
sto: Time = 2948 ms
sto: {Import Driver Package: exit(0x00000000)} 10:29:00.804
inf: Opened INF: 'C:\Windows\Temp\85fe6ddfd4ae1779afdfd3dc49397016b94b1ff46d522c838a8f99705bb095c2\wintun.inf' ([strings])
inf: Driver Store location: C:\Windows\System32\DriverStore\FileRepository\wintun.inf_amd64_neutral_8ed20477a29aa8f7\wintun.inf
inf: Published Inf Path: C:\Windows\INF\oem44.inf
inf: Opened INF: 'C:\Windows\Temp\85fe6ddfd4ae1779afdfd3dc49397016b94b1ff46d522c838a8f99705bb095c2\wintun.inf' ([strings])
inf: Installing catalog wintun.cat as: oem44.CAT
<<< Section end 2024/04/18 10:29:01.166
<<< [Exit status: SUCCESS]

level=fatal msg="failed to set address: Element not found."

The phenomenon is that the virtual network card appears and then disappears.

@johnmaguire
Copy link
Collaborator

@futurecad Do you know what zkpt_sdp-windows\plugins\sdp-client.exe is? Additionally, have you previously used VMware Workstation, Player, or other software on this machine?

@futurecad
Copy link
Author

@johnmaguire This is the program I packaged in the outer layer. Currently, there are many problems on Windows 7.
And the network download speed will be very slow on Windows 7

@johnmaguire
Copy link
Collaborator

Currently, there are many problems on Windows 7. And the network download speed will be very slow on Windows 7

Can you please describe the problems? I cannot help if I don't know what's going on.

Unfortunately, Windows performance relies on the use of Registered IO which was added in Windows 8. Additionally, since Nebula v1.9.0, we don't support versions older than Windows 10.

Additionally, have you previously used VMware Workstation, Player, or other software on this machine?

@futurecad
Copy link
Author

Are there any other solutions to solve the slow network problem before Windows 8?

@futurecad
Copy link
Author

After I enable nebula, downloading files becomes very slow.

@johnmaguire
Copy link
Collaborator

johnmaguire commented Jun 4, 2024

Enabling Nebula will not slow down underlay networks. Network traffic sent/received over Nebula prior to Windows 8 does have bottlenecks compared to Linux/macOS and newer versions of Windows. The best solution is to upgrade to Windows 8.

I don't understand what Nebula is slowing down when that the logs you've provided show it's unable to start.

Additionally, have you previously used VMware Workstation, Player, or other software on this machine?

@futurecad
Copy link
Author

After successful startup, accessing the network in unsafe_router to download files will be very slow. Indeed, this only occurs in versions before Windows 8.

The logs I mentioned above are what happened on another computer.
Sorry for asking other questions in one question

@johnmaguire
Copy link
Collaborator

johnmaguire commented Jun 4, 2024

Thanks for the clarification. unsafe_routes especially can be slow, as you are routing through another machine. I advise using a Linux machine as your unsafe_routes router.

Have you seen the repeated question regarding VMware software? It is relevant to your original question. Or, have you tried steps here or here to resolve it?

@futurecad
Copy link
Author

The computer in the original question did not have vmware installed. After starting Nebula, the network card appeared and then disappeared. Log: level=fatal msg="failed to set address: Element not found."
Unfortunately this machine is also windows7

@futurecad
Copy link
Author

Thanks for the clarification. unsafe_routes especially can be slow, as you are routing through another machine. I advise using a Linux machine as your unsafe_routes router.

Have you seen the repeated question regarding VMware software? It is relevant to your original question. Or, have you tried steps here or here to resolve it?
Unsafe_routes uses Linux as the route. The problem is that Windows 7 will be very slow, not as fast as Windows 10 and Mac.

@johnmaguire
Copy link
Collaborator

Thank you. Are you able to try the following steps on the machine receiving "Element not found"?

  1. Open regedit, find HKLM/System/ControlSet/Tcpip/Adapters and share a screenshot of what adapters are listed.
  2. Open regedit, find HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{3d09c1ca-2bcc-40b7-b9bb-3f3ec143a87b} and delete it.

@futurecad
Copy link
Author

image

@johnmaguire
Copy link
Collaborator

@futurecad I just experienced a similar (but different) issue with the Wintun driver in a VM. I'm not sure the cause, but I resolved it through a two-step process:

  1. Open Device Manager and remove any Nebula-related adapters (check the box to uninstall the driver as well.)
  2. Follow the instructions in Failed to setup adapter tailscale/tailscale#6461 (comment)

Let me know if this improves your situation.

@lostmsu
Copy link

lostmsu commented Sep 20, 2024

I faced the same issue, workaround above works.

@AAWHY
Copy link

AAWHY commented Oct 12, 2024

I face with the same questions,and I solved it by 3 steps;
1.Reinstall VMWare Workstation/Player and try again.
2.Repair/reinstall VMWare and uninstall it.
3.Open regedit, find HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID{3d09c1ca-2bcc-40b7-b9bb-3f3ec143a87b} and delete it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
WaitingForInfo Issue is not actionable because of missing required information, which needs to be provided.
Projects
None yet
Development

No branches or pull requests

4 participants