From owner-freebsd-current@freebsd.org Sat Sep 5 08:07:06 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 E2D743E4ED1 for ; Sat, 5 Sep 2020 08:07:06 +0000 (UTC) (envelope-from trond.endrestol@ximalas.info) Received: from enterprise.ximalas.info (enterprise.ximalas.info [IPv6:2001:700:1100:1::8]) (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-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "ximalas.info", Issuer "Hostmaster ximalas.info" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Bk6Zx1lGbz45xl for ; Sat, 5 Sep 2020 08:07:04 +0000 (UTC) (envelope-from trond.endrestol@ximalas.info) Received: from enterprise.ximalas.info (Ximalas@localhost [127.0.0.1]) by enterprise.ximalas.info (8.16.1/8.16.1) with ESMTPS id 08586s09038027 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO) for ; Sat, 5 Sep 2020 10:06:54 +0200 (CEST) (envelope-from trond.endrestol@ximalas.info) Received: from localhost (trond@localhost) by enterprise.ximalas.info (8.16.1/8.16.1/Submit) with ESMTP id 08586rZY038024 for ; Sat, 5 Sep 2020 10:06:53 +0200 (CEST) (envelope-from trond.endrestol@ximalas.info) X-Authentication-Warning: enterprise.ximalas.info: trond owned process doing -bs Date: Sat, 5 Sep 2020 10:06:53 +0200 (CEST) From: =?UTF-8?Q?Trond_Endrest=C3=B8l?= To: freebsd-current@freebsd.org Subject: In-kernel DTrace incompatible with in-kernel OpenZFS Message-ID: <20522673-395-6245-8b8c-f199f28ad7b0@ximalas.info> OpenPGP: url=http://ximalas.info/about/tronds-openpgp-public-key MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII X-Spam-Status: No, score=-1.2 required=5.0 tests=ALL_TRUSTED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF autolearn=unavailable autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on enterprise.ximalas.info X-Rspamd-Queue-Id: 4Bk6Zx1lGbz45xl X-Spamd-Bar: --- X-Spamd-Result: default: False [-3.42 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.05)[-1.049]; R_DKIM_ALLOW(-0.20)[ximalas.info:s=default]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; R_SPF_ALLOW(-0.20)[+a]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; HAS_XAW(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-0.99)[-0.987]; RCVD_COUNT_THREE(0.00)[3]; TO_DN_NONE(0.00)[]; DKIM_TRACE(0.00)[ximalas.info:+]; DMARC_POLICY_ALLOW(-0.50)[ximalas.info,none]; NEURAL_HAM_SHORT(-0.38)[-0.385]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:224, ipnet:2001:700::/32, country:NO]; MID_RHS_MATCH_FROM(0.00)[]; MAILMAN_DEST(0.00)[freebsd-current] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.33 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: Sat, 05 Sep 2020 08:07:06 -0000 It would seem options dtrace options dtraceall are incompatible with options zfs This is on base/head, r365358, amd64. Fatal trap 12: page fault while in kernel mode cpuid = 4; apic id = 04 fault virtual address = 0x7fffffff8 fault code = supervisor write data, page not present instruction pointer = 0x20:0xfffffffff808cf8db stack pointer = 0x20:0xfffffffff82378a00 frame pointer = 0x20:0xfffffffff82378a00 code segment = base 0x0, limit 0xfffff, type 0x1b = DPL 0, pres 1, long 1, def32 0, gran 1 processor eflags = interrupt enabled, resume, IOPL = 0 current process = 0 (dtrace_taskq) trap number = 12 panic: page fault cpuid = 4 time = 1 KDB: stack backtrace: db_trace_self_wrapper() at vpanic() at panic() at trap_fatal() at trap_pfatal() at trap() at calltrap() at --- trap 0xc, rip = 0xfffffffff808cf8db, rsp = 0xfffffffff82378a00, rbp = 0xfffffffff82378a00 --- osd_set_reserved() at taskqueue_thread_loop() at fork_exit() at fork_trampoline() at --- trap 0, rip = 0, rsp = 0, rbp = 0 --- Uptime: 1s Automatic reboot in 15 seconds - press a key on the console to abort I don't mind having dtraceall_load="YES" in /boot/loader.conf; I have to do so anyway to get systrace_freebsd32.ko loaded at boot time. Can this latter .ko file be made part of the kernel using an option statement? -- Trond.