From c0877507e1585fc7329e1ecec9d6ca34a6f16f14 Mon Sep 17 00:00:00 2001 From: Helmut Grohne Date: Tue, 9 Jan 2024 15:40:26 +0100 Subject: 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 --- bin/debvm-run | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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 must be terminated and B should be launched again to pick up the new kernel. In order to avoid accidental reboots, one may pass B<-no-reboot> to B. +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 kernel. +Alternatively, use an B 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) -- cgit v1.2.3