The Unix Heritage Society mailing list
 help / color / Atom feed
From: Jason Stevens <jsteve@superglobalmegacorp.com>
To: "tuhs@minnie.tuhs.org" <tuhs@minnie.tuhs.org>
Subject: [TUHS] Mach 2.5 / MK35 booting on i386 (was CMU Mach sources?)
Date: Tue, 2 Jul 2019 01:40:23 +0800
Message-ID: <ad598d12-f907-42ef-9cb8-8c47243276c5@PU1APC01FT004.eop-APC01.prod.protection.outlook.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 8563 bytes --]

As promised here is the diff & misc info on the build.  I installed the Mt Xinu disks to create a build environment and uucp’d the sources from CD#4 of Kirks’ CSRG set (/local/MACH/386/sys).

Grepping the source reveals it to be MK35.  Which makes sense from the release notes as this was an i386 only release:

------8<------8<------8<------8<
   ***** MK Version MK35  (rvb) *****


This is an I386 architecture release only.  It has been tested
on an AT as well as the hypercube.

No New features:
--- --------

Except possibly that the if_pc586.c is not timing dependent
any more.

The big deal about this release is that all the files in the
i386at directory and the files in Mach2.5 I386q are identical --
that is all improvements in the mainline have been merged to
the 3.0 code and vice versa.  NOTE:  the 3.0 com driver has
not been tested cause I did not have any hardware.  Also I
have lpr and if_par drivers that I did not even install for
the same reason.  (I needed to install com.c for the mouse
support code.)

ALSO, this release has the Prime copyrights changed to something
less threatening, courtesy of Prime Computer Inc.

Bug fix:
The panic that rfr reported with the ram_to_ptr is no longer
possible.
------8<------8<------8<------8<



For people who like DMESG’s here it is:
------8<------8<------8<------8<

boot:
442336+46792+115216[+38940+39072]


Insert file system

