I've just received the following kernel messages (running a kernel from
cvs-cur 5476 - about last Thursday):

vnode_pager: *** WARNING *** stale FS getpages
No strategy for buffer at 0xc1c03aa8
: 0xc6168380: type VREG, usecount 3, writecount 0, refcount 0, flags (VOBJBUF)
tag VT_PROCFS, type 5, pid 36, mode 0x180, flags 0
: 0xc6168380: type VREG, usecount 3, writecount 0, refcount 0, flags (VOBJBUF)
tag VT_PROCFS, type 5, pid 36, mode 0x180, flags 0
vnode_pager_getpages: I/O read error
vm_fault: pager read error, pid 39554 (sylk1)
pid 39554 (sylk1), uid 0: exited on signal 11 (core dumped)

Looking at my core dump, it seems that sylk1 had mmap()d /proc/36/regs
(FWIW, this is mfs) and caused the problem by trying to de-reference
the first word of the mmap'd region.  Accessing the data using a read(2)
works correctly.

I believe this behaviour is undesirable.  If I can successfully mmap()
a region (the actual parameters were PROT_READ, MAP_SHARED), I should be
able to read the mmap'd region.

Unfortunately, I don't understand the filesystem/vnode layering well
enough to be able to easily identify what's missing.

Peter



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to