* Corefreq: How to specify output in OS definition
@ 2022-12-24 22:24 phodina via
2022-12-24 22:47 ` Tobias Geerinckx-Rice
0 siblings, 1 reply; 5+ messages in thread
From: phodina via @ 2022-12-24 22:24 UTC (permalink / raw)
To: help-guix, Tobias Geerinckx-Rice
Hi Tobias,
how do you specify output "linux-module" for the package corefreq in the OS definition in the field kernel-loadable-modules?
----
Petr
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Corefreq: How to specify output in OS definition
2022-12-24 22:24 Corefreq: How to specify output in OS definition phodina via
@ 2022-12-24 22:47 ` Tobias Geerinckx-Rice
2022-12-26 13:05 ` Efraim Flashner
0 siblings, 1 reply; 5+ messages in thread
From: Tobias Geerinckx-Rice @ 2022-12-24 22:47 UTC (permalink / raw)
To: phodina, help-guix
Hi Petr,
I think this package might predate k-l-m, in which case the honest answer is ‘I don't’ :-) If it's not supported, however, it should be.
I'll try to remember to check how I use it when I get back to my laptop. If I forget, complain.
Kind regards,
T G-R
Sent on the go. Excuse or enjoy my brevity.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Corefreq: How to specify output in OS definition
2022-12-24 22:47 ` Tobias Geerinckx-Rice
@ 2022-12-26 13:05 ` Efraim Flashner
2022-12-26 18:11 ` phodina
0 siblings, 1 reply; 5+ messages in thread
From: Efraim Flashner @ 2022-12-26 13:05 UTC (permalink / raw)
To: Tobias Geerinckx-Rice; +Cc: phodina, help-guix
[-- Attachment #1: Type: text/plain, Size: 802 bytes --]
On Sat, Dec 24, 2022 at 10:47:33PM +0000, Tobias Geerinckx-Rice wrote:
> Hi Petr,
>
> I think this package might predate k-l-m, in which case the honest answer is ‘I don't’ :-) If it's not supported, however, it should be.
>
> I'll try to remember to check how I use it when I get back to my laptop. If I forget, complain.
>
> Kind regards,
>
> T G-R
>
I was able to get it to say it would be added when I added the following
to my OS config:
(kernel-loadable-modules (list `(,corefreq "linux-module")))
I didn't actually try building or running it though.
--
Efraim Flashner <efraim@flashner.co.il> אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Corefreq: How to specify output in OS definition
2022-12-26 13:05 ` Efraim Flashner
@ 2022-12-26 18:11 ` phodina
2022-12-27 6:56 ` Efraim Flashner
0 siblings, 1 reply; 5+ messages in thread
From: phodina @ 2022-12-26 18:11 UTC (permalink / raw)
To: Efraim Flashner; +Cc: Tobias Geerinckx-Rice, help-guix
Hello Efraim,
> I was able to get it to say it would be added when I added the following
> to my OS config:
>
> (kernel-loadable-modules (list `(,corefreq "linux-module")))
>
> I didn't actually try building or running it though.
Adding this line to OS definition fixes the initial issue.
However, you still need to manually add the kernel module and start the corefreqd daemon as a root.
```
$ corefreq-cli
Daemon connection error code 2
corefreq-ro-shm: 'No such file or directory' @ line 19075
$ corefreqd
corefreqd execution error code 13
Permission denied @ line 8002
$ sudo -E corefreqd
Password:
Driver connection error code 2
/dev/corefreqk: 'No such file or directory' @ line 7998
$ sudo -E modprobe corefreqk
$ sudo -E corefreqd &
CoreFreq Daemon 1.90.1 Copyright (C) 2015-2022 CYRIL INGENIERIE
$ corefreq-cli
# Now it launches :-)
```
So maybe a service would be handy, what do you think?
----
Petr
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Corefreq: How to specify output in OS definition
2022-12-26 18:11 ` phodina
@ 2022-12-27 6:56 ` Efraim Flashner
0 siblings, 0 replies; 5+ messages in thread
From: Efraim Flashner @ 2022-12-27 6:56 UTC (permalink / raw)
To: phodina; +Cc: Tobias Geerinckx-Rice, help-guix
[-- Attachment #1: Type: text/plain, Size: 1334 bytes --]
On Mon, Dec 26, 2022 at 06:11:50PM +0000, phodina wrote:
> Hello Efraim,
>
> > I was able to get it to say it would be added when I added the following
> > to my OS config:
> >
>
> > (kernel-loadable-modules (list `(,corefreq "linux-module")))
> >
>
> > I didn't actually try building or running it though.
>
> Adding this line to OS definition fixes the initial issue.
>
> However, you still need to manually add the kernel module and start the corefreqd daemon as a root.
>
> ```
> $ corefreq-cli
> Daemon connection error code 2
> corefreq-ro-shm: 'No such file or directory' @ line 19075
> $ corefreqd
> corefreqd execution error code 13
> Permission denied @ line 8002
> $ sudo -E corefreqd
> Password:
> Driver connection error code 2
> /dev/corefreqk: 'No such file or directory' @ line 7998
> $ sudo -E modprobe corefreqk
> $ sudo -E corefreqd &
> CoreFreq Daemon 1.90.1 Copyright (C) 2015-2022 CYRIL INGENIERIE
> $ corefreq-cli
> # Now it launches :-)
> ```
> So maybe a service would be handy, what do you think?
Sounds like you have your work cut out for you :)
--
Efraim Flashner <efraim@flashner.co.il> אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2022-12-27 6:56 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-12-24 22:24 Corefreq: How to specify output in OS definition phodina via
2022-12-24 22:47 ` Tobias Geerinckx-Rice
2022-12-26 13:05 ` Efraim Flashner
2022-12-26 18:11 ` phodina
2022-12-27 6:56 ` Efraim Flashner
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.