Skip to content

dmesg: read kernel buffer failed: Function not implemented #1886

Closed

Description

@spoiledsport

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?

Activity

  1. stehufntdev commented on Apr 13, 2017

    @stehufntdev

    Can you please fill out the template? For this issue we would need a strace to see what syscall is failing.

  2. spoiledsport commented on Apr 13, 2017

    @spoiledsport
    Author

    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

  3. stehufntdev commented on Apr 13, 2017

    @stehufntdev

    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

  4. larsbrinkhoff commented on Oct 13, 2017

    @larsbrinkhoff

    Reproduced. Same output from strace. Writing something to /dev/kmsg makes dmesg work.

  5. dman777 commented on Feb 5, 2018

    @dman777

    I am hitting this also. Any updates?

  6. therealkenc commented on Feb 5, 2018

    @therealkenc

    Only that this is dupe #1321. It was pinged three weeks ago (message).

  7. almdrx commented on Feb 13, 2018

    @almdrx

    Same here... 😕

  8. bcyphers commented on Sep 19, 2018

    @bcyphers

    Same here. Encountered trying to install something with apt-get, and now I can't run any apt-get commands.

  9. kenorb commented on Oct 4, 2018

    @kenorb

    It's fixed now. Please upgrade WSL.

  10. Starnovice commented on Aug 3, 2019

    @Starnovice

    I have followed all of upgrade WSL and nothing changed. Does anybody have a real fix for this problem?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions