Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 1 Sep 1995 19:55:47 -0400
From:      Gene Stark <gene@starkhome.cs.sunysb.edu>
To:        questions@freebsd.org, bugs@freebsd.org
Subject:   Swap pager problems (2.0.5R and 7/26 2.1-SNAP)
Message-ID:  <199509012355.TAA29910@starkhome.cs.sunysb.edu>

next in thread | raw e-mail | index | archive | help
I have been experiencing a failure mode in which the swap pager is attempting
to page out to pages a few hundred sectors beyond the end of the swap
partition.  This fails in the swap pager with EINVAL (async pageout failed)
and essentially wedges the system.  The problem occurs both with
2.0.5-RELEASE and the latest 2.1-SNAP (7/26?).  It is reproduceable on each
of the 40 or so identical systems I have by repeatedly starting up emacs,
reading in the dictionary, and suspending until the swap percentage reaches
30% or so, at which point the bogus pageouts occur.

Below is my disklabel and fstab.  Anybody know what might be causing this?
Thanks.
							- Gene Stark

P.S. The fstab looks wierd due to the complicated way I have these systems
boot up dataless in an NFS environment.

# /dev/rwd0c:
type: ESDI
disk: Samsung SHD30420
label: 
flags:
bytes/sector: 512
sectors/track: 60
tracks/cylinder: 16
sectors/cylinder: 960
cylinders: 746
sectors/unit: 716160
rpm: 3600
interleave: 1
trackskew: 0
cylinderskew: 0
headswitch: 0           # milliseconds
track-to-track seek: 0  # milliseconds
drivedata: 0 

8 partitions:
#        size   offset    fstype   [fsize bsize bps/cpg]
  a:     9600        0    4.2BSD     1024  8192    16   # (Cyl.    0 - 9)
  b:   192000     9600      swap                        # (Cyl.   10 - 209)
  c:   716160        0    unused        0     0         # (Cyl.    0 - 745)
  e:    48000   201600    4.2BSD     1024  8192    16   # (Cyl.  210 - 259)
  f:   288000   249600    4.2BSD     1024  8192    16   # (Cyl.  260 - 559)
  g:   178560   537600    4.2BSD     1024  8192    16   # (Cyl.  560 - 745)


#/dev/wd0a              /       ufs             ro 1 1
proc                    /proc   procfs          rw 0 0
/dev/wd0b               none    swap            sw 0 0
/wd0s4e                 /impure ufs             rw 1 2
/dev/wd0s4f             /pure   ufs             rw 1 2
/dev/wd0s4g             /scratch ufs            rw 1 2
mailhost:/local/var/mail /var/mail nfs          rw 0 0
ufs2:/home/a            /home/a nfs             rw 0 0
ufs2:/home/b            /home/b nfs             rw 0 0
ufs2:/home/c            /home/c nfs             rw 0 0
ufs2:/home/d            /home/d nfs             rw 0 0
ufs1:/home/e            /home/e nfs             rw 0 0
ufs1:/home/f            /home/f nfs             rw 0 0
ufs1:/home/g            /home/g nfs             rw 0 0
ufs1:/home/h            /home/h nfs             rw 0 0
/dev/wd0s1              /dos_c  msdos           ro 0 0
/dev/wd0s2              /dos_d  msdos           rw 0 0



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