From owner-freebsd-stable@freebsd.org Thu Aug 24 15:48:45 2017 Return-Path: Delivered-To: freebsd-stable@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 897E4DE258A for ; Thu, 24 Aug 2017 15:48:45 +0000 (UTC) (envelope-from mike@sentex.net) Received: from smarthost2.sentex.ca (smarthost2.sentex.ca [IPv6:2607:f3e0:80:80::2]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client CN "smarthost.sentex.ca", Issuer "smarthost.sentex.ca" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 5817C81290 for ; Thu, 24 Aug 2017 15:48:45 +0000 (UTC) (envelope-from mike@sentex.net) Received: from lava.sentex.ca (lava.sentex.ca [IPv6:2607:f3e0:0:5::11]) by smarthost2.sentex.ca (8.15.2/8.15.2) with ESMTPS id v7OFmicI085602 (version=TLSv1 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO) for ; Thu, 24 Aug 2017 11:48:44 -0400 (EDT) (envelope-from mike@sentex.net) Received: from [192.168.43.26] (saphire3.sentex.net [192.168.43.26]) by lava.sentex.ca (8.15.2/8.15.2) with ESMTP id v7OFmge4053035 for ; Thu, 24 Aug 2017 11:48:42 -0400 (EDT) (envelope-from mike@sentex.net) To: FreeBSD-STABLE Mailing List From: Mike Tancsa Subject: file system deadlock in RELENG_11 Organization: Sentex Communications Message-ID: <66b97b27-cbea-a3a8-374d-3f7c017b5418@sentex.net> Date: Thu, 24 Aug 2017 11:48:41 -0400 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit X-Scanned-By: MIMEDefang 2.78 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Aug 2017 15:48:45 -0000 I upgraded a server yesterday from RELENG_11 from march 2017 to r322800 (Aug 22) and noticed that under heavy disk IO in a VM, the server is locking up. In the vm, I was doing a large untar and I noticed that prior to the lockup, the hypervisor would be struggling to keep up the disk writes. The VM is on a zvol if that makes any difference. A few times in the VM, IO would be clogged to the point that the disk would timeout in the VM Aug 24 08:32:02 kernel: ahcich6: Timeout on slot 14 port 0 Aug 24 08:32:02 kernel: ahcich6: is 00000000 cs 00000000 ss ffffffff rs ffffffff tfd 50 serr 00000000 cmd 0001db17 Aug 24 08:32:02 kernel: (ada1:ahcich6:0:0:0): WRITE_FPDMA_QUEUED. ACB: 61 00 a8 47 d8 40 01 00 00 01 00 00 Aug 24 08:32:02 kernel: (ada1:ahcich6:0:0:0): CAM status: Command timeout Aug 24 08:32:02 kernel: (ada1:ahcich6:0:0:0): Retrying command When the parent deadlocks, I cant run anything thats not already in RAM. shutdown doesnt work and I have to reboot the box via IPMI. Any ideas how to debug this or try and better understand the problem so I can at least work around it ? ---Mike -- ------------------- Mike Tancsa, tel +1 519 651 3400 Sentex Communications, mike@sentex.net Providing Internet services since 1994 www.sentex.net Cambridge, Ontario Canada http://www.tancsa.com/