From owner-freebsd-amd64@freebsd.org Wed Aug 24 12:18:13 2016 Return-Path: Delivered-To: freebsd-amd64@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 1F51BBC350E for ; Wed, 24 Aug 2016 12:18:13 +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 0455F1B9A for ; Wed, 24 Aug 2016 12:18:13 +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 u7OCIC6Y083676 for ; Wed, 24 Aug 2016 12:18:12 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-amd64@FreeBSD.org Subject: [Bug 212106] loading vmm and then passing through some devices makes hot swap unusable Date: Wed, 24 Aug 2016 12:18:13 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 11.0-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: t10661789@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-Mailman-Approved-At: Wed, 24 Aug 2016 12:59:10 +0000 X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Aug 2016 12:18:13 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D212106 Bug ID: 212106 Summary: loading vmm and then passing through some devices makes hot swap unusable Product: Base System Version: 11.0-STABLE Hardware: amd64 OS: Any Status: New Severity: Affects Only Me Priority: --- Component: kern Assignee: freebsd-bugs@FreeBSD.org Reporter: t10661789@gmail.com CC: freebsd-amd64@FreeBSD.org CC: freebsd-amd64@FreeBSD.org If I enabled vmm in /boot/loader.conf and added some entries like pptdev=3D"1/0/0", hot swap became unusable. The corresponding entries in /var/log/messages are Aug 24 19:50:54 aaa kernel: ahcich1: Poll timeout on slot 2 port 15 Aug 24 19:50:54 aaa kernel: ahcich1: is 00000000 cs 00000000 ss 00000000 rs 00000004 tfd 150 serr 00000000 cmd 00710217 Aug 24 19:50:54 aaa kernel: (aprobe0:ahcich1:0:15:0): NOP FLUSHQUEUE. ACB: = 00 00 00 00 00 00 00 00 00 00 00 00 Aug 24 19:50:54 aaa kernel: (aprobe0:ahcich1:0:15:0): CAM status: Command timeout Aug 24 19:50:54 aaa kernel: (aprobe0:ahcich1:0:15:0): Error 5, Retries exhausted Aug 24 19:51:09 aaa kernel: ahcich1: Poll timeout on slot 4 port 0 Aug 24 19:51:09 aaa kernel: ahcich1: is 00000000 cs 00000000 ss 00000000 rs 00000010 tfd 150 serr 00000000 cmd 00710417 Aug 24 19:51:09 aaa kernel: (aprobe0:ahcich1:0:0:0): NOP FLUSHQUEUE. ACB: 0= 0 00 00 00 00 00 00 00 00 00 00 00 Aug 24 19:51:09 aaa kernel: (aprobe0:ahcich1:0:0:0): CAM status: Command timeout Aug 24 19:51:09 aaa kernel: (aprobe0:ahcich1:0:0:0): Error 5, Retries exhau= sted With the line on pptdev commented out and then reboot the system, hot swap = was again usable and in /var/log/messages Aug 24 18:53:14 aaa kernel: ada6 at ahcich1 bus 0 scbus1 target 0 lun 0 Aug 24 18:53:14 aaa kernel: ada6: ATA8-ACS SATA 3.x device Aug 24 18:53:14 aaa kernel: ada6: Serial Number XXXXXXXX Aug 24 18:53:14 aaa kernel: ada6: 600.000MB/s transfers (SATA 3.x, UDMA5, P= IO 512bytes) Aug 24 18:53:14 aaa kernel: ada6: Command Queueing enabled Aug 24 18:53:14 aaa kernel: ada6: 763097MB (1562824368 512 byte sectors) Aug 24 18:53:33 aaa kernel: ada6 at ahcich1 bus 0 scbus1 target 0 lun 0 Aug 24 18:53:33 aaa kernel: ada6: s/n XXXXXXX detach= ed Aug 24 18:53:33 aaa kernel: (ada6:ahcich1:0:0:0): Periph destroyed The above behaviour is the same whether I pass through a vga card or a usb = 3.0 device. The motherboard in question is ASRock C226WS and the SATA controlle= r is a Marvell 9172. --=20 You are receiving this mail because: You are on the CC list for the bug.=