Sÿ boot: memory from 0x1000 to 0x7d0000
Kernel virtual space from 0xc0000000 to 0xc25d0000.
Available physical space from 0xa000 to 0x7d0000
i386_init: virtual_avail = c07d0000, virtual_end = c25d0000
end c01938d8, sym c01938dc(981c) str = c019d0f8(98a4)
[ preserving 78016 bytes of symbol table ]
Mach/4.3 #5.1(I386x): Wed Jan 20 00:45:55 WET 1988; obj/STD+WS-afs-nfs (localhost)
physical memory = 7.81 megabytes.  vm_page_free_count = 689
using 200 buffers containing 0.78 megabytes of memory
available memory = 5.55 megabytes. vm_page_free_count = 58e
fdc0: port = 3f2, spl = 5, pic = 6.
fd0:  port = 3f2, spl = 5, pic = 6. (controller 0, slave 0)
fd1:  port = 3f2, spl = 5, pic = 6. (controller 0, slave 1)
com0: port = 3f8, spl = 6, pic = 4. (DOS COM1)
lpr0: port = 378, spl = 6, pic = 7.
par0: port = 378, spl = 6, pic = 7.
root on `­b
------8<------8<------8<------8<

The diff from the CD is as follows:

------8<------8<------8<------8<
jsteve@2006macpro:/mnt/c/temp/csrg$ diff -ruN sys mach25-i386
diff -ruN sys/Makeconf mach25-i386/Makeconf
--- sys/Makeconf        1970-01-01 08:00:00.000000000 +0800
+++ mach25-i386/Makeconf        2019-06-24 15:24:49.000000000 +0800
@@ -0,0 +1,102 @@
+#
+# Mach Operating System
+# Copyright (c) 1989 Carnegie-Mellon University
+# All rights reserved.  The CMU software License Agreement specifies
+# the terms and conditions for use and redistribution.
+#
+#
+# HISTORY
+# $Log:        Makeconf,v $
+# Revision 2.16  91/09/25  18:51:17  mja
+#      Fix VAX_CONFIG so that processor number component is last (for
+#      SUP wild-carding to work);  make MMAX_CONFIG consistent with
+#      other platforms as STD+ANY+EXP+64.
+#      [91/09/25  18:41:59  mja]
+#
+# Revision 2.15  91/09/24  20:07:07  mja
+#      Require new ${KERNEL_SERIES} macro in place of old ${RELEASE}
+#      even to specify the "latest" series;  add temporary
+#      ${ENVIRON_BASE};  add silent include of Makeconf-local.
+#      [91/09/22  03:16:36  mja]
+#
+#      Add SITE;  set SOURCEDIR to MASTERSOURCEDIR if present (for build).
+#      [91/09/21  18:06:08  mja]
+#
+# Revision 2.14  91/08/30  09:37:19  berman
+#      Set up default config for MMAX which is STD+MP (multiprocessor)
+#      [91/07/30  12:19:40  ern]
+#
+# Revision 2.13  91/04/02  16:04:53  mbj
+#      Added {I,AT}386_CONFIG=STD+WS+EXP lines.
+#      Changed ${MACHINE} references to ${TARGET_MACHINE}.
+#
+# Revision 2.12  90/08/30  12:24:52  bohman
+#      Changes for mac2.
+#      [90/08/28            bohman]
+#
+# Revision 2.11  89/09/25  22:43:32  mja
+#      Correct mis-merged OBJECTDIR.
+#
+# Revision 2.10  89/09/25  22:20:03  mja
+#      Use SOURCEDIR instead of VPATH for shadowing.  This means we
+#      can do away with the SRCSUFFIX stuff which "make" does by
+#      itself, and that Makefiles can use VPATH themselves.  I also
+#      "simplified" the definition of CONFIG and "release_...".
+#      [89/07/06            bww]
+#
+# Revision 2.9  89/08/08  21:44:58  jsb
+#      Defined PMAX_CONFIG.
+#      [89/08/03            rvb]
+#
+# Revision 2.8  89/07/12  23:02:52  jjc
+#      Defined SUN4_CONFIG.
+#      [89/07/12  23:01:03  jjc]
+#
+# Revision 2.7  89/04/10  00:34:59  rpd
+#      Changed OBJECTDIR name to correspond to new organization.
+#      [89/04/06            mrt]
+#
+# Revision 2.6  89/02/25  14:12:18  gm0w
+#      Changes for cleanup.
+#
+# Revision 2.5  89/02/25  14:08:30  gm0w
+#      Changes for cleanup.
+#
+# Revision 2.4  88/11/14  15:04:01  gm0w
+#      Changed the standard configurations to correspond
+#      to the new names.
+#      [88/11/02  15:45:44  mrt]
+#
+# Revision 2.3  88/09/07  15:44:43  rpd
+#      Moved CONFIG macros here from Makefile, so that the user
+#      can easily customize them by modifying Makeconf.
+#      [88/09/07  01:52:32  rpd]
+#
+# Revision 2.2  88/07/15  15:11:46  mja
+# Created.
+#
+
+VAX_CONFIG     = STD+ANY+EXP+16
+mac2_CONFIG    = MACMACH-macos_emul
+I386_CONFIG    = STD+WS+EXP
+AT386_CONFIG   = STD+WS+EXP
+MMAX_CONFIG    = STD+ANY+EXP+64
+
+#CONFIG        = ${${TARGET_MACHINE}_CONFIG?${${TARGET_MACHINE}_CONFIG}:STD+ANY+EXP}
+#CONFIG        = STD+WS+EXP-afs-nfs
+CONFIG = STD+WS-afs-nfs
+
+SITE   = CMUCS
+
+SOURCEDIR      = ${MASTERSOURCEDIR?${MASTERSOURCEDIR}:${SRCBASE}}
+
+#OBJECTDIR     = ../../../obj/@sys/kernel/${KERNEL_SERIES}
+OBJECTDIR      = ./obj
+
+#  XXX until build is fixed to set these  XXX
+ENVIRON_BASE   = ${RELEASE_BASE}
+
+.EXPORT: ENVIRON_BASE
+
+#  Provide for private customizations in a shadow directory
+-include Makeconf-local
diff -ruN sys/Makefile mach25-i386/Makefile
--- sys/Makefile        2016-08-08 14:37:11.000000000 +0800
+++ mach25-i386/Makefile        2019-06-24 15:24:49.000000000 +0800
@@ -206,6 +206,12 @@
 at386_cpu=i386
 sun4_cpu=sun4
 cpu=$(${machine}_cpu)
+#echo "CPU IS $cpu"
+AT386_cpu=i386
+I386_cpu=i386
+cpu=${${TARGET_MACHINE}_cpu?${${TARGET_MACHINE}_cpu}:${target_machine}}
+#echo "CPU IS $cpu"
+

 VAX_OUTPUT=Makefile
 SUN_OUTPUT=Makefile
diff -ruN sys/conf/newvers.sh mach25-i386/conf/newvers.sh
--- sys/conf/newvers.sh 2016-08-08 14:37:11.000000000 +0800
+++ mach25-i386/conf/newvers.sh 2019-06-24 15:25:15.000000000 +0800
@@ -56,8 +56,17 @@
 v="${major}.${minor}(${variant}${edit}${patch})" d=`pwd` h=`hostname` t=`date`
 CONFIG=`cat vers.config`
 if [ -z "$d" -o -z "$h" -o -z "$t" -o -z "${CONFIG}" ]; then
-    exit 1
+#    exit 1
+edit="386"
+major=5
+minor=1
+variant="I"
+patch="x"
+copyright="/copyright.txt"
+v="${major}.${minor}(${variant}${edit}${patch})" d=`pwd` h=`hostname` t=`date`
 fi
+#
+
 d=`expr "$d" : '.*/\([^/]*\)/[^/]*$'`/${CONFIG}
 (
   /bin/echo "int  version_major      = ${major};" ;
diff -ruN sys/i386/start.s mach25-i386/i386/start.s
--- sys/i386/start.s    2016-08-08 14:37:11.000000000 +0800
+++ mach25-i386/i386/start.s    2019-07-01 23:47:25.208021800 +0800
@@ -210,13 +210,14 @@

        lgdt    (%eax)

+       / flip cr3 before you flip cr0
+       mov     %edx, %cr3
+
        / turn PG on
        mov     %cr0, %eax
        or      $PAGEBIT, %eax
        mov     %eax, %cr0

-       mov     %edx, %cr3
-
        ljmp    $KTSSSEL, $0x0

 / *********************************************************************
diff -ruN sys/standi386at/boot/disk.c mach25-i386/standi386at/boot/disk.c
--- sys/standi386at/boot/disk.c 2016-08-08 14:37:11.000000000 +0800
+++ mach25-i386/standi386at/boot/disk.c 2019-07-01 23:51:11.261850100 +0800
@@ -340,11 +340,11 @@

 #ifndef        FIND_PART
        *rel_off = vp->part[part].p_start;
-       if (vp->part[part].p_tag != V_ROOT)
+       if (vp->part[part].p_flag != V_ROOT)
                printf("warning... partition %d not root\n", part);
 #else
        for (i = 0; i < vp->nparts; i++)
-               if (vp->part[i].p_tag == V_ROOT)
+               if (vp->part[i].p_flag == V_ROOT)
                        break;

        if (i == vp->nparts) {
------8<------8<------8<------8<

[-- Attachment #2: Type: text/html, Size: 16362 bytes --]

<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=utf-8"><meta name=Generator content="Microsoft Word 15 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
	{font-family:"Cambria Math";
	panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:11.0pt;
	font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{mso-style-priority:99;
	color:#954F72;
	text-decoration:underline;}
.MsoChpDefault
	{mso-style-type:export-only;}
@page WordSection1
	{size:8.5in 11.0in;
	margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
	{page:WordSection1;}
--></style></head><body lang=EN-US link=blue vlink="#954F72"><div class=WordSection1><p class=MsoNormal>As promised here is the diff &amp; misc info on the build.  I installed the Mt Xinu disks to create a build environment and uucp’d the sources from CD#4 of Kirks’ CSRG set (/local/MACH/386/sys).</p><p class=MsoNormal><o:p>&nbsp;</o:p></p><p class=MsoNormal>Grepping the source reveals it to be MK35.  Which makes sense from the release notes as this was an i386 only release:</p><p class=MsoNormal><o:p>&nbsp;</o:p></p><p class=MsoNormal>------8&lt;------8&lt;------8&lt;------8&lt;<o:p></o:p></p><p class=MsoNormal>   ***** MK Version MK35  (rvb) *****</p><p class=MsoNormal><o:p>&nbsp;</o:p></p><p class=MsoNormal><o:p>&nbsp;</o:p></p><p class=MsoNormal>This is an I386 architecture release only.  It has been tested</p><p class=MsoNormal>on an AT as well as the hypercube.</p><p class=MsoNormal><o:p>&nbsp;</o:p></p><p class=MsoNormal>No New features:</p><p class=MsoNormal>--- --------</p><p class=MsoNormal><o:p>&nbsp;</o:p></p><p class=MsoNormal>Except possibly that the if_pc586.c is not timing dependent</p><p class=MsoNormal>any more.</p><p class=MsoNormal><o:p>&nbsp;</o:p></p><p class=MsoNormal>The big deal about this release is that all the files in the</p><p class=MsoNormal>i386at directory and the files in Mach2.5 I386q are identical --</p><p class=MsoNormal>that is all improvements in the mainline have been merged to</p><p class=MsoNormal>the 3.0 code and vice versa.  NOTE:  the 3.0 com driver has</p><p class=MsoNormal>not been tested cause I did not have any hardware.  Also I</p><p class=MsoNormal>have lpr and if_par drivers that I did not even install for</p><p class=MsoNormal>the same reason.  (I needed to install com.c for the mouse</p><p class=MsoNormal>support code.)</p><p class=MsoNormal><o:p>&nbsp;</o:p></p><p class=MsoNormal>ALSO, this release has the Prime copyrights changed to something</p><p class=MsoNormal>less threatening, courtesy of Prime Computer Inc.</p><p class=MsoNormal><o:p>&nbsp;</o:p></p><p class=MsoNormal>Bug fix:</p><p class=MsoNormal>The panic that rfr reported with the ram_to_ptr is no longer</p><p class=MsoNormal>possible.</p><p class=MsoNormal>------8&lt;------8&lt;------8&lt;------8&lt;<o:p></o:p></p><p class=MsoNormal><o:p>&nbsp;</o:p></p><p class=MsoNormal><o:p>&nbsp;</o:p></p><p class=MsoNormal><o:p>&nbsp;</o:p></p><p class=MsoNormal>For people who like DMESG’s here it is:</p><p class=MsoNormal>------8&lt;------8&lt;------8&lt;------8&lt;<o:p></o:p></p><p class=MsoNormal><o:p>&nbsp;</o:p></p><p class=MsoNormal>boot:</p><p class=MsoNormal>442336+46792+115216[+38940+39072]</p><p class=MsoNormal><o:p>&nbsp;</o:p></p><p class=MsoNormal><o:p>&nbsp;</o:p></p><p class=MsoNormal>Insert file system</p><p class=MsoNormal><o:p>&nbsp;</o:p></p><p class=MsoNormal>Sÿ boot: memory from 0x1000 to 0x7d0000</p><p class=MsoNormal>Kernel virtual space from 0xc0000000 to 0xc25d0000.</p><p class=MsoNormal>Available physical space from 0xa000 to 0x7d0000</p><p class=MsoNormal>i386_init: virtual_avail = c07d0000, virtual_end = c25d0000</p><p class=MsoNormal>end c01938d8, sym c01938dc(981c) str = c019d0f8(98a4)</p><p class=MsoNormal>[ preserving 78016 bytes of symbol table ]</p><p class=MsoNormal>Mach/4.3 #5.1(I386x): Wed Jan 20 00:45:55 WET 1988; obj/STD+WS-afs-nfs (localhost)</p><p class=MsoNormal>physical memory = 7.81 megabytes.  vm_page_free_count = 689</p><p class=MsoNormal>using 200 buffers containing 0.78 megabytes of memory</p><p class=MsoNormal>available memory = 5.55 megabytes. vm_page_free_count = 58e</p><p class=MsoNormal>fdc0: port = 3f2, spl = 5, pic = 6.</p><p class=MsoNormal>fd0:  port = 3f2, spl = 5, pic = 6. (controller 0, slave 0)</p><p class=MsoNormal>fd1:  port = 3f2, spl = 5, pic = 6. (controller 0, slave 1)</p><p class=MsoNormal>com0: port = 3f8, spl = 6, pic = 4. (DOS COM1)</p><p class=MsoNormal>lpr0: port = 378, spl = 6, pic = 7.</p><p class=MsoNormal>par0: port = 378, spl = 6, pic = 7.</p><p class=MsoNormal>root on `­b</p><p class=MsoNormal>------8&lt;------8&lt;------8&lt;------8&lt;<o:p></o:p></p><p class=MsoNormal><o:p>&nbsp;</o:p></p><p class=MsoNormal>The diff from the CD is as follows:</p><p class=MsoNormal><o:p>&nbsp;</o:p></p><p class=MsoNormal>------8&lt;------8&lt;------8&lt;------8&lt;<o:p></o:p></p><p class=MsoNormal>jsteve@2006macpro:/mnt/c/temp/csrg$ diff -ruN sys mach25-i386</p><p class=MsoNormal>diff -ruN sys/Makeconf mach25-i386/Makeconf</p><p class=MsoNormal>--- sys/Makeconf        1970-01-01 08:00:00.000000000 +0800</p><p class=MsoNormal>+++ mach25-i386/Makeconf        2019-06-24 15:24:49.000000000 +0800</p><p class=MsoNormal>@@ -0,0 +1,102 @@</p><p class=MsoNormal>+#</p><p class=MsoNormal>+# Mach Operating System</p><p class=MsoNormal>+# Copyright (c) 1989 Carnegie-Mellon University</p><p class=MsoNormal>+# All rights reserved.  The CMU software License Agreement specifies</p><p class=MsoNormal>+# the terms and conditions for use and redistribution.</p><p class=MsoNormal>+#</p><p class=MsoNormal>+#</p><p class=MsoNormal>+# HISTORY</p><p class=MsoNormal>+# $Log:        Makeconf,v $</p><p class=MsoNormal>+# Revision 2.16  91/09/25  18:51:17  mja</p><p class=MsoNormal>+#      Fix VAX_CONFIG so that processor number component is last (for</p><p class=MsoNormal>+#      SUP wild-carding to work);  make MMAX_CONFIG consistent with</p><p class=MsoNormal>+#      other platforms as STD+ANY+EXP+64.</p><p class=MsoNormal>+#      [91/09/25  18:41:59  mja]</p><p class=MsoNormal>+#</p><p class=MsoNormal>+# Revision 2.15  91/09/24  20:07:07  mja</p><p class=MsoNormal>+#      Require new ${KERNEL_SERIES} macro in place of old ${RELEASE}</p><p class=MsoNormal>+#      even to specify the &quot;latest&quot; series;  add temporary</p><p class=MsoNormal>+#      ${ENVIRON_BASE};  add silent include of Makeconf-local.</p><p class=MsoNormal>+#      [91/09/22  03:16:36  mja]</p><p class=MsoNormal>+#</p><p class=MsoNormal>+#      Add SITE;  set SOURCEDIR to MASTERSOURCEDIR if present (for build).</p><p class=MsoNormal>+#      [91/09/21  18:06:08  mja]</p><p class=MsoNormal>+#</p><p class=MsoNormal>+# Revision 2.14  91/08/30  09:37:19  berman</p><p class=MsoNormal>+#      Set up default config for MMAX which is STD+MP (multiprocessor)</p><p class=MsoNormal>+#      [91/07/30  12:19:40  ern]</p><p class=MsoNormal>+#</p><p class=MsoNormal>+# Revision 2.13  91/04/02  16:04:53  mbj</p><p class=MsoNormal>+#      Added {I,AT}386_CONFIG=STD+WS+EXP lines.</p><p class=MsoNormal>+#      Changed ${MACHINE} references to ${TARGET_MACHINE}.</p><p class=MsoNormal>+#</p><p class=MsoNormal>+# Revision 2.12  90/08/30  12:24:52  bohman</p><p class=MsoNormal>+#      Changes for mac2.</p><p class=MsoNormal>+#      [90/08/28            bohman]</p><p class=MsoNormal>+#</p><p class=MsoNormal>+# Revision 2.11  89/09/25  22:43:32  mja</p><p class=MsoNormal>+#      Correct mis-merged OBJECTDIR.</p><p class=MsoNormal>+#</p><p class=MsoNormal>+# Revision 2.10  89/09/25  22:20:03  mja</p><p class=MsoNormal>+#      Use SOURCEDIR instead of VPATH for shadowing.  This means we</p><p class=MsoNormal>+#      can do away with the SRCSUFFIX stuff which &quot;make&quot; does by</p><p class=MsoNormal>+#      itself, and that Makefiles can use VPATH themselves.  I also</p><p class=MsoNormal>+#      &quot;simplified&quot; the definition of CONFIG and &quot;release_...&quot;.</p><p class=MsoNormal>+#      [89/07/06            bww]</p><p class=MsoNormal>+#</p><p class=MsoNormal>+# Revision 2.9  89/08/08  21:44:58  jsb</p><p class=MsoNormal>+#      Defined PMAX_CONFIG.</p><p class=MsoNormal>+#      [89/08/03            rvb]</p><p class=MsoNormal>+#</p><p class=MsoNormal>+# Revision 2.8  89/07/12  23:02:52  jjc</p><p class=MsoNormal>+#      Defined SUN4_CONFIG.</p><p class=MsoNormal>+#      [89/07/12  23:01:03  jjc]</p><p class=MsoNormal>+#</p><p class=MsoNormal>+# Revision 2.7  89/04/10  00:34:59  rpd</p><p class=MsoNormal>+#      Changed OBJECTDIR name to correspond to new organization.</p><p class=MsoNormal>+#      [89/04/06            mrt]</p><p class=MsoNormal>+#</p><p class=MsoNormal>+# Revision 2.6  89/02/25  14:12:18  gm0w</p><p class=MsoNormal>+#      Changes for cleanup.</p><p class=MsoNormal>+#</p><p class=MsoNormal>+# Revision 2.5  89/02/25  14:08:30  gm0w</p><p class=MsoNormal>+#      Changes for cleanup.</p><p class=MsoNormal>+#</p><p class=MsoNormal>+# Revision 2.4  88/11/14  15:04:01  gm0w</p><p class=MsoNormal>+#      Changed the standard configurations to correspond</p><p class=MsoNormal>+#      to the new names.</p><p class=MsoNormal>+#      [88/11/02  15:45:44  mrt]</p><p class=MsoNormal>+#</p><p class=MsoNormal>+# Revision 2.3  88/09/07  15:44:43  rpd</p><p class=MsoNormal>+#      Moved CONFIG macros here from Makefile, so that the user</p><p class=MsoNormal>+#      can easily customize them by modifying Makeconf.</p><p class=MsoNormal>+#      [88/09/07  01:52:32  rpd]</p><p class=MsoNormal>+#</p><p class=MsoNormal>+# Revision 2.2  88/07/15  15:11:46  mja</p><p class=MsoNormal>+# Created.</p><p class=MsoNormal>+#</p><p class=MsoNormal>+</p><p class=MsoNormal>+VAX_CONFIG     = STD+ANY+EXP+16</p><p class=MsoNormal>+mac2_CONFIG    = MACMACH-macos_emul</p><p class=MsoNormal>+I386_CONFIG    = STD+WS+EXP</p><p class=MsoNormal>+AT386_CONFIG   = STD+WS+EXP</p><p class=MsoNormal>+MMAX_CONFIG    = STD+ANY+EXP+64</p><p class=MsoNormal>+</p><p class=MsoNormal>+#CONFIG        = ${${TARGET_MACHINE}_CONFIG?${${TARGET_MACHINE}_CONFIG}:STD+ANY+EXP}</p><p class=MsoNormal>+#CONFIG        = STD+WS+EXP-afs-nfs</p><p class=MsoNormal>+CONFIG = STD+WS-afs-nfs</p><p class=MsoNormal>+</p><p class=MsoNormal>+SITE   = CMUCS</p><p class=MsoNormal>+</p><p class=MsoNormal>+SOURCEDIR      = ${MASTERSOURCEDIR?${MASTERSOURCEDIR}:${SRCBASE}}</p><p class=MsoNormal>+</p><p class=MsoNormal>+#OBJECTDIR     = ../../../obj/@sys/kernel/${KERNEL_SERIES}</p><p class=MsoNormal>+OBJECTDIR      = ./obj</p><p class=MsoNormal>+</p><p class=MsoNormal>+#  XXX until build is fixed to set these  XXX</p><p class=MsoNormal>+ENVIRON_BASE   = ${RELEASE_BASE}</p><p class=MsoNormal>+</p><p class=MsoNormal>+.EXPORT: ENVIRON_BASE</p><p class=MsoNormal>+</p><p class=MsoNormal>+#  Provide for private customizations in a shadow directory</p><p class=MsoNormal>+-include Makeconf-local</p><p class=MsoNormal>diff -ruN sys/Makefile mach25-i386/Makefile</p><p class=MsoNormal>--- sys/Makefile        2016-08-08 14:37:11.000000000 +0800</p><p class=MsoNormal>+++ mach25-i386/Makefile        2019-06-24 15:24:49.000000000 +0800</p><p class=MsoNormal>@@ -206,6 +206,12 @@</p><p class=MsoNormal> at386_cpu=i386</p><p class=MsoNormal> sun4_cpu=sun4</p><p class=MsoNormal> cpu=$(${machine}_cpu)</p><p class=MsoNormal>+#echo &quot;CPU IS $cpu&quot;</p><p class=MsoNormal>+AT386_cpu=i386</p><p class=MsoNormal>+I386_cpu=i386</p><p class=MsoNormal>+cpu=${${TARGET_MACHINE}_cpu?${${TARGET_MACHINE}_cpu}:${target_machine}}</p><p class=MsoNormal>+#echo &quot;CPU IS $cpu&quot;</p><p class=MsoNormal>+</p><p class=MsoNormal><o:p>&nbsp;</o:p></p><p class=MsoNormal> VAX_OUTPUT=Makefile</p><p class=MsoNormal> SUN_OUTPUT=Makefile</p><p class=MsoNormal>diff -ruN sys/conf/newvers.sh mach25-i386/conf/newvers.sh</p><p class=MsoNormal>--- sys/conf/newvers.sh 2016-08-08 14:37:11.000000000 +0800</p><p class=MsoNormal>+++ mach25-i386/conf/newvers.sh 2019-06-24 15:25:15.000000000 +0800</p><p class=MsoNormal>@@ -56,8 +56,17 @@</p><p class=MsoNormal> v=&quot;${major}.${minor}(${variant}${edit}${patch})&quot; d=`pwd` h=`hostname` t=`date`</p><p class=MsoNormal> CONFIG=`cat vers.config`</p><p class=MsoNormal> if [ -z &quot;$d&quot; -o -z &quot;$h&quot; -o -z &quot;$t&quot; -o -z &quot;${CONFIG}&quot; ]; then</p><p class=MsoNormal>-    exit 1</p><p class=MsoNormal>+#    exit 1</p><p class=MsoNormal>+edit=&quot;386&quot;</p><p class=MsoNormal>+major=5</p><p class=MsoNormal>+minor=1</p><p class=MsoNormal>+variant=&quot;I&quot;</p><p class=MsoNormal>+patch=&quot;x&quot;</p><p class=MsoNormal>+copyright=&quot;/copyright.txt&quot;</p><p class=MsoNormal>+v=&quot;${major}.${minor}(${variant}${edit}${patch})&quot; d=`pwd` h=`hostname` t=`date`</p><p class=MsoNormal> fi</p><p class=MsoNormal>+#</p><p class=MsoNormal>+</p><p class=MsoNormal> d=`expr &quot;$d&quot; : '.*/\([^/]*\)/[^/]*$'`/${CONFIG}</p><p class=MsoNormal> (</p><p class=MsoNormal>   /bin/echo &quot;int  version_major      = ${major};&quot; ;</p><p class=MsoNormal>diff -ruN sys/i386/start.s mach25-i386/i386/start.s</p><p class=MsoNormal>--- sys/i386/start.s    2016-08-08 14:37:11.000000000 +0800</p><p class=MsoNormal>+++ mach25-i386/i386/start.s    2019-07-01 23:47:25.208021800 +0800</p><p class=MsoNormal>@@ -210,13 +210,14 @@</p><p class=MsoNormal><o:p>&nbsp;</o:p></p><p class=MsoNormal>        lgdt    (%eax)</p><p class=MsoNormal><o:p>&nbsp;</o:p></p><p class=MsoNormal>+       / flip cr3 before you flip cr0</p><p class=MsoNormal>+       mov     %edx, %cr3</p><p class=MsoNormal>+</p><p class=MsoNormal>        / turn PG on</p><p class=MsoNormal>        mov     %cr0, %eax</p><p class=MsoNormal>        or      $PAGEBIT, %eax</p><p class=MsoNormal>        mov     %eax, %cr0</p><p class=MsoNormal><o:p>&nbsp;</o:p></p><p class=MsoNormal>-       mov     %edx, %cr3</p><p class=MsoNormal>-</p><p class=MsoNormal>        ljmp    $KTSSSEL, $0x0</p><p class=MsoNormal><o:p>&nbsp;</o:p></p><p class=MsoNormal> / *********************************************************************</p><p class=MsoNormal>diff -ruN sys/standi386at/boot/disk.c mach25-i386/standi386at/boot/disk.c</p><p class=MsoNormal>--- sys/standi386at/boot/disk.c 2016-08-08 14:37:11.000000000 +0800</p><p class=MsoNormal>+++ mach25-i386/standi386at/boot/disk.c 2019-07-01 23:51:11.261850100 +0800</p><p class=MsoNormal>@@ -340,11 +340,11 @@</p><p class=MsoNormal><o:p>&nbsp;</o:p></p><p class=MsoNormal> #ifndef        FIND_PART</p><p class=MsoNormal>        *rel_off = vp-&gt;part[part].p_start;</p><p class=MsoNormal>-       if (vp-&gt;part[part].p_tag != V_ROOT)</p><p class=MsoNormal>+       if (vp-&gt;part[part].p_flag != V_ROOT)</p><p class=MsoNormal>                printf(&quot;warning... partition %d not root\n&quot;, part);</p><p class=MsoNormal> #else</p><p class=MsoNormal>        for (i = 0; i &lt; vp-&gt;nparts; i++)</p><p class=MsoNormal>-               if (vp-&gt;part[i].p_tag == V_ROOT)</p><p class=MsoNormal>+               if (vp-&gt;part[i].p_flag == V_ROOT)</p><p class=MsoNormal>                        break;</p><p class=MsoNormal><o:p>&nbsp;</o:p></p><p class=MsoNormal>        if (i == vp-&gt;nparts) {</p><p class=MsoNormal>------8&lt;------8&lt;------8&lt;------8&lt;<o:p></o:p></p></div></body></html>

             reply index

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-07-01 17:40 Jason Stevens [this message]
2019-07-03 13:49 ` Lars Brinkhoff

Reply instructions:

You may reply publically to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=ad598d12-f907-42ef-9cb8-8c47243276c5@PU1APC01FT004.eop-APC01.prod.protection.outlook.com \
    --to=jsteve@superglobalmegacorp.com \
    --cc=tuhs@minnie.tuhs.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

The Unix Heritage Society mailing list

Archives are clonable: git clone --mirror http://inbox.vuxu.org/tuhs

Example config snippet for mirrors

Newsgroup available over NNTP:
	nntp://inbox.vuxu.org/vuxu.archive.tuhs


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git