You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
dmesg: read kernel buffer failed: Function not implemented #1886
I am getting this error when running dmesg on the latest version of Creators Edition. THis was working before. I uninstalled and reinstalled WSL to no avail.
Thanks for the strace! Looks like it is failing because it wasn't able to read from kmsg, which looks like a duplicate of #1321. Can you please confirm?
Activity
stehufntdev commentedon Apr 13, 2017
Can you please fill out the template? For this issue we would need a strace to see what syscall is failing.
spoiledsport commentedon Apr 13, 2017
strace.dmesg.txt
Expected results
printing of the boot up information
Actual results (with terminal output if applicable)
dmesg: read kernel buffer failed: Function not implemented
Your Windows build number
Microsoft Windows [Version 10.0.15063]
Steps / All commands required to reproduce the error from a brand new installation
1.- run bash on Ubuntu for windows
2.- run dmesg
Strace of the failing command
stehufntdev commentedon Apr 13, 2017
Thanks for the strace! Looks like it is failing because it wasn't able to read from kmsg, which looks like a duplicate of #1321. Can you please confirm?
open("/dev/kmsg", O_RDONLY|O_NONBLOCK) = 3
lseek(3, 0, SEEK_DATA) = -1 EINVAL (Invalid argument)
read(3, 0x60c3e0, 8191) = -1 EAGAIN (Resource temporarily unavailable)
close(3) = 0
larsbrinkhoff commentedon Oct 13, 2017
Reproduced. Same output from strace. Writing something to /dev/kmsg makes dmesg work.
dman777 commentedon Feb 5, 2018
I am hitting this also. Any updates?
therealkenc commentedon Feb 5, 2018
Only that this is dupe #1321. It was pinged three weeks ago (message).
almdrx commentedon Feb 13, 2018
Same here... 😕
bcyphers commentedon Sep 19, 2018
Same here. Encountered trying to install something with
apt-get, and now I can't run anyapt-getcommands.kenorb commentedon Oct 4, 2018
It's fixed now. Please upgrade WSL.
Starnovice commentedon Aug 3, 2019
I have followed all of upgrade WSL and nothing changed. Does anybody have a real fix for this problem?