From owner-freebsd-stable@freebsd.org Sat Apr 18 18:25:46 2020 Return-Path: Delivered-To: freebsd-stable@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 433342A9B7F for ; Sat, 18 Apr 2020 18:25:46 +0000 (UTC) (envelope-from mmacy@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 494LxQ16ftz4gFq for ; Sat, 18 Apr 2020 18:25:46 +0000 (UTC) (envelope-from mmacy@freebsd.org) Received: from mail-lj1-f171.google.com (mail-lj1-f171.google.com [209.85.208.171]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) (Authenticated sender: mmacy) by smtp.freebsd.org (Postfix) with ESMTPSA id D61101CEB2 for ; Sat, 18 Apr 2020 18:25:45 +0000 (UTC) (envelope-from mmacy@freebsd.org) Received: by mail-lj1-f171.google.com with SMTP id u15so5522181ljd.3 for ; Sat, 18 Apr 2020 11:25:45 -0700 (PDT) X-Gm-Message-State: AGi0PuYNPtddAVs8tW/xEiREZ73AJ3vECy31LCKu7ZCQCs8+LcnMDZ2W JR07coxA1o5bh37pZn5FAORL+JqqjMDN6fdZ5yM= X-Google-Smtp-Source: APiQypKq4wiHALeq4l2XOdK6uGmBofMvhXWaZMEuKkp1ZfE+6b25hscM6wwCpSJ8/Qhb90n38aXsyjpz0chfStFdUbI= X-Received: by 2002:a2e:5746:: with SMTP id r6mr5253658ljd.15.1587234344157; Sat, 18 Apr 2020 11:25:44 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Matthew Macy Date: Sat, 18 Apr 2020 11:25:33 -0700 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: openzfs module fails to load To: Eugen Cc: freebsd-stable@freebsd.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 18 Apr 2020 18:25:46 -0000 It looks like you=E2=80=99ve built your kernel without KDTRACE_HOOKS On Sat, Apr 18, 2020 at 11:00 Eugen wrote: > Freebsd 12.1 STABLE 360074 > > openzfs-kmod and openzfs ports build just fine. > > /boot/loader.conf: > zfs_load=3D"NO" > openzfs_load=3D"YES" > > /etc/rc.conf: > zfs_enable=3D"NO" (or "YES", it doesn't matter) > > With above settings openzfs.ko module does not load at boot. > zfs.ko module is loaded instead. kldstat: > > Id Refs Address Size Name > 1 40 0xffffffff80200000 1143a00 kernel > 2 1 0xffffffff81345000 37add8 zfs.ko > 3 2 0xffffffff816c0000 a240 opensolaris.ko > 4 1 0xffffffff816cb000 29f0 coretemp.ko > 5 1 0xffffffff816ce000 ec08 aesni.ko > 6 1 0xffffffff81e90000 c6a0 fuse.ko > 7 1 0xffffffff81e9d000 f2890 nvidia-modeset.ko > 8 1 0xffffffff81f90000 11f7ca0 nvidia.ko > 9 1 0xffffffff83188000 e20 cpuctl.ko > 10 1 0xffffffff83189000 1440 uhid.ko > 11 1 0xffffffff8318b000 2078 ums.ko > 12 1 0xffffffff8318e000 7f80 tmpfs.ko > 13 1 0xffffffff83196000 1990 fdescfs.ko > 14 1 0xffffffff83198000 16078 ext2fs.ko > 15 1 0xffffffff831af000 3c74 geom_linux_lvm.ko > > After: > kldunload zfs > kldload openzfs > > dmesg shows this: > > [98] link_elf_obj: symbol sdt_probe_func undefined > [98] linker_load_file: /boot/modules/openzfs.ko - unsupported file type > > Any ideas why openzfs module does not load? > > Thanks, > Eugen > _______________________________________________ > freebsd-stable@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" >