[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#63527] [PATCH v2 3/3] DRAFT system: hurd: Boot with pci.arbiter and
From: |
Janneke Nieuwenhuizen |
Subject: |
[bug#63527] [PATCH v2 3/3] DRAFT system: hurd: Boot with pci.arbiter and rumpdisk. |
Date: |
Tue, 16 May 2023 15:48:46 +0200 |
XXX This hangs at
start pci.arbiter:
* gnu/system.scm (hurd-multiboot-modules): Add commands for pci.arbiter and
rumpdisk.
---
gnu/system.scm | 25 ++++++++++++++++++++-----
1 file changed, 20 insertions(+), 5 deletions(-)
diff --git a/gnu/system.scm b/gnu/system.scm
index 354f58f55b..12e646ad51 100644
--- a/gnu/system.scm
+++ b/gnu/system.scm
@@ -10,7 +10,7 @@
;;; Copyright © 2020, 2021 Brice Waegeneire <brice@waegenei.re>
;;; Copyright © 2020 Florian Pelz <pelzflorian@pelzflorian.de>
;;; Copyright © 2020, 2022 Maxim Cournoyer <maxim.cournoyer@gmail.com>
-;;; Copyright © 2020 Jan (janneke) Nieuwenhuizen <jannek@gnu.org>
+;;; Copyright © 2020, 2023 Janneke Nieuwenhuizen <jannek@gnu.org>
;;; Copyright © 2020, 2022 Efraim Flashner <efraim@flashner.co.il>
;;; Copyright © 2021 Maxime Devos <maximedevos@telenet.be>
;;; Copyright © 2021 raid5atemyhomework <raid5atemyhomework@protonmail.com>
@@ -1486,16 +1486,28 @@ (define (operating-system-multiboot-modules os)
(define (hurd-multiboot-modules os)
(let* ((hurd (operating-system-hurd os))
+ (pci-arbiter-command
+ (list (file-append hurd "/hurd/pci-arbiter.static")
+ "pci.arbiter"
+ "--host-priv-port='${host-port}'"
+ "--device-master-port='${device-port}'"
+ "--next-task='${disk-task}'"
+ "'$(pci-task=task-create)'"
+ "'$(task-resume)'"))
+ (rumpdisk-command
+ (list (file-append hurd "/hurd/rumpdisk.static")
+ "rumpdisk"
+ "--next-task='${fs-task}'"
+ "'$(disk-task=task-create)'"))
(root-file-system-command
(list (file-append hurd "/hurd/ext2fs.static")
"ext2fs"
"--multiboot-command-line='${kernel-command-line}'"
- "--host-priv-port='${host-port}'"
- "--device-master-port='${device-port}'"
"--exec-server-task='${exec-task}'"
"--store-type=typed"
"--x-xattr-translator-records"
- "'${root}'" "'$(task-create)'" "'$(task-resume)'"))
+ "'${root}'"
+ "'$(fs-task=task-create)'"))
(target (%current-target-system))
(libc (if target
(with-parameters ((%current-target-system #f))
@@ -1512,7 +1524,10 @@ (define (hurd-multiboot-modules os)
;; (file-append hurd "/hurd/exec")
"'$(exec-task=task-create)'")
(list (file-append hurd "/hurd/exec.static") "exec"
"'$(exec-task=task-create)'")))
- (list root-file-system-command exec-server-command)))
+ (list pci-arbiter-command
+ rumpdisk-command
+ root-file-system-command
+ exec-server-command)))
(define* (operating-system-boot-parameters os root-device
#:key system-kernel-arguments?)
--
2.39.2
- [bug#63527] [PATCH 0/3] Initial attempt at rumpdisk support for the Hurd., Janneke Nieuwenhuizen, 2023/05/15
- [bug#63527] [PATCH 1/3] DRAFT gnu: Add rumpkernel., Janneke Nieuwenhuizen, 2023/05/15
- [bug#63527] [PATCH 2/3] gnu: hurd: Add rumpkernel., Janneke Nieuwenhuizen, 2023/05/15
- [bug#63527] [PATCH 3/3] DRAFT system: hurd: Boot with pci.arbiter and rumpdisk., Janneke Nieuwenhuizen, 2023/05/15
- [bug#63527] [PATCH v2 0/3] Initial attempt at rumpdisk support for the Hurd., Janneke Nieuwenhuizen, 2023/05/16
- [bug#63527] [PATCH v3 0/7] Rumpdisk support for the Hurd, Janneke Nieuwenhuizen, 2023/05/18
- [bug#63527] [PATCH v3 2/7] gnu: hurd: Update libpciaccess to 0.17., Janneke Nieuwenhuizen, 2023/05/18
- [bug#63527] [PATCH v3 1/7] gnu: Add libpciaccess-0.17., Janneke Nieuwenhuizen, 2023/05/18
- [bug#63527] [PATCH v3 5/7] hurd-boot: Setup pci-arbiter and rumpdisk translators., Janneke Nieuwenhuizen, 2023/05/18
- [bug#63527] [PATCH v3 4/7] gnu: hurd: Add rumpkernel., Janneke Nieuwenhuizen, 2023/05/18
- [bug#63527] [PATCH v3 6/7] services: childhurd: Bump default qemu memory to 2048MB., Janneke Nieuwenhuizen, 2023/05/18
- [bug#63527] [PATCH v3 7/7] system: hurd: Boot with pci.arbiter and rumpdisk., Janneke Nieuwenhuizen, 2023/05/18
- [bug#63527] [PATCH v3 3/7] gnu: Add rumpkernel., Janneke Nieuwenhuizen, 2023/05/18
- [bug#63527] [PATCH v3 0/7] Rumpdisk support for the Hurd, Janneke Nieuwenhuizen, 2023/05/18
- [bug#63527] [PATCH v4 0/8] Rumpdisk support for the Hurd, really!, Janneke Nieuwenhuizen, 2023/05/18