Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 30 Jan 2001 04:51:36 +0100
From:      Siegbert Baude <siegbert.baude@gmx.de>
To:        "questions@freebsd.org" <questions@freebsd.org>
Subject:   How to test swap?
Message-ID:  <3A763A47.E2B2DDFF@gmx.de>

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

after months of buildworlds occasionally crashing with signal 11 I
tried it once in single user mode. Voila, no errors anymore since
then. I didnīt understand this quite right, as I always thought
without the additional daemons making buildworld would stress my
system even worse.
Then I noticed that on exiting single user mode there is a message
about mounting swap.
After disabling swap in /etc/rc and a reboot (is there any method to
disable swap without reboot or entering single user mode?) I tried
buildworld in normal mode again. Strike, no errors left.

So my question is: What can be wrong with my swap? Can I kind of
"newfs_swap" it in any way? I know there is no filesystem on it, but
maybe any structure, which can be damaged?

Some hints about my system:

su-2.04# uname -a
FreeBSD myserver.mydomain.de 4.2-STABLE FreeBSD 4.2-STABLE #0:
Sun Jan 28 07:42:00 CET 2001 root@:/usr/obj/usr/src/sys/LILITH  i386

dmesg snippet:
ad0: 6197MB <IBM-DHEA-36481> [12592/16/63] at ata0-master UDMA33

disklabel /dev/ad0s3 snippet:
8 partitions:
#        size   offset    fstype   [fsize bsize bps/cpg]
  a:   102400        0    4.2BSD        0     0     0   # (Cyl.    0 -
6*)
  b:   524288   143360      swap                        # (Cyl.    8*-
41*)
  c:  1060290        0    unused        0     0         # (Cyl.    0 -
65)
  e:    40960   102400    4.2BSD        0     0     0   # (Cyl.    6*-
8*)
  f:   392642   667648    4.2BSD        0     0     0   # (Cyl.   41*-
65*)

su-2.04# mount
/dev/ad0s3a on / (ufs, local)
/dev/ad0s3f on /home (ufs, local)
/dev/ad2s1d on /usr (ufs, local)
/dev/ad0s3e on /var (ufs, local)
/dev/ad0s9h on /usr/src (ufs, local)

As you can see, I have /usr and /usr/src on two different disks, which
are on two different IDE controllers.


Any suggestions?

Ciao
Siegbert


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




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