GNU bug report logs - #66923
[PATCH 0/2] linux-libre kernel updates (2023-11-03)

Previous Next

Package: guix-patches;

Reported by: Wilko Meyer <w <at> wmeyer.eu>

Date: Fri, 3 Nov 2023 21:58:02 UTC

Severity: normal

Tags: patch

Done: Leo Famulari <leo <at> famulari.name>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 66923 in the body.
You can then email your comments to 66923 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#66923; Package guix-patches. (Fri, 03 Nov 2023 21:58:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Wilko Meyer <w <at> wmeyer.eu>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Fri, 03 Nov 2023 21:58:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Wilko Meyer <w <at> wmeyer.eu>
To: guix-patches <at> gnu.org
Cc: Wilko Meyer <w <at> wmeyer.eu>, leo <at> famulari.name
Subject: [PATCH 0/2] linux-libre kernel updates (2023-11-03)
Date: Fri,  3 Nov 2023 22:56:23 +0100
Hi Leo,

There have been two updates around yesterday for 6.5/6.1 kernels.

Wilko Meyer (2):
  gnu: linux-libre 6.5: Update to 6.5.10.
  gnu: linux-libre 6.1: Update to 6.1.61.

 gnu/packages/linux.scm | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

-- 
2.41.0





Information forwarded to guix-patches <at> gnu.org:
bug#66923; Package guix-patches. (Fri, 03 Nov 2023 22:00:02 GMT) Full text and rfc822 format available.

Message #8 received at 66923 <at> debbugs.gnu.org (full text, mbox):

From: Wilko Meyer <w <at> wmeyer.eu>
To: 66923 <at> debbugs.gnu.org
Cc: Wilko Meyer <w <at> wmeyer.eu>, leo <at> famulari.name
Subject: [PATCH 1/2] gnu: linux-libre 6.5: Update to 6.5.10.
Date: Fri,  3 Nov 2023 22:58:00 +0100
* gnu/packages/linux.scm (linux-libre-6.5-version): Update to 6.5.10.
(linux-libre-6.5-pristine-source): Update hash.

Change-Id: Icc0c07d8f38659be00e3675c335801aab5ae8b6c
---
 gnu/packages/linux.scm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm
index e77fe9f89d..d5293cbcdf 100644
--- a/gnu/packages/linux.scm
+++ b/gnu/packages/linux.scm
@@ -508,7 +508,7 @@ (define-public linux-libre-6.6-pristine-source
                             (%upstream-linux-source version hash)
                             deblob-scripts-6.6)))
 
-(define-public linux-libre-6.5-version "6.5.9")
+(define-public linux-libre-6.5-version "6.5.10")
 (define-public linux-libre-6.5-gnu-revision "gnu")
 (define deblob-scripts-6.5
   (linux-libre-deblob-scripts
@@ -518,7 +518,7 @@ (define deblob-scripts-6.5
    (base32 "066z5lw5vrfayhv23hpfcm6fh6b7zmn2v13kfv1g3z3jl1wblhfh")))
 (define-public linux-libre-6.5-pristine-source
   (let ((version linux-libre-6.5-version)
-        (hash (base32 "1mcg0lpxr832mwyqlbn0s5gssvsk2nn2xhq9w0qbymizf5j2yrn6")))
+        (hash (base32 "12sswml8jvabv6bqx35lg3jj6gq8jjk365rghjngdy5d0j34jpx1")))
    (make-linux-libre-source version
                             (%upstream-linux-source version hash)
                             deblob-scripts-6.5)))
-- 
2.41.0





Information forwarded to guix-patches <at> gnu.org:
bug#66923; Package guix-patches. (Fri, 03 Nov 2023 22:00:03 GMT) Full text and rfc822 format available.

Message #11 received at 66923 <at> debbugs.gnu.org (full text, mbox):

