From edf05462265c967522aa7b3c2d43e5e97b12fc47 Mon Sep 17 00:00:00 2001 From: Gabriele Giacone <1o5g4r8o@gmail.com> Date: Fri, 28 Feb 2014 16:26:40 +0100 Subject: Uncommitted changes. ... in darnassus:~hurd-web/public_html.workspace/. --- hurd/running/qemu.mdwn | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/hurd/running/qemu.mdwn b/hurd/running/qemu.mdwn index df65eb7b..83ad94b4 100644 --- a/hurd/running/qemu.mdwn +++ b/hurd/running/qemu.mdwn @@ -366,6 +366,23 @@ Once you have logged in as `root` run the `pfinet` translator with values that a That should do it! Do not forget to edit/update `/etc/resolv.conf` to get DNS working. +# QEMU Multiboot + +See [[open_issues/debugging_gnumach_startup_qemu_gdb/#index2h1]]. +See "Linux/Multiboot boot specific" section on QEMU manpage. + + # take for instance cdimage boot components + $ wget http://people.debian.org/~sthibault/hurd-i386/installer/cdimage/current/{gnumach.gz,initrd.gz,ext2fs.static,ld.so.1} + +gnumach needs to be uncompressed + + $ gunzip gnumach.gz + $ sudo qemu-kvm \ + --kernel gnumach \ + --initrd " \ + initrd.gz \$(ramdisk-create), \ + ext2fs.static --multiboot-command-line=\${kernel-command-line} --host-priv-port=\${host-port} --device-master-port=\${device-port} --exec-server-task=\${exec-task} -T typed gunzip:device:rd0 \$(task-create) \$(task-resume), \ + ld.so.1 /hurd/exec \$(exec-task=task-create)" # Related Links -- cgit v1.2.3 From 6e2fa7360e54b1b36ab2e343c5143797af82fd87 Mon Sep 17 00:00:00 2001 From: gg0 Date: Fri, 28 Feb 2014 22:43:15 +0100 Subject: --- hurd/running/qemu.mdwn | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/hurd/running/qemu.mdwn b/hurd/running/qemu.mdwn index 83ad94b4..02ad17fb 100644 --- a/hurd/running/qemu.mdwn +++ b/hurd/running/qemu.mdwn @@ -371,7 +371,8 @@ That should do it! Do not forget to edit/update `/etc/resolv.conf` to get DNS wo See [[open_issues/debugging_gnumach_startup_qemu_gdb/#index2h1]]. See "Linux/Multiboot boot specific" section on QEMU manpage. - # take for instance cdimage boot components +Get for instance cdimage boot components + $ wget http://people.debian.org/~sthibault/hurd-i386/installer/cdimage/current/{gnumach.gz,initrd.gz,ext2fs.static,ld.so.1} gnumach needs to be uncompressed -- cgit v1.2.3 From 4001b2cbe3a17a7f82de5cbba0ab51179dd9adb5 Mon Sep 17 00:00:00 2001 From: "https://www.google.com/accounts/o8/id?id=AItOawk8U-kaH7ownaGCAkyGkf83A-T_l6d_QQ0" Date: Sat, 1 Mar 2014 21:28:07 +0100 Subject: A lot of people have been asked for keyboard layout settings so I suppose this could be added as optional. --- contributing.mdwn | 1 + 1 file changed, 1 insertion(+) diff --git a/contributing.mdwn b/contributing.mdwn index 08c11041..fa3a2bee 100644 --- a/contributing.mdwn +++ b/contributing.mdwn @@ -170,6 +170,7 @@ I'll have to think about it some more. * Unpack it: `tar xf debian-hurd.img.tar.gz` * Run it: `qemu-kvm -m 512 -no-kvm-irqchip -drive cache=writeback,index=0,media=disk,file=debian-hurd.img` # …irq… is a currently necessary fix due to some changes in Linux. Optionally use `--curses` to keep your keyboard layout. If need be modprobe kvm_amd, kvm intel and kvm to get kvm support (which is much, much faster). See also: [kvm FAQ](http://www.linux-kvm.org/page/FAQ). * login as root +* `dpkg-reconfigure keyboard-configuration` (optional) * `apt-get update` * `apt-get install -y git mercurial emacs vim` * `apt-get build-dep -y hurd gnumach` -- cgit v1.2.3 From 9d0729ec69413bbf4a16760c30b14239133d9290 Mon Sep 17 00:00:00 2001 From: "https://www.google.com/accounts/o8/id?id=AItOawk8U-kaH7ownaGCAkyGkf83A-T_l6d_QQ0" Date: Sat, 1 Mar 2014 21:39:38 +0100 Subject: --- contributing.mdwn | 1 - 1 file changed, 1 deletion(-) diff --git a/contributing.mdwn b/contributing.mdwn index fa3a2bee..08c11041 100644 --- a/contributing.mdwn +++ b/contributing.mdwn @@ -170,7 +170,6 @@ I'll have to think about it some more. * Unpack it: `tar xf debian-hurd.img.tar.gz` * Run it: `qemu-kvm -m 512 -no-kvm-irqchip -drive cache=writeback,index=0,media=disk,file=debian-hurd.img` # …irq… is a currently necessary fix due to some changes in Linux. Optionally use `--curses` to keep your keyboard layout. If need be modprobe kvm_amd, kvm intel and kvm to get kvm support (which is much, much faster). See also: [kvm FAQ](http://www.linux-kvm.org/page/FAQ). * login as root -* `dpkg-reconfigure keyboard-configuration` (optional) * `apt-get update` * `apt-get install -y git mercurial emacs vim` * `apt-get build-dep -y hurd gnumach` -- cgit v1.2.3 From 38f25fe773ec0163e04ba9aa6849024701809b07 Mon Sep 17 00:00:00 2001 From: gg0 Date: Sun, 2 Mar 2014 17:00:23 +0100 Subject: Add TOC to qemu page --- hurd/running/qemu.mdwn | 2 ++ 1 file changed, 2 insertions(+) diff --git a/hurd/running/qemu.mdwn b/hurd/running/qemu.mdwn index 02ad17fb..2fe43e05 100644 --- a/hurd/running/qemu.mdwn +++ b/hurd/running/qemu.mdwn @@ -14,6 +14,8 @@ This page discusses things for [[Unix]] systems, there is a separate page for See the discussion about [[hurd/running/qemu/writeback_caching]]. +[[!toc]] + # Readily Available Images You can use the following images to give the GNU/Hurd a try. -- cgit v1.2.3 From e770da7979816121112b2d973982c5b1fdd4160a Mon Sep 17 00:00:00 2001 From: gg0 Date: Mon, 3 Mar 2014 12:15:42 +0100 Subject: Add TOC to deficiencies page --- microkernel/mach/deficiencies.mdwn | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/microkernel/mach/deficiencies.mdwn b/microkernel/mach/deficiencies.mdwn index 4d261627..af5a786c 100644 --- a/microkernel/mach/deficiencies.mdwn +++ b/microkernel/mach/deficiencies.mdwn @@ -11,8 +11,11 @@ License|/fdl]]."]]"""]] [[!tag open_issue_documentation open_issue_gnumach]] +[[!toc]] -# IRC, freenode, #hurd, 2012-06-29 +# Deficiencies + +## IRC, freenode, #hurd, 2012-06-29 I do not understand what are the deficiencies of Mach, the content I find on this is vague... -- cgit v1.2.3 From 57f12fa63869ba72cb719d611baf83f654eec648 Mon Sep 17 00:00:00 2001 From: gg0 Date: Thu, 6 Mar 2014 00:19:16 +0100 Subject: Remove spaces --- hurd/running/qemu.mdwn | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/hurd/running/qemu.mdwn b/hurd/running/qemu.mdwn index 2fe43e05..25828d0e 100644 --- a/hurd/running/qemu.mdwn +++ b/hurd/running/qemu.mdwn @@ -382,10 +382,11 @@ gnumach needs to be uncompressed $ gunzip gnumach.gz $ sudo qemu-kvm \ --kernel gnumach \ - --initrd " \ - initrd.gz \$(ramdisk-create), \ - ext2fs.static --multiboot-command-line=\${kernel-command-line} --host-priv-port=\${host-port} --device-master-port=\${device-port} --exec-server-task=\${exec-task} -T typed gunzip:device:rd0 \$(task-create) \$(task-resume), \ - ld.so.1 /hurd/exec \$(exec-task=task-create)" + --initrd "\ + initrd.gz \$(ramdisk-create),\ + ext2fs.static --multiboot-command-line=\${kernel-command-line} --host-priv-port=\${host-port} --device-master-port=\${device-port} --exec-server-task=\${exec-task} -T typed gunzip:device:rd0 \$(task-create) \$(task-resume),\ + ld.so.1 /hurd/exec \$(exec-task=task-create)" \ + # Related Links -- cgit v1.2.3 From abde2322bd4c6c7aa7d3c2876cb88ace62f617b7 Mon Sep 17 00:00:00 2001 From: gg0 Date: Thu, 6 Mar 2014 00:45:21 +0100 Subject: Fix qemu binary name and options --- hurd/running/qemu.mdwn | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hurd/running/qemu.mdwn b/hurd/running/qemu.mdwn index 25828d0e..d389397b 100644 --- a/hurd/running/qemu.mdwn +++ b/hurd/running/qemu.mdwn @@ -380,7 +380,7 @@ Get for instance cdimage boot components gnumach needs to be uncompressed $ gunzip gnumach.gz - $ sudo qemu-kvm \ + $ sudo qemu-system-i386 --enable-kvm -m 512 \ --kernel gnumach \ --initrd "\ initrd.gz \$(ramdisk-create),\ -- cgit v1.2.3 From 9ff68a05907b827a001b8bace54df141868c9b7b Mon Sep 17 00:00:00 2001 From: gg0 Date: Thu, 6 Mar 2014 00:50:04 +0100 Subject: Remove --enable-kvm --- hurd/running/qemu.mdwn | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hurd/running/qemu.mdwn b/hurd/running/qemu.mdwn index d389397b..ec3fe153 100644 --- a/hurd/running/qemu.mdwn +++ b/hurd/running/qemu.mdwn @@ -380,7 +380,7 @@ Get for instance cdimage boot components gnumach needs to be uncompressed $ gunzip gnumach.gz - $ sudo qemu-system-i386 --enable-kvm -m 512 \ + $ sudo qemu-system-i386 -m 512 \ --kernel gnumach \ --initrd "\ initrd.gz \$(ramdisk-create),\ -- cgit v1.2.3