Hi Adrian,
Thanks for getting back to me and let me see if I can provide you some information to possibly replicate the issue.
For the hardware, I wanted to build on a VPS XL server (Contabo.com) that has "Ubuntu 16.04 (64 Bit)" that has 6 cores, 30 GB RAM, and 2 TB storage. Although it is an online VPS system from a provider, I may not be able to run any demo produced but I should be able to build on this system as I have Docker installed and am using that environment for building.
Let me walk through the steps here that I did as maybe I missed some important step here.
Basically I just started at the Muen SK webpage and wanted to see if I could build up everything and run something, either on hardware or inside Bochs or Virtualbox, after it compiled. So then, starting on that page (
https://muen.codelabs.ch/)
1. Get the source code:
2. Pull the Docker Environment:
$ docker pull codelabsch/muen-dev-env
3. Start up the Docker container and map in my local host path to Muen:
$ docker run -it -v /home/lonnie/muen:/home/user/muen --entrypoint /bin/bash codelabsch/muen-dev-env
4. Once inside the Docker container:
user@5ca53dd2d450:~$
then:
$ cd muen/muen
followed by:
user@5ca53dd2d450:~/muen/muen$ make
--- RESULT --------------------------------------------------------------------------------------------------------------------------------
user@11d2e0280078:~/muen/muen$ make
Apr 01 2020 13:01:49 ada-bfd: Download
Apr 01 2020 13:01:50 ada-bfd: Unpack
Apr 01 2020 13:01:50 ada-bfd: Configure
Apr 01 2020 13:01:54 ada-bfd: Build
Apr 01 2020 13:01:57 ada-bfd: Install
Apr 01 2020 13:01:57 alog: Download
Apr 01 2020 13:01:59 alog: Unpack
Apr 01 2020 13:01:59 alog: Build
Apr 01 2020 13:02:05 alog: Install
Apr 01 2020 13:02:05 gnatcoll: Download
Apr 01 2020 13:02:07 gnatcoll: Unpack
Apr 01 2020 13:02:07 gnatcoll: Configure
Apr 01 2020 13:02:08 gnatcoll: Build
Apr 01 2020 13:03:00 gnatcoll: Install
Apr 01 2020 13:03:00 libhwbase: Download
Apr 01 2020 13:03:02 libhwbase: Unpack
Apr 01 2020 13:03:02 libhwbase: Patch 0001-mutime-Make-Sinfo-an-imported-constant.patch
Apr 01 2020 13:03:02 libhwbase: Patch 0002-static_mmio-Disable-SPARK-for-Set_Base_Address-body.patch
Apr 01 2020 13:03:03 libhwbase: Patch 0003-time-Add-T_First-constant.patch
Apr 01 2020 13:03:03 libsparkcrypto: Download
Apr 01 2020 13:03:06 libsparkcrypto: Unpack
Apr 01 2020 13:03:06 xia: Download
Apr 01 2020 13:03:07 xia: Unpack
Apr 01 2020 13:03:07 libmuxml: XSLT system_a
Apr 01 2020 13:03:08 libmuxml: Xml2Ada system_a
Apr 01 2020 13:03:08 libmuxml: XSLT system_b
Apr 01 2020 13:03:08 libmuxml: Xml2Ada system_b
Apr 01 2020 13:03:08 libmuxml: XSLT system_src
Apr 01 2020 13:03:08 libmuxml: Xml2Ada system_src
Apr 01 2020 13:03:08 libmuxml: XSLT vcpu_profile
Apr 01 2020 13:03:08 libmuxml: Xml2Ada vcpu_profile
Apr 01 2020 13:03:08 libmuxml: XSLT system_config
Apr 01 2020 13:03:08 libmuxml: Xml2Ada system_config
Apr 01 2020 13:03:08 libmuxml: XSLT hardware_config
Apr 01 2020 13:03:08 libmuxml: Xml2Ada hardware_config
Apr 01 2020 13:03:08 libmuxml: XSLT mugenschedcfg
Apr 01 2020 13:03:08 libmuxml: Xml2Ada mugenschedcfg
Apr 01 2020 13:03:08 libmuxml: XSLT component
Apr 01 2020 13:03:08 libmuxml: Xml2Ada component
Apr 01 2020 13:03:09 libmucfgvcpu: Create native profile
Apr 01 2020 13:03:09 libmucfgvcpu: Create vm profile
Apr 01 2020 13:03:09 tools: Build
Apr 01 2020 13:04:16 policy: Merge
Apr 01 2020 13:04:17 rts: Build
Apr 01 2020 13:04:17 libmudm: Generate cspecs
Apr 01 2020 13:04:17 libmutime: Generate cspecs
Apr 01 2020 13:04:17 libdebuglog: Generate config.xml
Apr 01 2020 13:04:17 libdebuglog: Generate cspecs
Apr 01 2020 13:04:18 libxhcidbg: Generate cspecs
Apr 01 2020 13:04:18 dbgserver: Generate config.xml
Apr 01 2020 13:04:18 dbgserver: Generate dbg_config.gpr
Apr 01 2020 13:04:18 dbgserver: Generate logchannels.xml
Apr 01 2020 13:04:18 dbgserver: Generate cspecs
Apr 01 2020 13:04:18 dm: Generate cspecs
Apr 01 2020 13:04:18 ps2_drv: Generate cspecs
Apr 01 2020 13:04:18 sm: Generate config.xml
Apr 01 2020 13:04:18 sm: Generate config.gpr
Apr 01 2020 13:04:18 sm: Generate cspecs
Apr 01 2020 13:04:18 time: Generate cspecs
Apr 01 2020 13:04:19 vt: Generate cspecs
Apr 01 2020 13:04:19 components: Build SPARK (debug)
Apr 01 2020 13:04:23 components: Build SPARK (release)
Apr 01 2020 13:04:27 libmuchannel: Build (debug)
Apr 01 2020 13:04:27 libmuchannel: Build (release)
Apr 01 2020 13:04:27 libmuchannel: Check stack (release)
Apr 01 2020 13:04:27 libmuchannel: Check stack (debug)
Apr 01 2020 13:04:28 libmudm: Build (debug)
Apr 01 2020 13:04:28 libmudm: Build (release)
Apr 01 2020 13:04:28 libmudm: Check stack (release)
Apr 01 2020 13:04:28 libmudm: Check stack (debug)
Apr 01 2020 13:04:29 libmutime: Build (debug)
Apr 01 2020 13:04:29 libmutime: Build (release)
Apr 01 2020 13:04:29 libmutime: Check stack (release)
Apr 01 2020 13:04:29 libmutime: Check stack (debug)
Apr 01 2020 13:04:29 libdebuglog: Build (debug)
Apr 01 2020 13:04:30 libdebuglog: Build (release)
Apr 01 2020 13:04:30 libdebuglog: Check stack (release)
Apr 01 2020 13:04:30 libdebuglog: Check stack (debug)
Apr 01 2020 13:04:30 libmusinfo: Build (debug)
Apr 01 2020 13:04:31 libmusinfo: Build (release)
Apr 01 2020 13:04:31 libmusinfo: Check stack (release)
Apr 01 2020 13:04:31 libmusinfo: Check stack (debug)
Apr 01 2020 13:04:31 libxhcidbg: Build (debug)
Apr 01 2020 13:04:32 libxhcidbg: Build (release)
Apr 01 2020 13:04:32 libxhcidbg: Check stack (release)
Apr 01 2020 13:04:32 libxhcidbg: Check stack (debug)
Apr 01 2020 13:04:32 crypter: Build (debug)
Apr 01 2020 13:04:33 crypter: Build (release)
Apr 01 2020 13:04:33 crypter: Check stack (release)
Apr 01 2020 13:04:33 crypter: Check stack (debug)
Apr 01 2020 13:04:34 dbgserver: Build (debug)
Apr 01 2020 13:04:34 dbgserver: Build (release)
Apr 01 2020 13:04:34 dbgserver: Check stack (release)
Apr 01 2020 13:04:35 dbgserver: Check stack (debug)
Apr 01 2020 13:04:35 dm: Build (debug)
Apr 01 2020 13:04:35 dm: Build (release)
Apr 01 2020 13:04:36 dm: Check stack (release)
Apr 01 2020 13:04:36 dm: Check stack (debug)
Apr 01 2020 13:04:36 idle: Build (debug)
Apr 01 2020 13:04:36 idle: Build (release)
Apr 01 2020 13:04:37 idle: Check stack (release)
Apr 01 2020 13:04:37 idle: Check stack (debug)
Apr 01 2020 13:04:37 ps2_drv: Build (debug)
Apr 01 2020 13:04:37 ps2_drv: Build (release)
Apr 01 2020 13:04:38 ps2_drv: Check stack (release)
Apr 01 2020 13:04:38 ps2_drv: Check stack (debug)
Apr 01 2020 13:04:38 sl: Build (debug)
Apr 01 2020 13:04:38 sl: Build (release)
Apr 01 2020 13:04:39 sl: Check stack (release)
Apr 01 2020 13:04:39 sl: Check stack (debug)
Apr 01 2020 13:04:39 sm: Build (debug)
Apr 01 2020 13:04:39 sm: Build (release)
Apr 01 2020 13:04:40 sm: Check stack (release)
Apr 01 2020 13:04:40 sm: Check stack (debug)
Apr 01 2020 13:04:40 time: Build (debug)
Apr 01 2020 13:04:41 time: Build (release)
Apr 01 2020 13:04:41 time: Check stack (release)
Apr 01 2020 13:04:41 time: Check stack (debug)
Apr 01 2020 13:04:41 vt: Build (debug)
Apr 01 2020 13:04:42 vt: Build (release)
Apr 01 2020 13:04:42 vt: Check stack (release)
Apr 01 2020 13:04:42 vt: Check stack (debug)
Apr 01 2020 13:04:43 libmudm: Install cspecs
Apr 01 2020 13:04:43 libmutime: Install cspecs
Apr 01 2020 13:04:43 libdebuglog: Install cspecs
Apr 01 2020 13:04:43 libxhcidbg: Install cspecs
Apr 01 2020 13:04:43 crypter: Build (debug)
Apr 01 2020 13:04:43 crypter: Install
Apr 01 2020 13:04:43 dbgserver: Build (debug)
Apr 01 2020 13:04:44 dbgserver: Install cspecs
Apr 01 2020 13:04:44 dbgserver: Install
Apr 01 2020 13:04:44 dm: Build (debug)
Apr 01 2020 13:04:44 dm: Install cspecs
Apr 01 2020 13:04:44 dm: Install
Apr 01 2020 13:04:44 idle: Build (debug)
Apr 01 2020 13:04:45 idle: Install
Apr 01 2020 13:04:45 ps2_drv: Build (debug)
Apr 01 2020 13:04:45 ps2_drv: Install cspecs
Apr 01 2020 13:04:45 ps2_drv: Install
Apr 01 2020 13:04:45 sl: Build (debug)
Apr 01 2020 13:04:46 sl: Install cspecs
Apr 01 2020 13:04:46 sl: Install
Apr 01 2020 13:04:46 sm: Build (debug)
Apr 01 2020 13:04:47 sm: Install cspecs
Apr 01 2020 13:04:47 sm: Install
Apr 01 2020 13:04:47 time: Build (debug)
Apr 01 2020 13:04:48 time: Install cspecs
Apr 01 2020 13:04:48 time: Install
Apr 01 2020 13:04:48 vt: Build (debug)
Apr 01 2020 13:04:48 vt: Install cspecs
Apr 01 2020 13:04:48 vt: Install
Apr 01 2020 13:04:49 linux: Oldconfig
Apr 01 2020 13:04:53 linux: Build
Apr 01 2020 13:35:56 linux: Install cspecs
Apr 01 2020 13:35:57 linux: Patch and install
Apr 01 2020 13:35:58 linux: Download initramfs
Apr 01 2020 13:36:03 linux: Download initramfs.sha256
Apr 01 2020 13:36:04 linux: Check initramds.sha256
Apr 01 2020 13:36:04 linux: Install initramfs
Apr 01 2020 13:36:04 components: Proof
Apr 01 2020 13:38:30 policy: Join
Apr 01 2020 13:38:30 policy: Expand
Apr 01 2020 13:38:31 policy: Alloc
Apr 01 2020 13:38:32 policy: Validate
Apr 01 2020 13:38:34 policy: Execute mugenacpi
Apr 01 2020 13:38:34 policy: Execute mugeniobm
Apr 01 2020 13:38:34 policy: Execute mugenmsrbm
Apr 01 2020 13:38:35 policy: Execute mugenmsrstore
Apr 01 2020 13:38:35 policy: Execute mugenpt
Apr 01 2020 13:38:35 policy: Execute mugenspec
Apr 01 2020 13:38:36 policy: Execute mugenukvm
Apr 01 2020 13:38:36 policy: Execute mugenvtd
Apr 01 2020 13:38:36 policy: Execute mugenzp
Apr 01 2020 13:38:38 kernel: Build (debug)
Apr 01 2020 13:38:39 kernel: Build (release)
Apr 01 2020 13:38:40 kernel: Proof
Apr 01 2020 13:39:18 kernel: Proof summary
Apr 01 2020 13:39:18 kernel: Check stack (release)
Apr 01 2020 13:39:18 kernel: Check stack (debug)
Apr 01 2020 13:39:18 kernel: Check ELF
Apr 01 2020 13:39:19 kernel: Install
Apr 01 2020 13:39:19 tau0: Build (debug)
Apr 01 2020 13:39:19 tau0: Install
Apr 01 2020 13:39:19 pack: Generate hashes
Apr 01 2020 13:39:20 pack: Generate sinfo
Apr 01 2020 13:39:20 pack: Generate image
Apr 01 2020 13:39:20 pack: Generate image: FAILED, check '/home/user/muen/muen/pack/obj/pack.log.generate_image'
Apr 01 2020 13:39:20 pack: Generate image: FAILED, last 5 lines:
Apr 01 2020 13:39:20 mupack: Registered post-check(s) 1
Apr 01 2020 13:39:20 mupack: Registered content provider(s) 2
Apr 01 2020 13:39:20 mupack: Checking existence of 84 file(s)
Apr 01 2020 13:39:20 mupack: Processing failed, aborting
Apr 01 2020 13:39:20 mupack: File '/home/user/muen/muen/policy/obj/initramfs.cpio.gz' too large for physical memory region 'initramfs': 16#00a3_ef86# > 16#00a3_0000#
make[1]: *** [Makefile:21: /home/user/muen/muen/pack/obj/muen.img] Error 1
make: *** [Makefile:31: pack] Error 2
user@11d2e0280078:~/muen/muen$
------------------------------------------------------------------------------------------------------------------------------------------------
I have tried on multiple systems with the same result.
Cheers,
Lonnie