From patchwork Thu May 18 08:45:58 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Janneke Nieuwenhuizen X-Patchwork-Id: 1505 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 873E727BBE9; Thu, 18 May 2023 09:47:45 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-3.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS, URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 2590127BBE2 for ; Thu, 18 May 2023 09:47:44 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pzZHt-0004Xl-L9; Thu, 18 May 2023 04:47:05 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pzZHr-0004WK-6F for guix-patches@gnu.org; Thu, 18 May 2023 04:47:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pzZHq-0006Yw-U2 for guix-patches@gnu.org; Thu, 18 May 2023 04:47:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pzZHq-0002le-PV for guix-patches@gnu.org; Thu, 18 May 2023 04:47:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#63527] [PATCH v3 0/7] Rumpdisk support for the Hurd References: In-Reply-To: Resent-From: Janneke Nieuwenhuizen Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 18 May 2023 08:47:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 63527 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 63527@debbugs.gnu.org Received: via spool by 63527-submit@debbugs.gnu.org id=B63527.168439960110547 (code B ref 63527); Thu, 18 May 2023 08:47:02 +0000 Received: (at 63527) by debbugs.gnu.org; 18 May 2023 08:46:41 +0000 Received: from localhost ([127.0.0.1]:51988 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pzZHU-0002k1-Ov for submit@debbugs.gnu.org; Thu, 18 May 2023 04:46:41 -0400 Received: from eggs.gnu.org ([209.51.188.92]:56406) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pzZHP-0002jB-5U for 63527@debbugs.gnu.org; Thu, 18 May 2023 04:46:36 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pzZGy-0006UE-UR; Thu, 18 May 2023 04:46:24 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:Subject:To:From:in-reply-to: references; bh=7HDYcBmG7Rxnu6i9pMHJMgrSne2b20nMS6qZ3w2hC6s=; b=bae0uXRIYWaQyS RQRVOkGx33LmmgUaOHsAuYfROvU8mrjMC0WJjIIJ4DELfmzb+l1tivn76rS+HqWhLT89N1GEfbMNo K4YiMu7dpqzFg96XKtJHhsPSM3ruVhy1qjMB4mK56sdM6UDDi9LNK49S9Awk8vFru8ALo9yUyXhHP Ks214WUbehVpASvo53bLciEd2IL0vbHlnf/+DgQ7tyPB9ieFikeSMmlG/bFm66hKxAf0KCQqnUPC0 MURD0L8tgz5sdwjsOnIL2+/IT78IAOSxXxrA1TYyNOgFORvStn4EiBbXDMJqJ/OLV0GtY7VGsiVT4 zlDACPltKSFkJQ+KH+UQ==; Received: from 2a02-a462-da03-1-2701-7f81-a736-4607.fixed6.kpn.net ([2a02:a462:da03:1:2701:7f81:a736:4607] helo=drakenpad.fritz.box) by fencepost.gnu.org with esmtpa (Exim 4.90_1) (envelope-from ) id 1pzZGy-0005TJ-HN; Thu, 18 May 2023 04:46:08 -0400 From: Janneke Nieuwenhuizen Date: Thu, 18 May 2023 10:45:58 +0200 Message-Id: X-Mailer: git-send-email 2.39.2 MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches So, good progress and amazing news since the v2 series: * Add libpciaccess-0.17, and * Use that for the Hurd, * Actually setup translators for pci.arbiter and rumpdisk, * For QEMU update the memory-size to 2048MB, and * Suggest to do so in our bare-hurd.tmpl example, and * It boots! \o/ I had a lot of kind debugging help from Samuel Thibault and Sergey Bugaev on libera.chat #hurd (https://logs.guix.gnu.org/hurd/2023-05-17.log#132259) as well as on the bug-hurd list (https://lists.gnu.org/archive/html/bug-hurd/2023-05//msg00326.html) to get here, thank you! With https://issues.guix.gnu.org/63501 by Josselin Poiret being merged yesterday and this patch series we now have Rumpkernel/rumpdisk support for the Hurd! I've now succesfully been doing something like --8<---------------cut here---------------start------------->8--- ./pre-inst-env guix system image -t hurd-raw gnu/system/examples/bare-hurd.tmpl guix shell qemu -- qemu-system-i386 \ -m 4096 \ --enable-kvm \ --device rtl8139,netdev=net0 \ --netdev user,id=net0,hostfwd=tcp:0.0.0.0:11022-:2222 \ --snapshot \ --no-reboot \ --hda /gnu/store/r5dpblnfsj08jh3hdmn8s6l9xaczwn65-disk-image --8<---------------cut here---------------end--------------->8--- and ssh into the Hurd VM again. (Should we update the the Childhurds blogpost too, it suggest -m 512 https://guix.gnu.org/en/blog/2020/childhurds-and-substitutes/?) Greetings, Janneke Janneke Nieuwenhuizen (7): gnu: Add libpciaccess-0.17. gnu: hurd: Update libpciaccess to 0.17. gnu: Add rumpkernel. gnu: hurd: Add rumpkernel. hurd-boot: Setup pci-arbiter and rumpdisk translators. services: childhurd: Bump default qemu memory to 2048MB. system: hurd: Boot with pci.arbiter and rumpdisk. gnu/build/hurd-boot.scm | 10 +- gnu/packages/hurd.scm | 231 ++++++++++++++++++++++++++++- gnu/packages/xorg.scm | 17 +++ gnu/services/virtualization.scm | 4 +- gnu/system.scm | 25 +++- gnu/system/examples/bare-hurd.tmpl | 4 +- 6 files changed, 271 insertions(+), 20 deletions(-) base-commit: 5b700945fb0b33eec410de8979cae2fbf0d4f118