Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp2947763pxb; Sun, 26 Sep 2021 00:25:49 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxe0qSyUnM25nFZhDQ1etYQBzx0QUrh5r8uH8cda+hoNM7IJtF1paaKUm6yshof/8hLaPSK X-Received: by 2002:a05:6e02:bc9:: with SMTP id c9mr3532622ilu.309.1632641149208; Sun, 26 Sep 2021 00:25:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1632641149; cv=none; d=google.com; s=arc-20160816; b=Rzisk2lTh7cttP2F42EshkXuzb5Pgqr2qjcogjMaNDpM8RDyraHP0TUViSHY8yyUCs Z39vr0jZ/6xYpJtjKuOuhfang19U02fGkZ7jSWlaZayFTbtFQ9eXjsh8+EqskEkOQxU5 iOcN28mHNJEjs1r2g/NQpTHzWHLe7svECtj1xIb8qq7Mt1STrYc5+eX//Sjy72uwAf6q A4TVmckY8IL6e0dpdjebdAVJqGrYDDor08PBZGEYlaYKQiEyg/TD4T3gFsEIcVIU0KX2 DNkD/rpkJKExZd5g7jarGtE7zD5Pj3U6esjWq8Czn72+gIASRBMTsnIsgrnndAD9HQtD 0VuA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:subject:reply-to:cc:from:to:dkim-signature:date; bh=A7IcFfvvEgZya5vztjRz7mrm+5JR+9oCS8iFEgJnedg=; b=f+6DyWl52bLa+HuUsMJM68teVOChQD6Ayg59rDPenWjy41IFn23PyxCSa6UULQVS0y /qpMxK6li/AgFMI39jojwwCC8rYyqWEtX+PHXwQQV5E68xWh3/z0dMchkBKaoa33Bpdk e0bSSASQW139li4/p5I21Pr5r8NEllZZfmF1Q7rKdQdZTbWs7nkXZ3G1Wz49O+30edb+ oOm8Avacp/1ZKIj0puXdQqTKhbUKqUINHLe01RQtcZwz3ZquTQTM0kuZGCh9zVfpvKRm ZaptC/QoLY5ncA+KtvcwwgNy1oPGE347iXTH8ovNDjrXTslAbilgWAab5YBecg0VlZRH 2nng== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@protonmail.com header.s=protonmail header.b=ch48N3+Q; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=protonmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id f14si17343882ioo.7.2021.09.26.00.25.37; Sun, 26 Sep 2021 00:25:49 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@protonmail.com header.s=protonmail header.b=ch48N3+Q; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=protonmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231220AbhIZHZS (ORCPT + 99 others); Sun, 26 Sep 2021 03:25:18 -0400 Received: from mail-0201.mail-europe.com ([51.77.79.158]:50266 "EHLO mail-0201.mail-europe.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231157AbhIZHZR (ORCPT ); Sun, 26 Sep 2021 03:25:17 -0400 Date: Sun, 26 Sep 2021 07:23:33 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail; t=1632641018; bh=A7IcFfvvEgZya5vztjRz7mrm+5JR+9oCS8iFEgJnedg=; h=Date:To:From:Cc:Reply-To:Subject:From; b=ch48N3+QmTMiKyizs2fVCt0oWGiPjAmsDqHPZoKcXyW/Zd9o1rOtPDmf7fCVfAtSX 4xPCAr9v1GqVSwPJEYQhkKDYuu1fwOQrtIwMZ5PqiJ5CqYRy10ToC+dlReXAENw1OA nZqbr/bqqjq8n2E8MizHs8JI6NcoBl+4NfajTcrg= To: Greg Kroah-Hartman , Sasha Levin From: Jari Ruusu Cc: linux-kernel@vger.kernel.org, stable@vger.kernel.org, Jiri Slaby , Mauro Carvalho Chehab , Linus Torvalds Reply-To: Jari Ruusu Subject: glibc VETO for kernel version SUBLEVEL >= 255 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-1.2 required=10.0 tests=ALL_TRUSTED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM shortcircuit=no autolearn=disabled version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on mailout.protonmail.ch Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Earlier this year there was some discussion about kernel version numbers after 4.9.255 and 4.4.255. Problem was 8-bit limitation for SUBLEVEL number in stable kernel versions. The fix was to freeze LINUX_VERSION_CODE number at x.x.255 and to continue incrementing SUBLEVEL number. Seems there are more more fallout from that decision. At least some versions of glibc do not play well with larger SUBLEVEL numbers. # uname -s -r -m Linux 4.9.283-QEMU armv6l # apt upgrade Reading package lists... Done Building dependency tree Reading state information... Done Calculating upgrade... Done The following packages will be upgraded: [SNIP] Fetched 145 MB in 1min 57s (1244 kB/s) Reading changelogs... Done Preconfiguring packages ... (Reading database ... 39028 files and directories currently installed.) Preparing to unpack .../libc6-dbg_2.28-10+rpt2+rpi1_armhf.deb ... Unpacking libc6-dbg:armhf (2.28-10+rpt2+rpi1) over (2.28-10+rpi1) ... Preparing to unpack .../libc6-dev_2.28-10+rpt2+rpi1_armhf.deb ... Unpacking libc6-dev:armhf (2.28-10+rpt2+rpi1) over (2.28-10+rpi1) ... Preparing to unpack .../libc-dev-bin_2.28-10+rpt2+rpi1_armhf.deb ... Unpacking libc-dev-bin (2.28-10+rpt2+rpi1) over (2.28-10+rpi1) ... Preparing to unpack .../linux-libc-dev_1%3a1.20210831-3~buster_armhf.deb ..= . Unpacking linux-libc-dev:armhf (1:1.20210831-3~buster) over (1:1.20210527-1= ) ... Preparing to unpack .../libc6_2.28-10+rpt2+rpi1_armhf.deb ... ERROR: Your kernel version indicates a revision number of 255 or greater. Glibc has a number of built in assumptions that this revision number is less than 255. If you\'ve built your own kernel, please make sure that any custom version numbers are appended to the upstream kernel number with a dash or some other delimiter. dpkg: error processing archive /var/cache/apt/archives/libc6_2.28-10+rpt2+r= pi1_armhf.deb (--unpack): new libc6:armhf package pre-installation script subprocess returned error = exit status 1 Errors were encountered while processing: /var/cache/apt/archives/libc6_2.28-10+rpt2+rpi1_armhf.deb E: Sub-process /usr/bin/dpkg returned an error code (1) Above upgrade works normally if I edit top level Linux source Makefile to say "SUBLEVEL =3D 0" and re-compile new kernel. I am not pointing any fingers here, but it seems that either glibc code or stable kernel versioning is messed up. -- Jari Ruusu=C2=A0 4096R/8132F189 12D6 4C3A DCDA 0AA4 27BD=C2=A0 ACDF F073 3C= 80 8132 F189