From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christopher Allan Webber Subject: bug#22274: GuixSD resets hardware clock (on Lenovo x200 with libreboot) Date: Mon, 18 Jan 2016 08:58:43 -0800 Message-ID: <87wpr66cw7.fsf@dustycloud.org> References: <87ege42bg6.fsf@dustycloud.org> <87oad5jp4e.fsf@gnu.org> <87io3aypk7.fsf@dustycloud.org> <87r3hxbd7b.fsf@gnu.org> <87fuycyqpm.fsf@dustycloud.org> <87a8o8yoja.fsf@dustycloud.org> <87bn8ngp6u.fsf@gnu.org> <871t9g2ljg.fsf@dustycloud.org> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:49786) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aLDAw-0001JP-7D for bug-guix@gnu.org; Mon, 18 Jan 2016 12:01:11 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aLDAs-0003ov-20 for bug-guix@gnu.org; Mon, 18 Jan 2016 12:01:06 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:36657) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aLDAr-0003ol-Vx for bug-guix@gnu.org; Mon, 18 Jan 2016 12:01:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84) (envelope-from ) id 1aLDAr-0003Eb-Qb for bug-guix@gnu.org; Mon, 18 Jan 2016 12:01:01 -0500 Sender: "Debbugs-submit" Resent-Message-ID: In-reply-to: <871t9g2ljg.fsf@dustycloud.org> List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 22274@debbugs.gnu.org --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Christopher Allan Webber writes: > Ludovic Courtès writes: > >> Christopher Allan Webber skribis: >> >>> My config is attached. Hackily, I copy-pasta'ed the kernel packages >>> entirely from guix v0.9.0's release. I can confirm that this can read >>> the hardware clock just fine, whereas the other version of the kernel >>> can't... so it does indeed look like between Linux-Libre 4.2.5 and >>> Linux-Libre 4.3.3 we have some sort of regression that leads to this >>> problem on x200 Minifree Libreboot-enabled laptops, at least. >> >> Great, thanks for narrowing it down. >> >> Given that, I think it would be useful to keep a copy of 4.2.5 in Guix >> itself. Would you like to provide a patch for that, preferably using >> ‘(inherit linux-libre)’ rather than copying the whole recipe? >> >> Ludo’. > > Yes, I will work on this. Here's a patch that does just this. Does it look good enough to merge? --=-=-= Content-Type: text/x-diff Content-Disposition: inline; filename=0001-gnu-Add-linux-libre-4.2.5.patch >From afcd19c4b3cf69ecacf2c34ba3051fc05c830879 Mon Sep 17 00:00:00 2001 From: Christopher Allan Webber Date: Sun, 17 Jan 2016 20:34:25 -0800 Subject: [PATCH] gnu: Add linux-libre-4.2.5 This older version of linux-libre is being added because it was found that newer versions (or at least 4.3.3) of linux-libre were not reading the hardware clock on (at least Libreboot-enabled) Thinkpad x200 machines. * gnu/linux.scm (linux-libre-4.2.5): New variable. --- gnu/packages/linux.scm | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm index 779b9c8..de4d1bd 100644 --- a/gnu/packages/linux.scm +++ b/gnu/packages/linux.scm @@ -317,6 +317,22 @@ It has been modified to remove all non-free binary blobs.") (license license:gpl2) (home-page "http://www.gnu.org/software/linux-libre/")))) +;; This older version of linux-libre is being added because it was found +;; that newer versions (or at least 4.3.3) of linux-libre were not reading +;; the hardware clock on (at least Libreboot-enabled) Thinkpad x200 +;; machines. + +(define-public linux-libre-4.2.5 + (package + (inherit linux-libre) + (version "4.2.5") + (source (origin + (method url-fetch) + (uri (linux-libre-urls version)) + (sha256 + (base32 + "13ar9sghm2g5w2km9x2d07q3lh81rz286d6slklv56qanm24chzx")))))) + ;;; ;;; Pluggable authentication modules (PAM). -- 2.1.4 --=-=-=--