faq/troubleshoot.html#indefinite-wait-buffer has the direction of transfer wrong (head -r326888 /usr/src/)

Eitan Adler lists at eitanadler.com
Thu Dec 28 07:28:17 UTC 2017

On 16 December 2017 at 20:34, Mark Millard <markmi at dsl-only.net> wrote:
> On 2017-Dec-16, at 8:23 PM, Eitan Adler <lists at eitanadler.com> wrote:
>> On 16 December 2017 at 10:47, Mark Millard <markmi at dsl-only.net> 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:
>>> 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 might 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 will appear in /var/log/messages and in the output of dmesg. Otherwise, check the cables and connections.
>>> 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.


Eitan Adler

More information about the freebsd-current mailing list