Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.kernel > #89088

Bug#1111184: linux: Kernel panic on boot with amdgpu driver

From Salvatore Bonaccorso <carnil@debian.org>
Newsgroups linux.debian.bugs.dist, linux.debian.kernel
Subject Bug#1111184: linux: Kernel panic on boot with amdgpu driver
Date 2025-09-06 13:40 +0200
Message-ID <LrZqY-deSX-63@gated-at.bofh.it> (permalink)
References (7 earlier) <Lno6B-a2X6-11@gated-at.bofh.it> <Lk0at-7Myp-1@gated-at.bofh.it> <Lnqi5-a4Gg-1@gated-at.bofh.it> <Lk0at-7Myp-1@gated-at.bofh.it> <Lnqi5-a4Gg-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Cross-posted to 2 groups.

Show all headers | View raw


Control: tags -1 + moreinfo

Hi,

On Mon, Aug 25, 2025 at 12:15:02AM +0300, Руслан Семченко wrote:
> Hello, Salvatore. I have completed the tests as requested. I can
> confirm that the 6.13.2-1~exp1 kernel is GOOD, while the
> 6.13~rc7-1~exp1 kernel is BAD.

Thanks, that is good so we have a good range of version narrow enough
to start now the bisect. Here is what you can do next (I updated the
arlier instructions with the now concrete numbers, important is to
redefine the "bisection" terms and then carefully at each step say if
it is "fixed" or "broken");

	git clone https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git
        cd linux-stable
        git checkout v6.13.2
	cp /boot/config-$(uname -r) .config
	yes '' | make localmodconfig
	make savedefconfig
	mv defconfig arch/x86/configs/my_defconfig

        # test 6.13.2 to ensure this is "good"
        make my_defconfig
        make -j $(nproc) bindeb-pkg
        ... install the resulting .deb package and confirm it successfully boots / problem does not exist

        # test 6.13~rc7 to ensure this is "bad"
        git checkout v6.13-rc7
        make my_defconfig
        make -j $(nproc) bindeb-pkg
        ... install the resulting .deb package and confirm it fails to boot / problem exists

Once it is confirmed that this affects so as well the version ranges
upstream, we can proceed:

	git bisect start --term-new=fixed --term-old=broken
	git bisect fixed v6.13.2
	git bisect broken v6.13-rc7

(note this is important, as usually git bisect "direction" is to
determine a breaking commit, but here we want to identify a fixing
commit and so the git bisect terms are redifinied to not always have
to "flip" mentally the meaning of bad and good).

In each bisection step git checks out a state between the oldest
known-bad and the newest known-good commit. In each step test using:
 
        make my_defconfig
        make -j $(nproc) bindeb-pkg
        ... install, try to boot / verify if problem exists

and if the problem is hit run:
 
        git bisect broken

and if the problem doesn't trigger run:
 
        git bisect fixed

. Please pay attention to always select the just built kernel for
booting, it won't always be the default kernel picked up by grub.
 
Iterate until git announces to have identified the first 'fixed'
commit.

Then provide the output of
 
        git bisect log
 
In the course of the bisection you might have to uninstall previous
kernels again to not exhaust the disk space in /boot. Also in the end
uninstall all self-built kernels again.

Is this all of enough help for you?

Regards,
Salvatore

Back to linux.debian.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Bug#1111184: linux: Kernel panic on boot with amdgpu driver RuslanSemchenko <uncleruc2075@gmail.com> - 2025-08-15 12:50 +0200
  Processed: Re: Bug#1111184: linux: Kernel panic on boot with  amdgpu driver "Debian Bug Tracking System" <owner@bugs.debian.org> - 2025-08-15 22:10 +0200
  Bug#1111184: linux: Kernel panic on boot with amdgpu driver Salvatore Bonaccorso <carnil@debian.org> - 2025-08-15 22:10 +0200
  Processed: Re: Bug#1111184: linux: Kernel panic on boot with  amdgpu driver "Debian Bug Tracking System" <owner@bugs.debian.org> - 2025-08-20 09:20 +0200
  Bug#1111184: linux: Kernel panic on boot with amdgpu driver Salvatore Bonaccorso <carnil@debian.org> - 2025-09-06 13:40 +0200
  Bug#1111184: closing 1111184 Salvatore Bonaccorso <carnil@debian.org> - 2025-09-24 06:00 +0200
  Bug#1111184: linux: Kernel panic on boot with amdgpu driver Salvatore Bonaccorso <carnil@debian.org> - 2025-09-24 06:00 +0200

csiph-web