microsoft/WSL

Error code: Wsl/Service/E_UNEXPECTED

geniusxxx opened this issue · 1 comments

Windows Version

Microsoft Windows [Version 10.0.26100.6584]

WSL Version

2.6.1.0

Are you using WSL 1 or WSL 2?

  • WSL 2
  • WSL 1

Kernel Version

6.6.87.2-1

Distro Version

Ubuntu 22.04

Other Software

WSLg version: 1.0.66
MSRDC version: 1.2.6353
Direct3Dversion: 1.611.1-81528511
DXCore version: 10.0.26100.1-240331-1435.ge-release

Repro Steps

  • Open a PowerShell or Command Prompt window, and execute the command wsl to launch the Windows Subsystem for Linux.

  • Observe that the error Error code: Wsl/Service/E_UNEXPECTED occurs.

  • Attempt to resolve the issue by running the command wsl --shutdown to stop all WSL instances and restart the computer.

  • Try executing the wsl command again. Notice that the same Error code: Wsl/Service/E_UNEXPECTED error still appears, and neither wsl --shutdown nor restarting the computer resolves the problem.

Expected Behavior

When closing the console window where the linux operating system is open, the WSL is expected to stop all services in the background and turn off the virtual machine.

Actual Behavior

When I start the application again I get the following error:

Fatal Error
Error code: Wsl/Service/E_UNEXPECTED

Diagnostic Logs

WslLogs-2025-09-15_10-36-03.zip

The logs shows that a disk mount error occurred. Try to follow these repair instructions and see if that solves the issue.

Diagnostic information
.wslconfig found
Detected appx version: 2.6.1.0
Detected user visible error: Wsl/Service/E_UNEXPECTED
Detected user visible error: Wsl/Service/E_UNEXPECTED
Found evidence of ext4 error: [    4.144612] EXT4-fs error (device sdd): ext4_lookup:1858: inode #2197846: comm ldconfig.real: iget: checksum invalid