From owner-freebsd-hackers@freebsd.org Tue Nov 22 02:33:05 2016 Return-Path: Delivered-To: freebsd-hackers@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 4F976C4EE2D for ; Tue, 22 Nov 2016 02:33:05 +0000 (UTC) (envelope-from dcrosstech@gmail.com) Received: from mail-yw0-x232.google.com (mail-yw0-x232.google.com [IPv6:2607:f8b0:4002:c05::232]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 115E0D29 for ; Tue, 22 Nov 2016 02:33:05 +0000 (UTC) (envelope-from dcrosstech@gmail.com) Received: by mail-yw0-x232.google.com with SMTP id a10so3635403ywa.3 for ; Mon, 21 Nov 2016 18:33:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to; bh=mQh/X1BPL4ZyreHPMHPe4i4JQLQA2VNHQzltyO8Lwkk=; b=dL5DVPnSHKTii28VXi/9RHV2qjqrKvlJPmkkwuXVBZnF6HeF2BI5i/lIOHnhslmVDm qVy3Vde85ow9PT09fLfctarWv/Y1vmh9/NUoynoordS2vxFWQTFG2rQL3fWRxvU053wc ZNQEa3vCNNuMX61VbIeFHqePDfTVBbPjL9TKrqx6qNUE/fbPAWHVW+B77+uyyFHNVM/d ndRdlFO89u4q20ny7L6rCkRamzqlofJ4vHZmFQwpY2QnnZonoPExyx5Qe1taM+AeL5mq uizdxgOBHXoAE0uR1JxBdPlU19j2pkSIlonhUhDSqUgk9JpYaIwLtENP4MeUFjtBj/GR 28WA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=mQh/X1BPL4ZyreHPMHPe4i4JQLQA2VNHQzltyO8Lwkk=; b=O5dZg+LbCDqdwYp9vMjre/B9fWANSw5kKLqrabx2vML7PBYJjePuRFKq9t02T+G86R aQu/tUVFyagS2pTE9s7w/ymsWIa9IOA5iEsD0YBe7xIsdwa76kwiIAn6YqdnZmr4ag+T Z4Lu+lwQJcz9fVOqswhKhZdsIqcjGXgDSC2pmWN8jfAYC7ZfPsQRdKZfr2C7HNP+Popy cuqlq+ycBhXV5sojCu+JgoTCmZTtCmk9TL5hfBoy9pXgp61n0LRP3RgWmx1yGP6Ca0FE US06gviDH+PYIXzB6UbwYdDWHUTb4nmUNzdxfS5ig0CBDTe2c3Sx35kgx8Zs+PGRmDlK yYDQ== X-Gm-Message-State: AKaTC00yrUyfkR9lwVi9nZs2xivfzWOf2AiPGWNgVnnW20vv6CekcWrj2VD5+112S/KxDMmapJN78XVNNjjtiA== X-Received: by 10.13.213.206 with SMTP id x197mr19307556ywd.299.1479781984278; Mon, 21 Nov 2016 18:33:04 -0800 (PST) MIME-Version: 1.0 Received: by 10.37.244.18 with HTTP; Mon, 21 Nov 2016 18:33:04 -0800 (PST) From: David Cross Date: Mon, 21 Nov 2016 21:33:04 -0500 Message-ID: Subject: FreeBSD 11 i386 disk deadlock (I think) To: freebsd-hackers@freebsd.org X-Mailman-Approved-At: Tue, 22 Nov 2016 02:40:48 +0000 Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Nov 2016 02:33:05 -0000 I noticed this situation on a Soekris machine I have (geode processor), It has happened twice, once in installworld ,once in buildworld. I am not sure how to trigger it more easily, but the symptoms are quite straightforward. Both times this happened in objcopy. And objcopy was stuck in the "vm_wait" wait-channel. The first time I was able to control-C it (after a few Control-Ts that showed it was not progressing) and everything came back, I was then able to re-run the installworld (that had been the source of the objcopy) without incident. That I was able to Control-C it, and re-run it without a disk-wait process, or blocking in the same spot is telling to me. The second time I had wandered away and by the time I got back I was no longer able to interact with the machine. It still passed traffic, but any attempt to open a new ssh connection was greeted with an opened TCP socket and IMMEDIATE reset/termination. I was forced to reset it. While this was happening, it was successfully routing 6 megabytes/second through its interfaces. I am going to try to run this again to see if I can get any more information, it is apparently fairly easy for me to trip.