From: Wilko Meyer <w <at> wmeyer.eu>
To: 66923 <at> debbugs.gnu.org
Cc: Wilko Meyer <w <at> wmeyer.eu>, leo <at> famulari.name
Subject: [PATCH 2/2] gnu: linux-libre 6.1: Update to 6.1.61.
Date: Fri,  3 Nov 2023 22:58:01 +0100
* gnu/packages/linux.scm (linux-libre-6.1-version): Update to 6.1.61.
(linux-libre-6.1-pristine-source): Update hash.
(deblob-scripts-6.1): Update hash.

Change-Id: Iaab673a11ff578ac7671999deb7d31f4dfd5b1e2
---
 gnu/packages/linux.scm | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm
index d5293cbcdf..02ac5221dd 100644
--- a/gnu/packages/linux.scm
+++ b/gnu/packages/linux.scm
@@ -526,17 +526,17 @@ (define-public linux-libre-6.5-pristine-source
 ;; The "longterm" kernels — the older releases with long-term upstream support.
 ;; Here are the support timelines:
 ;; <https://www.kernel.org/category/releases.html>
-(define-public linux-libre-6.1-version "6.1.60")
+(define-public linux-libre-6.1-version "6.1.61")
 (define-public linux-libre-6.1-gnu-revision "gnu")
 (define deblob-scripts-6.1
   (linux-libre-deblob-scripts
    linux-libre-6.1-version
    linux-libre-6.1-gnu-revision
    (base32 "1sf80f2i4vf888xjcn84ymn4w5ynn30ib9033zwmv7f09yvfhapy")
-   (base32 "1c73516nbhnz0cxjz38b5794dxygb8sznv9idiibw7ablmjbhd11")))
+   (base32 "1hdibv43xbn1lv83i6qjgfmf1bvqxvq17fryfsq4r4sjgs9212js")))
 (define-public linux-libre-6.1-pristine-source
   (let ((version linux-libre-6.1-version)
-        (hash (base32 "02pvymr1dgd36mp7yikxqqv0sfrpwi1grnvxvx6jbbx6wmx0wljq")))
+        (hash (base32 "1kk4d7ph6pvgdrdmaklg15wf58nw9n7yqgkag7jdvqinzh99sb5d")))
    (make-linux-libre-source version
                             (%upstream-linux-source version hash)
                             deblob-scripts-6.1)))
-- 
2.41.0





Information forwarded to guix-patches <at> gnu.org:
bug#66923; Package guix-patches. (Fri, 03 Nov 2023 23:57:01 GMT) Full text and rfc822 format available.

Message #14 received at 66923 <at> debbugs.gnu.org (full text, mbox):

From: Leo Famulari <leo <at> famulari.name>
To: Wilko Meyer <w <at> wmeyer.eu>
Cc: 66923 <at> debbugs.gnu.org
Subject: Re: [PATCH 1/2] gnu: linux-libre 6.5: Update to 6.5.10.
Date: Fri, 3 Nov 2023 19:55:49 -0400
On Fri, Nov 03, 2023 at 10:58:00PM +0100, Wilko Meyer wrote:
> * gnu/packages/linux.scm (linux-libre-6.5-version): Update to 6.5.10.
> (linux-libre-6.5-pristine-source): Update hash.

Thanks for these!

I can't get them to apply. Do you know what commit of guix.git they
apply to?

You can use the '--base=auto' option of Git when creating patches or
sending a patch series to automatically include that information.




Information forwarded to guix-patches <at> gnu.org:
bug#66923; Package guix-patches. (Sat, 04 Nov 2023 09:38:01 GMT) Full text and rfc822 format available.

Message #17 received at 66923 <at> debbugs.gnu.org (full text, mbox):

From: Wilko Meyer <w <at> wmeyer.eu>
To: 66923 <at> debbugs.gnu.org
Cc: Wilko Meyer <w <at> wmeyer.eu>, leo <at> famulari.name
Subject: [PATCH v2 1/2] gnu: linux-libre 6.1: Update to 6.1.61.
Date: Sat,  4 Nov 2023 10:36:30 +0100
* gnu/packages/linux.scm (linux-libre-6.1-version): Update to 6.1.61.
(linux-libre-6.1-pristine-source): Update hash.
(deblob-scripts-6.1): Update hash.

