home *** CD-ROM | disk | FTP | other *** search
- Article: 2738 of comp.os.mach
- 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!
- sun-barr!sh.wide!wnoc-tyo-news!ccut!s.u-tokyo!is.s.u-tokyo!ino
- Newsgroups: comp.os.mach
- Subject: Re: Mach on Decstation 5000/25
- Message-ID: <1992Oct29.053021.13164@kei.is.s.u-tokyo.ac.jp>
- From: ino@is.s.u-tokyo.ac.jp (Shigekazu Inohara)
- Date: Thu, 29 Oct 1992 05:30:21 GMT
- Reply-To: ino@is.s.u-tokyo.ac.jp
- Sender: news@kei.is.s.u-tokyo.ac.jp (Usenet News System)
- References: <MARKF.92Oct26113818@montreux.ai.mit.edu><JEFFREYH.92Oct26152537@gold.kpc.com> <16800@borg.cs.unc.edu>
- Organization: Dept. of Information Science, Univ. of Tokyo, Japan.
- In-Reply-To: beckerd@handel.cs.unc.edu's message of 27 Oct 92 14:18:59 GMT
- Nntp-Posting-Host: allen
- Lines: 80
-
- Hi,
-
- In article <16800@borg.cs.unc.edu> beckerd@handel.cs.unc.edu (David Becker) writes:
- >Can one build Mach on a Decstation 5000/25 running Ultrix using the
- >CMU sources? If so, can someone give me the details of which version
- >of Mach to download and what the build procedure is. I (naively)
- >downloaded the Mach 3.0 sources and it seems like you have to be
- >already running Mach to build it.
-
- I have built mach3.0 (MK78) and UNIX server (UX38) successfully on a
- DECstation5000/20 under Ultrix 4.2A. Our success is greatly due to
- advices from Richard Uhlig (uhlig@mummy.eecs.umich.edu). Several
- files (include the advices) that are useful for building mach3.0 under
- Ultrix are accessible with anonymous ftp (on mrt.mach.cs.cmu.edu,
- /usr/mrt/ftpsrc/ultrix.support). Also, I can forward the Richard's
- advices if you wish to.
-
- >Do I really need to first build Mach
- >2.6 (or whatever the other older version is)?
-
- The answer is thus No.
-
- In article <16800@borg.cs.unc.edu> beckerd@handel.cs.unc.edu (David Becker) writes:
- >We are attempting to get a mach 3.0 system going on a DEC3100 here.
- >Making a mach kernel binary is not enough. For a real unixoid system, you have
- >to borrow all the Ultrix binaries (sh,ls,ifconfig,...). The vast majority
- >work fine, but a critical minority don't. We found that programs from
- >Ultrix with complex device driver interaction (mkfs, fsck, getty) make
- >incompatible system calls when run under mach. The Ultrix networking stuff
- >works just fine, however, allowing us to telnet and ftp to our mach machine.
-
- These are true. Although I've not yet tried mkfs and fsck, several
- utilities don't work due to incompatibilities of the system call
- interface of vanilla 4.3 BSD and Ultrix (POSIX-based). Terminal
- handling is quite different in these two systems, which make most
- programs that use terminal facilities (including tcsh, csh, ls, less,
- man, tty, vi, ...) non-functional. Note that the problems are rather
- minor ones: for example, csh can execute commands without showing its
- prompt. That is, csh assumes itself being connected to a non-tty
- stream. If csh is invoked with "-i" option, then it is completely
- functional.
-
- >CMU says the mach sys calls are Berkeley 4.3 and we have a 4.3 source license.
- >We could recompile getty and others, but the 4.3 source has vax assembly, not
- >mips. To be clear, the assembly is not in getty itself, but in the
- >libc.a and crt0.s that getty must be linked with. Is anyone aware of a 4.3 port
- >to mips?
-
- I have replaced isatty(3) in libc.a by compiling one from the mach 2.5
- source code, and then recompiled tcsh, ls, less, man, and tty with it
- and ultrix libc.a. They works fine now.
-
- Off cource for building a fully confortable system, we have to
- recompile all the libc.a stuffs and standard utilities. Our current
- environment is somewhat fragile, and minor problems often come along.
- We have, however, reached to the point that we can run mach3.0 on the
- multi-user mode, and can develop servers on mach3.0. Our goal is not
- use mach 3.0 for our daily life but develop new systems on mach
- microkernel, thus we are satisfied with the current state.
-
- >The mach kernel and unix server boot fine, but we can't log in on
- >the console in multi-user mode because the Ultrix getty fails.
-
- I recompiled getty and login (using mach 2.5 source) and linked it
- with ultrix libc.a. We can now log in from the console. We are,
- however, mostly satisfied with "rsh machine xterm".
-
-
-
- In summary, I compiled a mach 3.0 microkernel and UNIX server under
- Ultrix, and they works fine. Some programs built under Ultrix
- (including ifconfig, inetd, portmap, ypbind, rshd, xterm, emacs ...)
- works without change. Some programs (including tcsh, ls, less, man,
- tty, login, getty, route ...) works with minor changes. Some programs
- (including csh, vi, ...) seem to work with minor changes but I have
- not tried yet.
- --
- Shigekazu INOHARA Dept. of Info. Sci., Faculty of Sci., Univ. of Tokyo
- 7-3-1 Hongo Bunkyo-ku, Tokyo 113, Japan
- ino@is.s.u-tokyo.ac.jp
-
-
-