From owner-freebsd-current@freebsd.org Thu Dec 28 07:28:17 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 1AF3FEAC500 for ; Thu, 28 Dec 2017 07:28:17 +0000 (UTC) (envelope-from lists@eitanadler.com) Received: from mail-yb0-x232.google.com (mail-yb0-x232.google.com [IPv6:2607:f8b0:4002:c09::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 E020C6F89A for ; Thu, 28 Dec 2017 07:28:16 +0000 (UTC) (envelope-from lists@eitanadler.com) Received: by mail-yb0-x232.google.com with SMTP id j7so22461181ybl.3 for ; Wed, 27 Dec 2017 23:28:16 -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=6ILkVC98AIsX90tPQapbjlkd2UEsmuheuq5U4MtG3zQ=; b=OSC6kkF5uL96Pe5aSkU7aEdnqSKl39zQknnPefVFLdGy5YCQw8h+hakgX1lATqOYqo UB5Ein2WUivRJIoqjP+Bk8kWNtGKOMZPEKYfcGd6e31Hh1MPPQGUTouaZAQXrBLwj9C/ E+7eDHWUxAOb/iS8AXt+bHTF6geWBvkXAqun0= 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=6ILkVC98AIsX90tPQapbjlkd2UEsmuheuq5U4MtG3zQ=; b=p0ceF9FTG5mChOL4p9A+e4ViEP0pTWTR5uDVajnDE/hcRSVJPvx0jb6P2Sufu98uZj ng8XF6lPlsrj0bC/fWpzMwCQaSsSHQbln/xkqwzMtqCTkLNvXX5SZaw49HmqnszCKTmo ggPdvgrdY3p/wVn11iqO66rfkaDLnG9eEjBlbBNACfjdMaTumwwG6xFFJn0KvuzvAYLu NHNQbuZ4SmSor1qnx9SSPfGqWQI29SZSBskVIqOqjb3MasbFLkRiuObYBAsvFBRjRI7a AntP2i874heyOR+SlgrfwrDrTA96bBUy15ZYWevpHjR89cjIORUbHejBjZ7tqY5MnJlA H47g== X-Gm-Message-State: AKGB3mJNmykCb6UQNZjlXYLiSu4gTyL1gkJl/tMSN1WdE1G3x2WAcV+e WbrPepS31okSDnEd8Qnmi0szt9mhW30Y7SCVibnK0Q== X-Google-Smtp-Source: ACJfBosEPb5qUc/dV/KgoGWBs1Eo6X2RgJ+7wC8EJc0z0n/NMWhO7JDLOwiJPoDoThReNhCBhiF6rnuJOR9I4mh8I4A= X-Received: by 10.37.210.216 with SMTP id j207mr13472344ybg.517.1514446095841; Wed, 27 Dec 2017 23:28:15 -0800 (PST) MIME-Version: 1.0 Received: by 10.37.217.21 with HTTP; Wed, 27 Dec 2017 23:27:45 -0800 (PST) In-Reply-To: <8D8CFFA3-ADE9-402F-B9A1-C311E4244FCB@dsl-only.net> References: <8D8CFFA3-ADE9-402F-B9A1-C311E4244FCB@dsl-only.net> From: Eitan Adler Date: Wed, 27 Dec 2017 23:27:45 -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: Thu, 28 Dec 2017 07:28:17 -0000 On 16 December 2017 at 20:34, Mark Millard wrote: > > On 2017-Dec-16, at 8:23 PM, Eitan Adler wrote: > >> On 16 December 2017 at 10:47, Mark Millard wrot= e: >>> 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-buffe= r >>> 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 pag= e attempt has hung trying to access the disk for more than 20 seconds. It m= ight be caused by bad blocks on the disk drive, disk wiring, cables, or any= other disk I/O-related hardware. If the drive itself is bad, disk errors w= ill appear in /var/log/messages and in the output of dmesg. Otherwise, chec= k 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. > > That is my understanding of what I reported. Sorry about the delay: Sending faq/book.xml Transmitting file data .done Committing transaction... Committed revision 51344. Fixed. --=20 Eitan Adler