armhf VMs broken with more than 3GB of RAM
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
edk2 (Ubuntu) |
Confirmed
|
Low
|
Mate Kukri | ||
Mantic |
Won't Fix
|
Low
|
Mate Kukri | ||
Noble |
Confirmed
|
Low
|
Mate Kukri | ||
qemu (Ubuntu) |
Incomplete
|
Undecided
|
Unassigned |
Bug Description
Hi,
During some autopkgtest debugging, we found that we were unable to boot an armhf virtual machine with more than 3GB of RAM.
Here is the working command line:
```
qemu-system-arm \
-machine virt -m 3G -smp 2 -nographic \
-object rng-random,
-device virtio-
-drive if=pflash,
-device virtio-
-netdev user,id=
-drive file=autopkgtes
```
And here is the broken one, that ends up in a loop of `watchdog: BUG: soft lockup - CPU#1 stuck for 26s!`:
```
qemu-system-arm \
-machine virt -m 4G -smp 2 -nographic \
-object rng-random,
-device virtio-
-drive if=pflash,
-device virtio-
-netdev user,id=
-drive file=autopkgtes
```
Some early boot details:
3GB RAM:
```
[ 0.000000] Linux version 6.5.0-9-generic (buildd@
[ 0.000000] CPU: ARMv7 Processor [414fc0f0] revision 0 (ARMv7), cr=30c5387d
[ 0.000000] CPU: div instructions available: patching division code
[ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, PIPT instruction cache
[ 0.000000] OF: fdt: Machine model: linux,dummy-virt
[ 0.000000] random: crng init done
[ 0.000000] Memory policy: Data cache writealloc
[ 0.000000] efi: EFI v2.7 by Ubuntu distribution of EDK II
[ 0.000000] efi: SMBIOS=0xfffee000 SMBIOS 3.0=0xfffec000 MEMATTR=0xfe991a90 INITRD=0xfc727e90 RNG=0xfc72c010 MEMRESERVE=
[ 0.000000] secureboot: Secure boot disabled
[ 0.000000] cma: Reserved 32 MiB at 0x00000000fc800000
[ 0.000000] Zone ranges:
[ 0.000000] DMA [mem 0x0000000040000
[ 0.000000] Normal empty
[ 0.000000] HighMem [mem 0x0000000070000
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x0000000040000
[ 0.000000] node 0: [mem 0x00000000ffc17
[ 0.000000] node 0: [mem 0x00000000fffff
[ 0.000000] Initmem setup node 0 [mem 0x0000000040000
```
4GB RAM:
```
[ 0.000000] Linux version 6.5.0-9-generic (buildd@
[ 0.000000] CPU: ARMv7 Processor [414fc0f0] revision 0 (ARMv7), cr=30c5387d
[ 0.000000] CPU: div instructions available: patching division code
[ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, PIPT instruction cache
[ 0.000000] OF: fdt: Machine model: linux,dummy-virt
[ 0.000000] random: crng init done
[ 0.000000] Memory policy: Data cache writealloc
[ 0.000000] efi: EFI v2.7 by Ubuntu distribution of EDK II
[ 0.000000] efi: SMBIOS=0xfffee000 SMBIOS 3.0=0xfffec000 MEMATTR=0xfe991a90 INITRD=0xfc727e90 RNG=0xfc72c010 MEMRESERVE=
[ 0.000000] secureboot: Secure boot disabled
[ 0.000000] cma: Reserved 32 MiB at 0x00000000fc800000
[ 0.000000] Zone ranges:
[ 0.000000] DMA [mem 0x0000000040000
[ 0.000000] Normal empty
[ 0.000000] HighMem [mem 0x0000000070000
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x0000000040000
[ 0.000000] node 0: [mem 0x00000000ffc17
[ 0.000000] node 0: [mem 0x00000000fffff
[ 0.000000] Initmem setup node 0 [mem 0x0000000040000
```
Here is my version of EDK2: `qemu-efi-
Let me know if further details are needed.
Changed in edk2 (Ubuntu): | |
assignee: | nobody → Mate Kukri (mkukri) |
description: | updated |
description: | updated |
Changed in edk2 (Ubuntu Mantic): | |
assignee: | nobody → Mate Kukri (mkukri) |
Changed in edk2 (Ubuntu Mantic): | |
importance: | Undecided → Low |
Changed in edk2 (Ubuntu Noble): | |
importance: | Undecided → Low |
summary: |
- Broken memory map on armhf with more than 3GB of RAM + armhf VMs broken with more than 3GB of RAM |
Changed in qemu (Ubuntu Mantic): | |
status: | New → Incomplete |
no longer affects: | qemu (Ubuntu Mantic) |
no longer affects: | qemu (Ubuntu Noble) |
Changed in qemu (Ubuntu): | |
status: | New → Incomplete |
My version of qemu-system-arm doesn't even get to the kernel with >2G of RAM, the firmware just locks up.