Swapfile problem in 6?

Rob spamrefuse at yahoo.com
Thu Nov 17 03:23:11 PST 2005


Peter Jeremy wrote:
 > On Thu, 2005-Nov-17 00:00:03 -0800, Rob wrote:
 > 
 >>The only way I know of how to trigger the deadlock, is to compile
 >>a new kernel and the 'linking kernel' stage will lock-up the PC.
 >>With a regular kernel, this takes 2.5 hours until deadlock, but with
 >>a fully equipped debug kernel it takes about 8 hours....
 > 
 > 
 > When the first deadlock occurs, you have a fully populated set of kernel
 > objects (though possibly some of them are in the buffer case rather than
 > on disk).  You should be able to quickly reproduce the panic by running:
 > # cd /usr/obj/usr/src/sys/<<KERNEL>>
 > # make
 
 I'm doing this right now...
 Although I have not got into the deadlock yet, I do get these lines
 in the serial console:
 
 swap_pager: indefinite wait buffer: bufobj: 0, blkno: 12333, size: 4096
 swap_pager: indefinite wait buffer: bufobj: 0, blkno: 22990, size: 4096
 swap_pager: indefinite wait buffer: bufobj: 0, blkno: 22928, size: 4096
 swap_pager: indefinite wait buffer: bufobj: 0, blkno: 22625, size: 8192
 swap_pager: indefinite wait buffer: bufobj: 0, blkno: 22990, size: 4096
 swap_pager: indefinite wait buffer: bufobj: 0, blkno: 22784, size: 8192
 swap_pager: indefinite wait buffer: bufobj: 0, blkno: 23233, size: 4096
 swap_pager: indefinite wait buffer: bufobj: 0, blkno: 23404, size: 4096
 swap_pager: indefinite wait buffer: bufobj: 0, blkno: 23154, size: 4096
 
 
 
 A typical snapshot of 'swapinfo' at this time is:
   Device          1K-blocks     Used    Avail Capacity
   /dev/ad0s1b         39848    39840    39848   100%
   /dev/md0           131072    54136   131072    41%
   Total              170920    93976    76944    55%
 
 (By the way, notice that the 'Avail' column of /dev/ad0s1b and
 /dev/md0 is wrong; for Total it's correct.
 Is this a general bug in 6 or only on my PC? )
 
 
 Googling on the above swap_pager lines, I found this conversation:
 
 http://lists.freebsd.org/pipermail/freebsd-current/2005-September/055550.html
 
 which claims that DragonFly has fixed this problem.
 
 
 Regards,
 Rob.
 
__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


More information about the freebsd-stable mailing list