From owner-freebsd-current@freebsd.org Sun Dec 17 04:24:18 2017 Return-Path: Delivered-To: freebsd-current@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 6649CEA09F6 for ; Sun, 17 Dec 2017 04:24:18 +0000 (UTC) (envelope-from lists@eitanadler.com) Received: from mail-yb0-x235.google.com (mail-yb0-x235.google.com [IPv6:2607:f8b0:4002:c09::235]) (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 374192171 for ; Sun, 17 Dec 2017 04:24:18 +0000 (UTC) (envelope-from lists@eitanadler.com) Received: by mail-yb0-x235.google.com with SMTP id r4so8862109ybd.12 for ; Sat, 16 Dec 2017 20:24:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=eitanadler.com; s=0xdeadbeef; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=Fg6acsijBM/HNUfOMYap5YhStkq/2+bpcQG0XknqwRo=; b=STma4KWflvuUZZ7KdTb3ObPAfmBS4LXQLWJVy3mytV04Qey/A606tDl2wm1JE8nAp0 IbPHTP0lt4cKhuX6kUA8ZG1cRKiznZ+ovkGk3mVpBlXEju/M7uRzp5RFXnDRLxuATFwe bBDs4uA6JrsTUVCyyV/TNQ+2c/9KB4KLj7TaM= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=Fg6acsijBM/HNUfOMYap5YhStkq/2+bpcQG0XknqwRo=; b=B7MHa6thqqSB/Vz28U6KI+CBX3itW7bj63LAaNMgI9L44QQhmMOA0WHNT8/ojADk0f TDaUfMzDs+ljVw/OOOYObBUhvH8GGlnzX2584R72z2tkoaJixJIkqnABNcvwI6RjrztI fXIpu3NKEFO48s/qtaI81B4nTRVzvaQZZCEAyjBo2KVOVFp3fSo23l46aPnBH7bBBOkt UOtsM+EMcb/puD/F/aFDC+LzzD6vjgB7EjGLDoeVh4/jJ3zDc9EvLeIQn9Fsiz52QFU3 M9PQMIXbYivOnf3Kj5tfA1++AM4kXJcW84kLPylnpOHdd1eeZhI4vA4t0+AfIumnLExK fwgg== X-Gm-Message-State: AKGB3mJzGYmZeKpeIxBaFLRp4beDMXV4s++uENZU7tzuXEEUttQfLKyt 96BNMsjfzXT6Ojot7VpXz+rLqKDKcBpMiixPZeQ3tg== X-Google-Smtp-Source: ACJfBov1TWbr106NV4+H5u2ceRDxhTWY1YUCI/Kv88w/W4XhTGP9HdSG9w70ZfSFmjfrcMNWesraryHOC58nRIXMXy0= X-Received: by 10.129.122.194 with SMTP id v185mr11202497ywc.204.1513484657178; Sat, 16 Dec 2017 20:24:17 -0800 (PST) MIME-Version: 1.0 Received: by 10.37.15.66 with HTTP; Sat, 16 Dec 2017 20:23:46 -0800 (PST) In-Reply-To: References: From: Eitan Adler Date: Sat, 16 Dec 2017 20:23:46 -0800 Message-ID: Subject: Re: faq/troubleshoot.html#indefinite-wait-buffer has the direction of transfer wrong (head -r326888 /usr/src/) To: Mark Millard Cc: FreeBSD Hackers , FreeBSD Current Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 17 Dec 2017 04:24:18 -0000 On 16 December 2017 at 10:47, Mark Millard wrote: > I got a "swap_pager: indefinite wait buffer" notice and looked > it up. (This was on a rpi2 booted (kernel and world) from a > USB SSD, swap partition in use instead of a swap file. It > was building devel/cmake via poudriere-devel .) > > https://www.freebsd.org/doc/faq/troubleshoot.html#indefinite-wait-buffer > reads like it is for page-out to disk: > > > QUOTE > 5.9. > > What does the error swap_pager: indefinite wait buffer: mean? > > This means that a process is trying to page memory to disk, and the page = attempt has hung trying to access the disk for more than 20 seconds. It mig= ht be caused by bad blocks on the disk drive, disk wiring, cables, or any o= ther disk I/O-related hardware. If the drive itself is bad, disk errors wil= l appear in /var/log/messages and in the output of dmesg. Otherwise, check = the cables and connections. > ENDQUOTE > > > But the code containing the message is for "swread": > (head -r326888) If I understand correctly this is fixed by change "trying to page to" to "trying to page from" ? In other words this happens on swap-in, not swap-out. --=20 Eitan Adler