home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / os / mach / 1053 < prev    next >
Encoding:
Internet Message Format  |  1992-08-18  |  5.3 KB

  1. Path: sparky!uunet!caen!nic.umass.edu!dime!salehi
  2. From: salehi@gaia.cs.umass.edu (James Salehi)
  3. Newsgroups: comp.os.mach
  4. Subject: Booting 3.0 on a DECstation
  5. Message-ID: <SALEHI.92Aug18181623@gaia.cs.umass.edu>
  6. Date: 18 Aug 92 22:16:23 GMT
  7. Sender: news@dime.cs.umass.edu
  8. Organization: Dept. of Computer Science, UMass/Amherst
  9. Lines: 133
  10.  
  11. Here's a fun problem.  (Read: A desperate plea for help). 
  12.  
  13. To boot 3.0 on our DECstation which normally runs Ultrix 4.2a, I followed
  14. the CMU setup document and copied all files (vmunix, mach.boot, and so on) 
  15. to "/" and "/mach_servers" on our /dev/rz0a partition. 
  16. For mach.boot, I used the STD+ANY configuration; for vmunix, STDVICE+WS.
  17. [ Our 5000 has three partitions, "a", "b" and "g", the last of which is 
  18. normally mounted on /usr. ]  I then created a paging file on "g", with 
  19. a soft link from /mach_servers/paging_file.  
  20.  
  21. The next step was getting CMU's mount and fsck binaries, which I copied 
  22. to /bin.  /etc/fstab was modified to only reference partitions 
  23. on the local disk: 
  24.     /dev/rz0a:/:rw:1:1:ufs
  25.     /dev/rz0g:/usr:rw:1:2:ufs
  26.  
  27. I then modified /etc/rc to run only "fsck -p" and "mount -a -t ufs", 
  28. and rebooted the machine. 
  29.  
  30. For those of you who have actually read this far, I commend you. 
  31. Now we get to the good stuff.  When Mach boots, it prints the 
  32. error message "ufs_mount: file system not cleaned -- mounting anyways", 
  33. *before* the /etc/rc script is executed; i.e., before /etc/fsck is 
  34. executed.  When /etc/fsck is invoked from /etc/rc, the horrifying 
  35. error messages appear: 
  36.  
  37.     Can't open /dev/rrz0a: Device not configured
  38.     /dev/rrz0a: CAN'T CHECK FILE SYSTEM 
  39.     /dev/rrz0a: UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY
  40.  
  41. Finally, at the shell prompt, "mount" prints nothing, "ls /usr" 
  42. prints nothing (which makes sense, as nothing is mounted), and 
  43. "mount /dev/rz0g /usr" gives 
  44.  
  45.     /dev/rz0g on /usr: No such device or address
  46.  
  47. Of course, /etc/fsck gives the same error messages as the when it was
  48. invoked from /etc/rc. 
  49.  
  50. If I owned anything valuable, I'd give it to the first person to 
  51. suggest a solution.  I've just been working on this 3.0 build/boot 
  52. process for an obscene amount of time.   Anyway, for those who have the time, 
  53. I've included the boot transcript below in case some sharp eyes can 
  54. uncover clues that I've missed. 
  55.  
  56. JIM
  57.  
  58. ----------------------------------------------------------------------------
  59.  
  60. # This is the boot sequence transcript.  All lines starting with "#" are
  61. # comments I've added. 
  62. #
  63. # The system is a DECstation 5000, with a single SCSI drive.
  64. # /dev/rz0a is the root partition, which is visible when Mach 
  65. # boots.  /dev/rz0g should be mounted on /usr (but isn't) when Mach's 
  66. # single-user prompt appears. 
  67. #
  68. # We are using the CMU version of /etc/fsck and /etc/mount.  
  69. #
  70. # /etc/rc only sets the PATH, does "/etc/fsck -p" (CMU's version) and does a
  71. # "mount -a".  /etc/fstab contains two lines: 
  72. #    /dev/rz0a:/:rw:1:1:ufs
  73. #    /dev/rz0g:/usr:rw:1:2:ufs
  74.  
  75. Mips boot: memory from 0x189000 to 0x2000000
  76. Kernel virtual space from 0xc0000000 to 0xc8000000
  77. Mach 3.0 VERSION(MK78): Wed Aug 5 18:54:54 EDT 1992 kernel/STD+ANY
  78. Cache: 64+64 kilobytes
  79. Memory: 32.00 megabytes
  80. vm_page_bootstrap: 7567 free pages
  81. cpu: MIPS R3000 Processor Chip, Version 2 Revision 2.0
  82. fpu: MIPS R3010 VLSI Floating Point Chip, Version 3 REvision 2.0
  83. box: DEC 5000/200, Revision 2.0, Firmware revision 1, Hardware revision 32
  84. dz0: at tc7
  85.  sl0: (lk201 id 1.0, self-test okay)
  86.  sl1: (mouse revision 0.1)
  87.  sl2: 
  88.  sl3: (rconsole)
  89. [mappable] se0: at tc6: 8-0-2b-17-8c-4c
  90. [mappable] asc0: SCSI id7, target() at 0
  91. asc0: at tc5
  92.  rz0: at asc0 slave 0 (disk DEC RZ55(C) DEC 0900)
  93.  sc7: at asc0 slave 7 (cpu ) [this cpu]
  94. [mappable] ga0: at tc0: 2D color display
  95. The prom has clobbered the clock
  96. Estimating CPU clock at 25Mhz
  97. (default pager): Adding paging file /dev/rz0a/mach_servers/paging_file
  98. (bootstrap): loading unix symbols from /dev/rz0a/mach_servers/startup
  99. [ preserving 0x38218 bytes of unix symbol table ]
  100. (bootstrap): loading emulator symbols from /dev/rz0a/mach_servers/emulator
  101. [ preserving 0x16a1c bytes of emulator symbol table ]
  102. Mach 3.0 VERSION(UX38): Wed August 5 21:54:05 EDT 1992; server/STDVICE+WS
  103. Available memory = 29.3 megabytes
  104. Using up to 48 buffers
  105. ufs_mount: file system not cleaned -- mounting anyways
  106. Base is Tue Aug 18 14:52:51 1992
  107. Current Time is Fri Dec 31 19:00:19 1971
  108. This is strange--CHECK AND RESET THE DATE!
  109. Time is set to Tue Aug 18 14:52:51 1992
  110. WARNING: no remote file system (missing /RFS/.LOCALROOT)
  111. Can't open /dev/rrz0a: Device not configured
  112. /dev/rrz0a: CAN'T CHECK FILE SYSTEM 
  113. /dev/rrz0a: UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY
  114. Automatic reboot failed-help!
  115. erase ^?, kill ^U, intr ^C
  116. stty: not a typewriter
  117.  
  118. # ls finds nothing under /usr.  /dev/rz0g hasn't been mounted
  119. > cd /usr
  120. > ls
  121. >
  122.  
  123. # mount indicates no file systems are mounted. 
  124. > cd / ; /etc/mount
  125.  
  126. # Trying to mount /dev/rz0g on /usr fails 
  127. > /etc/mount /dev/rz0g /usr
  128. /dev/rz0g on /usr: No such device or address
  129.  
  130. # fsck gives same error as when it was invoked by /etc/rc
  131. > /etc/fsck -p /dev/rrz0a
  132. Can't open /dev/rrz0a: Device not configured
  133. /dev/rrz0a: CAN'T CHECK FILE SYSTEM 
  134. /dev/rrz0a: UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY
  135. --
  136.  
  137. James D. Salehi                                      phone: 413-549-7935
  138. Department of Computer Science                         fax: 413-545-1249  
  139. University of Massachusetts                       internet: salehi@cs.umass.edu
  140. Amherst, MA 01003
  141.  
  142.  
  143.