[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#36477] [PATCH v4 20/23] build: vm: Fix arm32 support.
From: |
Mathieu Othacehe |
Subject: |
[bug#36477] [PATCH v4 20/23] build: vm: Fix arm32 support. |
Date: |
Wed, 2 Oct 2019 11:59:01 +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.23.0
- [bug#36477] [PATCH v4 13/23] gnu: guile-gcrypt: Fix cross-compilation., (continued)
- [bug#36477] [PATCH v4 17/23] gnu: cmake: Fix cross-compilation., Mathieu Othacehe, 2019/10/02
- [bug#36477] [PATCH v4 14/23] gnu: guile-sqlite3: Fix cross-compilation., Mathieu Othacehe, 2019/10/02
- [bug#36477] [PATCH v4 19/23] utils: Use target-aarch64? and target-arm? helpers., Mathieu Othacehe, 2019/10/02
- [bug#36477] [PATCH v4 12/23] gnu: doxygen: Fix cross-compilation., Mathieu Othacehe, 2019/10/02
- [bug#36477] [PATCH v4 20/23] build: vm: Fix arm32 support.,
Mathieu Othacehe <=
- [bug#36477] [PATCH v4 21/23] system: vm: Add arm64 support., Mathieu Othacehe, 2019/10/02
- [bug#36477] [PATCH v4 15/23] gnu: libnl: Move python outputs to separate packages., Mathieu Othacehe, 2019/10/02
- [bug#36477] [PATCH v4 22/23] system: vm: Support cross-compilation., Mathieu Othacehe, 2019/10/02
- [bug#36477] [PATCH v4 23/23] scripts: system: Add --target option., Mathieu Othacehe, 2019/10/02
- [bug#36477] [PATCH v4 00/23] System cross-compilation, Mathieu Othacehe, 2019/10/18