home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.unix.ultrix
- Path: sparky!uunet!spool.mu.edu!news.cs.indiana.edu!nstn.ns.ca!news.ucs.mun.ca!morgan.ucs.mun.ca!kforward
- From: kforward@morgan.ucs.mun.ca (Ken Forward)
- Subject: Re: Swap area on Dec5000
- Message-ID: <BzKFxy.KAJ@news.ucs.mun.ca>
- Sender: usenet@news.ucs.mun.ca (NNTP server account)
- Organization: Dept of Physics, Memorial University of Newfoundland
- References: <16DEC199221211918@csa1.lbl.gov> <18452@borg.cs.unc.edu> <ZOWIE.92Dec18072225@daedalus.stanford.edu>
- Date: Sun, 20 Dec 1992 16:17:57 GMT
- Lines: 28
-
- In article <ZOWIE.92Dec18072225@daedalus.stanford.edu> zowie@daedalus.stanford.edu (Craig "Powderkeg" DeForest) writes:
- >One thing to be on the lookout for, is that some non-DEC disks (notably
- >our Fujitsu 1.3Gb drive) don't spin-up until the first access request
- >after a SCSI reset. So the first access always fails. The DECstation
- >doesn't like that -- the first access is usually the fledgling kernel
- >trying to figure out where it can swap, and it decides there isn't an
- >rz<n> when that first access fails -- basically you just can't swap to
- >one of 'em. (unless someone's got a brilliant idea to get around the
- >problem without a source license...)
-
- Brilliant idea follows :-)
-
- Basically, I had the same/a similar problem over a year ago with my then
- new M2266A's: my boot was failing the '/etc/fsck -p' call found in /etc/rc.
- Inserting an '/etc/chpt -q /dev/rrz?c >/dev/null' just before the 'fsck'
- call ensures that the doomed first access produces a nonfatal error, unlike
- a boot-halting 'fsck' failure.
-
- Of course, this isn't really a brilliant idea, but a brutal kludge.
- Two proper fixes include setting the drive's jumpers for asynchronous
- scsi-1 (the Ultrix default for non-DEC disks), or better yet, rebuilding
- the kernel around an edited scsi_data.c which features a synchronous
- scsi-2 description of the non-DEC drive. I keep telling myself I'll get
- around to the latter, meanwhile the '/etc/chpt -q' kludge works fine.
- --
- Ken Forward, Dept of Physics, Memorial University of Newfoundland
- <kforward@crosby.physics.mun.ca> | <kforward@morgan.ucs.mun.ca>
- "...don't plant your bad days, they grow into weeks..." -Tom Waits-
-