From owner-freebsd-questions Mon Jan 29 19:51:45 2001 Delivered-To: freebsd-questions@freebsd.org Received: from mail.rz.uni-ulm.de (sirius-giga.rz.uni-ulm.de [134.60.241.36]) by hub.freebsd.org (Postfix) with ESMTP id B0EF737B400 for ; Mon, 29 Jan 2001 19:51:27 -0800 (PST) Received: from gmx.de (lilith.wohnheim.uni-ulm.de [134.60.106.64]) by mail.rz.uni-ulm.de (8.9.3/8.9.3) with ESMTP id EAA15098 for ; Tue, 30 Jan 2001 04:51:25 +0100 (MET) Message-ID: <3A763A47.E2B2DDFF@gmx.de> Date: Tue, 30 Jan 2001 04:51:36 +0100 From: Siegbert Baude X-Mailer: Mozilla 4.75 [en] (X11; U; FreeBSD 4.2-STABLE i386) X-Accept-Language: de, en MIME-Version: 1.0 To: "questions@freebsd.org" Subject: How to test swap? Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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 [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