From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from smtp4.osuosl.org (smtp4.osuosl.org [140.211.166.137]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 978F3C433EF for ; Mon, 18 Jul 2022 02:43:20 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp4.osuosl.org (Postfix) with ESMTP id C831E416A5; Mon, 18 Jul 2022 02:43:19 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp4.osuosl.org C831E416A5 X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp4.osuosl.org ([127.0.0.1]) by localhost (smtp4.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id t1SFGwIcz75g; Mon, 18 Jul 2022 02:43:18 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by smtp4.osuosl.org (Postfix) with ESMTP id 615A041600; Mon, 18 Jul 2022 02:43:17 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp4.osuosl.org 615A041600 Received: from smtp1.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id 0A03C1BF2BF for ; Mon, 18 Jul 2022 02:43:16 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp1.osuosl.org (Postfix) with ESMTP id D2635831F1 for ; Mon, 18 Jul 2022 02:43:15 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp1.osuosl.org D2635831F1 X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp1.osuosl.org ([127.0.0.1]) by localhost (smtp1.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id xqqGy1r8UEWn for ; Mon, 18 Jul 2022 02:43:15 +0000 (UTC) Received: from busybox.osuosl.org (busybox.osuosl.org [140.211.167.122]) by smtp1.osuosl.org (Postfix) with ESMTP id EF1E1831D5 for ; Mon, 18 Jul 2022 02:43:14 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp1.osuosl.org EF1E1831D5 Received: by busybox.osuosl.org (Postfix, from userid 81) id 75EE683964; Mon, 18 Jul 2022 02:29:50 +0000 (UTC) From: bugzilla@busybox.net To: buildroot@uclibc.org Date: Mon, 18 Jul 2022 02:43:14 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: buildroot X-Bugzilla-Component: Other X-Bugzilla-Version: 2022.02.3 X-Bugzilla-Keywords: X-Bugzilla-Severity: major X-Bugzilla-Who: tgeh23@qq.com X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P5 X-Bugzilla-Assigned-To: unassigned@buildroot.uclibc.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter cc target_milestone Message-ID: X-Bugzilla-URL: https://bugs.busybox.net/ Auto-Submitted: auto-generated MIME-Version: 1.0 Subject: [Buildroot] [Bug 14916] New: build buildroot with glibc and linux kernel 5.4 will cause error: "FATAL: kernel too old" X-BeenThere: buildroot@buildroot.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: buildroot-bounces@buildroot.org Sender: "buildroot" https://bugs.busybox.net/show_bug.cgi?id=14916 Bug ID: 14916 Summary: build buildroot with glibc and linux kernel 5.4 will cause error: "FATAL: kernel too old" Product: buildroot Version: 2022.02.3 Hardware: All OS: Linux Status: NEW Severity: major Priority: P5 Component: Other Assignee: unassigned@buildroot.uclibc.org Reporter: tgeh23@qq.com CC: buildroot@uclibc.org Target Milestone: --- Refer to this article for details: https://www.jianshu.com/p/55952ae88965 1. qemu start error [ 3.405278] Run /sbin/init as init process FATAL: kernel too old [ 3.484534] Kernel panic - not syncing: Attempted to kill init! exitcode=0x00007f00 [ 3.484974] CPU: 0 PID: 1 Comm: init Not tainted 5.4.195 #1 2. environment host arch linux kernel buildroot glibc ubuntu 20.04 x86_64 5.4.0-195/5.4.195 2022.02.3 2.34 3. error analysis - buildroot set `BR2_TOOLCHAIN_HEADERS_AT_LEAST` to `5.4` - but glibc's `--enable-kernel=X.Y.Z` - buildroot missing `Z` 4. temporary solution modify buildroot's .config `BR2_TOOLCHAIN_HEADERS_AT_LEAST` to `5.4.0` 5. recompile and start ok -- You are receiving this mail because: You are on the CC list for the bug. _______________________________________________ buildroot mailing list buildroot@buildroot.org https://lists.buildroot.org/mailman/listinfo/buildroot