From owner-freebsd-current@freebsd.org Tue Dec 1 19:42:46 2020 Return-Path: Delivered-To: freebsd-current@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 18A5F4B2B17 for ; Tue, 1 Dec 2020 19:42:46 +0000 (UTC) (envelope-from haramrae@gmail.com) Received: from mail-ed1-x535.google.com (mail-ed1-x535.google.com [IPv6:2a00:1450:4864:20::535]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4ClsvT2jq8z4mY5 for ; Tue, 1 Dec 2020 19:42:45 +0000 (UTC) (envelope-from haramrae@gmail.com) Received: by mail-ed1-x535.google.com with SMTP id cm17so103698edb.4 for ; Tue, 01 Dec 2020 11:42:44 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:content-transfer-encoding:mime-version :subject:message-id:date:to; bh=eapkSg8FoO4pU02ylFA2mBg2SbAu3JEWXmN1/kUFbF0=; b=kGU4dTAcgbzYzyHMih8Frr3/cYhfvDFY3lxtVZCmgMOeXllAgEXVO7dcUrivVVI95o ++a4nuChsvECymCUI8QXQgejx53vcPpYgZeEh45pELsz86vFQZOa8Txar907JKJBkTLK LcjHweIEEc/cILk3m4bAQCEl6y6niJmGoNAQQhGuSR8Cdo2UTJx0YHqNYAuTWdNVbaxk oEUxFodEyy/IX0tqVOo0RjUdUq41WS1oLWCsmWz7gofYyLmfWl/ZFphCfW3/+gdpuoxX jXBmZJiWUhKhxJmD3JoLdC53B/z5X4hOPjXsR+TfleuuzM58R4cCNDn7zNvzI94ZUYNn kT1A== X-Gm-Message-State: AOAM5326BgmSjnBj6d+oHn2kpXibiC8UGBICcH2j3TZHeE+sziY4HKgc TAFoWHo9s63vYTua5ehIDcBMvvM+shU= X-Google-Smtp-Source: ABdhPJyZtYwWtTqs6rVTyK99hbato6Dwku6LxeouNAEiKXGDaFqn1IhYJcKfhSh5cWsp6bPjLkZsoQ== X-Received: by 2002:a05:6402:b3b:: with SMTP id bo27mr4797322edb.376.1606851763336; Tue, 01 Dec 2020 11:42:43 -0800 (PST) Received: from hollewijn.internal (217-19-30-105.dsl.cambrium.nl. [217.19.30.105]) by smtp.gmail.com with ESMTPSA id b20sm319095eja.30.2020.12.01.11.42.42 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Tue, 01 Dec 2020 11:42:42 -0800 (PST) From: Alban Hertroys Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.17\)) Subject: KLD zfs.ko: depends on kernel - not available or version mismatch Message-Id: <5C36F5ED-D643-4A65-92CA-D6FB9008C908@gmail.com> Date: Tue, 1 Dec 2020 20:42:41 +0100 To: freebsd-current@freebsd.org X-Mailer: Apple Mail (2.3445.104.17) X-Rspamd-Queue-Id: 4ClsvT2jq8z4mY5 X-Spamd-Bar: --- X-Spamd-Result: default: False [-3.50 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36:c]; FREEMAIL_FROM(0.00)[gmail.com]; TO_DN_NONE(0.00)[]; MV_CASE(0.50)[]; RCVD_COUNT_THREE(0.00)[3]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; NEURAL_HAM_SHORT(-1.00)[-0.999]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; MID_RHS_MATCH_FROM(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[2a00:1450:4864:20::535:from]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[2a00:1450:4864:20::535:from:127.0.2.255]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::535:from]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-current] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Dec 2020 19:42:46 -0000 I=E2=80=99ve been trying to get a fresh world running (for the eventual = purpose of running amdgpu against my recent graphics adapter), but I run = into trouble with core loadable kernel modules, such as zfs.ko from the = subject. It also happens with other modules that I tried randomly, for = example, geom_mirror.ko. I updated to the latest current using svn up in /usr/src, then: make clean make buildworld kernel -j12 shutdown -r now boot to single user mode kldload zfs Which results in dmesg messages: KLD zfs.ko: depends on kernel - not available or version mismatch linker_load_file: /boot/kernel/zfs.ko - unsupported file type KLD zfs.ko: depends on kernel - not available or version mismatch linker_load_file: /boot/kernel/zfs.ko - unsupported file type KLD zfs.ko: depends on kernel - not available or version mismatch linker_load_file: /boot/kernel/zfs.ko - unsupported file type KLD zfs.ko: depends on kernel - not available or version mismatch linker_load_file: /boot/kernel/zfs.ko - unsupported file type I can load the zfs kernel module from kernel.old just fine: ZFS filesystem version: 5 ZFS storage pool version: features support (5000) This happens with any kernel module I=E2=80=99ve tried, such as = geom_mirror and amdgpu (from ports/graphics/drm-current-kmod - the = latter causes a kernel panic with kernel.old BTW). I=E2=80=99ve gone back as far as Oct 7 (before changes to = kern/elf_load_obj.c off the top of my head), looked at mailing list = archives and forums etc, all to no avail. I have / on UFS+J and /usr on ZFS and nothing in /etc/src.conf. I had = /etc/malloc.conf with the recommended symlink from UPDATING, but the = same happens with that moved out of the way. Nothing seems to help. Do I need to go back further to get into a usable state or is there = something else I should be doing? Regards, Alban Hertroys -- There is always an exception to always.