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

Wsl/0x80070020 #9802

Closed
2 tasks done
NickLiu635 opened this issue Mar 17, 2023 · 9 comments
Closed
2 tasks done

Wsl/0x80070020 #9802

NickLiu635 opened this issue Mar 17, 2023 · 9 comments

Comments

@NickLiu635
Copy link

NickLiu635 commented Mar 17, 2023

Windows Version

Microsoft Windows [版本 10.0.22621.1413]

WSL Version

0.0.0.0

Are you using WSL 1 or WSL 2?

  • WSL 2
  • WSL 1

Kernel Version

No response

Distro Version

Ubuntu

Other Software

No response

Repro Steps

image

Expected Behavior


Actual Behavior


Diagnostic Logs

No response

@NickLiu635
Copy link
Author

I see that there is a WSL window that is still functioning normally. Here are some details.

1:/$ cat /proc/version
Linux version 4.4.0-22621-Microsoft ([email protected]) (gcc version 5.4.0 (GCC) ) #1105-Microsoft Fri Jan 01 08:00:00 PST 2016
1:/$ lsb_release -r
Release:        22.04

@NickLiu635 NickLiu635 changed the title Wsl/0x80070020S Wsl/0x80070020 Mar 17, 2023
@NickLiu635
Copy link
Author

Same issue when installing a distro.
image

@OneBlue
Copy link
Collaborator

OneBlue commented Mar 17, 2023

Thanks @NickLiu635.

If there is no crash dump we'll need to follow what's happening with a debugger. Can you please follow the '12) Collect wslservice time travel debugging traces' section and share the traces so I can have a deeper look ?

@NickLiu635
Copy link
Author

NickLiu635 commented Mar 27, 2023

Thanks @NickLiu635.

If there is no crash dump we'll need to follow what's happening with a debugger. Can you please follow the '12) Collect wslservice time travel debugging traces' section and share the traces so I can have a deeper look ?

there is no wslservice.exe ; Error code: Wsl/0x80070020 while wsl -l

I tried Launch executable with "wsl --version" and Debug chile process and Record with Time Travel Debugging,

image

How can I Upload the .out file?
Uploaded to Link here, available in 30 days. click the blue button in middle of the website with 2 Chinese word 下载 in it to download.

@OneBlue
Copy link
Collaborator

OneBlue commented Mar 27, 2023

Thank you @NickLiu635.

Unfortunately, the trace captured C:\windows\system32\wsl.exe, which only calls inside the store application.

Can you share another trace, but this time, with C:\Users\<user>\AppData\Local\Microsoft\WindowsApps\wsl.exe instead ?

@NickLiu635
Copy link
Author

Sorry for late, @OneBlue
New log uploaded here.

@NickLiu635
Copy link
Author

I found whenever I tryed wsl -l, an err event loggged as

HNS 无法断开 vmswitch 端口的连接,错误为“0x80070490”,交换机 ID =“C08CB7B8-9B3C-408E-8E30-5E16A3AEB444”,端口 ID =“6FC0FE9A-0CC1-4B51-9730-8E9C458A2694”,NIC 名称 =“6FC0FE9A-0CC1-4B51-9730-8E9C458A2694”。

for detail

<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
  <Provider Name="Microsoft-Windows-Host-Network-Service" Guid="{0c885e0d-6eb6-476c-a048-2457eed3a5c1}" /> 
  <EventID>1007</EventID> 
  <Version>0</Version> 
  <Level>2</Level> 
  <Task>0</Task> 
  <Opcode>0</Opcode> 
  <Keywords>0x8000000000000000</Keywords> 
  <TimeCreated SystemTime="2023-05-09T03:25:21.4755784Z" /> 
  <EventRecordID>67213</EventRecordID> 
  <Correlation /> 
  <Execution ProcessID="3660" ThreadID="4020" /> 
  <Channel>Microsoft-Windows-Host-Network-Service-Admin</Channel> 
  <Computer>{hidden}</Computer> 
  <Security UserID="S-1-5-18" /> 
  </System>
<EventData>
  <Data Name="Parameter0">0x80070490</Data> 
  <Data Name="Parameter1">C08CB7B8-9B3C-408E-8E30-5E16A3AEB444</Data> 
  <Data Name="Paramete3">6FC0FE9A-0CC1-4B51-9730-8E9C458A2694</Data> 
  <Data Name="Parameter4">6FC0FE9A-0CC1-4B51-9730-8E9C458A2694</Data> 
  </EventData>
  </Event>

@NickLiu635
Copy link
Author

NickLiu635 commented Jun 2, 2023

@NickLiu635
Copy link
Author

This issue is no longer repeated in the new version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants