Received: by 2002:a05:6a10:af89:0:0:0:0 with SMTP id iu9csp5481953pxb; Wed, 26 Jan 2022 13:05:09 -0800 (PST) X-Google-Smtp-Source: ABdhPJwy+fez6oZCHeF23u8jo96VIJulPBI6XD4Mr+YiohBYET/MAM7AotTd8mFDUeh/L97mxfDz X-Received: by 2002:a63:96:: with SMTP id 144mr470590pga.383.1643231109569; Wed, 26 Jan 2022 13:05:09 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1643231109; cv=none; d=google.com; s=arc-20160816; b=ByDNg9/3/+sSt/YsKm+NMqiQeqCqxxzUYLi/dtvLqzYZGAWBwRG8mzY8bQNSARkrun +rnmr3W+d/7b6rP/ZeJX1whfMPvVG6zP7zLnUaD56Tibe96Ohv4RAiy61UFifOc0J6Z+ 3CJgyRMb7gFiMvVjsfBg9grdOPfBIC0IFY4Abjgh4RQA1bxD1LoRdJbtJmyoN3FEr7mB msgSYX35GzhTBIT8bp8Krqaq6dasmLLAaUaaE9fLFrz1VH8USYYpHceleF1pE6otDR2C E8uMuvvVDF2yV55RLcYlS0PYtJT84gkCFre05vDWKypHmZWFVu8nY6wvGCt+D9TAAKGd XRmA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:sender:dkim-signature; bh=yRqdOKllno2WTAMKVZS14yrHhw5Xe+r37FBeeO98mgQ=; b=Nbp+pG+Vq+aNp5qHIPZu1V7dUUGdygsT8Hk1fJLNX1OAY+FkUI3tpjrTceUPvGJV6D NpRa+GcUbwJLsSFdhDcsHL/Lio+R8QF13rwmxQ4yKMos+Iazlo18db69GY1+1X3k/4nQ swZiulqBBATojh3srnNU+Jckz09gUZDzSCxmhWQPcbQkkRvd0xRUXm6AYX1IOdf5FM28 Q1gv3gPpeeR5a3Ffs2qFYloHnbWE5quD6iY5oN6Xw3CFZrDhWEGwFObV+WmbzYMnpA67 L08Q3lwI6CRw/PHFwBxiv0CKmHkYb6Cx+2w0ay9siV/QimUGLKkU66mLw9ohX4+FZEdT QXWw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b="F0BmIlv/"; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id kk2si4454898pjb.66.2022.01.26.13.04.57; Wed, 26 Jan 2022 13:05:09 -0800 (PST) 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=@gmail.com header.s=20210112 header.b="F0BmIlv/"; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240163AbiAZKqC (ORCPT + 99 others); Wed, 26 Jan 2022 05:46:02 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33946 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232078AbiAZKqB (ORCPT ); Wed, 26 Jan 2022 05:46:01 -0500 Received: from mail-wm1-x330.google.com (mail-wm1-x330.google.com [IPv6:2a00:1450:4864:20::330]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D47E9C06161C; Wed, 26 Jan 2022 02:46:00 -0800 (PST) Received: by mail-wm1-x330.google.com with SMTP id c192so2041955wma.4; Wed, 26 Jan 2022 02:46:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=yRqdOKllno2WTAMKVZS14yrHhw5Xe+r37FBeeO98mgQ=; b=F0BmIlv/Au9mK3wEWC6nrbIc7SzbHgrzGwoIPl5txafX0sGFIqScJvdF5CIU3Kj7VW qF5+HW0iSMKGBPmfFwzMOxa2Isn+mmE0lBQxIOgMdUmXgWcDuGF9OSvC7N61QMUEYAhh c97kjgaaZaaoXexoSsCnJZgFsiHb8iqzGsiLbFep89jZdoa0+GzFOSnxE13abWd9FGt5 SpdkCcWb1gF6jYBjwsjneYcY4nakrOprmYF7SSCeUKOdEGfMxOYUoMvN/0p7ZF/mq56T 0XAVt+UyttcHfqgLG7NQWq56pHifKtHqvt2dSVG6rNl1/Yz0NcI7cT9TGuOYA1BquIe8 UQkw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:sender:date:from:to:cc:subject:message-id :references:mime-version:content-disposition:in-reply-to; bh=yRqdOKllno2WTAMKVZS14yrHhw5Xe+r37FBeeO98mgQ=; b=xFGNUWAQjCCK7l+SqZIUeFYGqsHAQpU+eyablMw+q4bncEfJUAAhg66dM9kP2O6HcF CDyxpWTFSsGhYs7z3BsvJoDzRI6/1UmgC3QlMkT4dy7CiDxyd2LiGkxfzSnxC3zO0MwQ UXYWcwfuB21/5JRMOxXRcav6ZmohIDOt0Rri594I4bI9mbNt+VUTrePhVtEC/g1ybRMQ jTYsNgQkcmG42xchKxZh2N/Q9GMkYlc+jqQz6OTL1YtLQuLO06OvMbk73A/e6RE+CHmw ifCuuPHW3+mhh2q0BX7AXTNDaoQRv/CZ2YyRxJV3LUmvn5GamGp+Twjl5XageCVmjchJ Gvkg== X-Gm-Message-State: AOAM530rJSJdEyAucARkdjIWWSUTm0AidUiX9nvIGugkzIS3ER8zUo6q PNflGmOBJVwtQfwNyyOJEs2uqLO4xxq1fA== X-Received: by 2002:a1c:6a14:: with SMTP id f20mr6629539wmc.123.1643193959406; Wed, 26 Jan 2022 02:45:59 -0800 (PST) Received: from eldamar (80-218-24-251.dclient.hispeed.ch. [80.218.24.251]) by smtp.gmail.com with ESMTPSA id m14sm12800014wrp.4.2022.01.26.02.45.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 26 Jan 2022 02:45:58 -0800 (PST) Sender: Salvatore Bonaccorso Date: Wed, 26 Jan 2022 11:45:58 +0100 From: Salvatore Bonaccorso To: Jeffrin Thalakkottoor Cc: Greg KH , lkml , "stable@vger.kernel.org" Subject: Re: review for 5.16.3-rc2 Message-ID: References: <0af17d6952b3677dcd413fefa74b086d5ffb474b.camel@rajagiritech.edu.in> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, On Tue, Jan 25, 2022 at 10:32:26PM +0530, Jeffrin Thalakkottoor wrote: > On Tue, Jan 25, 2022 at 9:57 PM Greg KH wrote: > > > > On Tue, Jan 25, 2022 at 09:49:00PM +0530, Jeffrin Thalakkottoor wrote: > > > On Tue, Jan 25, 2022 at 8:04 PM Greg KH wrote: > > > > > > > > On Tue, Jan 25, 2022 at 06:15:46PM +0530, Jeffrin Jose T wrote: > > > > > hello greg, > > > > > > > > > > compile failed for 5.16.3-rc2 related. > > > > > a relevent file attached. > > > > > > > > > > Tested-by : Jeffrin Jose T > > > > > > > > But it failed for you, how did you test it? > > > > > > i compiled 5.16.3-rc2 related to "make localmodconfig" and "make -j4" > > > > So it somehow failed? > > Yes i think so > > > > > > > > > > > > > > > > > > > > > > > > > > char * typetab; /* 24 8 */ > > > > > > > > > > /* size: 32, cachelines: 1, members: 4 */ > > > > > /* sum members: 28, holes: 1, sum holes: 4 */ > > > > > /* last cacheline: 32 bytes */ > > > > > }; > > > > > struct klp_modinfo { > > > > > Elf64_Ehdr hdr; /* 0 64 */ > > > > > /* --- cacheline 1 boundary (64 bytes) --- */ > > > > > Elf64_Shdr * sechdrs; /* 64 8 */ > > > > > char * secstrings; /* 72 8 */ > > > > > unsigned int symndx; /* 80 4 */ > > > > > > > > > > /* size: 88, cachelines: 2, members: 4 */ > > > > > /* padding: 4 */ > > > > > /* last cacheline: 24 bytes */ > > > > > }; > > > > > Segmentation fault > > > > > > > > What "faulted"? Look higher up in the log please. > > > > > > a top view... > > > > > > CALL scripts/atomic/check-atomics.sh > > > CALL scripts/checksyscalls.sh > > > CHK include/generated/compile.h > > > GEN .version > > > CHK include/generated/compile.h > > > UPD include/generated/compile.h > > > CC init/version.o > > > AR init/built-in.a > > > LD vmlinux.o > > > MODPOST vmlinux.symvers > > > MODINFO modules.builtin.modinfo > > > GEN modules.builtin > > > LD .tmp_vmlinux.btf > > > BTF .btf.vmlinux.bin.o > > > struct list_head { > > > struct list_head * next; /* 0 8 */ > > > struct list_head * prev; /* 8 8 */ > > > > > > /* size: 16, cachelines: 1, members: 2 */ > > > /* last cacheline: 16 bytes */ > > > }; > > > struct hlist_head { > > > struct hlist_node * first; /* 0 8 */ > > > > > > /* size: 8, cachelines: 1, members: 1 */ > > > /* last cacheline: 8 bytes */ > > > }; > > > struct hlist_node { > > > struct hlist_node * next; /* 0 8 */ > > > struct hlist_node * * pprev; /* 8 8 */ > > > > > > /* size: 16, cachelines: 1, members: 2 */ > > > /* last cacheline: 16 bytes */ > > > }; > > > struct callback_head { > > > struct callback_head * next; /* 0 8 */ > > > void (*func)(struct callback_head *); /* > > > 8 8 */ > > > . > > > . > > > . > > > . > > > . > > > . > > > > I do not know what is failing, there is no error message here. Does > > 5.16.2 build properly for you? > > stderr has captured the following... > > > -------------x-----------------x--------------x--- > FAILED: load BTF from vmlinux: No such file or directory > make: *** [Makefile:1161: vmlinux] Error 255 > make: *** Deleting file 'vmlinux' > ------------x----------------x------------x-- > 5.16.2-rc1 builds for me. > > Will the following link help... > > https://unix.stackexchange.com/questions/616392/failed-load-btf-from-vmlinux-unknown-error-2make-makefile1162-vmlinu What version of pahole are you using? Are you using Debian downstream's 1.22-2? If so please check if it's just the same issue as reported in https://bugs.debian.org/1004311 Regards, Salvatore