summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHelmut Grohne <helmut@subdivi.de>2024-01-09 15:40:26 +0100
committerHelmut Grohne <helmut@subdivi.de>2024-01-09 15:43:08 +0100
commitc0877507e1585fc7329e1ecec9d6ca34a6f16f14 (patch)
tree74122e6bb9f04275047bfbd389ceebb7461d1576
parent658c256a824cf8a5394de73f0d999c5dd8e1662d (diff)
downloaddebvm-c0877507e1585fc7329e1ecec9d6ca34a6f16f14.tar.gz
disable highmem for 32bit arm by default
Since recent qemu, a non-lpae kernel cannot boot a highmem-enabled virtual machine. A typical failure is: pci-host-generic 4010000000.pcie: can't claim ECAM area [mem 0x10000000-0x1fffffff]: address conflict with pcie@10000000 [mem 0x10000000-0x3efeffff] Since the default kernel image is non-lpae, we disable highmem by default. Link: https://lists.nongnu.org/archive/html/qemu-devel/2024-01/msg01444.html Thanks: Michael Tokarev <mjt@tls.msk.ru>
-rwxr-xr-xbin/debvm-run6
1 files changed, 5 insertions, 1 deletions
diff --git a/bin/debvm-run b/bin/debvm-run
index e4437ee..a9d34cd 100755
--- a/bin/debvm-run
+++ b/bin/debvm-run
@@ -136,6 +136,10 @@ Attempting to do so, will still use the old kernel.
Instead, B<qemu> must be terminated and B<debvm-run> should be launched again to pick up the new kernel.
In order to avoid accidental reboots, one may pass B<-no-reboot> to B<qemu>.
+For 32bit arm, highmem is actively disabled, because the default kernel flavour fails to boot.
+If you want to pass more ram, please also pass B<-machine virt> and install a B<lpae> kernel.
+Alternatively, use an B<arm64> kernel.
+
=head1 SEE ALSO
debvm-create(1) qemu(1)
@@ -379,7 +383,7 @@ case "$KERNELARCHCPU" in
;;
arm)
CPU=max
- MACHINE="type=virt"
+ MACHINE="type=virt,highmem=off"
MAX_SMP=8
;;
arm64)