home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / unix / bsd / 10634 < prev    next >
Encoding:
Internet Message Format  |  1992-12-26  |  3.5 KB

  1. Path: sparky!uunet!stanford.edu!morrow.stanford.edu!morrow!aoki
  2. From: aoki@risk.stanford.edu (ikuro aoki)
  3. Newsgroups: comp.unix.bsd
  4. Subject: Re: 386bsd installation problem for an EISA machine. (continue)
  5. Date: 26 Dec 92 02:51:54
  6. Organization: Stanford University, Stanford, CA, USA.
  7. Lines: 89
  8. Distribution: comp
  9. Message-ID: <AOKI.92Dec26025154@risk.Stanford.EDU>
  10. References: <AOKI.92Dec24024946@risk.Stanford.EDU>
  11.     <AOKI.92Dec24193843@risk.Stanford.EDU>
  12. NNTP-Posting-Host: risk.stanford.edu
  13. In-reply-to: aoki@risk.stanford.edu's message of 24 Dec 92 19:38:43
  14.  
  15. Hello net,
  16.  
  17. I've just got my Adaptec 1742A controller + SCSI HDD worked.
  18. For other 1742 users, I report what I did.
  19.  
  20. As I reported the official boot binary doesn't work for Adaptec
  21. 1742A SCSI controller even it is in the aha1542 compatible mode 
  22. (Standard mode.) This EISA adapter needs another boot binary.
  23.  
  24. I got them from ref.tfs.com [140.145.254.251] /usr/bootdisks.
  25. Because the binaries in this machine/directory are not officially
  26. released, there is no documents for them in the directory.
  27.  
  28. I ftp'ed the following items,
  29.  1)-rw-rw-r--    1 root      1228800 Nov 22 15:09 dist.fs.aha1742-only
  30.  2)-rw-r--r--    1 root      1225728 Dec  3 16:33 fixit.1742a.fs
  31.  3)-rw-rw-r--    1 root      1228800 Nov 22 14:36 fixit.fs.aha1742-only
  32.  
  33. Only 2) could work for my 1742A board (BIOS version 1.34).
  34.  
  35. Because the fixit binary doesn't have some information which is
  36. needed for an installation, I used 1) and 3) binary.
  37.  
  38. I made a tiny 386bsd floppy from 1) and fixit floppy from 2).
  39. Boot from the fixit, and disklabel'ed a hard disk,
  40.  
  41.    disklabel -r -w as0 mk156 scsi /usr/mdec/sdboot /usr/mdec/bootsd
  42.  
  43. The mk156 disktype was NOT suitable for my hard disk (Micropolice
  44. 2112-15 1.05Gbyte). However, if tried to edit /etc/disktab file, the 
  45. system easily panic'ed. I also newfs'ed and fsck'ed the disk, 
  46.  
  47.    newfs /dev/ras0a
  48.    fsck /dev/ras0a
  49.  
  50. After making a file system, I mounted the filesystem under the fixit,
  51.  
  52.    mount /dev/as0a /mnt
  53.  
  54. made each directories, copied all files in the fixit to the new disk.
  55. Owing to the 'cp' command doesn't understand, I had to copy all the
  56. file one by one, like 'cp /usr/distbin/cat /mnt/usr/distbin/cat'.
  57.  
  58. And I made an empty directory /work under /mnt, then attached the 
  59. dist.fs, copied the contents to appropriate directories 
  60. (one by one manually, again).
  61.  
  62. Because the 'cp' doesn't have '-p' option, all copied file became
  63. 644 mode(depending on umask). For this reason, I had to extract 
  64. 'chmod' from the dist.fs:/etc/distutil.cpio.Z. 
  65.  
  66. The fixit floppy doesn't have cpio and uncompress, and the copied 
  67. binaries which are in the HD also don't work bicause of the mode 666.
  68. By using /mnt/work/usr/bin/coio and /mnt/work/usr/bin/uncompress,
  69. I extracted /etc/baseutils.cpio.Z under /mnt (=HD's root) directory.
  70.  
  71.    cp /mnt/etc/baseutils.cpio.Z /mnt/baseutils.cpio.Z
  72.    uncompress /mnt/baseutils.cpio.Z
  73.    cd /mnt
  74.    cpio -idv < baseutils.cpio
  75.  
  76. Note: 'zcat baseutils.cpio.Z | cpio -id' crashed my system.
  77.  
  78. After getting 'chmod', I changed the mode of all executable binaries
  79. as it should be. /sbin/init must be executable. 
  80.  
  81.    Sync
  82.    /mnt/usr/distbin/umount /mnt/work
  83.    /mnt/usr/distbin/umount /mnt
  84.    shutdown
  85.  
  86. remove both floppy disks, and, it booted from the HD.
  87.  
  88. After this work, 
  89.     I mounted the fixit floppy again, 
  90.     edit /etc/disktab of the fixit, 
  91.     copy 'chmod' to the fixit,
  92.     boot form the new fixit,
  93.     did over the above work.
  94.  
  95. Now my system is working fine with an Adaptek 1742A controller.
  96. I appreciate all who gave me information. Any comments will be    
  97. welcome.
  98. --
  99. Ikuro Aoki
  100. aoki@risk.Stanford.EDU
  101.  
  102.  
  103.  
  104.