[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#36477] [PATCH v3 44/48] build: vm: Fix arm32 support.
From: |
Mathieu Othacehe |
Subject: |
[bug#36477] [PATCH v3 44/48] build: vm: Fix arm32 support. |
Date: |
Mon, 2 Sep 2019 17:33:29 +0200 |
* gnu/build/vm.scm (load-in-linux-vm): Disable qemu highmem support on ARM32
systems.
---
gnu/build/vm.scm | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/gnu/build/vm.scm b/gnu/build/vm.scm
index a5d9fefa62..b85398ed24 100644
--- a/gnu/build/vm.scm
+++ b/gnu/build/vm.scm
@@ -102,6 +102,14 @@ the #:references-graphs parameter of 'derivation'."
;; hardware limits imposed by other machines.
,@(if target-arm32? '("-M" "virt") '())
+ ;; On ARM32, if the kernel is built without LPAE support, ECAM conflicts
+ ;; with VIRT_PCIE_MMIO causing PCI devices not to show up. Disable
+ ;; explicitely highmem to fix it.
+ ;; See: https://bugs.launchpad.net/qemu/+bug/1790975.
+ ,@(if target-arm32?
+ '("-machine" "highmem=off")
+ '())
+
;; Only enable kvm if we see /dev/kvm exists. This allows users without
;; hardware virtualization to still use these commands. KVM support is
;; still buggy on some ARM32 boards. Do not use it even if available.
--
2.20.1
- [bug#36477] [PATCH v3 33/48] gnu: guile-xcb: Fix cross-compilation., (continued)
- [bug#36477] [PATCH v3 33/48] gnu: guile-xcb: Fix cross-compilation., Mathieu Othacehe, 2019/09/02
- [bug#36477] [PATCH v3 31/48] gnu: libnl: Fix cross-compilation., Mathieu Othacehe, 2019/09/02
- [bug#36477] [PATCH v3 35/48] gnu: cmake: Fix cross-compilation., Mathieu Othacehe, 2019/09/02
- [bug#36477] [PATCH v3 34/48] gnu: guile-wm: Fix cross-compilation., Mathieu Othacehe, 2019/09/02
- [bug#36477] [PATCH v3 36/48] gnu: console-setup: Fix cross-compilation., Mathieu Othacehe, 2019/09/02
- [bug#36477] [PATCH v3 26/48] gnu: guile-sqlite3: Fix cross-compilation., Mathieu Othacehe, 2019/09/02
- [bug#36477] [PATCH v3 37/48] gnu: mdadm: Fix cross-compilation., Mathieu Othacehe, 2019/09/02
- [bug#36477] [PATCH v3 38/48] gnu: grub: Fix cross-compilation., Mathieu Othacehe, 2019/09/02
- [bug#36477] [PATCH v3 44/48] build: vm: Fix arm32 support.,
Mathieu Othacehe <=
- [bug#36477] [PATCH v3 46/48] system: vm: Support cross-compilation., Mathieu Othacehe, 2019/09/02
- [bug#36477] [PATCH v3 42/48] gexp: Pass target to compiled-modules in lower-gexp., Mathieu Othacehe, 2019/09/02
- [bug#36477] [PATCH v3 43/48] utils: Use target-arm64? and target-arm? helpers., Mathieu Othacehe, 2019/09/02
- [bug#36477] [PATCH v3 40/48] gnu: linux-libre: Enable built-in ext4 support., Mathieu Othacehe, 2019/09/02