From owner-freebsd-bugs@freebsd.org Thu Mar 7 19:38:52 2019 Return-Path: Delivered-To: freebsd-bugs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id EA5881522DC5 for ; Thu, 7 Mar 2019 19:38:51 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 72CF36FAB7 for ; Thu, 7 Mar 2019 19:38:51 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 3139C1522DC2; Thu, 7 Mar 2019 19:38:51 +0000 (UTC) Delivered-To: bugs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0C6D91522DC1 for ; Thu, 7 Mar 2019 19:38:51 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 7D4246FAB4 for ; Thu, 7 Mar 2019 19:38:50 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 94A6F18300 for ; Thu, 7 Mar 2019 19:38:49 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id x27Jcntr019310 for ; Thu, 7 Mar 2019 19:38:49 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x27Jcn8L019309 for bugs@FreeBSD.org; Thu, 7 Mar 2019 19:38:49 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 236374] vmm/amd: ivhd0: Error: completion failed Date: Thu, 07 Mar 2019 19:38:49 +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: 12.0-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: xistence@0x58.com 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.29 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Mar 2019 19:38:52 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D236374 Bug ID: 236374 Summary: vmm/amd: ivhd0: Error: completion failed Product: Base System Version: 12.0-RELEASE Hardware: amd64 OS: Any Status: New Severity: Affects Only Me Priority: --- Component: kern Assignee: bugs@FreeBSD.org Reporter: xistence@0x58.com I am running a VM with bhyve using IOMMU support to pass-through a wireless card to a FreeBSD guest and I keep getting ivhd0 completion failed errors in the console of the host. I was hoping to do testing/kernel dev inside a VM = to avoid disrupting all the other work-loads on the system, but I seem to have gotten the PCI device into some broken state, so a reboot is needed anyway,= but I noticed the errors in the console. CPU: AMD Ryzen Threadripper 2950X 16-Core Processor (3493.51-MHz K8-class = CPU) Origin=3D"AuthenticAMD" Id=3D0x800f82 Family=3D0x17 Model=3D0x8 Stepp= ing=3D2 =20 Features=3D0x178bfbff =20 Features2=3D0x7ed8320b AMD Features=3D0x2e500800 AMD Features2=3D0x35c233ff Structured Extended Features=3D0x209c01a9 XSAVE Features=3D0xf AMD Extended Feature Extensions ID EBX=3D0x1007 SVM: NP,NRIP,VClean,AFlush,DAssist,NAsids=3D32768 TSC: P-state invariant, performance statistics AMD-Vi: IVRS Info VAsize =3D 64 PAsize =3D 48 GVAsize =3D 2 flags:0 ivhd0: on acpi0 ivhd0: Flag:b0 ivhd0: Features(type:0x11) MsiNumPPR =3D 0 PNBanks=3D 2 PNCounters=3D 0 ivhd0: Extended features[31:0]:22294ada HATS =3D = 0x2 GATS =3D 0x0 GLXSup =3D 0x1 SmiFSup =3D 0x1 SmiFRC =3D 0x2 GAMSup =3D 0x1 D= ualPortLogSup =3D 0x2 DualEventLogSup =3D 0x2 ivhd0: Extended features[62:32]:f77ef Max PASID: 0x2f DevTblSegSup = =3D 0x3 MarcSup =3D 0x1 ivhd0: supported paging level:7, will use only: 4 ivhd0: device range: 0x0 - 0xffff ivhd0: PCI cap 0x190b640f@0x40 feature:19 ivhd1: on acpi0 ivhd1: Flag:b0 ivhd1: Features(type:0x11) MsiNumPPR =3D 0 PNBanks=3D 2 PNCounters=3D 0 ivhd1: Extended features[31:0]:22294ada HATS =3D = 0x2 GATS =3D 0x0 GLXSup =3D 0x1 SmiFSup =3D 0x1 SmiFRC =3D 0x2 GAMSup =3D 0x1 D= ualPortLogSup =3D 0x2 DualEventLogSup =3D 0x2 ivhd1: Extended features[62:32]:f77ef Max PASID: 0x2f DevTblSegSup = =3D 0x3 MarcSup =3D 0x1 ivhd1: supported paging level:7, will use only: 4 ivhd1: device range: 0x0 - 0xffff ivhd1: PCI cap 0x190b640f@0x40 feature:19 ivhd0: Error: completion failed tail:0x3a0, head:0x0. ivhd0: Dump all the commands: [CMD0, off:0xff0] opcode=3D 0x1 0x5e9b029 0x0 0xa5a5 [CMD1, off:0x0] opcode=3D 0x1 0x5e9b029 0x0 0xa5a5 [CMD2, off:0x10] opcode=3D 0x1 0x5e9b029 0x0 0xa5a5 [CMD3, off:0x20] opcode=3D 0x1 0x5e9b029 0x0 0xa5a5 [CMD4, off:0x30] opcode=3D 0x2 0x500 0x0 0xa5a5 [CMD5, off:0x40] opcode=3D 0x1 0x5e9b029 0x0 0xa5a5 [CMD6, off:0x50] opcode=3D 0x1 0x5e9b029 0x0 0xa5a5 [CMD7, off:0x60] opcode=3D 0x1 0x5e9b029 0x0 0xa5a5 [CMD8, off:0x70] opcode=3D 0x1 0x5e9b029 0x0 0xa5a5 [CMD9, off:0x80] opcode=3D 0x1 0x5e9b029 0x0 0xa5a5 [CMD10, off:0x90] opcode=3D 0x1 0x5e9b029 0x0 0xa5a5 [CMD11, off:0xa0] opcode=3D 0x1 0x5e9b029 0x0 0xa5a5 [CMD12, off:0xb0] opcode=3D 0x1 0x5e9b029 0x0 0xa5a5 [CMD13, off:0xc0] opcode=3D 0x1 0x5e9b029 0x0 0xa5a5 [CMD14, off:0xd0] opcode=3D 0x1 0x5e9b029 0x0 0xa5a5 [CMD15, off:0xe0] opcode=3D 0x2 0x500 0x0 0xa5a5 [CMD16, off:0xf0] opcode=3D 0x1 0x5e9b029 0x0 0xa5a5 [CMD17, off:0x100] opcode=3D 0x1 0x5e9b029 0x0 0xa5a5 [CMD18, off:0x110] opcode=3D 0x1 0x5e9b029 0x0 0xa5a5 [CMD19, off:0x120] opcode=3D 0x1 0x5e9b029 0x0 0xa5a5 [CMD20, off:0x130] opcode=3D 0x1 0x5e9b029 0x0 0xa5a5 [CMD21, off:0x140] opcode=3D 0x1 0x5e9b029 0x0 0xa5a5 [CMD22, off:0x150] opcode=3D 0x1 0x5e9b029 0x0 0xa5a5 [CMD23, off:0x160] opcode=3D 0x1 0x5e9b029 0x0 0xa5a5 [CMD24, off:0x170] opcode=3D 0x1 0x5e9b029 0x0 0xa5a5 [CMD25, off:0x180] opcode=3D 0x1 0x5e9b029 0x0 0xa5a5 [CMD26, off:0x190] opcode=3D 0x3 0x5e9b029 0x7 0x7ffffffffffff003 [CMD27, off:0x1a0] opcode=3D 0x1 0x5e9b029 0x0 0xa5a5 [CMD28, off:0x1b0] opcode=3D 0x1 0x5e9b029 0x0 0xa5a5 [CMD29, off:0x1c0] opcode=3D 0x1 0x5e9b029 0x0 0xa5a5 [CMD30, off:0x1d0] opcode=3D 0x1 0x5e9b029 0x0 0xa5a5 [CMD31, off:0x1e0] opcode=3D 0x1 0x5e9b029 0x0 0xa5a5 [CMD32, off:0x1f0] opcode=3D 0x1 0x5e9b029 0x0 0xa5a5 [CMD33, off:0x200] opcode=3D 0x1 0x5e9b029 0x0 0xa5a5 [CMD34, off:0x210] opcode=3D 0x1 0x5e9b029 0x0 0xa5a5 [CMD35, off:0x220] opcode=3D 0x1 0x5e9b029 0x0 0xa5a5 [CMD36, off:0x230] opcode=3D 0x1 0x5e9b029 0x0 0xa5a5 [CMD37, off:0x240] opcode=3D 0x1 0x5e9b029 0x0 0xa5a5 [CMD38, off:0x250] opcode=3D 0x1 0x5e9b029 0x0 0xa5a5 [CMD39, off:0x260] opcode=3D 0x1 0x5e9b029 0x0 0xa5a5 [CMD40, off:0x270] opcode=3D 0x2 0x500 0x0 0xa5a5 [CMD41, off:0x280] opcode=3D 0x1 0x5e9b029 0x0 0xa5a5 [CMD42, off:0x290] opcode=3D 0x1 0x5e9b029 0x0 0xa5a5 [CMD43, off:0x2a0] opcode=3D 0x1 0x5e9b029 0x0 0xa5a5 [CMD44, off:0x2b0] opcode=3D 0x1 0x5e9b029 0x0 0xa5a5 [CMD45, off:0x2c0] opcode=3D 0x1 0x5e9b029 0x0 0xa5a5 [CMD46, off:0x2d0] opcode=3D 0x1 0x5e9b029 0x0 0xa5a5 [CMD47, off:0x2e0] opcode=3D 0x1 0x5e9b029 0x0 0xa5a5 [CMD48, off:0x2f0] opcode=3D 0x3 0x5e9b029 0x7 0x7ffffffffffff003 [CMD49, off:0x300] opcode=3D 0x1 0x5e9b029 0x0 0xa5a5 [CMD50, off:0x310] opcode=3D 0x1 0x5e9b029 0x0 0xa5a5 [CMD51, off:0x320] opcode=3D 0x1 0x5e9b029 0x0 0xa5a5 [CMD52, off:0x330] opcode=3D 0x1 0x5e9b029 0x0 0xa5a5 [CMD53, off:0x340] opcode=3D 0x1 0x5e9b029 0x0 0xa5a5 [CMD54, off:0x350] opcode=3D 0x1 0x5e9b029 0x0 0xa5a5 [CMD55, off:0x360] opcode=3D 0x1 0x5e9b029 0x0 0xa5a5 [CMD56, off:0x370] opcode=3D 0x1 0x5e9b029 0x0 0xa5a5 [CMD57, off:0x380] opcode=3D 0x1 0x5e9b029 0x0 0xa5a5 [CMD58, off:0x390] opcode=3D 0x1 0x5e9b029 0x0 0xa5a5 --=20 You are receiving this mail because: You are the assignee for the bug.=