home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / unix / bsd / 11019 < prev    next >
Encoding:
Text File  |  1993-01-08  |  2.4 KB  |  63 lines

  1. Newsgroups: comp.unix.bsd
  2. Path: sparky!uunet!cs.utexas.edu!uwm.edu!spool.mu.edu!news.cs.indiana.edu!mikes@cs.indiana.edu
  3. From: "Michael Squires" <mikes@cs.indiana.edu>
  4. Subject: Re: [386BSD] corrupt files
  5. Message-ID: <1993Jan8.004152.16521@news.cs.indiana.edu>
  6. Summary: is it an old ESDI disk?
  7. Keywords: ESDI bad144 disktab
  8. Organization: Indiana University, Bloomington
  9. References: <56750001@acf3.NYU.EDU> <1993Jan6.043012.53@kumr.lns.com> <C0HrHK.AtK@agora.rain.com>
  10. Date: Fri, 8 Jan 1993 00:41:42 -0500
  11. Lines: 50
  12.  
  13. In article <C0HrHK.AtK@agora.rain.com> rgrimes@agora.rain.com (Rodney Grimes) writes:
  14. >pozar@kumr.lns.com (Tim Pozar) writes:
  15. >
  16. >>chapman@acf3.NYU.EDU (Gary W. Chapman, , ,) writes:
  17. >>>After downloading 386BSD from agate.berkeley.edu (and from another place
  18. >>>as well), I get 
  19. >>>
  20. >>>bin01.02 is corrupt
  21. >>>bin01.03 is corrupt
  22.  
  23. I got that on my 386/20 with an old ESDI drive.  I first tried renaming the
  24. bad files to bad.0? and then getting new copies, but there were too many
  25. bad sectors on the drive and Since the drive is large (660MB) I had to
  26. figure out how to do it using bad144.
  27.  
  28. So I did the following:
  29.  
  30. 1.  obtain a copy of the kernel that handles WD (WD1007V in my case) errors
  31.     correctly
  32.  
  33.     I did this by using a second system to install bin01, src01, etc01, and
  34.     the patchkit and then compiling a new kernel.
  35.  
  36. 2.  Figure out a disktab entry for the disk, with bad144 remapping turned on.
  37.  
  38.     There is info in the unofficial directory from cgd on writing disktab
  39.     entries.  I guessed on the number of cylinders to leave at the end for
  40.     housekeeping.
  41.  
  42. 3.  Make a fixit.fs disk with the new kernel and bads144 from rafal@ref.tfs.com
  43.     which will scan a disk, disklabel the disk, newfs the partitions, and
  44.     rund bads144 to create a list of bad sectors that are fed to bad144 for
  45.     remapping.
  46.  
  47.     (I did not know at first that once the system is running errors are
  48.     relative to the partition, not absolute sector numbers).
  49.  
  50. 4.  Followed cgd's instructions on creating a 386BSD system using wd0a for
  51.     root, wd0b for swap, wd0h for /usr, and wd0g for /usr/home.
  52.  
  53. The disk turns out to be quite reliable once the 25 or so bad sectors were
  54. mapped out.
  55.  
  56. Given what I know now I would head straight for a SCSI controller/disk if
  57. starting from scratch.
  58.  
  59. -- 
  60.  
  61. Mike Squires (mikes@iuvax.cs.indiana.edu)     812 855 3974 (w) 812 333 6564 (h)
  62. mikes@iuvax.cs.indiana.edu          546 N Park Ridge Rd., Bloomington, IN 47408
  63.