[Bug 2096782] Re: Change in 22.04 kernel causes QEMU crashes

2025-02-19 Thread Ben Howe
> I want to cross-post this over here as well. I'm finding a very similar issue as the one described. The issue linked claims this is now fixed but I can still reproduce it 100% of the times. Thanks for sharing that link. For what it's worth, I tried all the following versions, which were called

[Bug 2096782] Re: Change in 22.04 kernel causes QEMU crashes

2025-02-12 Thread Massimiliano Girardi
I want to cross-post this over here as well. I'm finding a very similar issue as the one described. The issue linked claims this is now fixed but I can still reproduce it 100% of the times. See: https://github.com/tonistiigi/binfmt/issues/215#issuecomment-2653281724 Had also a small internal chat

[Bug 2096782] Re: Change in 22.04 kernel causes QEMU crashes

2025-02-10 Thread Christian Ehrhardt
FYI, this could be related and/or also covering this topic - https://github.com/tonistiigi/binfmt/issues/215#issuecomment-2613004741 - https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1087822 Thanks Massimilliano for providing that, adding it here as background might help Matthew when he iterates

[Bug 2096782] Re: Change in 22.04 kernel causes QEMU crashes

2025-02-04 Thread Ben Howe
Hi Matthew - we tried using your qemu updates, and unfortunately the test failed (crashed). A bit more information: our reproducer is running in a GitHub Actions context. We added your custom qemu package to our base VM image and then ran our test. (There is an implicit reboot in that process.) Ho

[Bug 2096782] Re: Change in 22.04 kernel causes QEMU crashes

2025-01-30 Thread Matthew Ruffell
Hi Ben, I have a test qemu to try. I am still working out the finer details, so I don't reintroduce bug 1908331 from a few years ago though. Would you be able to try it out on a test instance? If the instance is still running the test kernel, remove the test kernel and go back to the released off

[Bug 2096782] Re: Change in 22.04 kernel causes QEMU crashes

2025-01-30 Thread Matthew Ruffell
Looking at the test package in regards to bug 1908331, so we don't reintroduce it. current -updates: qemu-user-static_6.2+dfsg-2ubuntu6.24_amd64.deb ubuntu@jammy-aaa:~$ file /usr/bin/qemu-aarch64-static /usr/bin/qemu-aarch64-static: ELF 64-bit LSB executable, x86-64, version 1 (GNU/Linux), stat

[Bug 2096782] Re: Change in 22.04 kernel causes QEMU crashes

2025-01-30 Thread Matthew Ruffell
Debdiff for the test package, for study. ** Patch added: "Test package debdiff for Jammy" https://bugs.launchpad.net/ubuntu/+source/qemu/+bug/2096782/+attachment/5853993/+files/lp2096782_test.debdiff -- You received this bug notification because you are a member of Ubuntu Bugs, which is subs

[Bug 2096782] Re: Change in 22.04 kernel causes QEMU crashes

2025-01-30 Thread Matthew Ruffell
From what I can tell only jammy needs to be fixed. Focal didn't get any changes from bug 1908331, and has no mention of --disable-pie. debian/rules 198 ifeq ($(enable_linux_user),enable) 199 # do not use debian/configure-opts here, all optional stuff will be enabled 200 # automatically, dependenc

[Bug 2096782] Re: Change in 22.04 kernel causes QEMU crashes

2025-01-30 Thread Ben Howe
Thanks, Matthew. Yeah, my original recommendation to revert the kernel patch was purely my opinion. If it is preferable to fix qemu instead, that would be equally as good from my perspective. Perhaps a dump question, but regarding this comment: > Changed in qemu (Ubuntu): status: New → Fix Release

[Bug 2096782] Re: Change in 22.04 kernel causes QEMU crashes

2025-01-29 Thread Christian Ehrhardt
** Also affects: qemu (Ubuntu Jammy) Importance: Undecided Status: New ** Also affects: qemu (Ubuntu Focal) Importance: Undecided Status: New ** Changed in: qemu (Ubuntu) Status: New => Fix Released -- You received this bug notification because you are a member of Ubu

[Bug 2096782] Re: Change in 22.04 kernel causes QEMU crashes

2025-01-29 Thread Matthew Ruffell
Kernels that contain "x86: Increase brk randomness entropy for 64-bit systems": 6.9-rc1 and later. 6.8.0-50-generic and onward 5.15.0-125-generic and onward 5.4.0-200-generic and onward -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 2096782] Re: Change in 22.04 kernel causes QEMU crashes

2025-01-29 Thread Matthew Ruffell
Hi Ben, Thanks for trying the test kernel out. Its great to hear that your analysis was correct, and it was "x86: Increase brk randomness entropy for 64-bit systems" causing the issues. I am still deciding what to do. You see, I came across this mailing list thread: https://lore.kernel.org/all/

[Bug 2096782] Re: Change in 22.04 kernel causes QEMU crashes

2025-01-29 Thread Ben Howe
Hi Matthew - we tested your ppa:mruffell/lp2096782-test packages, and the problem did NOT occur (good!). We also verified that we were running with your kernel for the test: uname -rv 6.8.0-1021-aws #23~22.04.1+TEST2096782v20250128b3-Ubuntu SMP Tue Jan 28 05:25:4 Thanks, Ben -- You received thi

[Bug 2096782] Re: Change in 22.04 kernel causes QEMU crashes

2025-01-28 Thread Ben Howe
Thanks for the quick response, Matthew! We're juggling a bunch of priorities right now, but I'm hopeful we can test this custom kernel out and get back to you by the end of the week. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. http

[Bug 2096782] Re: Change in 22.04 kernel causes QEMU crashes

2025-01-27 Thread Matthew Ruffell
Hi Ben, I made you a test kernel with the following commit reverted: ubuntu-jammy-aws: f5be153733b4d3dab31e3660b54660f34ff90584 commit 44c76825d6eefee9eb7ce06c38e1a6632ac7eb7d Author: Kees Cook Date: Fri Feb 16 22:25:43 2024 -0800 Subject: x86: Increase brk randomness entropy for 64-bit system