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


Groups > linux.debian.bugs.dist > #1260223 > unrolled thread

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

Started bySalvatore Bonaccorso <carnil@debian.org>
First post2025-09-06 13:40 +0200
Last post2025-09-24 06:00 +0200
Articles 2 — 1 participant

Back to article view | Back to linux.debian.bugs.dist

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Bug#1111184: linux: Kernel panic on boot with amdgpu driver Salvatore Bonaccorso <carnil@debian.org> - 2025-09-06 13:40 +0200
    Bug#1111184: linux: Kernel panic on boot with amdgpu driver Salvatore Bonaccorso <carnil@debian.org> - 2025-09-24 06:00 +0200

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

FromSalvatore Bonaccorso <carnil@debian.org>
Date2025-09-06 13:40 +0200
SubjectBug#1111184: linux: Kernel panic on boot with amdgpu driver
Message-ID<LrZqY-deSX-63@gated-at.bofh.it>
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

[toc] | [next] | [standalone]


#1262920

FromSalvatore Bonaccorso <carnil@debian.org>
Date2025-09-24 06:00 +0200
Message-ID<LyoPD-7Ws-1@gated-at.bofh.it>
In reply to#1260223
Hi,

On Thu, Sep 11, 2025 at 09:33:35PM +0300, Руслан Семченко wrote:
> Hello Salvatore sorry for long response but i can't do bisection as
> you say because my disk is not be in good and my system specs maybe
> dont be good for bisect at this time maybe be another think how to
> find bug ?

Unfortunately in this case we will need someone else who is samewise
affected to do the bisection and track down the commit fixing the
issue in upper branches.

What do you mean with "disk is not good"? Do you have too little disk
space available for the compilation? (or to too slow?). Once you have
actually the more stripped down my_defconfig targeted for your system
things should be smooter.

If you still can do it, please come back to this bugreport. For now I
will mark the bug as well fixed in the upper version as we found, and
keep the moreinfo tag.

Regards,
Salvatore

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.bugs.dist


csiph-web