Change-Id: Iaab673a11ff578ac7671999deb7d31f4dfd5b1e2
---
 gnu/packages/linux.scm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm
index c4cea246cc..b78db6d7ee 100644
--- a/gnu/packages/linux.scm
+++ b/gnu/packages/linux.scm
@@ -511,7 +511,7 @@ (define-public linux-libre-6.5-pristine-source
 ;; The "longterm" kernels — the older releases with long-term upstream support.
 ;; Here are the support timelines:
 ;; <https://www.kernel.org/category/releases.html>
-(define-public linux-libre-6.1-version "6.1.60")
+(define-public linux-libre-6.1-version "6.1.61")
 (define-public linux-libre-6.1-gnu-revision "gnu")
 (define deblob-scripts-6.1
   (linux-libre-deblob-scripts
@@ -521,7 +521,7 @@ (define deblob-scripts-6.1
    (base32 "1hdibv43xbn1lv83i6qjgfmf1bvqxvq17fryfsq4r4sjgs9212js")))
 (define-public linux-libre-6.1-pristine-source
   (let ((version linux-libre-6.1-version)
-        (hash (base32 "02pvymr1dgd36mp7yikxqqv0sfrpwi1grnvxvx6jbbx6wmx0wljq")))
+        (hash (base32 "1kk4d7ph6pvgdrdmaklg15wf58nw9n7yqgkag7jdvqinzh99sb5d")))
    (make-linux-libre-source version
                             (%upstream-linux-source version hash)
                             deblob-scripts-6.1)))

base-commit: 2ee10d8dcfbec3f3d2783d6d3cd2fde0d07aa9bc
-- 
2.41.0





Information forwarded to guix-patches <at> gnu.org:
bug#66923; Package guix-patches. (Sat, 04 Nov 2023 09:38:02 GMT) Full text and rfc822 format available.

Message #20 received at 66923 <at> debbugs.gnu.org (full text, mbox):

From: Wilko Meyer <w <at> wmeyer.eu>
To: 66923 <at> debbugs.gnu.org
Cc: Wilko Meyer <w <at> wmeyer.eu>, leo <at> famulari.name
Subject: [PATCH v2 2/2] gnu: linux-libre 6.5: Update to 6.5.10.
Date: Sat,  4 Nov 2023 10:36:31 +0100
* gnu/packages/linux.scm (linux-libre-6.5-version): Update to 6.5.10.
(linux-libre-6.5-pristine-source): Update hash.

Change-Id: Icc0c07d8f38659be00e3675c335801aab5ae8b6c
---
 gnu/packages/linux.scm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm
index b78db6d7ee..95a66e3d6a 100644
--- a/gnu/packages/linux.scm
+++ b/gnu/packages/linux.scm
@@ -493,7 +493,7 @@ (define (%upstream-linux-source version hash)
 ;; The current "stable" kernels. That is, the most recently released major
 ;; versions that are still supported upstream.
 
-(define-public linux-libre-6.5-version "6.5.9")
+(define-public linux-libre-6.5-version "6.5.10")
 (define-public linux-libre-6.5-gnu-revision "gnu")
 (define deblob-scripts-6.5
   (linux-libre-deblob-scripts
@@ -503,7 +503,7 @@ (define deblob-scripts-6.5
    (base32 "066z5lw5vrfayhv23hpfcm6fh6b7zmn2v13kfv1g3z3jl1wblhfh")))
 (define-public linux-libre-6.5-pristine-source
   (let ((version linux-libre-6.5-version)
-        (hash (base32 "1mcg0lpxr832mwyqlbn0s5gssvsk2nn2xhq9w0qbymizf5j2yrn6")))
+        (hash (base32 "12sswml8jvabv6bqx35lg3jj6gq8jjk365rghjngdy5d0j34jpx1")))
    (make-linux-libre-source version
                             (%upstream-linux-source version hash)
                             deblob-scripts-6.5)))
-- 
2.41.0





Information forwarded to guix-patches <at> gnu.org:
bug#66923; Package guix-patches. (Sat, 04 Nov 2023 09:51:02 GMT) Full text and rfc822 format available.

Message #23 received at 66923 <at> debbugs.gnu.org (full text, mbox):

From: Wilko Meyer <w <at> wmeyer.eu>
To: Leo Famulari <leo <at> famulari.name>
Cc: Wilko Meyer <w <at> wmeyer.eu>, 66923 <at> debbugs.gnu.org
Subject: Re: [PATCH 1/2] gnu: linux-libre 6.5: Update to 6.5.10.
Date: Sat, 04 Nov 2023 10:20:46 +0100
Hi Leo,

Leo Famulari <leo <at> famulari.name> writes:

> I can't get them to apply. Do you know what commit of guix.git they
> apply to?

I prepared these patches on a branch where my 6.6. updates were already
present, which caused one of the two patches to not apply properly. I
prepared a second revision of those based off the upstream
kernel-updates branch; which means it should now work properly.

> You can use the '--base=auto' option of Git when creating patches or
> sending a patch series to automatically include that information.

I'll do this in future patches, thanks for mentioning it!

-- 
Kind regards,

Wilko Meyer
w <at> wmeyer.eu




Information forwarded to guix-patches <at> gnu.org:
bug#66923; Package guix-patches. (Sat, 04 Nov 2023 18:51:02 GMT) Full text and rfc822 format available.

Message #26 received at 66923 <at> debbugs.gnu.org (full text, mbox):

From: Leo Famulari <leo <at> famulari.name>
To: Wilko Meyer <w <at> wmeyer.eu>
Cc: 66923 <at> debbugs.gnu.org
Subject: Re: [PATCH 1/2] gnu: linux-libre 6.5: Update to 6.5.10.
Date: Sat, 4 Nov 2023 14:49:33 -0400
On Sat, Nov 04, 2023 at 10:20:46AM +0100, Wilko Meyer wrote:
> I prepared these patches on a branch where my 6.6. updates were already
> present, which caused one of the two patches to not apply properly. I
> prepared a second revision of those based off the upstream
> kernel-updates branch; which means it should now work properly.

That makes sense. I've pushed v2 patches to 'kernel-updates'. 




Information forwarded to guix-patches <at> gnu.org:
bug#66923; Package guix-patches. (Sun, 05 Nov 2023 15:35:02 GMT) Full text and rfc822 format available.

Message #29 received at 66923 <at> debbugs.gnu.org (full text, mbox):

From: Leo Famulari <leo <at> famulari.name>
To: Wilko Meyer <w <at> wmeyer.eu>
Cc: 66923 <at> debbugs.gnu.org
Subject: Re: [PATCH 1/2] gnu: linux-libre 6.5: Update to 6.5.10.
Date: Sun, 5 Nov 2023 10:34:11 -0500
On Fri, Nov 03, 2023 at 10:58:00PM +0100, Wilko Meyer wrote:
> * gnu/packages/linux.scm (linux-libre-6.5-version): Update to 6.5.10.
> (linux-libre-6.5-pristine-source): Update hash.

On CI, this package failed to build with a hash mismatch for the kernel
source tarball:

------
Starting download of /gnu/store/31g0vm5hlgfi4d9lfwj07fasjn5667af-linux-6.5.10.tar.xz
From http://linux-kernel.uio.no/pub/linux/kernel/v6.x/linux-6.5.10.tar.xz...
[...]
[K ….10.tar.xz  90.0MiB                62.4MiB/s 00:01 [##################] 100.0%
@ hash-mismatch /gnu/store/31g0vm5hlgfi4d9lfwj07fasjn5667af-linux-6.5.10.tar.xz sha256 12sswml8jvabv6bqx35lg3jj6gq8jjk365rghjngdy5d0j34jpx1 1drdjrbhdiljcqapjrjyvyvvf7dvpxdw4wxnqxjh1xy7f5vimxm9
hash mismatch for store item '/gnu/store/31g0vm5hlgfi4d9lfwj07fasjn5667af-linux-6.5.10.tar.xz'
------
https://ci.guix.gnu.org/build/2418732/log

I downloaded the tarball 'by hand' from kernel.org and calculated the
hash:

------
$ guix hash linux-6.5.10.tar.xz
12sswml8jvabv6bqx35lg3jj6gq8jjk365rghjngdy5d0j34jpx1
------

... and that matches your patch:

>  (define-public linux-libre-6.5-pristine-source
>    (let ((version linux-libre-6.5-version)
> -        (hash (base32 "1mcg0lpxr832mwyqlbn0s5gssvsk2nn2xhq9w0qbymizf5j2yrn6")))
> +        (hash (base32 "12sswml8jvabv6bqx35lg3jj6gq8jjk365rghjngdy5d0j34jpx1")))

However, Guix uses a mirror provided by the University of Oslo, and that
indeed provides a file with a different hash. That file appears to be
truncated, since tar fails to extract it, and it is about 2/3 the size
of the file from kernel.org (133 MiB):

------
$ curl -LO http://linux-kernel.uio.no/pub/linux/kernel/v6.x/linux-6.5.10.tar.xz
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 90.0M  100 90.0M    0     0  6333k      0  0:00:14  0:00:14 --:--:-- 7441k
$ guix hash linux-6.5.10.tar.xz                                                
1drdjrbhdiljcqapjrjyvyvvf7dvpxdw4wxnqxjh1xy7f5vimxm9
$ tar xf linux-6.5.10.tar.xz 
xz: (stdin): Unexpected end of input
tar: Unexpected EOF in archive
tar: Unexpected EOF in archive
tar: Error is not recoverable: exiting now
------

kernel.org already runs a CDN to distribute demand effectively, so I
replaced the bogus source with the canonical upstream in our list of
download URLs, in 'guix/download.scm'.

I've pushed an updated patch series to 'kernel-updates' with this
change.




Information forwarded to guix-patches <at> gnu.org:
bug#66923; Package guix-patches. (Sun, 05 Nov 2023 16:08:02 GMT) Full text and rfc822 format available.

Message #32 received at 66923 <at> debbugs.gnu.org (full text, mbox):

From: Leo Famulari <leo <at> famulari.name>
To: Wilko Meyer <w <at> wmeyer.eu>
Cc: 66923 <at> debbugs.gnu.org
Subject: Re: [PATCH 1/2] gnu: linux-libre 6.5: Update to 6.5.10.
Date: Sun, 5 Nov 2023 11:06:22 -0500
On Sun, Nov 05, 2023 at 10:34:11AM -0500, Leo Famulari wrote:
> I've pushed an updated patch series to 'kernel-updates' with this
> change.

CI didn't recognize this as a change that requires rebuilding, so I'm
testing it locally.




Reply sent to Leo Famulari <leo <at> famulari.name>:
You have taken responsibility. (Mon, 06 Nov 2023 00:08:02 GMT) Full text and rfc822 format available.

Notification sent to Wilko Meyer <w <at> wmeyer.eu>:
bug acknowledged by developer. (Mon, 06 Nov 2023 00:08:02 GMT) Full text and rfc822 format available.

Message #37 received at 66923-done <at> debbugs.gnu.org (full text, mbox):

From: Leo Famulari <leo <at> famulari.name>
To: Wilko Meyer <w <at> wmeyer.eu>
Cc: 66923-done <at> debbugs.gnu.org
Subject: Re: [PATCH 1/2] gnu: linux-libre 6.5: Update to 6.5.10.
Date: Sun, 5 Nov 2023 19:06:27 -0500
On Sun, Nov 05, 2023 at 11:06:22AM -0500, Leo Famulari wrote:
> On Sun, Nov 05, 2023 at 10:34:11AM -0500, Leo Famulari wrote:
> > I've pushed an updated patch series to 'kernel-updates' with this
> > change.
> 
> CI didn't recognize this as a change that requires rebuilding, so I'm
> testing it locally.

Pushed with the updates as 7e214b9a1aab3e00de6e71f3700021092d179862

Thanks!




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Mon, 04 Dec 2023 12:24:07 GMT) Full text and rfc822 format available.

This bug report was last modified 1 year and 259 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.