------- Comment From <email address hidden> 2021-12-17 08:24 EDT------- Hi!
Sorry about the delay. Both 20.04 and 21.04 packages work fine. Here is the sequence I used:
host# docker run -it ubuntu:20.04 bash docker# apt-get update docker# apt-get install binutils linux-image-5.11 qemu-system-s390x wget
docker# cd /tmp docker# lz4 -d </boot/initrd.img-5.11.0-43-generic | cpio -idv docker# objdump -d bin/sh | grep read@plt 0000000000007080 <read@plt>:
docker# wget http://launchpadlibrarian.net/571593767/qemu-system-s390x_4.2-3ubuntu6.19_s390x.deb docker# dpkg -i --force-all qemu-system-s390x_4.2-3ubuntu6.19_s390x.deb
docker# qemu-system-s390x -kernel /boot/vmlinuz-5.11.0-43-generic -initrd /boot/initrd.img-5.11.0-43-generic -m 1024 -nographic vm# mount -t debugfs foo /sys/kernel/debug vm# echo "r:read_plt /bin/sh:0x7080" >/sys/kernel/debug/tracing/uprobe_events vm# echo 1 >/sys/kernel/debug/tracing/events/uprobes/read_plt/enable
Fails without the fix, works with it. Same on 21.04.
------- Comment From <email address hidden> 2021-12-17 08:24 EDT-------
Hi!
Sorry about the delay. Both 20.04 and 21.04 packages work fine. Here is the sequence I used:
host# docker run -it ubuntu:20.04 bash
docker# apt-get update
docker# apt-get install binutils linux-image-5.11 qemu-system-s390x wget
docker# cd /tmp initrd. img-5.11. 0-43-generic | cpio -idv
docker# lz4 -d </boot/
docker# objdump -d bin/sh | grep read@plt
0000000000007080 <read@plt>:
docker# wget http:// launchpadlibrar ian.net/ 571593767/ qemu-system- s390x_4. 2-3ubuntu6. 19_s390x. deb s390x_4. 2-3ubuntu6. 19_s390x. deb
docker# dpkg -i --force-all qemu-system-
docker# qemu-system-s390x -kernel /boot/vmlinuz- 5.11.0- 43-generic -initrd /boot/initrd. img-5.11. 0-43-generic -m 1024 -nographic debug/tracing/ uprobe_ events debug/tracing/ events/ uprobes/ read_plt/ enable
vm# mount -t debugfs foo /sys/kernel/debug
vm# echo "r:read_plt /bin/sh:0x7080" >/sys/kernel/
vm# echo 1 >/sys/kernel/
Fails without the fix, works with it. Same on 21.04.