From nobody Tue Jun 17 07:47:28 2025 X-Original-To: freebsd-current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4bLzVk2T5Gz5q1wX for ; Tue, 17 Jun 2025 07:47:42 +0000 (UTC) (envelope-from freebsd@walstatt-de.de) Received: from smtp6.goneo.de (smtp6.goneo.de [85.220.129.31]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4bLzVh2cM0z3r1w for ; Tue, 17 Jun 2025 07:47:40 +0000 (UTC) (envelope-from freebsd@walstatt-de.de) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=walstatt-de.de header.s=DKIM001 header.b=AfDEdxd1; spf=pass (mx1.freebsd.org: domain of freebsd@walstatt-de.de designates 85.220.129.31 as permitted sender) smtp.mailfrom=freebsd@walstatt-de.de; dmarc=none Received: from hub2.goneo.de (hub2.goneo.de [IPv6:2001:1640:5::8:53]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp6.goneo.de (Postfix) with ESMTPS id 4A45E240D46 for ; Tue, 17 Jun 2025 09:47:38 +0200 (CEST) Received: from hub2.goneo.de (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by hub2.goneo.de (Postfix) with ESMTPS id 76514240269 for ; Tue, 17 Jun 2025 09:47:36 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=walstatt-de.de; s=DKIM001; t=1750146456; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=FVYwW4tsIHJqylWhMqV9oFYV3AvJm86d+oqYHkMm/DE=; b=AfDEdxd1MVlv+xvgcoM30lbZezTxu0nTMTPgeOLs45K1ccpzh3J8QdezpWc9a0fmrC2S0n TNl+C7Jh74J0nabmWPBAO7NoXwshPAVxZZ2JljxvMaowGmPR3oGnmZ9r0PXh1uioyy0b3k KNO+5z0Z7wcslPn0oLOY2eMnc8hD3jpm8hOtTLSmfh4ZuT/JzhvpzsgBcHirwipCjQCDnw vx75Zf0/FJAoiVDu+uxy0QBONGpfg8lL0RhMD6qpDvZX67vo+Z/LyWlKTchZ11ks90F/W7 qtLM6IId4OmT6AbIP/FKaqe7LYiDj7RnL87eazZM/wtXbKwHooAVln+T3tG0NA== Received: from freyja (p4fc0a637.dip0.t-ipconnect.de [79.192.166.55]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (prime256v1) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by hub2.goneo.de (Postfix) with ESMTPSA id 30D792404A2 for ; Tue, 17 Jun 2025 09:47:36 +0200 (CEST) Date: Tue, 17 Jun 2025 09:47:28 +0200 From: FreeBSD User To: FreeBSD CURRENT Subject: Re: kldload: an error occurred while loading module linux. Message-ID: <20250617094728.6a8d62f1@freyja> In-Reply-To: <20250616200411.610e2b18@thor.sb211.local> References: <20250616200411.610e2b18@thor.sb211.local> Organization: Heimstatt X-Mailer: Claws Mail 4.3.0 (GTK 3.24.49; amd64-portbld-freebsd14.3) List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Rspamd-UID: a6311c X-Rspamd-UID: 7cd30a X-Spamd-Result: default: False [-2.17 / 15.00]; NEURAL_HAM_LONG(-0.98)[-0.980]; NEURAL_HAM_MEDIUM(-0.77)[-0.772]; MID_RHS_NOT_FQDN(0.50)[]; NEURAL_HAM_SHORT(-0.32)[-0.317]; R_SPF_ALLOW(-0.20)[+ip4:85.220.129.0/25]; R_DKIM_ALLOW(-0.20)[walstatt-de.de:s=DKIM001]; RCVD_IN_DNSWL_LOW(-0.10)[85.220.129.31:from]; MIME_GOOD(-0.10)[text/plain]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; ASN(0.00)[asn:25394, ipnet:85.220.128.0/17, country:DE]; HAS_ORG_HEADER(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_ALL(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; DMARC_NA(0.00)[walstatt-de.de]; FROM_EQ_ENVFROM(0.00)[]; FROM_HAS_DN(0.00)[]; MLMMJ_DEST(0.00)[freebsd-current@freebsd.org]; TO_MATCH_ENVRCPT_ALL(0.00)[]; TO_DN_ALL(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; DKIM_TRACE(0.00)[walstatt-de.de:+] X-Rspamd-Queue-Id: 4bLzVh2cM0z3r1w X-Spamd-Bar: -- On Mon, 16 Jun 2025 20:03:44 +0200 A FreeBSD User wrote: Irecall this and call myself a bit confused ... By accident, I disabled the 32bit compatibility in the kernel config. oh > Hello, > > after upgrading today to > FreeBSD 15.0-CURRENT #1 master-n278000-e4988ba172a8: Mon Jun 16 > 19:25:44 CEST 2025 amd64 > > loading module "linux.ko" fails: > > # kldload linux > kldload: an error occurred while loading module linux. Please check > dmesg(8) for more details. > > > dmesg > [...] > link_elf_obj: symbol elf32_register_note undefined > linker_load_file: /boot/kernel/linux.ko - unsupported file type > > The real funny part is, that linux64.ko and linux_common.ko are > loaded as expected: # kldstat > Id Refs Address Size Name > 1 23 0xffffffff80200000 1d35670 kernel > 3 1 0xffffffff82820000 2e478 linux64.ko > 4 3 0xffffffff8284f000 d038 linux_common.ko > 5 1 0xffffffff8285d000 3390 acpi_wmi.ko > 6 1 0xffffffff82861000 73c0 linprocfs.ko > 7 1 0xffffffff82869000 440c linsysfs.ko > > > WITH_KRB5=yes in /etc/src.conf > > Kind regards and thanks in advance, > oh > > >