home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / unix / ultrix / 8990 < prev    next >
Encoding:
Text File  |  1992-12-21  |  2.1 KB  |  40 lines

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