From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id oNyLM6ccEGdIhAEA62LTzQ:P1 (envelope-from ) for ; Wed, 16 Oct 2024 20:06:00 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id oNyLM6ccEGdIhAEA62LTzQ (envelope-from ) for ; Wed, 16 Oct 2024 22:05:59 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=freakingpenguin.com header.s=x header.b=MxSY+7Eb; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1729109159; a=rsa-sha256; cv=none; b=AHHGaHinsXuHpZzMMsDiO3PIrDKov8tLwPhspcpfBX2/x2uc0+EAu8U1hQOPRgVsQ62Q7A 7DtRhDeqwpxIZ77RD1sKIevurJ51Dhs5Ckv+JRg7rE3eOUdldcTdnvpbUnnRTai8B965Tb ECyjAbR/i2/eSHSuZkK/DVHZ+mwKXgdKwrz+aU/1coziNGDiyVPjcDM6h8gelV5UQLgy3G WUk+L+9g3J2IXDGGp4dZGjOSaYFs/Bp+j5P/X5PrGdFY6/gVOWEVPtyoJtUYtcPJpU8Zwg 8MJ0yzvWQcKcUrh0ETfDGB6k+MzD7uqKig11Ib3ZMcJaiw4DprhbiLTAcdhlCQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=freakingpenguin.com header.s=x header.b=MxSY+7Eb; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1729109159; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=6PWT2rDyrxKlGLrtzWgZLO3ex7k1FYtGMH8ONTPM8rk=; b=qje63Zrmp4vxi15DBLJaFy8k6E4cacWcwwnLEHwVkWbx9+Ct0F/MtI2WJeyOFCL+sRfZ0s FzbuRUlkJYidsFfQxjTQeoym6XRRLeivPMJx4Vnz5/aIWz4a+eRkL+IVfSmWfzYJmGZAf7 XpLqkZQSs9KORbInIn+cN5Du1Euyx5p54cfymcPfx6Ae/3o3M26upD2oUZUoPvUV1NKvfp uxTouJyl+JmdYxa7lUGXOtxRV2HwrZpnGjLQES3CVPwUCDjUOtyTo4ItVFKpPlF486y3Z4 mqiZQua78iG9lBmTT6A213lw8EkpdU3IdCN3BLhEl0zkDzEYcgjXBKlOllMs9Q== 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 9A59435904 for ; Wed, 16 Oct 2024 22:05:58 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t1AGt-0003tN-Pf; Wed, 16 Oct 2024 16:05:27 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1t1AGs-0003tC-FG for help-guix@gnu.org; Wed, 16 Oct 2024 16:05:26 -0400 Received: from mail-108-mta71.mxroute.com ([136.175.108.71]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1t1AGq-00005E-Re for help-guix@gnu.org; Wed, 16 Oct 2024 16:05:26 -0400 Received: from filter006.mxroute.com ([136.175.111.3] filter006.mxroute.com) (Authenticated sender: mN4UYu2MZsgR) by mail-108-mta71.mxroute.com (ZoneMTA) with ESMTPSA id 19296ef4a680003e01.001 for (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384); Wed, 16 Oct 2024 20:05:17 +0000 X-Zone-Loop: 425d35b509797d6a011b680318af278b78feccf4f806 X-Originating-IP: [136.175.111.3] DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=freakingpenguin.com; s=x; h=Content-Type:MIME-Version:Message-ID:Date: References:In-Reply-To:Subject:Cc:To:From:Sender: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=6PWT2rDyrxKlGLrtzWgZLO3ex7k1FYtGMH8ONTPM8rk=; b=MxSY+7Ebez2x04RNKVqnuKAZKI VjD+u43t/7ihC9S1icL3zmVlzJI2LdQ15iZCG4g7cp1g3LUrXrZE8M18D4yrlTMEw12wJxjI9RcjK dNMCre8I0FEyiCzD2Rh241ucVTRIT1rnR0Ra8xkqCoo2bd+KXKekZimx4UaNMbycJsyNfg+bngtLW PF/4yNRlAJG2Z6ZQUMCYsuQusjQY0GXPTSEiHqt0il4TzTQQf0tpm5mhXvuZybDF4ZxlHR7KT048Y ine/LJooEQm7a4akaJ+hZW0KGWqGqndHlyBu29TNJFqqnQa5OBWMiND9Krg8RM32LWgiGyy5Xb1C+ XwtU4eAA==; From: Richard Sent To: Christoph Buck Cc: help-guix@gnu.org Subject: Re: ABI mismatch on boot on arm32 system In-Reply-To: <87y12opdbh.fsf@icepic.de> (Christoph Buck's message of "Wed, 16 Oct 2024 12:11:30 +0200") References: <87y12opdbh.fsf@icepic.de> Date: Wed, 16 Oct 2024 16:05:08 -0400 Message-ID: <87jze7byq3.fsf@freakingpenguin.com> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-Authenticated-Id: richard@freakingpenguin.com Received-SPF: pass client-ip=136.175.108.71; envelope-from=richard@freakingpenguin.com; helo=mail-108-mta71.mxroute.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, RCVD_IN_VALIDITY_SAFE_BLOCKED=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: help-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: 0.40 X-Spam-Score: 0.40 X-Migadu-Queue-Id: 9A59435904 X-Migadu-Scanner: mx10.migadu.com X-TUID: A2dxufsAw/xd Hi Christoph, > Currently i am trying to create an guix image which will boot on > embedded imx6 arm32 board. Following the guix manual, i was able to > create such an image. This involved adding a custom uboot version and a > kernel with custom definition file. If flashed on an sdcard, the uboot > runs and the kernel boots. However, early on boot (presumably on > executing initrd.cpio.gz), an `record-abi-mismatch-error` is thrown and > a guix recovery repl is opened > >> Use 'gnu.repl' for an initrd REPL. > >> ice-9/boot-9.scm:1685:16: In procedure raise-exception: >> Throw to key `record-abi-mismatch-error' with args `(abi-check "~a: record ABI mismatch; recompilation needed" (#>) ())'. Your issue sounds very similar to the one described in https://issues.guix.gnu.org/61173#4. The TL;DR (although I encourage you to read it!) is that you need the CONFIG_BINFMT_MISC Linux kernel compilation option set, but when you use a linux-libre-*-generic kernel that option is NOT set. If you're using the qemu-binfmt-service, you'll fail to boot and the error you posted will occur before you're dropped into a REPL. Unfortunately services do not currently have any mechanism to require or check kernel config options. Not knowing your operating-system declaration I can't tell for sure if that is what's going on, but I suspect what I described or something similar is the case. If you confirm this is in fact the problem, feel free to leave a comment on the issue! Best of luck. -- Take it easy, Richard Sent Making my computer weirder one commit at a time.