From owner-freebsd-scsi@freebsd.org Sun Nov 6 17:54:35 2016 Return-Path: Delivered-To: freebsd-scsi@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 83971C337B7 for ; Sun, 6 Nov 2016 17:54:35 +0000 (UTC) (envelope-from tuexen@freebsd.org) Received: from drew.franken.de (drew.ipv6.franken.de [IPv6:2001:638:a02:a001:20e:cff:fe4a:feaa]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.franken.de", Issuer "COMODO RSA Domain Validation Secure Server CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 30106B66 for ; Sun, 6 Nov 2016 17:54:35 +0000 (UTC) (envelope-from tuexen@freebsd.org) Received: from [192.168.1.101] (p508F1FA4.dip0.t-ipconnect.de [80.143.31.164]) (Authenticated sender: macmic) by mail-n.franken.de (Postfix) with ESMTPSA id 3858B721E281A for ; Sun, 6 Nov 2016 18:54:22 +0100 (CET) From: Michael Tuexen Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 10.1 \(3251\)) Subject: mpt driver issue? Message-Id: <4398FA07-AABF-441E-A412-42BABCD59444@freebsd.org> References: To: freebsd-scsi@freebsd.org Date: Sun, 6 Nov 2016 18:54:09 +0100 X-Mailer: Apple Mail (2.3251) X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED,BAYES_00 autolearn=disabled version=3.4.1 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on mail-n.franken.de X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 06 Nov 2016 17:54:35 -0000 Dear all, it was suggested on current@ to forward this to freebsd-scsi@ The problem shows up since r308268 and it looks like an issue in the mpt driver... Best regards Michael > Begin forwarded message: >=20 > From: Michael Tuexen > Subject: New warnings from WITNESS > Date: 6 November 2016 at 12:50:12 GMT+1 > To: FreeBSD Current >=20 > Dear all, >=20 > when booting a recent kernel >=20 > [freebsd12:~] tuexen% uname -a > FreeBSD freebsd12.testbed 12.0-CURRENT FreeBSD 12.0-CURRENT #702 = r308359M: Sun Nov 6 11:55:17 CET 2016 = tuexen@freebsd12.testbed:/usr/home/tuexen/head/sys/amd64/compile/SCTP = amd64 >=20 > on a VMWare Fusion VM, I get a lot of warnings like >=20 > 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 > 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 > 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 > 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... >=20 > Best regards > Michael > _______________________________________________ > freebsd-current@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to = "freebsd-current-unsubscribe@freebsd.org"