From bca93c85250dab863296780abf55c7105388fac4 Mon Sep 17 00:00:00 2001 From: Thomas Schwinge Date: Wed, 3 Oct 2007 14:28:30 +0200 Subject: The port to Xen is a port. --- hurd/running.mdwn | 2 +- microkernel/mach/gnumach/hardwarecompatibilitylist.mdwn | 4 +++- microkernel/mach/gnumach/ports.mdwn | 2 ++ microkernel/mach/gnumach/ports/xen.mdwn | 17 +++++++++++++++++ microkernel/mach/gnumach/xen.mdwn | 17 ----------------- 5 files changed, 23 insertions(+), 19 deletions(-) create mode 100644 microkernel/mach/gnumach/ports/xen.mdwn delete mode 100644 microkernel/mach/gnumach/xen.mdwn diff --git a/hurd/running.mdwn b/hurd/running.mdwn index 2be73078..82b11b53 100644 --- a/hurd/running.mdwn +++ b/hurd/running.mdwn @@ -7,7 +7,7 @@ is included in the section entitled [[GNU_Free_Documentation_License|/fdl.txt]]."]] * [[Distrib]] - Distributions based on the Hurd -* [[microkernel/mach/gnumach/Xen]] - In Xen +* [[microkernel/mach/gnumach/ports/Xen]] - In Xen * [[LiveCD]] - Live CDs * [[QEMU]] - In QEMU * [[FlashHurd]] - From a flash stick diff --git a/microkernel/mach/gnumach/hardwarecompatibilitylist.mdwn b/microkernel/mach/gnumach/hardwarecompatibilitylist.mdwn index e9e5bd87..e0e7e4ea 100644 --- a/microkernel/mach/gnumach/hardwarecompatibilitylist.mdwn +++ b/microkernel/mach/gnumach/hardwarecompatibilitylist.mdwn @@ -15,7 +15,9 @@ on such a system won't succeed. Support for running GNU Mach (and a complete GNU/Hurd system) in a [Xen](http://www.cl.cam.ac.uk/research/srg/netos/xen/) `domU` (again on `x86` -only) is [[being_worked_on|xen]]. +only) is [[being_worked_on|ports/xen]]. + +Read about further [[ports]]. # Memory diff --git a/microkernel/mach/gnumach/ports.mdwn b/microkernel/mach/gnumach/ports.mdwn index 1aeb23f2..47967d65 100644 --- a/microkernel/mach/gnumach/ports.mdwn +++ b/microkernel/mach/gnumach/ports.mdwn @@ -8,3 +8,5 @@ is included in the section entitled * [PowerPC](http://www.pjbruin.dds.nl/hurd/). Is not in a usable state. * Alpha. Was once started, but isn't in a usable state either. + +* [[Xen]] diff --git a/microkernel/mach/gnumach/ports/xen.mdwn b/microkernel/mach/gnumach/ports/xen.mdwn new file mode 100644 index 00000000..3d70b4f6 --- /dev/null +++ b/microkernel/mach/gnumach/ports/xen.mdwn @@ -0,0 +1,17 @@ +Note: since GNU Mach doesn't handle PAE, you need a PAE-disabled Hypervisor. + +- Copy `gnumach-xen` and `hurd-modules` to your dom0 /boot. +- Copy `hurd` into `/etc/xen`, edit it for fixing access to your hurd / and swap +- Run `xm create -c hurd`, gnumach should get started. +- If `xm` complains about networking, it's Xen fault, see Xen documentation for how to configure the network. The simplest way is network-bridge with fixed IPs. + +If you want to generate these images, first get the `gnumach-1-branch-Xen-branch` branch from gnumach CVS. +Then look for "Ugly" in `kern/bootstrap.c`, how to generate `hurd-modules` is explained there, and you'll have to fix `EXT2FS_SIZE` and `LD_SO_SIZE` by hand. +Then use + + ./configure --enable-platform=xen + make + +Instead, you can get the binaries at . + +The current `hurd-modules` was built from the debian packages `hurd 20070606-2` and `libc0.3 2.6.1-1`. diff --git a/microkernel/mach/gnumach/xen.mdwn b/microkernel/mach/gnumach/xen.mdwn deleted file mode 100644 index 3d70b4f6..00000000 --- a/microkernel/mach/gnumach/xen.mdwn +++ /dev/null @@ -1,17 +0,0 @@ -Note: since GNU Mach doesn't handle PAE, you need a PAE-disabled Hypervisor. - -- Copy `gnumach-xen` and `hurd-modules` to your dom0 /boot. -- Copy `hurd` into `/etc/xen`, edit it for fixing access to your hurd / and swap -- Run `xm create -c hurd`, gnumach should get started. -- If `xm` complains about networking, it's Xen fault, see Xen documentation for how to configure the network. The simplest way is network-bridge with fixed IPs. - -If you want to generate these images, first get the `gnumach-1-branch-Xen-branch` branch from gnumach CVS. -Then look for "Ugly" in `kern/bootstrap.c`, how to generate `hurd-modules` is explained there, and you'll have to fix `EXT2FS_SIZE` and `LD_SO_SIZE` by hand. -Then use - - ./configure --enable-platform=xen - make - -Instead, you can get the binaries at . - -The current `hurd-modules` was built from the debian packages `hurd 20070606-2` and `libc0.3 2.6.1-1`. -- cgit v1.2.3