Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 17 Dec 1998 11:52:59 -0800
From:      David Greenman <dg@root.com>
To:        Julian Elischer <julian@whistle.com>
Cc:        "Marc G. Fournier" <marc.fournier@acadiau.ca>, freebsd-scsi@FreeBSD.ORG, freebsd-current@FreeBSD.ORG
Subject:   Re: any way of gleaming info from these? 
Message-ID:  <199812171952.LAA25533@root.com>
In-Reply-To: Your message of "Thu, 17 Dec 1998 11:30:59 PST." <Pine.BSF.3.95.981217113030.2175A-100000@current1.whistle.com> 

next in thread | previous in thread | raw e-mail | index | archive | help
>> >> >vnode_pager_putpages: residual I/O 4096 at 113
>> >> >vnode_pager_putpages: I/O error 6
>> >> >vnode_pager_putpages: residual I/O 4096 at 113
>> >> >vnode_pager_putpag_putpage_pager_putpages: residual I/O 4096 at 113
>> >> >vnode_pager_putpages: I/O error 6
>> >> >vnode_pager_putpages: residual I/O 4096 at 113
>> >> >
>> >> >maybe its totally impossible, but is there no way of detailing which drive
>> >> >is causing this?  or is it not a drive?
>> >> 
>> >>    Error 6 is ENXIO - device not configured. This might happen if the device
>> >> is SCSI and it loses power/goes offline. I can't think of any other reasons
>> >> offhand.
>> >
>> >Hrmmm...is vnode_pager_putpages a 'file system' error, or a 'swap' error?
>> >The system is locked up right now, awaiting someone to get down to the
>> >office and reboot it.  
>> 
>>    vnode_pager_putpages is a routine, not an error (well...:-)). I don't know
>> what is returning ENXIO, but putpages just calls the filesystem VOP_PUTPAGES
>> entry, so you'd have to look at that. vnode_pager_putpages isn't usually
>> called very often in a typical system - it's used when mapped/modified file
>> pages need to be written back to the backing file, which doesn't normally
>> happen on a typical system (modified pages are usually backed by swap, not
>> the file).
>> 
>> >Looking through /usr/src/sys, the error message is generated in
>> >vm/vnode_pager.c...which, to me, would indicate swap space?  
>> 
>>    No, the swap_pager pages out to swap. The vnode_pager pages out to files.
>
>I THINK the vnode pager is called if you are writing to a mmapped file,
>right?

   Yes, if it is mapped shared and writable.

-DG

David Greenman
Co-founder/Principal Architect, The FreeBSD Project

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199812171952.LAA25533>