all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Pierre Neidhardt <ambrevar@gmail.com>
To: "Ludovic Courtès" <ludo@gnu.org>
Cc: help-guix@gnu.org
Subject: Re: Does Linux 4.16.1 blast out battery time? (9h+ -> 3h+)
Date: Tue, 24 Apr 2018 18:47:12 +0530	[thread overview]
Message-ID: <87d0yo3fs7.fsf@gmail.com> (raw)
In-Reply-To: <87k1sx2e61.fsf@gnu.org>

[-- Attachment #1: Type: text/plain, Size: 1312 bytes --]


Ludovic Courtès <ludo@gnu.org> writes:

> That sounds worrying.  Could you report it upstream?

I'll will.  After further investigation, it turns out that nouveau keeps
crashing in loop, which overwhelms the kernel.  Everything is extremely
unresponsive, I suppose because the kernel scheduler cannot allocate
much time to the user land processes.

This explains the power drain.

`dmesg' shows a sequence of [nouveau] errors in loop, but I haven't
managed to capture it so far because the system freezes too soon.

>> By the way, how do I make the above /sys/ tweak permanent on GuixSD?
>
> You could do something like:
>
>   (simple-service 'my-/sys-tweaks activation-service-type
>                   #~(call-with-output-file "/sys/…"
>                       (lambda (port)
>                         (display "1" port))))

I just tried your suggestion and it results in a kernel panic (on Linux
4.15).
I get a "No such file or directory" error.  I suppose that is because
the service is run too early.

> That said, we should probably build a higher-level
> ‘/sys-tweaks-service-type’ where we could directly pass pairs of file
> name/values.
>
> Would you like to give it a try?

Sure, whenever I have some more free time (in a week or so).

--
Pierre Neidhardt

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]

  reply	other threads:[~2018-04-24 13:17 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-04-13  6:06 Does Linux 4.16.1 blast out battery time? (9h+ -> 3h+) Pierre Neidhardt
2018-04-13  6:50 ` Tomáš Čech
2018-04-13  7:33   ` Pierre Neidhardt
2018-04-13 10:14     ` Pierre Neidhardt
2018-04-24  8:37       ` Ludovic Courtès
2018-04-24 13:17         ` Pierre Neidhardt [this message]
2018-05-03  6:45           ` Pierre Neidhardt
2018-05-08 21:11             ` Nils Gillmann
2018-05-09  7:20               ` Pierre Neidhardt
2018-05-09  8:19                 ` Nils Gillmann

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87d0yo3fs7.fsf@gmail.com \
    --to=ambrevar@gmail.com \
    --cc=help-guix@gnu.org \
    --cc=ludo@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.