Received: by 2002:a05:7412:98c1:b0:fa:551:50a7 with SMTP id kc1csp1799587rdb; Mon, 8 Jan 2024 10:31:07 -0800 (PST) X-Google-Smtp-Source: AGHT+IGUjhIycvA88XucOZArcPmXdg7m7lQWkfoCakVwi5OIGQ9pM7gZF1q3e+sIBtaIisPcKwQ2 X-Received: by 2002:a05:600c:4ec7:b0:40d:88c6:b9b with SMTP id g7-20020a05600c4ec700b0040d88c60b9bmr2081320wmq.123.1704738667217; Mon, 08 Jan 2024 10:31:07 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704738667; cv=none; d=google.com; s=arc-20160816; b=zCs8IlrLwL8jUxF90l/2JBO0AFviXRIPsNXjFqoEIOgrZJRJ7V3GhRH38QimxySjVa TV/rPOZhvRVZ1Y+8bNQJEXx8fr7p+N7OdutqoRLrbRuwZmfMsxw3PdJBvDPkKZTIV76r WoHIU0cFErQsuV+YKdc1MTxNjyEXxm2ht3BTJWXVu40h6sw3HOaM3GF44uqBpkR8rolw 5msjj5tpDkqeddDFmWj+ycMFu8c6Wgjl+gp82N/WI3JkqVRvRo7+GQN6i2TwYrIW2wcj i48obI8cqPmW2UkfnXKiTIlodi5Ep8vwzbWwaWNRXpqilgDoDyPh+3p/Ti5iLXzmjDEj eshg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:in-reply-to:content-disposition:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:references :message-id:subject:cc:to:from:date:dkim-signature; bh=VlUAd8oG1kTAZGT+1dUtSqGacdlM72KwoMUwqlEUI6I=; fh=gQd0qmoxnLJEnbbCdCWyc6WHSiTcE5HZ9svqevKOkIM=; b=QgQPM8hd0/DXAAclqeHeKprsJ/OmOr50E5cfbMuZev12MoRpRuHsdvG+r1CZABQ+fN DJJ0efj1EYnwP5fBJHmfUiSejjjRtCgJYn296m8H4ZZyFzy9zenu+GQxTSfqr0uRejgV urNo+1df7j8/TYf3rh+4gg0GP6/J2glBuOw4GaNWZyinyXMVDMACv5kBhc2wh8T6+eQQ GQvoknKpecurxGN9SU8Ci9ucyOYgx6BbAy1sjpg06aBv5gLlmhhEshairIwCMxB64aUj nvs4hgCat2DHojK3u3eSxWdEXZDGeH08+arsWyEildfzoruGkYExcyTq18yzDrY65zyq ONvA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail (test mode) header.i=@armlinux.org.uk header.s=pandora-2019 header.b=1UE7pWXu; spf=pass (google.com: domain of linux-kernel+bounces-19960-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-19960-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=armlinux.org.uk Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id x17-20020a1709065ad100b00a2ae15986desi121863ejs.372.2024.01.08.10.31.07 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 08 Jan 2024 10:31:07 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-19960-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=fail (test mode) header.i=@armlinux.org.uk header.s=pandora-2019 header.b=1UE7pWXu; spf=pass (google.com: domain of linux-kernel+bounces-19960-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-19960-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=armlinux.org.uk Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id E0F7C1F22D6E for ; Mon, 8 Jan 2024 18:31:06 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 41AF947793; Mon, 8 Jan 2024 18:31:00 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=armlinux.org.uk header.i=@armlinux.org.uk header.b="1UE7pWXu" X-Original-To: linux-kernel@vger.kernel.org Received: from pandora.armlinux.org.uk (pandora.armlinux.org.uk [78.32.30.218]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 0090825755 for ; Mon, 8 Jan 2024 18:30:55 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=armlinux.org.uk Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=armlinux.org.uk DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=armlinux.org.uk; s=pandora-2019; h=Sender:In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=VlUAd8oG1kTAZGT+1dUtSqGacdlM72KwoMUwqlEUI6I=; b=1UE7pWXutFGrTxLmE5ZCVPTO14 M63GVNMrAPGye81IQWjB8pvSE5kTNKazD+g7m8vXx3iKyHnaeNctY5MyUObp0EBQJxnQB4TeT31rG qCVQhh9yAm/bvbgFFsvBWJlXdPQgp0f2B1T4cjncVpo8vof2iOW80B6rbL62VIb3Z5NIvrEBe/MsQ JJGknppsWIRU6FyE3KMZwHVOxaE7UMNLmGFMAMklZbBUPnfTvvp9ruRBxlrSWzy66vfDtCpKfbG2k Rp6nkLFkzclC0E5YijowGnOEvBOt3xOqzOLdLrS80YqByxro2O02GCumsTCRVomagWyJHTbGDFHB8 LA6R+/1A==; Received: from shell.armlinux.org.uk ([fd8f:7570:feb6:1:5054:ff:fe00:4ec]:45438) by pandora.armlinux.org.uk with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1rMuOf-0003Jh-1A; Mon, 08 Jan 2024 18:30:49 +0000 Received: from linux by shell.armlinux.org.uk with local (Exim 4.94.2) (envelope-from ) id 1rMuOi-0003S7-22; Mon, 08 Jan 2024 18:30:52 +0000 Date: Mon, 8 Jan 2024 18:30:52 +0000 From: "Russell King (Oracle)" To: Dimitri John Ledkov Cc: linux-kernel@vger.kernel.org Subject: Re: [BUG] SHA-3 causes kmod 28 to segfault Message-ID: References: Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Sender: Russell King (Oracle) On Mon, Jan 08, 2024 at 06:14:17PM +0000, Dimitri John Ledkov wrote: > Hi, > > On Mon, 8 Jan 2024 at 16:38, Russell King (Oracle) > wrote: > > > > Hi, > > > > When building 6.7 under Debian Oldstable with kmod 28, the installation > > of modules fails during depmod with a SEGV. > > > > What is your kernel configuration, and I hope you make config choices > compatible with your target host OS. "target host OS" - that's a total misnomer. "host" is generally what you're building under. "target" is generally what you're building _for_. So I don't fully understand your comment. Maybe you meant "target _and_ host" ? > > Running under gdb: > > > > Program received signal SIGSEGV, Segmentation fault. > > __strlen_sse2 () at ../sysdeps/x86_64/multiarch/strlen-vec.S:133 > > > > I have no further information as I can't remember how to get the debug > > info for packages under Debian - and even if I could, it's probably a > > bug in the kmod package that Debian will have absolutely no interest in > > fixing (based on previous experience reporting bugs to Debian.) > > For latest kernel and latest kernel features support in kmod, latest > kmod is required. I.e. patched with > https://github.com/kmod-project/kmod/commit/510c8b7f7455c6613dd1706e5e41ec7b09cf6703 Would be nice if there was some documentation. Also, as kconfig provides a mechanism to detect e.g. the version of tooling used to build the kernel, it would've been nice to detect whether depmod was sufficiently recent to support SHA3 and make the module signing SHA3 options depend on that. Leaving this to a SEGV to indicate that something is wrong isn't user friendly. -- RMK's Patch system: https://www.armlinux.org.uk/developer/patches/ FTTP is here! 80Mbps down 10Mbps up. Decent connectivity at last!