From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id QDEHKGoRaV8XDQAA0tVLHw (envelope-from ) for ; Mon, 21 Sep 2020 20:47:38 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id UPQFJGoRaV9wGwAAB5/wlQ (envelope-from ) for ; Mon, 21 Sep 2020 20:47:38 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id DB24A940365 for ; Mon, 21 Sep 2020 20:47:37 +0000 (UTC) Received: from localhost ([::1]:51592 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kKSil-00026e-HG for larch@yhetil.org; Mon, 21 Sep 2020 16:47:35 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:38558) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kKSUg-0006Ck-QB for bug-guix@gnu.org; Mon, 21 Sep 2020 16:33:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:44916) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kKSUg-0006rf-H7 for bug-guix@gnu.org; Mon, 21 Sep 2020 16:33:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kKSUg-00081z-Cy for bug-guix@gnu.org; Mon, 21 Sep 2020 16:33:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#43143: Building iwd on armhf triggers kernel panic Resent-From: Vagrant Cascadian Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Mon, 21 Sep 2020 20:33:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 43143 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Mark H Weaver , 43143@debbugs.gnu.org Received: via spool by 43143-submit@debbugs.gnu.org id=B43143.160072034330822 (code B ref 43143); Mon, 21 Sep 2020 20:33:02 +0000 Received: (at 43143) by debbugs.gnu.org; 21 Sep 2020 20:32:23 +0000 Received: from localhost ([127.0.0.1]:56462 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kKSU3-000813-8L for submit@debbugs.gnu.org; Mon, 21 Sep 2020 16:32:23 -0400 Received: from cascadia.aikidev.net ([173.255.214.101]:59310) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kKSU0-00080n-Qd for 43143@debbugs.gnu.org; Mon, 21 Sep 2020 16:32:22 -0400 Received: from localhost (unknown [IPv6:2600:3c01:e000:21:21:21:0:100e]) (Authenticated sender: vagrant@cascadia.debian.net) by cascadia.aikidev.net (Postfix) with ESMTPSA id 7D2D21AD7A; Mon, 21 Sep 2020 13:32:14 -0700 (PDT) From: Vagrant Cascadian In-Reply-To: <87k0xc22gu.fsf@netris.org> References: <874kois8hg.fsf@ponder> <878sdufgdu.fsf@netris.org> <87h7sirr62.fsf@ponder> <875z8wop8q.fsf@ponder> <87k0xc22gu.fsf@netris.org> Date: Mon, 21 Sep 2020 13:32:08 -0700 Message-ID: <87a6xirhvb.fsf@ponder> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -1.0 (-) X-Mailman-Approved-At: Mon, 21 Sep 2020 16:47:16 -0400 X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Spam-Score: -2.61 X-TUID: W6RIK/6cetxH --=-=-= Content-Type: text/plain On 2020-09-02, Mark H Weaver wrote: > Vagrant Cascadian writes: >> On 2020-08-31, Vagrant Cascadian wrote: >>> On 2020-08-31, Mark H. Weaver wrote: >>>> Vagrant Cascadian writes: >>>>> I've been getting kernel panics when i try to build iwd, a dependency of >>>>> network-manager. >>>> >>>> Which kernel package variant(s) and version(s) have you seen panic when >>>> building iwd? What hardware? >>> >>> The hardware is veryron-speedy (a.k.a. asus chromebook c201p), with a >>> rockchip rk3288 CPU and 4GB of ram; I might be able to test on >>> additional hardware at some point (I've got a pretty old guix install on >>> a novena, but don't recall if it was in good working order last time it >>> booted). > > That message went on to say the following, although you omitted it here: > >>> linux-libre-arm-generic@5.4 5.4.57, and presumably older versions as >>> well, as I had commits in my local guix from mid June disabling iwd on >>> network-manager. > >> Ok, managed to build iwd just fine on a novena imx6 platform, running >> armhf on "linux-libre" 5.4.25 (haven't yet finished upgrading the >> system). >> >> So it appears to potentially be hardware-specific? The imx6 vs. rk3288 >> are pretty different platforms; > > Based on what you wrote, it sounds like it could either be a > hardware-specific problem, or else a kernel-configuration-specific > problem, since you used radically different kernel configurations in > these two cases. > > If I understand correctly, 'linux-libre-arm-generic@5.4' is the variant > that panicked on an rk3288, whereas the 'linux-libre@5.4' variant with > our hand-crafted default configuration worked on an imx6. > > I don't know whether it's possible to use precisely the same kernel > configuration on these two systems. Anyway, it would be helpful to > retry the 'iwd' build on these two devices with kernel versions and > configurations that are identical except for a minimal set of required > differences. That would help us narrow down the set of possible causes > for this kernel panic. Sorry for the late follow-up... Using a more recent version of linux-libre-arm-generic@5.4, it failed to build on both the veyron-speedy (rk3288) and the novena (imx6). It doesn't necessarily *always* trigger a kernel panic; I haven't identified which conditions trigger the kernel panic, but so far I've only seen them on the veyron-speedy. I haven't seen it successfully build with any recent linux-libre-arm-generic kernel, though recent linux-libre@5.4 and @5.8 worked. So it seems something in iwd needs specific kernel features in order to build at all... Not sure when I'll get a chance to debug further, but figured I'd update about what I've tried so far. live well, vagrant --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEARYKAB0WIQRlgHNhO/zFx+LkXUXcUY/If5cWqgUCX2kNyQAKCRDcUY/If5cW qpaeAPwKpO0UWwy9mjEseFtttgRlw7TUIGvNyeZMIdFeQ79lxAD+O1BPjVdZq9UQ cK2CJ0ymM4xGtdae4R837qAKI+3ORwM= =VQ0F -----END PGP SIGNATURE----- --=-=-=--