swap space problems

Chris Fedde chris at fedde.littleton.co.us
Mon May 9 10:20:19 PDT 2005


Occasionaly my system hangs for a few seconds while loading a process
from swap that has been idle for some time.  It could be that I'm
actualy out of swap space in these conditions, because I see this frequently
in dmesg output:

    swap_pager_getswapspace(8): failed.

But I also see other failures that indicate that there may be a
hardware issue going on:

    swap_pager: I/O error - pageout failed; blkno 20114,size 45056, error 0
    ad0: TIMEOUT - WRITE_DMA retrying (2 retries left) LBA=161663
    ad0: FAILURE - WRITE_DMA timed out

Boot message for the device controller is:

    atapci0: <VIA 8235 UDMA133 controller> port
	0xfc00-0xfc0f,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 17.1 on pci0
    ata0: channel #0 on atapci0
    ata1: channel #1 on atapci0

And the disk is 

    ad0: 14648MB <Maxtor 91536U6/VA510PF0> [29762/16/63] at ata0-master UDMA66

Is there some issue relating to the configuration that I can repair? 
Or am I seeing a real hardware problem?  

--
    Chris Fedde


More information about the freebsd-questions mailing list