question

lbrtchx-7356 avatar image
0 Votes"
lbrtchx-7356 asked JD-1467 answered

dmesg showing only 5 lines?

[ 0.010262] Microsoft 4.4.0-19041.1237-Microsoft 4.4.35
[ 0.078207] <3>init: (1) ERROR: ConfigInitializeCommon:665: Failed to mount /usr/lib/wsl/driver
[ 0.078211] : 19
[ 0.078372] <3>init: (1) ERROR: ConfigInitializeCommon:665: Failed to mount /usr/lib/wsl/lib:
[ 0.078375] 19

office-teams-linux-itpro
· 2
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi @lbrtchx-7356

Our forum is mainly focused on the general issue of Teams for Linux troubleshooting. According to your description, your question is more related to Linux command issue, which we do not support. So I will remove the tag from your thread. Thanks for your understanding and patience!

0 Votes 0 ·

Hi lbrtchx-7356 - did you ever find any root cause for this shortened dmesg output?

0 Votes 0 ·

1 Answer

JD-1467 avatar image
0 Votes"
JD-1467 answered

This seems to be a symptom of having WSL2 installed but Ubuntu (or whatever distro) has decided to be installed under WSL1 still.

You can verify this by typing (in PowerShell or Command Prompt):

wsl -l -v

Which will show if the distribution is under 1 still.

What's odd is that if you look at:

wsl --status

It may report that the default version is 2 but that doesn't appear to hold for systems that previously had WSL1 as I have repeatedly attempted to install Ubuntu-20.04 and Ubuntu-18.04 but they'd always show up with WSL1 (i.e. uname -r would output 4.4.0-19041...). You may be able to change the kernel version by using the wsl --set-version command but as I was going through a fresh install I found the following fixed the issue (the first command being most important despite wsl already claiming to default to 2):

wsl --set-default-version 2
wsl --install -d Ubuntu-20.04

After setup, I was greeted with the following in response to uname -r:
5.10.102.1-microsoft-standard-WSL2

And critically dmesg now shows the expected much more than 5 lines. And the /usr/lib/wsl/drivers /usr/lib/wsl/lib folders are correctly populated with content from C:\Windows\system32\lxss\lib etc.

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.