Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 26 May 1996 13:14:03 -0700 (PDT)
From:      Paul Traina <pst@Shockwave.COM>
To:        dyson@freebsd.org
Cc:        current@freebsd.org, pst@precipice.shockwave.com
Subject:   biodone w/current kernel & diskless operation
Message-ID:  <199605262014.NAA16620@precipice.shockwave.com>

next in thread | raw e-mail | index | archive | help
John,

I was playing around with a completely diskless system today running wiht
a -current kernel as of 8am this morning (Sunday).

I'm seeing very reproducable "biodone: buffer already done" messages.
When this happens, the current process usually hangs, the rest of the
system seems to operate just fine.

I just switched to an alternate terminal and did a ps axlwww in case this
helps.  The process that's interesting is the vi (which is what I was
doing when the system wigged).  The vi session itself seemed to keep
working just fine, and I was even able to write out my file, but when
I went to exit the process, everything hung for that terminal.  It
seems there's something going on in the vm system that causes the biodone
message and screws up the process spindown.

There are a couple of vi processes in the same state, because I've had
two terminals hang since booting.

This is trivial for me to reproduce, so please feel free to ask me to
do further debugging.  I've got DDB int the kernel if we get desparate.

Again, of special note: this machine is swapping and has NFS running
over the net.  The swapfile was created as suggested in the manual,
by using "touch swap.<address>" as opposed to actually creating a 20k
block swap file with DD.  no swapon commands were done on the diskless
machine because I apparently don't have the right syntax.  In any
case the diskless machine has 16mb of ram and I was doing stuff that
should not have gotten us anywhere close.

  UID   PID  PPID CPU PRI NI   VSZ  RSS WCHAN  STAT  TT       TIME COMMAND
    0     0     0   0 -18  0     0    0 sched  DLs   ??    0:00.00  (swapper)
    0     1     0   0  10  0   408  208 wait   Is    ??    0:00.02 /sbin/init --
    0     2     0   0 -18  0     0   12 psleep DL    ??    0:00.00  (pagedaemon)
    0     3     0   0  28  0     0   12 psleep DL    ??    0:00.00  (vmdaemon)
    0     4     0   0  28  0     0   12 update DL    ??    0:00.01  (update)
    0    41     1   0   2  0   312  128 sbwait Ss    ??    0:00.01 rdisc -s
    0    62     1   0   2  0   196  476 select Ss    ??    0:00.16 syslogd
    1    75     1   7   2  0   176  452 select Is    ??    0:00.00 portmap
    0    85     1   0  10  0   216   96 nfsidl S     ??    0:00.11 nfsiod -n 4
    0    86     1   0  10  0   216   96 nfsidl I     ??    0:00.02 nfsiod -n 4
    0    87     1   0  10  0   216   96 nfsidl I     ??    0:00.01 nfsiod -n 4
    0    88     1   0  10  0   216   96 nfsidl I     ??    0:00.01 nfsiod -n 4
    0    91     1   0   2  0   196  548 select Is    ??    0:00.19 inetd
    0   102     1   0  18  0   236  560 pause  Is    ??    0:00.02 cron
    0   106     1   6   2  0   196  536 select Is    ??    0:00.02 lpd
    0   109     1  15   2  0   500  852 accept Is    ??    0:00.01 sendmail: accepting connections (sendmail)
    0   162     1   0 -18  0   520  980 vmopar D     p0-   0:00.23 vi /etc/XF86Config
    0   146     1   0  18  0   464  304 pause  Is    v0    0:00.15 -csh (csh)
    0   170   146   0  28  0   520  996 -      T     v0    0:00.28 vi /etc/XF86Config
    0   184   146   0 -18  0   508  960 vmopar D+    v0    0:00.08 vi /etc/XF86Config
    0   147     1   1  18  0   464  308 pause  Ss    v1    0:00.12 -csh (csh)
    0   190   147   2  28  0   460  244 -      R+    v1    0:00.01 ps -axlwww
    0   148     1   0   3  0   168  556 ttyin  Is+   v2    0:00.02 /usr/libexec/getty Pc ttyv2

/a/export/quemadura/swap/:

total 0
-rw-r--r--  1 root  wheel  0 May 26 10:13 swap.171.69.108.35

vmstat:

 procs   memory     page                    disks   faults      cpu
 r b w   avm   fre  flt  re  pi  po  fr  sr f0 w0   in   sy  cs us sy id
 0 2 0   156  2620   12   0   1   0  10   0  0  0  122   64  17  0  1 98

pstat -s

Device      1K-blocks     Used    Avail Capacity  Type
/dev/??         20000        0    19936     0%    Interleaved



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