unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Cpufreq governor service?
@ 2018-06-18  8:09 swedebugia
  2018-06-18  9:01 ` Help with config.scm (Was: Re: Cpufreq governor service?) swedebugia
  0 siblings, 1 reply; 3+ messages in thread
From: swedebugia @ 2018-06-18  8:09 UTC (permalink / raw)
  To: Guix-devel

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

Hi
I am trying to install GuixSD on a 4-core Samsung laptop.
It gets too hot and shuts off when I run guix pull utilizing multiple cores.

I would like to limit the cpu frequency via the program cpufreq-set which is available already.

How would I go about doing this in config.scm? 
-- 
Cheers Swedebugia 

[-- Attachment #2: Type: text/html, Size: 346 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Help with config.scm (Was: Re: Cpufreq governor service?)
  2018-06-18  8:09 Cpufreq governor service? swedebugia
@ 2018-06-18  9:01 ` swedebugia
  2018-06-18 12:22   ` Ricardo Wurmus
  0 siblings, 1 reply; 3+ messages in thread
From: swedebugia @ 2018-06-18  9:01 UTC (permalink / raw)
  To: Guix-devel

Forget about the former questions I just found the tlp-service-type.

Instead I would like some help succeeding with this config.scm:
https://paste.debian.net/1029654/

Error from guix:
root@antelope /home/sdb# guix system reconfigure /etc/config7.scm
/etc/config7.scm:20:16: error: invalid field specifier

Error from guile:
root@antelope /home/sdb# guile -s /etc/config7.scm
;;; note: auto-compilation is enabled, set GUILE_AUTO_COMPILE=0
;;;       or pass the --no-auto-compile argument to disable.
;;; compiling /etc/config7.scm
;;; WARNING: compilation of /etc/config7.scm failed:
;;; ERROR: no code for module (gnu)
Backtrace:
           9 (primitive-load "/etc/config7.scm")
In ice-9/eval.scm:
   721:20  8 (primitive-eval (use-modules (gnu) (gnu system nss)))
In ice-9/psyntax.scm:
  1234:36  7 (expand-top-sequence ((use-modules (gnu) (gnu # nss))) _ …)
  1181:24  6 (parse _ (("placeholder" placeholder)) ((top) #(# # …)) …)
   284:10  5 (parse _ (("placeholder" placeholder)) (()) _ c&e (eval) …)
In ice-9/boot-9.scm:
  3369:20  4 (process-use-modules _)
   230:17  3 (map1 (((gnu)) ((gnu system nss))))
  3370:31  2 (_ ((gnu)))
   2795:6  1 (resolve-interface _ #:select _ #:hide _ #:prefix _ # _ …)
In unknown file:
           0 (scm-error misc-error #f "~A ~S" ("no code for modu…" …) …)

ERROR: In procedure scm-error:
ERROR: no code for module (gnu)


Environment:
newly installed guixsd 0.14. Have not run guix pull before install or
after (yet). 
root@antelope /home/sdb# guix --version
guix (GNU Guix) 0.14.0
Copyright (C) 2017 the Guix authors

root@antelope /home/sdb# guix system list-generations
Generation 1	jun 17 2018 18:33:41	(current)
  file name: /var/guix/profiles/system-1-link
  canonical file name:
/gnu/store/20mkll3jvvmw0axmiffmf65w4hxayw2l-system
  label: GNU with Linux-Libre 4.14.3 (beta)
  bootloader: grub
  root device: my-root
  kernel:
/gnu/store/w383qi8rxbq9dsqfjwvkldl1jwwi7kp3-linux-libre-4.14.3/bzImage

Cheers
swedebugia

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Help with config.scm (Was: Re: Cpufreq governor service?)
  2018-06-18  9:01 ` Help with config.scm (Was: Re: Cpufreq governor service?) swedebugia
@ 2018-06-18 12:22   ` Ricardo Wurmus
  0 siblings, 0 replies; 3+ messages in thread
From: Ricardo Wurmus @ 2018-06-18 12:22 UTC (permalink / raw)
  To: swedebugia; +Cc: Guix-devel


swedebugia@riseup.net writes:

> Forget about the former questions I just found the tlp-service-type.
>
> Instead I would like some help succeeding with this config.scm:
> https://paste.debian.net/1029654/
>
> Error from guix:
> root@antelope /home/sdb# guix system reconfigure /etc/config7.scm
> /etc/config7.scm:20:16: error: invalid field specifier

It complains about “menu-entries”.  The “menu-entries” field expects a
list of “menu-entry” values.

--
Ricardo

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2018-06-18 12:22 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-06-18  8:09 Cpufreq governor service? swedebugia
2018-06-18  9:01 ` Help with config.scm (Was: Re: Cpufreq governor service?) swedebugia
2018-06-18 12:22   ` Ricardo Wurmus

Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).