home *** CD-ROM | disk | FTP | other *** search
/ InfoMagic Source Code 1993 July / THE_SOURCE_CODE_CD_ROM.iso / mach / doc / notes / ultrix.support / BUILD.NOTES2.Z / BUILD.NOTES2
Encoding:
Text File  |  1992-10-29  |  4.8 KB  |  99 lines

  1. Article: 2738 of comp.os.mach
  2. Path: crabapple.srv.cs.cmu.edu!cantaloupe.srv.cs.cmu.edu!drycas.club.cc.cmu.edu!news.sei.cmu.edu!cis.ohio-state.edu!zaphod.mps.ohio-state.edu!cs.utexas.edu!
  3.  sun-barr!sh.wide!wnoc-tyo-news!ccut!s.u-tokyo!is.s.u-tokyo!ino
  4. Newsgroups: comp.os.mach
  5. Subject: Re: Mach on Decstation 5000/25
  6. Message-ID: <1992Oct29.053021.13164@kei.is.s.u-tokyo.ac.jp>
  7. From: ino@is.s.u-tokyo.ac.jp (Shigekazu Inohara)
  8. Date: Thu, 29 Oct 1992 05:30:21 GMT
  9. Reply-To: ino@is.s.u-tokyo.ac.jp
  10. Sender: news@kei.is.s.u-tokyo.ac.jp (Usenet News System)
  11. References: <MARKF.92Oct26113818@montreux.ai.mit.edu><JEFFREYH.92Oct26152537@gold.kpc.com> <16800@borg.cs.unc.edu>
  12. Organization: Dept. of Information Science, Univ. of Tokyo, Japan.
  13. In-Reply-To: beckerd@handel.cs.unc.edu's message of 27 Oct 92 14:18:59 GMT
  14. Nntp-Posting-Host: allen
  15. Lines: 80
  16.  
  17. Hi,
  18.  
  19. In article <16800@borg.cs.unc.edu> beckerd@handel.cs.unc.edu (David Becker) writes:
  20.  >Can one build Mach on a Decstation 5000/25 running Ultrix using the
  21.  >CMU sources? If so, can someone give me the details of which version
  22.  >of Mach to download and what the build procedure is. I (naively)
  23.  >downloaded the Mach 3.0 sources and it seems like you have to be
  24.  >already running Mach to build it.
  25.  
  26. I have built mach3.0 (MK78) and UNIX server (UX38) successfully on a
  27. DECstation5000/20 under Ultrix 4.2A.  Our success is greatly due to
  28. advices from Richard Uhlig (uhlig@mummy.eecs.umich.edu).  Several
  29. files (include the advices) that are useful for building mach3.0 under
  30. Ultrix are accessible with anonymous ftp (on mrt.mach.cs.cmu.edu,
  31. /usr/mrt/ftpsrc/ultrix.support).  Also, I can forward the Richard's
  32. advices if you wish to.
  33.  
  34.  >Do I really need to first build Mach
  35.  >2.6 (or whatever the other older version is)? 
  36.  
  37. The answer is thus No.
  38.  
  39. In article <16800@borg.cs.unc.edu> beckerd@handel.cs.unc.edu (David Becker) writes:
  40.  >We are attempting to get a mach 3.0 system going on a DEC3100 here.  
  41.  >Making a mach kernel binary is not enough.  For a real unixoid system, you have
  42.  >to borrow all the Ultrix binaries (sh,ls,ifconfig,...).  The vast majority
  43.  >work fine, but a critical minority don't.  We found that programs from
  44.  >Ultrix with complex device driver interaction (mkfs, fsck, getty) make
  45.  >incompatible system calls when run under mach.  The Ultrix networking stuff
  46.  >works just fine, however, allowing us to telnet and ftp to our mach machine.
  47.  
  48. These are true.  Although I've not yet tried mkfs and fsck, several
  49. utilities don't work due to incompatibilities of the system call
  50. interface of vanilla 4.3 BSD and Ultrix (POSIX-based).  Terminal
  51. handling is quite different in these two systems, which make most
  52. programs that use terminal facilities (including tcsh, csh, ls, less,
  53. man, tty, vi, ...) non-functional.  Note that the problems are rather
  54. minor ones: for example, csh can execute commands without showing its
  55. prompt.  That is, csh assumes itself being connected to a non-tty
  56. stream.  If csh is invoked with "-i" option, then it is completely
  57. functional.
  58.  
  59.  >CMU says the mach sys calls are Berkeley 4.3 and we have a 4.3 source license.
  60.  >We could recompile getty and others, but the 4.3 source has vax assembly, not
  61.  >mips.  To be clear, the assembly is not in getty itself, but in the
  62.  >libc.a and crt0.s that getty must be linked with. Is anyone aware of a 4.3 port
  63.  >to mips?   
  64.  
  65. I have replaced isatty(3) in libc.a by compiling one from the mach 2.5
  66. source code, and then recompiled tcsh, ls, less, man, and tty with it
  67. and ultrix libc.a.  They works fine now.
  68.  
  69. Off cource for building a fully confortable system, we have to
  70. recompile all the libc.a stuffs and standard utilities.  Our current
  71. environment is somewhat fragile, and minor problems often come along.
  72. We have, however, reached to the point that we can run mach3.0 on the
  73. multi-user mode, and can develop servers on mach3.0.  Our goal is not
  74. use mach 3.0 for our daily life but develop new systems on mach
  75. microkernel, thus we are satisfied with the current state.
  76.  
  77.  >The mach kernel and unix server boot fine, but we can't log in on
  78.  >the console in multi-user mode because the Ultrix getty fails.
  79.  
  80. I recompiled getty and login (using mach 2.5 source) and linked it
  81. with ultrix libc.a.  We can now log in from the console.  We are,
  82. however, mostly satisfied with "rsh machine xterm".
  83.  
  84.  
  85.  
  86. In summary, I compiled a mach 3.0 microkernel and UNIX server under
  87. Ultrix, and they works fine.  Some programs built under Ultrix
  88. (including ifconfig, inetd, portmap, ypbind, rshd, xterm, emacs ...)
  89. works without change.  Some programs (including tcsh, ls, less, man,
  90. tty, login, getty, route ...) works with minor changes.  Some programs
  91. (including csh, vi, ...) seem to work with minor changes but I have
  92. not tried yet.
  93. --
  94. Shigekazu INOHARA        Dept. of Info. Sci., Faculty of Sci., Univ. of Tokyo
  95.                 7-3-1 Hongo Bunkyo-ku, Tokyo 113, Japan
  96.                 ino@is.s.u-tokyo.ac.jp
  97.  
  98.  
  99.