Skip to contentSkip to conversation

Difficulty with dmesg

SETUP Nishka Dasgupta 3 participants 8 messages Feb 18, 2018 – Feb 27, 2018

lore
Share & tools
lore
#0 lore raw

When I run dmesg | less, the file is blank and the error I get is "dmesg:
klogctl failed: Function not implemented". Writing to the kmsg file has no effect. I can't modify dmesg_restrict either. I am running Ubuntu 14.04 inside WSL (Windows 10). I would appreciate any assistance.

Thanking you,
Nishka

#1 lore raw
Quoted 4 lines · Nishka Dasgupta

When I run dmesg | less, the file is blank and the error I get is "dmesg:
klogctl failed: Function not implemented". Writing to the kmsg file has no effect. I can't modify dmesg_restrict either. I am running Ubuntu 14.04 inside WSL (Windows 10). I would appreciate any assistance.

If you don't hear from anyone who has had this experience, perhaps this link could be useful:

https://github.com/Microsoft/WSL/issues/1886

julia

Quoted 15 lines

Thanking you,
Nishka

--
You received this message because you are subscribed to the Google Groups
"outreachy-kernel" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visithttps://groups.google.com/d/msgid/outreachy-kernel/fca3a604-4d70-4feb-b7d2- 2903b82f2c08%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

#2 lore raw

I tried that already, but it has not worked.

Thanking you,
Nishka

Quoted 39 lines · Julia Lawall
Quoted 1 line · Nishka Dasgupta

When I run dmesg | less, the file is blank and the error I get is

"dmesg:

Quoted 1 line

klogctl failed: Function not implemented". Writing to the kmsg file has

no

Quoted 2 lines

effect. I can't modify dmesg_restrict either. I am running Ubuntu 14.04 inside WSL (Windows 10). I would appreciate any assistance.

If you don't hear from anyone who has had this experience, perhaps this link could be useful:

https://github.com/Microsoft/WSL/issues/1886

julia

Quoted 6 lines

Thanking you,
Nishka

Signature · 1 line
You received this message because you are subscribed to the Google 

Groups

Quoted 2 lines

"outreachy-kernel" group.
To unsubscribe from this group and stop receiving emails from it, send

an

Quoted 2 lines

email to [email protected] <javascript:>. To post to this group, send email to [email protected]

<javascript:>.

Quoted 1 line

To view this discussion on the web visithttps://

groups.google.com/d/msgid/outreachy-kernel/fca3a604-4d70-4feb-b7d2-

Quoted 4 lines

2903b82f2c08%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Quoted 39 lines · Julia Lawall
Quoted 1 line · Nishka Dasgupta

When I run dmesg | less, the file is blank and the error I get is

"dmesg:

Quoted 1 line

klogctl failed: Function not implemented". Writing to the kmsg file has

no

Quoted 2 lines

effect. I can't modify dmesg_restrict either. I am running Ubuntu 14.04 inside WSL (Windows 10). I would appreciate any assistance.

If you don't hear from anyone who has had this experience, perhaps this link could be useful:

https://github.com/Microsoft/WSL/issues/1886

julia

Quoted 6 lines

Thanking you,
Nishka

Signature · 1 line
You received this message because you are subscribed to the Google 

Groups

Quoted 2 lines

"outreachy-kernel" group.
To unsubscribe from this group and stop receiving emails from it, send

an

Quoted 2 lines

email to [email protected] <javascript:>. To post to this group, send email to [email protected]

<javascript:>.

Quoted 1 line

To view this discussion on the web visithttps://

groups.google.com/d/msgid/outreachy-kernel/fca3a604-4d70-4feb-b7d2-

Quoted 4 lines

2903b82f2c08%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Quoted 39 lines · Julia Lawall
Quoted 1 line · Nishka Dasgupta

When I run dmesg | less, the file is blank and the error I get is

"dmesg:

Quoted 1 line

klogctl failed: Function not implemented". Writing to the kmsg file has

no

Quoted 2 lines

effect. I can't modify dmesg_restrict either. I am running Ubuntu 14.04 inside WSL (Windows 10). I would appreciate any assistance.

If you don't hear from anyone who has had this experience, perhaps this link could be useful:

https://github.com/Microsoft/WSL/issues/1886

julia

Quoted 6 lines

Thanking you,
Nishka

Signature · 1 line
You received this message because you are subscribed to the Google 

Groups

Quoted 2 lines

"outreachy-kernel" group.
To unsubscribe from this group and stop receiving emails from it, send

an

Quoted 2 lines

email to [email protected] <javascript:>. To post to this group, send email to [email protected]

<javascript:>.

Quoted 1 line

