id = 1255 title = "32bit qemu-arm fails to run systemctl \"Allocating guest commpage: Cannot allocate memory\"" state = "opened" created_at = "2022-10-14T23:34:25.711Z" closed_at = "n/a" labels = ["linux-user", "target: arm"] url = "https://gitlab.com/qemu-project/qemu/-/issues/1255" host-os = "Debian" host-arch = "x86" qemu-version = "7.1.50 (v7.1.0-987-g2ba341b369)" guest-os = "- OS/kernel version:" guest-arch = "ARM" description = """I am using a bare minimal install of the latest 32 bit version of debian with only ssh installed. I have compiled qemu from the latest git with "./configure --target-list=arm-linux-user --static --disable-pie". When I try to run systemctl from the latest version of raspbian, I experience the error: "Allocating guest commpage: Cannot allocate memory".""" reproduce = """1. Download and extract the included systemctl and required libs. [systemctl+libs.tgz](/uploads/a2834ed651a981fded4bcc19ea9ca31b/systemctl+libs.tgz) 2. run "qemu-arm -L ./ systemctl --version"""" additional = """- I think this is related to [Issue 690](https://gitlab.com/qemu-project/qemu/-/issues/690). - When I run "qemu-arm -L ./ -B 0x20000 systemctl --version" there is no error. - The error still happens when setting vm.mmap_min_addr to 0. - The error does not occur on v5.0.0, but does occur on v5.1.0 and v6.1.0."""