Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp2255922rwl; Sat, 1 Apr 2023 04:56:22 -0700 (PDT) X-Google-Smtp-Source: AKy350ZcgnWM67t30lD8ds5riBEevo0Uet+aES2X55Fkq3w7z4wDPIf4H+32Blq19byyhZ+2XghH X-Received: by 2002:a17:902:fa8d:b0:19f:30be:ea0d with SMTP id lc13-20020a170902fa8d00b0019f30beea0dmr24399826plb.62.1680350181930; Sat, 01 Apr 2023 04:56:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680350181; cv=none; d=google.com; s=arc-20160816; b=X0mZUFCd1O3CDIUuqgyzQk2u+JbGg+5Y6Y1oh1YLCDa1gBSQ7e/PxayH/JFnvmGPbl XtuVLrrrx/01JeiHC7Ie8QL4tCOSeZUSjhOeocFWfI/sB7z1kvumYa2F8at2LzzC90km a74MSRriznq1TBPpyuuDbJ4Pixl9RZ7cR/dlD9WeT1ojlFtA9hKVyTcfcab/h7mLcShL WGdBWyTLwbTKsN5xzujonFMIoaQTK5m+Yv7GyB53FA6sZm41brjJcA+xg/pZKww8DBIi O9ODFVEB5yJmWtpWDjXlmk1Pr3Z+utAZSGBWcl6wUTHoeg7Ffdjy4rI4/xWB9qIYI8xV MbpQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:subject:from:cc:to :content-language:user-agent:mime-version:date:message-id :dkim-signature:dkim-signature; bh=K800n2JKhIiO6537lUbnhlk9DN8sAeubVtpMr1CNkCo=; b=E5jvx1PsXZW2Essv5r4p3xd4tB8caZLesJQoSH5rsBq8L5iihJHrhlbFHzbihBHc6q iXO71l9nHIg0gblBZ6gBPu9hZ+y2TlmySxUFdf9bUaVS936GAaoCiM12vGHebboOU7bo ljK3qKZ41OwzQmBxUWVT5T9mK5/WvPRUdFXns+RqZraeMGOfQhGfdY3VPi8wdmDP6MrA BedwqSDo5G4+WDwyeKP+4RH7CGJSBUm12C9x4dxqkx5WQaa2BIxse/VhzSv7j7tMHJom EMOpcVaoUDpHy/7cuRHF7bouyaBDtYAzV3EkQCe9qwky0S4YviLybj2KbkXU8yToxYI2 3dVw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@alu.unizg.hr header.s=mail header.b="c/HCzqrg"; dkim=fail header.i=@alu.unizg.hr header.s=mail header.b=JJmsuRYt; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=alu.unizg.hr Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id j191-20020a638bc8000000b0051372e8f9b5si4368689pge.791.2023.04.01.04.56.10; Sat, 01 Apr 2023 04:56:21 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=fail header.i=@alu.unizg.hr header.s=mail header.b="c/HCzqrg"; dkim=fail header.i=@alu.unizg.hr header.s=mail header.b=JJmsuRYt; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=alu.unizg.hr Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229967AbjDALzP (ORCPT + 99 others); Sat, 1 Apr 2023 07:55:15 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51770 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229854AbjDALzG (ORCPT ); Sat, 1 Apr 2023 07:55:06 -0400 Received: from domac.alu.hr (domac.alu.unizg.hr [161.53.235.3]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C2B012545B; Sat, 1 Apr 2023 04:54:59 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by domac.alu.hr (Postfix) with ESMTP id 295CF604F3; Sat, 1 Apr 2023 13:54:58 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=alu.unizg.hr; s=mail; t=1680350098; bh=wktZsIqZgEoZxlbnPKAfy7jySjlcBvOPoUk/oBiI7Sc=; h=Date:To:Cc:From:Subject:From; b=c/HCzqrg1OKXCwkzp9edXWYbdA0sM6zie9t1KnelDoEv+MDAZfYLbUHEyVv8Wuct0 QRQdxCSYhUWRLPNKqcLzHrBcwYoz87NGjiGQt2KDSBotq3nZ2OgkVMxZVH/kd539cs XjX47Uall9UarVYFnDoQNwKjnLOYtZrfDiWFGGcHrqDqMwqzsjcjj7WflekfesdUMR zemoHx7DQATVMxx0VDzpBOBlK5wu6TQWz2pSFlmgfJekLHk9tmB9RO49iBQQOoRn1V zS1U+gYjci++e81a0R1BoBLLHJHeeORa3K+K5RE5fEAV7gdvrsWKxVARdygctssl3i RWpu5OsDcuxIg== X-Virus-Scanned: Debian amavisd-new at domac.alu.hr Received: from domac.alu.hr ([127.0.0.1]) by localhost (domac.alu.hr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id emDkzAQ-alcD; Sat, 1 Apr 2023 13:54:55 +0200 (CEST) Received: from [192.168.1.3] (unknown [77.237.101.225]) by domac.alu.hr (Postfix) with ESMTPSA id C7D36604F0; Sat, 1 Apr 2023 13:54:55 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=alu.unizg.hr; s=mail; t=1680350095; bh=wktZsIqZgEoZxlbnPKAfy7jySjlcBvOPoUk/oBiI7Sc=; h=Date:To:Cc:From:Subject:From; b=JJmsuRYtC5enHtcGkA813CrFL0wQXXyjNBYvwRtPBxMDkAS9We48nz+SPZLKZQLlB id7ndE4jQ1IVS1WQwjWfUNC9iNBjvmB3CZwfGqkrnpmge8/cEBy7A1+EeYyQ+dQlvT Vf3ol7wpmG9HoNBm6WF/t3Nugh8edjMhDA9M3x9LjVUmDTfXFg7DsQFGzXVBKqsMUD 17N7IWBLo5tmA625n55c8NT6K7pLZk5whY2P67G0rCqRwqcOjC5kRauMDC7r4xVmbY AOB+vohne1LU+uIKRwxdc2T2sSoTiTl58qeiIpY18MQHTfRRKQAMetNhs8QkXe36JZ IozQ4SV6Fd3AQ== Message-ID: Date: Sat, 1 Apr 2023 13:54:55 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.9.0 Content-Language: en-US, hr To: Bagas Sanjaya Cc: LKML , Linux Kbuild mailing list , Armin Wolf From: Mirsad Goran Todorovac Subject: [BUG] Problem with automatic kernel numbering Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-0.1 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, Mr. Bagas, Sir! I am talking about a problem with the CONFIG_LOCALVERSION_AUTO=y feature. I thought of a way to make an exact account of which patches were applied in a build i.e. adding patch checksum to 6.3.0-rc4-00034-gfcd476ea6a88-dirty, for currently the command # rpm -ivh --oldpackage -.rpm install the kernels kernel-6.3.0_rc4mt+20230330_00051_g8bb95a1662f8_dirty-24.x86_64.rpm kernel-6.3.0_rc4mt+20230330_00051_g8bb95a1662f8_dirty-25.x86_64.rpm kernel-6.3.0_rc4mt+20230330_00051_g8bb95a1662f8_dirty-26.x86_64.rpm all overlapping (apparently everything after '-' [minus] sign is discarded, so one has to reboot to another kernel, i.e. 6.1.15, remove the offending kernel, and then install the new one in the sequence of testing. The CONFIG_LOCALVERSION_AUTO=y rpm build script might add something that rpm command sees in the install process so the files do not overlap (as kernel names are being truncated at '-' sign). A smaller hash of the applied patches would suffice, considering the limit of 64 chars. Or using an underscore '_' instead of minus '-', so the rpm installer doesn't treat them as the same version of kernel. Is this a violation of the build process? It would be time and energy efficient, for changing the .config and CONFIG_LOCALVERSION causes much greater recompilation and touches more dependencies. Optionally, a /proc/ or something like that could be added to the running kernel, much like i.e. TuxCare has kcarectl --patch-info for live patches? Thank you very much for considering this problem report. Kind regards, Mirsad -- Mirsad Goran Todorovac Sistem inženjer Grafički fakultet | Akademija likovnih umjetnosti Sveučilište u Zagrebu System engineer Faculty of Graphic Arts | Academy of Fine Arts University of Zagreb, Republic of Croatia The European Union "I see something approaching fast ... Will it be friends with me?"