Code Monkey home page Code Monkey logo

Comments (10)

josefschroettle avatar josefschroettle commented on July 29, 2024 1

The behaviour is seen with 2.3.11, 2.3.12 and 2.3.13
When reverting back to 2.2.4 everything works normal again
Config file .wslconfig has been removed for this test

from wsl.

github-actions avatar github-actions commented on July 29, 2024

Logs are required for review from WSL team

If this a feature request, please reply with '/feature'. If this is a question, reply with '/question'.
Otherwise please attach logs by following the instructions below, your issue will not be reviewed unless they are added. These logs will help us understand what is going on in your machine.

How to collect WSL logs

Download and execute collect-wsl-logs.ps1 in an administrative powershell prompt:

Invoke-WebRequest -UseBasicParsing "https://raw.githubusercontent.com/microsoft/WSL/master/diagnostics/collect-wsl-logs.ps1" -OutFile collect-wsl-logs.ps1
Set-ExecutionPolicy Bypass -Scope Process -Force
.\collect-wsl-logs.ps1

The script will output the path of the log file once done.

If this is a networking issue, please use collect-networking-logs.ps1, following the instructions here

Once completed please upload the output files to this Github issue.

Click here for more info on logging
If you choose to email these logs instead of attaching to the bug, please send them to [email protected] with the number of the github issue in the subject, and in the message a link to your comment in the github issue and reply with '/emailed-logs'.

View similar issues

Please view the issues below to see if they solve your problem, and if the issue describes your problem please consider closing this one and thumbs upping the other issue to help us prioritize it!

Open similar issues:

Closed similar issues:

Note: You can give me feedback by thumbs upping or thumbs downing this comment.

from wsl.

josefschroettle avatar josefschroettle commented on July 29, 2024

Here the logs from a failed start of distro Ubuntu-22.04

WslLogs-2024-07-26_08-59-30.zip

from wsl.

github-actions avatar github-actions commented on July 29, 2024
Diagnostic information
Detected appx version: 2.3.13.0
Detected user visible error: Wsl/Service/CreateInstance/CreateVm/ConfigureNetworking/0x80072746
Found evidence of kernel panic: [    0.203298] Kernel panic - not syncing: Fatal exception in interrupt

from wsl.

josefschroettle avatar josefschroettle commented on July 29, 2024

This has to be related to my machine configuration. I tried 2.3.13 in a virtual machine (hyper-v) with wsl and it works there.
I am currently using 'Realtek Gaming 2.5GbE Family Controller' as primary network device, could it be related to Realtek drivers?

from wsl.

bowling233 avatar bowling233 commented on July 29, 2024

Having the same issue in Windows version: 10.0.26120.1330

> wsl --version
WSL version: 2.3.13.0
Kernel version: 6.6.36.3-1
WSLg version: 1.0.63
MSRDC version: 1.2.5326
Direct3D version: 1.611.1-81528511
DXCore version: 10.0.26100.1-240331-1435.ge-release
Windows version: 10.0.26120.1330
> wsl
A request to send or receive data was disallowed because the socket is not connected and (when sending on a datagram socket using a sendto call) no address was supplied.
Error code: Wsl/Service/CreateInstance/CreateVm/WSAENOTCONN

Here is the logs collected by collect-wsl-logs.ps1:

WslLogs-2024-07-28_01-41-55.zip

I'm also using 'Realtek Gaming 2.5GbE Family Controller' as primary network device.

from wsl.

xiezhipeng-git avatar xiezhipeng-git commented on July 29, 2024

Microsoft Windows [版本 10.0.22631.3958]
(c) Microsoft Corporation。保留所有权利。

C:\Users\Admin>wsl --version
WSL 版本: 2.2.4.0
内核版本: 5.15.153.1-2
WSLg 版本: 1.0.61
MSRDC 版本: 1.2.5326
Direct3D 版本: 1.611.1-81528511
DXCore 版本: 10.0.26091.1-240325-1447.ge-release
Windows 版本: 10.0.22631.3958

C:\Users\Admin>wsl
无法将磁盘“C:\Users\Admin\AppData\Local\Packages\CanonicalGroupLimited.Ubuntu22.04LTS_79rhkp1fndgsc\LocalState\ext4.vhdx”附加到 WSL2: 文件或目录损坏且无法读取。
Error code: Wsl/Service/CreateInstance/MountVhd/HCS/0x80070570
when I write code with vscode.
Suddenly, VSCode crashes and WSL cannot be opened. Reported this error. How to solve it?
@chessturo

from wsl.

xiezhipeng-git avatar xiezhipeng-git commented on July 29, 2024

NodeExecServer run: C:\windows\System32\wsl.exe -d Ubuntu-22.04 -e sh -c if [ -d ~/.vscode-server/bin/f1e16e1e6214d7c44d078b1f0607b2388f29d729 ]; then printf 'install-found '; fi; if [ -f /etc/alpine-release ]; then printf 'alpine-'; fi; if [ -s ~/.vscode-server/bin/compatibilty-check ]; then printf 'legacy-'; fi; uname -m;
[2024-07-28 08:46:42.199] Unable to detect if server is already installed: Error: Failed to probe if server is already installed: code: Failed to probe if server is already installed: code: 4294967295, , �e�l\�x�v C:\Users\Admin\AppData\Local\Packages\CanonicalGroupLimited.Ubuntu22.04LTS_79rhkp1fndgsc\LocalState\ext4.vhdx D��R0R WSL2� �e�Nb�vU__cOWN�e�l���S0
[2024-07-28 08:46:42.199] Error code: Wsl/Service/CreateInstance/MountVhd/HCS/0x80070570
[2024-07-28 08:46:42.199]
[2024-07-28 08:46:42.199] NodeExecServer run: C:\windows\System32\wsl.exe -d Ubuntu-22.04 sh -c '"$VSCODE_WSL_EXT_LOCATION/scripts/wslServer.sh" f1e16e1e6214d7c44d078b1f0607b2388f29d729 stable code-server .vscode-server --host=127.0.0.1 --port=0 --connection-token=4216714420-1561004773-1456349802-1130381406 --use-host-proxy --without-browser-env-var --disable-websocket-compression --accept-server-license-terms --telemetry-level=all'
[2024-07-28 08:46:42.235] �e�l\�x�v C:\Users\Admin\AppData\Local\Packages\CanonicalGroupLimited.Ubuntu22.04LTS_79rhkp1fndgsc\LocalState\ext4.vhdx D��R0R WSL2� �e�Nb�vU__cOWN�e�l���S0
[2024-07-28 08:46:42.235] Error code: Wsl/Service/CreateInstance/MountVhd/HCS/0x80070570
[2024-07-28 08:46:42.235]
[2024-07-28 08:46:42.235] 有关启动问题的帮助,请转到 https://code.visualstudio.com/docs/remote/troubleshooting#_wsl-tips
[2024-07-28 08:46:52.165] Download in background is enabled
This is open vscode info

from wsl.

xiezhipeng-git avatar xiezhipeng-git commented on July 29, 2024

log
WslLogs-2024-07-28_16-56-38.zip

from wsl.

xiezhipeng-git avatar xiezhipeng-git commented on July 29, 2024

error code not same.I will create new

from wsl.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.