From owner-freebsd-current Sun Feb 28 4:14: 0 1999 Delivered-To: freebsd-current@freebsd.org Received: from godzilla.zeta.org.au (godzilla.zeta.org.au [203.26.10.9]) by hub.freebsd.org (Postfix) with ESMTP id EFD75151F0 for ; Sun, 28 Feb 1999 04:13:55 -0800 (PST) (envelope-from bde@godzilla.zeta.org.au) Received: (from bde@localhost) by godzilla.zeta.org.au (8.8.7/8.8.7) id XAA22562 for current@freebsd.org; Sun, 28 Feb 1999 23:13:37 +1100 Date: Sun, 28 Feb 1999 23:13:37 +1100 From: Bruce Evans Message-Id: <199902281213.XAA22562@godzilla.zeta.org.au> To: current@freebsd.org Subject: tail /proc/map/* Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG tail(1) assumes that mmap(2) works on works on regular files. mmap(2) on the irregular regular files /proc/*/map returns success but doesn't work. The first access to the mmapped memory usually causes the kernel to printf messages like the following: vnode_pager: *** WARNING *** stale FS getpages No strategy for buffer at 0xf12828e8 : 0xf3877800: type VREG, usecount 4, writecount 0, refcount 0, flags (VOBJBUF) tag VT_PROCFS, type 11, pid 591, mode 124, flags 0 : 0xf3877800: type VREG, usecount 4, writecount 0, refcount 0, flags (VOBJBUF) tag VT_PROCFS, type 11, pid 591, mode 124, flags 0 vnode_pager_getpages: I/O read error vm_fault: pager read error, pid 2023 (tail) pid 2023 (tail), uid 15: exited on signal 11 Bruce To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message