From owner-freebsd-current@freebsd.org Tue Dec 8 07:56:31 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 3C267475582 for ; Tue, 8 Dec 2020 07:56:31 +0000 (UTC) (envelope-from haramrae@gmail.com) Received: from mail-ed1-x536.google.com (mail-ed1-x536.google.com [IPv6:2a00:1450:4864:20::536]) (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 4CqsvL1l4Pz3DbR for ; Tue, 8 Dec 2020 07:56:29 +0000 (UTC) (envelope-from haramrae@gmail.com) Received: by mail-ed1-x536.google.com with SMTP id c7so16585142edv.6 for ; Mon, 07 Dec 2020 23:56:29 -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=yFTDXTDt4sxslp+yAxo92sOs55TOIzobzviTbg8K7NY=; b=JCa8avW/6EtOljLkmEYw7sYPLNT7WVy8NJFzwYZAVhd4hqRYO8Mltu/1R3+6XhTQJ/ dZpEZLrXS2hk9xjHTt/2b0Y2sYE/4wyLEAg8Ca8rqLTlxlhxAQhhC+pQ/Jz0D8ViZoIw WHc7m1qQOjEt7HdRRDmFr1gwkqm+6wBibr8defREek7AlHkCXIvEVWf0m+TXgWtTfG1R jyGFpYEGnRkBJhVSMtVq3YkLAHaSe5laEZOO34qbCyPQ1vE3BHdW1TYFZVy4ZsDtLgGF /sayWUq2Zy05ibP95u28nhCiLn8M9QFYEhW50x7K8H4T6+k7Oce2XvXV0lhDYKibrhN8 ql2w== X-Gm-Message-State: AOAM533PZ4q5s8e7dZh9WOBgOET69mbXwEr6x+Be3OHcbU3mRzM+7xzq VzkjpxKULogHFjPEDKYVzrbf9O1T6VQ= X-Google-Smtp-Source: ABdhPJyVM2w4qIHG7pTy0BezqwTaQoz+WIkzq1XobpTrXb7p8991r2c+4Xf4ow0w7w9ajyQZIIJSSg== X-Received: by 2002:a50:9e8b:: with SMTP id a11mr6100954edf.276.1607414187812; Mon, 07 Dec 2020 23:56:27 -0800 (PST) Received: from hollewijn.internal (217-19-30-105.dsl.cambrium.nl. [217.19.30.105]) by smtp.gmail.com with ESMTPSA id x20sm14989225ejv.66.2020.12.07.23.56.26 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Mon, 07 Dec 2020 23:56:26 -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: <42AC7323-5AD6-401D-9A7D-F1D962EE5717@gmail.com> Date: Tue, 8 Dec 2020 08:56:25 +0100 To: freebsd-current@freebsd.org X-Mailer: Apple Mail (2.3445.104.17) X-Rspamd-Queue-Id: 4CqsvL1l4Pz3DbR X-Spamd-Bar: - X-Spamd-Result: default: False [-1.50 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; FREEMAIL_FROM(0.00)[gmail.com]; MV_CASE(0.50)[]; TO_DN_NONE(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36]; RCVD_COUNT_THREE(0.00)[3]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RBL_DBL_DONT_QUERY_IPS(0.00)[2a00:1450:4864:20::536:from]; FREEMAIL_ENVFROM(0.00)[gmail.com]; MID_RHS_MATCH_FROM(0.00)[]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; 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)[]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; 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::536:from:127.0.2.255]; NEURAL_SPAM_SHORT(1.00)[1.000]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::536: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, 08 Dec 2020 07:56:31 -0000 This seems to have gotten lost in the moderate queue, but after a week I = am no closer to a solution, so here=E2=80=99s a resend: 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.