*BSD News Article 3633


Return to BSD News archive

Newsgroups: comp.unix.bsd
Path: sserve!manuel!munnari.oz.au!mips!mips!darwin.sura.net!udel!louie!udel.edu!neal
From: neal@neal.ctd.comsat.com (Neal Becker)
Subject: swap problems - Not Again!
Message-ID: <NEAL.92Aug13080724@neal.ctd.comsat.com>
Sender: usenet@udel.edu (USENET News Service)
Nntp-Posting-Host: neal.ctd.comsat.com
Organization: COMSAT Labs
Date: Thu, 13 Aug 1992 13:07:24 GMT
Lines: 57

I have a recent 386/4Mb with Wd1007V and 150Mb Micropolis EDSI drives.
When 0.1 installed, I get "clean of page xxx failed" warnings.  A LOT.
By the hundreds.

I read the messages saying this was due to swap not being on a
cylinder boundary.  I have battled this for a couple of weeks now.

In my most recent feeble attempt, I tried the 0.1 install but told it
to use the whole disk.  This did *not* fix the problem.  Disklabel
showed the dreaded asterisks on the swap partition!

I made a disktab entry and disklabeled.  Now I have this:

# /dev/rwd0d
type: ESDI
disk: neal
label:
flags:
bytes/sector: 512
sectors/track: 35
tracks/cyl: 8
sectors/cyl: 280
cylinders: 1022
rpm: 3600
interleave: 1
[...]

	size	offset	fstype	fsize	bsize	cpg
	------	------	------	-----	-----	---
a:	275240	0	4.2BSD	1024	8192	16	0-982
b:	10080	275240	swap				983-1018
c:	285880	0	unused	0	0		0-1020

10080 is a multiple of 280.  No more cursed asterisks!!

Now I newfs'd, and installed manually.  One note here, since I did not
participate in the great 0.0 experiment, I can't find any instructions
on how to install manually.  Here's what I did (trial and error):

1. mount -u /dev/fd0a /
2. mount /dev/wd0a /mnt
3. zcpio -pdm /mnt < /etc/baselist.Z
4. cd /mnt; zcpio -idm < /etc/baseutils.cpio.Z
5. shutdown

Then boot off hd.  This is OK.  Next, I used mread to load bin01 into
/tmp.  Then I used extract.  This went OK.

6. Shutdown
7. Reboot.  No good.  Says there's no /etc/fstab.
8. Make /etc/fstab.  Put this in it:
/dev/wd0a / ufs rw 1 1

9. Reboot again.  This time it boots OK (after manually running
fsck).!
10. SAME PROBLEM AGAIN!@!!!!!  clean of page xxx failed!@!!!  Hundreds
of them!  Help!