From owner-freebsd-current@freebsd.org Sat Apr 22 06:04:01 2017 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 1C0CAD4A615 for ; Sat, 22 Apr 2017 06:04:01 +0000 (UTC) (envelope-from rsb@berentweb.com) Received: from mail-wm0-x236.google.com (mail-wm0-x236.google.com [IPv6:2a00:1450:400c:c09::236]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 9DC13262 for ; Sat, 22 Apr 2017 06:04:00 +0000 (UTC) (envelope-from rsb@berentweb.com) Received: by mail-wm0-x236.google.com with SMTP id r190so1285583wme.1 for ; Fri, 21 Apr 2017 23:04:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=berentweb-com.20150623.gappssmtp.com; s=20150623; h=mime-version:reply-to:sender:in-reply-to:references:from:date :message-id:subject:to; bh=3apPqSCDLDufIdyHxFQUp2p0iKGb1bKFNSLQrenLrHA=; b=yRX7ZZZf/8X+MxRE0v/jtySLx1j1Kaf2KMJ97DgbUNezC/noHlRHEKTibRd0RQlT3A yK6iCuAVWSS9VFlZ39qfRFOHVqusk/eE0C7adjvj7CmMhx9jq+B8ktAjh/i4HfJ1IRtX /spMkiQpsZEiM6ZaIkOjM+Ju+EalEMnGn086yAk5jZiKAG9jCIl28F7dcyhQ5zQ+aQcG ZNgt4N7E0X0vMm8T9cqrma288lveR2gnuJhUCQqlWcnF76vUpcP12PGL9LfOafMMT6ho GJRqnip1Uq73cX1w/SX01thkJZKJr+Kx0nQjVxCODwTwVDbwF9jBWFoDKnZxkpk9iNDp rwwA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:reply-to:sender:in-reply-to :references:from:date:message-id:subject:to; bh=3apPqSCDLDufIdyHxFQUp2p0iKGb1bKFNSLQrenLrHA=; b=Ekjd49UW32kVQf65GXrZdbGZPuigyS/J2a5wXigUOHMIisb5QdH6joV4P1R4m278M9 /sTjiByFYCBa4C1wZ44lhbHroVvkyP4tzEIcmbtxSOGdVb5AlGituyPr7xA4Jny1k/IL kHEJ2egD51pl4PjAp2ylClxVj+Jjje7HaXHqWcVUPMnl4sl8MV68Iml2DlJBiRTi+NKi QxV/4GbzjQZB6RZvJS28ctKNj8+dfgxZjJlIApDGN3V+smhFXHF05p/V1u5+lxyIQD8h zWjjH0QZUql9KqRpDUxttIW9sNh1u8pbHhCkCBR+ZCnTjAEE8629nUGl9XtzBG/QQYDn IGEg== X-Gm-Message-State: AN3rC/4rA5yFTGgUt4T6yfjp/l4fkAZts+F27PA0nkCxeWck5IHmNMQt jXDttbw+9qQk7UDDKwCUrPixtQps5Q== X-Received: by 10.28.48.16 with SMTP id w16mr1581219wmw.10.1492841038528; Fri, 21 Apr 2017 23:03:58 -0700 (PDT) MIME-Version: 1.0 Reply-To: zaphod@berentweb.com Sender: rsb@berentweb.com Received: by 10.28.41.199 with HTTP; Fri, 21 Apr 2017 23:03:57 -0700 (PDT) X-Originating-IP: [24.133.238.42] Received: by 10.28.41.199 with HTTP; Fri, 21 Apr 2017 23:03:57 -0700 (PDT) In-Reply-To: References: From: Beeblebrox Date: Sat, 22 Apr 2017 09:03:57 +0300 X-Google-Sender-Auth: UJAFNbp1i7GIGVJgkSl5-or9m0Q Message-ID: Subject: Several minor questions (12.0-amd64) To: freebsd-current Current Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.23 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, 22 Apr 2017 06:04:01 -0000 Hello, I have several brief questions on issues I'm slightly stuck on: 1. For buildworld, my /etc/src.conf uses default CROSS_COMPILER, CLANG_BOOTSTRAP, CLANG_FULL for amd64, but I would like clang to xbuild only for target i386 as I do not need the others (like Target/arm). Is there a knob for this? 2. Is there a way to read a list of modules inside an unloaded kernel? Sort of "kldstat -v" for a non-loaded kernel? Reading the kernel manifest (INCLUDE_CONFIG_FILE setting) is not what I need. 3. Under one scenario, I'm getting a kernel panic but I cannot dump because busybox states "no dumpdev specified" which means rc.conf (where I have dumpdev set) has not been read yet. How can I pass dumpdev wile in busybox command line so that ">dump" does its job? 4. Getting several of these lock order reversals. Kernel is drm-next but Generic from Head gives the same messages. Not urgent, just FYI. lock order reversal: 1st 0xfffff80064915040 filedesc structure (filedesc structure) @ /asp/git/srcdrm/sys/kern/kern_descrip.c:1234 2nd 0xfffff8002e9f0d50 ufs (ufs) @ /asp/git/srcdrm/sys/kern/vfs_subr.c:5022 stack backtrace: #0 0xffffffff804d3180 at witness_debugger+0x70 #1 0xffffffff804d3073 at witness_checkorder+0xe23 #2 0xffffffff8044aa35 at __lockmgr_args+0x875 #3 0xffffffff814d09e5 at ffs_lock+0xa5 #4 0xffffffff80717840 at VOP_LOCK1_APV+0xe0 #5 0xffffffff8054847a at _vn_lock+0x6a #6 0xffffffff8042c9c8 at knlist_remove_kq+0x88 #7 0xffffffff8053f358 at filt_vfsdetach+0x28 #8 0xffffffff8042d4f1 at knote_fdclose+0x171 #9 0xffffffff804206b5 at closefp+0x65 #10 0xffffffff806afe9a at amd64_syscall+0x57a #11 0xffffffff80692dcb at Xfast_syscall+0xfb lock order reversal: 1st 0xfffff80064915040 filedesc structure (filedesc structure) @ /asp/git/srcdrm/sys/kern/kern_descrip.c:1234 2nd 0xfffff8004b4d3d50 zfs (zfs) @ /asp/git/srcdrm/sys/kern/vfs_subr.c:5022 stack backtrace: #0 0xffffffff804d3180 at witness_debugger+0x70 #1 0xffffffff804d3073 at witness_checkorder+0xe23 #2 0xffffffff8044a0fe at lockmgr_lock_fast_path+0x1ce #3 0xffffffff80717840 at VOP_LOCK1_APV+0xe0 #4 0xffffffff8054847a at _vn_lock+0x6a #5 0xffffffff8042c9c8 at knlist_remove_kq+0x88 #6 0xffffffff8053f358 at filt_vfsdetach+0x28 #7 0xffffffff8042d4f1 at knote_fdclose+0x171 #8 0xffffffff804206b5 at closefp+0x65 #9 0xffffffff806afe9a at amd64_syscall+0x57a #10 0xffffffff80692dcb at Xfast_syscall+0xfb lock order reversal: 1st 0xfffff801aec715f0 syncer (syncer) @ /asp/git/srcdrm/sys/kern/vfs_subr.c:2152 2nd 0xfffff8004bc3e068 zfs (zfs) @ /asp/git/srcdrm/sys/kern/vfs_subr.c:2602 stack backtrace: #0 0xffffffff804d3180 at witness_debugger+0x70 #1 0xffffffff804d3073 at witness_checkorder+0xe23 #2 0xffffffff8044a0fe at lockmgr_lock_fast_path+0x1ce #3 0xffffffff80717840 at VOP_LOCK1_APV+0xe0 #4 0xffffffff8054847a at _vn_lock+0x6a #5 0xffffffff80538892 at vget+0x82 #6 0xffffffff8053a936 at vfs_msync+0xa6 #7 0xffffffff8053ef96 at sync_fsync+0xc6 #8 0xffffffff80716890 at VOP_FSYNC_APV+0xe0 #9 0xffffffff8053d2fc at sched_sync+0x36c #10 0xffffffff80436f44 at fork_exit+0x84 #11 0xffffffff8069301e at fork_trampoline+0xe lock order reversal: 1st 0xfffff80039590d50 zfs (zfs) @ /asp/git/srcdrm/sys/kern/vfs_mount.c:855 2nd 0xfffff8001a4489a0 devfs (devfs) @ /asp/git/srcdrm/sys/kern/vfs_subr.c:2602 stack backtrace: #0 0xffffffff804d3180 at witness_debugger+0x70 #1 0xffffffff804d3073 at witness_checkorder+0xe23 #2 0xffffffff8044a0fe at lo ckmgr_lock_fast_path+0x1ce #3 0xffffffff80717840 at VOP_LOCK1_APV+0xe0 #4 0xffffffff8054847a at _vn_lock+0x6a #5 0xffffffff80538892 at vget+0x82 #6 0xffffffff80395b2d at devfs_allocv+0xcd #7 0xffffffff80395643 at devfs_root+0x43 #8 0xffffffff8052f66f at vfs_donmount+0x118f #9 0xffffffff8052e4b2 at sys_nmount+0x72 #10 0xffffffff806afe9a at amd64_syscall+0x57a #11 0xffffffff80692dcb at Xfast_syscall+0xfb