From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id EO4XCBLkqWP3SQAAbAwnHQ (envelope-from ) for ; Mon, 26 Dec 2022 19:12:34 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id SBhNBxLkqWMo+QAAG6o9tA (envelope-from ) for ; Mon, 26 Dec 2022 19:12:34 +0100 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id B4F212EAF9 for ; Mon, 26 Dec 2022 19:12:33 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p9rxF-00046q-NA; Mon, 26 Dec 2022 13:12:05 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p9rxD-00046T-F2 for help-guix@gnu.org; Mon, 26 Dec 2022 13:12:03 -0500 Received: from mail-40134.protonmail.ch ([185.70.40.134]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p9rxA-000340-Kz for help-guix@gnu.org; Mon, 26 Dec 2022 13:12:02 -0500 Date: Mon, 26 Dec 2022 18:11:50 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail3; t=1672078317; x=1672337517; bh=jsoqM9kpKJgU8VfjDPxa/l52thez9LX4SeTLb3ogHFA=; h=Date:To:From:Cc:Subject:Message-ID:In-Reply-To:References: Feedback-ID:From:To:Cc:Date:Subject:Reply-To:Feedback-ID: Message-ID:BIMI-Selector; b=Xi0qIsSyS3th0RDuS61C0bOM4RuEv9FL0Kyxc7X824f1tHjgCeVPJhWUann2M4xGJ /JWcF/fvZBVzSLloSq72dtACF/37P+YOdWOjiP4U0UpizKeMKMHz+tSSZdEvqUdy6W eEWnmfdJ5VKERpKLtnGzZz5OiwbUD0O7xDxXgJghrhbi6qphdeGC46/y+zH6C3VbwI LO4F4IB6g1AgS1/U/pwXpq5PuDphTxKKxztonLMGV5MZWK5Lj5LBKFa/yE+Qy2DAbG pw+HOR2PG6q/+vbmspLgz0Qd3CrCiskeFkp5jXa3CkviQ2Hx/Tv3o8ZnfnVHAnfsPc 7WVcN57UdJOiA== To: Efraim Flashner From: phodina Cc: Tobias Geerinckx-Rice , help-guix Subject: Re: Corefreq: How to specify output in OS definition Message-ID: In-Reply-To: References: <77B2DDF9-08E5-4E78-95DC-3FA2913D9505@tobias.gr> Feedback-ID: 14143818:user:proton MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=185.70.40.134; envelope-from=phodina@protonmail.com; helo=mail-40134.protonmail.ch X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: help-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Seal: i=1; s=key1; d=yhetil.org; t=1672078353; a=rsa-sha256; cv=none; b=ihLaAVVDFvpJp583KbxP92XprsMzPutajqI+fEkEC+KafTKflpC3ALhXKYIoe6qxqmrF08 ELw8m9DoxQJufPydvhpKJ1kXubDLxTyIdK1Hw+1wvziXhm4HDdfBJU1k+7/EqA6E1ujWyW 8yMKtiHSj/LYcieTFhbhUGtZX5QcH4npTfcCvi6DVg+fatQ0GTr+ItyppnzUhFwO5phORS szqPCb6QMOVFTrw3RdKFP76s9LkYY33yorhpZMSFVpklUXMzOubuvpFCMN0Y7/F6MWLm2K 55lVvVMLH47bZppvDhH7ozBmwq0o2AVfOLDHhG1ylOoh0vt8mw+6GXBbRIjvfw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=protonmail.com header.s=protonmail3 header.b=Xi0qIsSy; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=quarantine) header.from=protonmail.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1672078353; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=jsoqM9kpKJgU8VfjDPxa/l52thez9LX4SeTLb3ogHFA=; b=cnmcJfHxWR89heSqHsOdIvsb6+iIHKMF8pOf+0Te9Ax9Cgds0WSxsLroiYMh1cMEraeM67 C0q35Eqb4xnMXvJeYUju4ZT36YgLUOv+MHe03vNl+IN3606PFm64WC+QSXhfmpPIw6SuD8 deBzCcI9zMBXT0h7ditoHyz7aGeEx2LI2H4ZeAaAUqUd6mQy9t0zPonr+suANIX5/JiDoW hj9c8s4d6HwQchkwmfZY+nZt4FoCN+ekEjPnPXRnXls+Eq7BlRzmxWFgWFVVEkSLZfffvZ a79YyHPUO8MmAn6fiDBNgrxDePBK/ktu2G82Zx7oxItXcEcklKCG1k5oraGlAw== X-Spam-Score: -11.46 X-Migadu-Queue-Id: B4F212EAF9 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=protonmail.com header.s=protonmail3 header.b=Xi0qIsSy; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=quarantine) header.from=protonmail.com X-Migadu-Scanner: scn0.migadu.com X-Migadu-Spam-Score: -11.46 X-TUID: SiJJPT7ED+gc Hello Efraim, > I was able to get it to say it would be added when I added the following > to my OS config: >=20 > (kernel-loadable-modules (list `(,corefreq "linux-module"))) >=20 > 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 cor= efreqd 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