dmesg: read kernel buffer failed: Function not implemented
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.
Is this a known issue?
Can you please fill out the template? For this issue we would need a strace to see what syscall is failing.
-
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
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
Reproduced. Same output from strace. Writing something to /dev/kmsg makes dmesg work.
I am hitting this also. Any updates?
Only that this is dupe #1321. It was pinged three weeks ago (message).
Same here... 😕
Same here. Encountered trying to install something with apt-get, and now I can't run any apt-get commands.
It's fixed now. Please upgrade WSL.
I have followed all of upgrade WSL and nothing changed. Does anybody have a real fix for this problem?