[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1029270: linux-image-6.1.0-2-686-pae fails to boot in qemu



Hi,

On Wed, 1 Feb 2023 14:59:06 +0100 Salvatore Bonaccorso <carnil@debian.org> wrote:
> On Tue, Jan 31, 2023 at 05:05:53PM +0100, Salvatore Bonaccorso wrote:
> > Hi,
> > 
> > On Fri, Jan 20, 2023 at 04:42:27PM +0100, Helmut Grohne wrote:
> > > Control: severity -1 normal
> > > 
> > > On Fri, Jan 20, 2023 at 03:55:53PM +0100, Helmut Grohne wrote:
> > > > A CI job of debvm started failing. debvm creates a minimalistic virtual
> > > > machine based on Debian unstable i386 and tries to run it in qemu. With
> > > > the previous kernel package that worked. Once updating to 6.1.7-1, it
> > > > fails to boot:
> > > 
> > > I have one more data point. If you pass -enable-kvm to qemu, it actually
> > > boots. It only fails to boot when disabling kvm. That shouldn't affect
> > > that many users. It's still unclear what causes the issue.
> > > 
> > > I'm also pulling qemu maintainer mjt into the discussion for possible
> > > input.
> > 
> > I cannot now confirm the issue anymore with 6.1.8-1 as uploaded to
> > unstable. So think we can close the bug accordingly with 6.1.8-1
> > though it would be good to know/pin point the issue.
> 
> Doing for now. Still think would be nice to know the root cause.

since my house was cold this morning, I bisected the kernel again between 6.1.7
and 6.1.8. The commit that made the kernel panic go away is this one:

https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=6c27fc15747967e350fa9f253a034ff03e943ccf

Thanks!

cheers, josch

P.S.: if future-me wants to do this again, this is the command I ran on every
bisect step:

git reset --hard \
	&& git clean -fdx \
	&& cp /boot/config-6.1.0-2-686-pae .config \
	&& scripts/config --disable MODULE_SIG \
	&& scripts/config --disable DEBUG_INFO \
	&& QUILT_PATCHES=~/linux-6.1.7/debian/patches quilt push -a \
	&& time make -j16 bzImage \
	&& env --chdir=~/debvm bin/debvm-run -i ~/debvm/rootfs.ext4 -- -kernel ~/linux/arch/x86/boot/bzImage

Attachment: signature.asc
Description: signature


Reply to: