summary refs log tree commit diff stats
path: root/results/classifier/105/instruction/1886811
diff options
context:
space:
mode:
Diffstat (limited to 'results/classifier/105/instruction/1886811')
-rw-r--r--results/classifier/105/instruction/188681197
1 files changed, 97 insertions, 0 deletions
diff --git a/results/classifier/105/instruction/1886811 b/results/classifier/105/instruction/1886811
new file mode 100644
index 000000000..f0ee941bb
--- /dev/null
+++ b/results/classifier/105/instruction/1886811
@@ -0,0 +1,97 @@
+instruction: 0.818
+device: 0.813
+mistranslation: 0.800
+graphic: 0.799
+assembly: 0.797
+semantic: 0.795
+other: 0.779
+network: 0.776
+boot: 0.763
+KVM: 0.762
+vnc: 0.740
+socket: 0.731
+
+systemd complains Failed to enqueue loopback interface start request: Operation not supported
+
+This symptom seems similar to
+https://bugs.launchpad.net/qemu/+bug/1823790
+
+Host Linux: Debian 11 Bullseye (testing) on x84-64 architecture
+qemu version: latest git of git commit hash eb2c66b10efd2b914b56b20ae90655914310c925
+compiled with "./configure --static --disable-system" 
+
+Down stream bug report at https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=964289
+Bug report (closed) to systemd: https://github.com/systemd/systemd/issues/16359
+
+systemd in armhf and armel (both little endian 32-bit) containers fail to start with
+Failed to enqueue loopback interface start request: Operation not supported
+
+How to reproduce on Debian (and probably Ubuntu):
+mmdebstrap --components="main contrib non-free" --architectures=armhf --variant=important bullseye /var/lib/machines/armhf-bullseye
+systemd-nspawn -D /var/lib/machines/armhf-bullseye -b
+
+When "armhf" architecture is replaced with "mips" (32-bit big endian) or "ppc64"
+(64-bit big endian), the container starts up fine.
+
+The same symptom is also observed with "powerpc" (32-bit big endian) architecture.
+
+It would help to know which operation is not supported.
+
+Could you get the coredump?
+Is it possible to run the operation with "QEMU_STRACE" set in the environment?
+Normally loop ioctls are supported.
+
+But it seems the following ones are not implemented in QEMU: LOOP_SET_CAPACITY, LOOP_SET_DIRECT_IO, LOOP_SET_BLOCK_SIZE.
+
+It seems systemd is trying to use RTM_SETLINK.
+
+Could you try this patch:
+
+diff --git a/linux-user/fd-trans.c b/linux-user/fd-trans.c
+index c0687c52e62b..b09b5b7c13e0 100644
+--- a/linux-user/fd-trans.c
++++ b/linux-user/fd-trans.c
+@@ -1200,6 +1200,7 @@ static abi_long target_to_host_data_route(struct nlmsghdr *nlh)
+         break;
+     case RTM_NEWLINK:
+     case RTM_DELLINK:
++    case RTM_SETLINK:
+         if (nlh->nlmsg_len >= NLMSG_LENGTH(sizeof(*ifi))) {
+             ifi = NLMSG_DATA(nlh);
+             ifi->ifi_type = tswap16(ifi->ifi_type);
+
+
+> It seems systemd is trying to use RTM_SETLINK.
+> Could you try this patch:
+
+Yes, you are right!
+With the patch, I am able to boot containers of
+Debian Bullseye of armhf and armel architectures!!
+
+https://bugs.launchpad.net/ubuntu/+source/qemu/+bug/1887606
+
+Fixed here:
+
+65b261a63a48 linux-user: add netlink RTM_SETLINK command
+https://git.qemu.org/?p=qemu.git;a=commit;h=65b261a63a48fbb3b11193361d4ea0c38a3c3dfd
+
+qemu (1:5.0-5ubuntu3) groovy; urgency=medium
+
+has the merge with this fix:
+
+    - linux-user-add-netlink-RTM_SETLINK-command.patch (Closes: #964289)
+
+
+@Ryutaroh - could you test [1] if it gets you around this bug (1886811) and if bug 1890881 is present in focal as well?
+
+[1]: https://launchpad.net/~ci-train-ppa-service/+archive/ubuntu/4197
+
+To fully work this also needs the fix for bug 1890881 as identified there.
+
+SRU need the bug 1890881 fix to be really helpful, but the dependency chain of that is not SRUable.
+See: https://bugs.launchpad.net/ubuntu/+source/qemu/+bug/1890881/comments/17
+
+Users (of this valid but rare use case) can either use Groovy which will fix this or wait until Openstack Victoria will make it available for Focal via the Ubuntu Cloud Archive [1].
+
+[1]: https://wiki.ubuntu.com/OpenStack/CloudArchive
+