From owner-freebsd-bugs@freebsd.org Wed Sep 16 11:05:44 2020 Return-Path: Delivered-To: freebsd-bugs@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 028153E20A6 for ; Wed, 16 Sep 2020 11:05:44 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 4Bry1z6Kbvz4cHb for ; Wed, 16 Sep 2020 11:05:43 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id D78173E2312; Wed, 16 Sep 2020 11:05:43 +0000 (UTC) Delivered-To: bugs@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 D74BB3E2310 for ; Wed, 16 Sep 2020 11:05:43 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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 "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Bry1z5PJfz4cJS for ; Wed, 16 Sep 2020 11:05:43 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (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 mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 9B5D418077 for ; Wed, 16 Sep 2020 11:05:43 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 08GB5hth030350 for ; Wed, 16 Sep 2020 11:05:43 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 08GB5h8R030349 for bugs@FreeBSD.org; Wed, 16 Sep 2020 11:05:43 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 249369] device dtrace and device dtraceall are incompatible with options ZFS Date: Wed, 16 Sep 2020 11:05:43 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: Trond.Endrestol@ximalas.info X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 16 Sep 2020 11:05:44 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D249369 Bug ID: 249369 Summary: device dtrace and device dtraceall are incompatible with options ZFS Product: Base System Version: CURRENT Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: kern Assignee: bugs@FreeBSD.org Reporter: Trond.Endrestol@ximalas.info I have a custom kernel which specifies device dtrace device dtraceall along with options ZFS While booting the custom kernel, amd64 r365792, I get this crash dump: Fatal trap 12: page fault while in kernel mode cpuid =3D 5; apic id =3D 0a fault virtual address =3D 0x7fffffff8 fault code =3D supervisor write data, page not present instruction pointer =3D 0x20:0xffffffff8081c16b stack pointer =3D 0x28:0xfffffe000dffeb00 frame pointer =3D 0x28:0xfffffe000dffeb80 code segment =3D base 0x0, limit 0xfffff, type 0x1b =3D DPL 0, pres 1, long 1, def32 0, gran 1 processor eflags =3D interrupt enabled, resume, IOPL =3D 0 current process =3D 0 (dtrace_taskq) trap number =3D 12 panic: page fault cpuid =3D 5 time =3D 1 KDB: stack backtrace: db_trace_self_wrapper() at vpanic() at panic() at trap_fatal() at trap_pfault() at trap() at calltrap() at --- trap 0xc, rip =3D 0xffffffff8081c16b, rsp =3D 0xfffffe000dffeb00, rbp=3D 0xfffffe000dffeb80 --- osd_set_reserved() at taskqueue_thread_loop() at fork_exit() at fork_trampoline() at --- trap 0, rip =3D 0, rsp =3D 0, rbp =3D 0 --- KDB: enter: panic [ thread pid 0 tid 100109 ] Stopped at db> Note: The keyboard is unresponsive at this point. Is there a way to specify a dump device from loader(8)? Disabling DTrace in the kernel config, both device dtrace and device dtrace= all, lets the kernel boot properly. Specifying dtraceall_load=3D"YES" in /boot/loader.conf compensates for the missing in-kernel DTrace support. BTW, is there a way of compiling and linking the systrace_freebsd32 module = as part of the monolithic kernel? --=20 You are receiving this mail because: You are the assignee for the bug.=