Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 829843 - app-emulation/qemu-6.1.0*: cause sys-kernel/gentoo-kernel's src_test() to hang on amd64
Summary: app-emulation/qemu-6.1.0*: cause sys-kernel/gentoo-kernel's src_test() to han...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Matthias Maier
URL:
Whiteboard:
Keywords:
Depends on: 830014
Blocks:
  Show dependency tree
 
Reported: 2021-12-22 22:42 UTC by Michał Górny
Modified: 2022-04-10 14:12 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2021-12-22 22:42:33 UTC
Today I've noticed that the sys-kernel/gentoo-kernel's test suite that spawns qemu VM hangs on amd64.  More specifically, in "working" state the test kernel boots fine inside the VM, while in the "broken" state qemu just shows black screen with lowercase "k" in the upper left corner, consumes 100% CPU and nothing else happens.

My long bisecting journey has lead my to the conclusion that the upgrade caused by stabilization of 6.1.0* has caused the problem.  More specifically:

- the previous stable (6.0.0-r54) works fine
- the current stable (6.1.0-r3 and -r2 prior to that) are broken
- 6.2.0 works fine

The relevant Dockerfiles and scripts are found here:
https://github.com/mgorny/binpkg-docker

The make/build.sh target that should be sufficient to reproduce this is:
amd64-gentoo-kernel-bin-newest

(this uses prebuilt kernel to avoid waiting a lot for the build to finish)

Note that you need some diff in local.diff to run it, you can create one e.g. via:

echo > 1
diff -Nu /dev/null 1 > local.diff

For the purpose of building kernels I'm going to switch to 6.2.0 but I suppose this may affect regular users too.
Comment 1 John Helmert III archtester Gentoo Infrastructure gentoo-dev Security 2021-12-22 22:46:22 UTC
There's already been some 6.1.0 breakage (bug 829721) so I wonder if we should just stable 6.2.0 given it's fixed a security issue (bug 810544) and two apparent regressions in 6.1.0.