To view this discussion on the web visithttps://

groups.google.com/d/msgid/outreachy-kernel/fca3a604-4d70-4feb-b7d2-

Quoted 4 lines

2903b82f2c08%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

#3 lore raw
Quoted 1 line · Nishka Dasgupta

I tried that already, but it has not worked.

OK, unfortunately, I don't have any familiarity with the system you are using. But you could try changing your print message to KERN_EMERG. Then you should see it everywhere.

julia

Quoted 140 lines

Thanking you,
Nishka

On Sunday, February 18, 2018 at 6:51:28 PM UTC+5:30, Julia Lawall wrote:

On Sun, 18 Feb 2018, Nishka Dasgupta wrote:

> When I run dmesg | less, the file is blank and the error I get is "dmesg:
> klogctl failed: Function not implemented". Writing to the kmsg file has no
> effect. I can't modify dmesg_restrict either. I am running Ubuntu 14.04
> inside WSL (Windows 10). I would appreciate any assistance.

If you don't hear from anyone who has had this experience, perhaps this
link could be useful:

https://github.com/Microsoft/WSL/issues/1886

julia

>
> Thanking you,
> Nishka
>
> --
> You received this message because you are subscribed to the
Google Groups
> "outreachy-kernel" group.
> To unsubscribe from this group and stop receiving emails from
it, send an
> email to [email protected].
> To post to this group, send email to
[email protected].
> To view this discussion on the webvisithttps://groups.google.com/d/msgid/outreachy-kernel/fca3a604-4d70-4feb- b7d2-
> 2903b82f2c08%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>
>

On Sunday, February 18, 2018 at 6:51:28 PM UTC+5:30, Julia Lawall wrote:

On Sun, 18 Feb 2018, Nishka Dasgupta wrote:

> When I run dmesg | less, the file is blank and the error I get is "dmesg:
> klogctl failed: Function not implemented". Writing to the kmsg file has no
> effect. I can't modify dmesg_restrict either. I am running Ubuntu 14.04
> inside WSL (Windows 10). I would appreciate any assistance.

If you don't hear from anyone who has had this experience, perhaps this
link could be useful:

https://github.com/Microsoft/WSL/issues/1886

julia

>
> Thanking you,
> Nishka
>
> --
> You received this message because you are subscribed to the
Google Groups
> "outreachy-kernel" group.
> To unsubscribe from this group and stop receiving emails from
it, send an
> email to [email protected].
> To post to this group, send email to
[email protected].
> To view this discussion on the webvisithttps://groups.google.com/d/msgid/outreachy-kernel/fca3a604-4d70-4feb- b7d2-
> 2903b82f2c08%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>
>

On Sunday, February 18, 2018 at 6:51:28 PM UTC+5:30, Julia Lawall wrote:

On Sun, 18 Feb 2018, Nishka Dasgupta wrote:

> When I run dmesg | less, the file is blank and the error I get is "dmesg:
> klogctl failed: Function not implemented". Writing to the kmsg file has no
> effect. I can't modify dmesg_restrict either. I am running Ubuntu 14.04
> inside WSL (Windows 10). I would appreciate any assistance.

If you don't hear from anyone who has had this experience, perhaps this
link could be useful:

https://github.com/Microsoft/WSL/issues/1886

julia

>
> Thanking you,
> Nishka
>
> --
> You received this message because you are subscribed to the
Google Groups
> "outreachy-kernel" group.
> To unsubscribe from this group and stop receiving emails from
it, send an
> email to [email protected].
> To post to this group, send email to
[email protected].
> To view this discussion on the webvisithttps://groups.google.com/d/msgid/outreachy-kernel/fca3a604-4d70-4feb- b7d2-
> 2903b82f2c08%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>
>

--
You received this message because you are subscribed to the Google Groups
"outreachy-kernel" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visithttps://groups.google.com/d/msgid/outreachy-kernel/e77d9c11-8e6a-410f-a58d- f57907b86ce8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

#4 lore raw
In reply to Nishka Dasgupta
Quoted 4 lines · Nishka Dasgupta

When I run dmesg | less, the file is blank and the error I get is "dmesg:
klogctl failed: Function not implemented". Writing to the kmsg file has no effect. I can't modify dmesg_restrict either. I am running Ubuntu 14.04 inside WSL (Windows 10). I would appreciate any assistance.

Are you still working inside WSL? This isn't one of the options listed in <https://kernelnewbies.org/Outreachyfirstpatch>, and I expect you will keep run into limitations of WSL. You certainly won't be able to run any of the code you change this way.

Ben.

Signature · 3 lines
Ben Hutchings
Who are all these weirdos? - David Bowie, reading IRC for the first
time