From owner-freebsd-current@freebsd.org Sun Nov 6 18:41:27 2016 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 1E0B3C33E90 for ; Sun, 6 Nov 2016 18:41:27 +0000 (UTC) (envelope-from scottl@samsco.org) Received: from mail.samsco.org (suzi.samsco.org [96.84.242.101]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 01AB9AA0; Sun, 6 Nov 2016 18:41:26 +0000 (UTC) (envelope-from scottl@samsco.org) Received: from localhost (localhost [192.168.254.3]) by mail.samsco.org (Postfix) with ESMTP id EADAF15C1867E; Sun, 6 Nov 2016 18:41:18 +0000 (UTC) Received: from mail.samsco.org ([192.168.254.3]) by localhost (mail.samsco.org [192.168.254.3]) (maiad, port 10024) with ESMTP id 27568-01; Sun, 6 Nov 2016 18:41:18 +0000 (UTC) Received: from [192.168.254.199] (unknown [192.168.254.199]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: scottl@samsco.org) by mail.samsco.org (Postfix) with ESMTPSA id C0BF015C1867C; Sun, 6 Nov 2016 18:41:18 +0000 (UTC) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 10.1 \(3251\)) Subject: Re: New warnings from WITNESS From: Scott Long In-Reply-To: Date: Sun, 6 Nov 2016 11:41:18 -0700 Cc: Konstantin Belousov , FreeBSD Current Content-Transfer-Encoding: quoted-printable Message-Id: References: <20161106122802.GA54029@kib.kiev.ua> <20161106143908.GE54029@kib.kiev.ua> To: Michael Tuexen X-Mailer: Apple Mail (2.3251) 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: Sun, 06 Nov 2016 18:41:27 -0000 > On Nov 6, 2016, at 11:01 AM, Michael Tuexen = wrote: >=20 >> On 6 Nov 2016, at 15:39, Konstantin Belousov = wrote: >>=20 >> On Sun, Nov 06, 2016 at 02:17:45PM +0100, Michael Tuexen wrote: >>>> On 6 Nov 2016, at 13:28, Konstantin Belousov = wrote: >>>>=20 >>>> On Sun, Nov 06, 2016 at 12:50:12PM +0100, Michael Tuexen wrote: >>>>> bus_dmamap_create with the following non-sleepable locks held: >>>>> exclusive sleep mutex mpt (mpt) r =3D 0 (0xfffffe0000e2f008) = locked @ dev/mpt/mpt.c:2287 >>>>> stack backtrace: >>>>> #0 0xffffffff80ac0300 at witness_debugger+0x70 >>>>> #1 0xffffffff80ac15e7 at witness_warn+0x3d7 >>>>> #2 0xffffffff81055fef at bus_dmamap_create+0x2f >>>>> #3 0xffffffff80678a25 at mpt_configure_ioc+0x3a5 >>>>> #4 0xffffffff80677476 at mpt_attach+0x226 >>>>> #5 0xffffffff80683299 at mpt_pci_attach+0x9c9 >>>>> #6 0xffffffff80a9478d at device_attach+0x41d >>>>> #7 0xffffffff80a9595a at bus_generic_attach+0x4a >>>>> #8 0xffffffff806ebe75 at pci_attach+0xd5 >>>>> #9 0xffffffff80a9478d at device_attach+0x41d >>>>> #10 0xffffffff80a9595a at bus_generic_attach+0x4a >>>>> #11 0xffffffff803c11a2 at acpi_pcib_acpi_attach+0x402 >>>>> #12 0xffffffff80a9478d at device_attach+0x41d >>>>> #13 0xffffffff80a9595a at bus_generic_attach+0x4a >>>>> #14 0xffffffff803b4c8f at acpi_attach+0xdbf >>>>> #15 0xffffffff80a9478d at device_attach+0x41d >>>>> #16 0xffffffff80a9595a at bus_generic_attach+0x4a >>>>> #17 0xffffffff80ee03e3 at nexus_acpi_attach+0x73 >>>>>=20 >>>>> ... and so on. Not sure which revision introduced it... >>>> r308268 >>>>=20 >>>> I believe that this is an mpt(4) driver issue, which calls >>>> bus_dmamap_create(9) with the mpt mutex held. >>> OK. Whom to contact? Or are you willing to look into it? >>> I haven't worked in that area... >>=20 >> I am really not sure. Looking at the svn history is not very = encouraging. > Hmm. Time to change my setup, I guess... >>=20 >> Might be try freebsd-scsi@ as well. > I dropped them an e-mail... >=20 >=20 Please see my response on that list. Scott