WSL icon indicating copy to clipboard operation
WSL copied to clipboard

WSL1/LxCore Reference Source

Open trungnt2910 opened this issue 7 months ago • 3 comments

Please create a "reference source" repository of lxcore.sys and remaining WSL1 components.

This would be similar to some existing releases of Windows components, including NetAdapterCx.sys and the .NET Framework BCL.

While I understand the various potential reasons why lxcore.sys cannot be included here, it should be possible to dump the driver in a read-only "reference source" repository for possible researchers and developers.

This would finally complete what #1 was meant to ask for.

trungnt2910 avatar May 26 '25 14:05 trungnt2910

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'.

github-actions[bot] avatar May 26 '25 14:05 github-actions[bot]

/feature

trungnt2910 avatar May 26 '25 14:05 trungnt2910

Diagnostic information
Found '/feature', adding tag 'feature'

github-actions[bot] avatar May 26 '25 14:05 github-actions[bot]

No plans to do this at this time, this source is still part of the Windows OS codebase and is likely to stay that way.

benhillis avatar May 27 '25 21:05 benhillis

No plans to do this at this time

I respect the decision of your team.

this source is still part of the Windows OS codebase and is likely to stay that way.

I am aware of that and issues that may prevent a fully open release of lxcore like in the main WSL repo, hence the "reference source" approach - a dump from a subtree of the Windows codebase, like NetAdapterCx.

Hopefully this can continue to go forward in the open-source direction.

trungnt2910 avatar May 27 '25 22:05 trungnt2910