From owner-freebsd-bugs@freebsd.org Mon Feb 29 23:47:09 2016 Return-Path: Delivered-To: freebsd-bugs@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 F120EAB9605 for ; Mon, 29 Feb 2016 23:47:08 +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 mx1.freebsd.org (Postfix) with ESMTPS id E3E2479C for ; Mon, 29 Feb 2016 23:47:08 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id u1TNl8Re096269 for ; Mon, 29 Feb 2016 23:47:08 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 207602] 10.3-BETA 2 zroot doesn't boot with VT-d enabled and vmm in loader.conf Date: Mon, 29 Feb 2016 23:47:09 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: misc X-Bugzilla-Version: 10.3-BETA2 X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: ehrmann@gmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-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 cc 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.20 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Feb 2016 23:47:09 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D207602 Bug ID: 207602 Summary: 10.3-BETA 2 zroot doesn't boot with VT-d enabled and vmm in loader.conf Product: Base System Version: 10.3-BETA2 Hardware: amd64 OS: Any Status: New Severity: Affects Some People Priority: --- Component: misc Assignee: freebsd-bugs@FreeBSD.org Reporter: ehrmann@gmail.com CC: freebsd-amd64@FreeBSD.org CC: freebsd-amd64@FreeBSD.org I installed FreeBSD 10.3-BETA2 on a system with a Z170 chipset and Skylake = CPU on a ZFS root device. When I have both VT-d enabled in the bios, vmm enabled (for bhyve) and pptdevs=3D"" (for PCI passthrough) in loader.c= onf, sometime during the boot, there's an unrecoverable error with my SATA hard drive, it's reattched, but the boot was interrupted, and the boot loader ca= n't find the ZFS root. If either VT-d is disabled, vmm isn't enabled in loader.conf, or there's no= PCI passthrough device, the system boots fine. The cause seems to be an interrupt storm. It always happens on IRQ64, even = when a different device claims it. It's the lowest IRQ listed by vmstat -i. Here's my /boot/loader.conf: kern.geom.label.gptid.enable=3D"0" net.link.tap.up_on_open=3D"1" net.inet.ip.forwarding=3D"1" zfs_load=3D"YES" pptdevs=3D"0/31/6" vmm_load=3D"YES" This is the device I'm trying to do PCI passthrough on ppt0@pci0:0:31:6: class=3D0x020000 card=3D0x86721043 chip=3D0x15b= 88086 rev=3D0x31 hdr=3D0x00 vendor =3D 'Intel Corporation' device =3D 'Ethernet Connection (2) I219-V' class =3D network subclass =3D ethernet Because this is a modern motherboard/chipset, it lacks IO like RS-232, and I couldn't capture the log directly. The best I could do is this video: http://imgur.com/wiiU9Bf Root mount waiting for: usbus1 usbus0 uhub1: 4 ports with 4 removable, self powered uhub0: 26 ports with 26 removable, self powered Root mount waiting for: usbus0 xhci_interrupt: host controller halted interrupt storm detected on "irq264:"; throttling interrupt source Trying to mount root from zfs:zroot/ROOT/default []... uhub0: (ada0:ahcich0:0:0:0) READ_FPDMA_QUEUED. ACB: 60 00 00 00 00 40 00 00= 00 01 00 00 (ada:ahcich0:0:0:0): CAM status: CCB request was invalid at usbus0, port 1. addr 1 (disconnected) xhci_interrupt: host controller halted (ada0:ahcich0:0:0:0): Error 22. Unretryable error xhci_interrupt: host controller halted (aprobe0:ahcich0:0:0:0): CAM status: CCB request was invalid (aprobe0:ahcich0:0:0:0): Error 22. Unretryable error. ada0 at ahcich0 bus 0 scbus0 target 0 lun 0 ada0: ... detached Solaris: NOTICE: Cannot find the pool label for 'zroot' Mounting from zfs:zroot/ROOT/default failed with error 5. --=20 You are receiving this mail because: You are the assignee for the bug.=