You are not logged in.

#26 2025-10-06 18:22:41

Stella
Member
Registered: 2025-09-30
Posts: 16

Re: kernel panic upon booting with new kernel versions (GPU issue?)

Are there resources on how to set up git bisect for kernels specifically and how to build commits?

I understand how git bisect works generally but not what and where to clone or build in this case.

Last edited by Stella (2025-10-06 18:26:34)

Offline

#27 2025-10-06 19:12:51

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 75,039

Re: kernel panic upon booting with new kernel versions (GPU issue?)

https://wiki.archlinux.org/title/Bisect … s_with_Git
nb. that you do not want to bisect the AUR package but the kernel sources in src/linux
https://github.com/archlinux/aur/tree/linux-git

It did also create a truncated gibberish journal file.

Do you still happen to have that?

Is this an ideapad? Do you use an external monitor?
Can you boot w/ "i915.enable_psr=0"?

Offline

#28 2025-10-06 19:41:36

Stella
Member
Registered: 2025-09-30
Posts: 16

Re: kernel panic upon booting with new kernel versions (GPU issue?)

This is an ideapad, Lenovo IdeaPad S340-15IIL more specifically.
I'm not using an external monitor, though it shouldn't make a difference.

I put the journal file here https://www.mediafire.com/file/95fwdczn … t.txt/file, mediafire cause idk another way to share files with invalid text characters.

Offline

#29 2025-10-06 19:47:20

Stella
Member
Registered: 2025-09-30
Posts: 16

Re: kernel panic upon booting with new kernel versions (GPU issue?)

i915.enable_psr=0 as a kernel parameter also made no difference (assuming appending that to the kernel parameters is what you meant)

Offline

#30 2025-10-06 19:54:07

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 75,039

Re: kernel panic upon booting with new kernel versions (GPU issue?)

'key, we're not gonna find anything there: (this is all of it)

0000000 504c 534b 4848 4852 0002 0000 001c 0000
0000020 0001 0000 0000 0000 a4d7 5a6e 44c3 4240
0000040 f6a5 d358 2514 7659 dda3 496a 199e 6d43
0000060 67b0 6c34 499b fe2b dd3c 9ea2 61f4 8e44
0000100 3199 72fb 0a93 5171 2bff 12c9 9c3c e44a
0000120 3da8 73a3 dacc 2e02 0110 0000 0000 0000
0000140 fef0 007f 0000 0000 4120 0000 0000 0000
0000160 e380 0038 0000 0000 0120 0000 0000 0000
0000200 3ff0 0000 0000 0000 bd88 003b 0000 0000
0000220 0612 0000 0000 0000 00c6 0000 0000 0000
0000240 2fc6 0154 0000 0000 2e13 0154 0000 0000
0000260 2bf8 0039 0000 0000 c6cc e1cf 407f 0006
0000300 ad6b e202 407f 0006 6c7f 1ce8 0000 0000
0000320 0320 0000 0000 0000 0051 0000 0000 0000
0000340 0000 0000 0000 0000 01d9 0000 0000 0000
0000360 0001 0000 0000 0000 0001 0000 0000 0000
0000400 b1c0 003a 0052 0000 bd88 003b 0000 0000

assuming appending that to the kernel parameters is what you meant

Yes, the drm/i915 commits between the good and bad one largely deal w/ PSR/ALPM and MST, so I had hoped this could sidestep the issue.
You might also try "i915.enable_dp_mst=0" but I've even less hope for that - possibly broke outside i915 sad

Offline

#31 2025-10-06 19:56:14

Stella
Member
Registered: 2025-09-30
Posts: 16

Re: kernel panic upon booting with new kernel versions (GPU issue?)

Thank you so much for the help so far anyway, I'll see if I can bisect up to the exact commit and maybe that'll be more helpful.

Offline

#32 2025-10-06 20:58:41

loqs
Member
Registered: 2014-03-06
Posts: 18,867

Re: kernel panic upon booting with new kernel versions (GPU issue?)

PKGBUILD.diff

diff --git a/PKGBUILD b/PKGBUILD
index 75f9ea3..3d36809 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -7,7 +7,7 @@
 pkgbase=linux-mainline
 #pkgbase=linux-custom       # Build kernel with a different name
 _tag=v6.17
-pkgver=6.17
+pkgver=6.15rc5.r861.gf9fa01229339
 pkgrel=1
 pkgdesc="Linux Mainline"
 arch=(x86_64)
@@ -27,13 +27,6 @@ makedepends=(
   rust-src
   tar
   xz
-
-  # htmldocs
-  graphviz
-  imagemagick
-  python-sphinx
-  python-yaml
-  texlive-latexextra
 )
 options=(
   !debug
@@ -41,7 +34,7 @@ options=(
 )
 _srcname=linux-mainline
 source=(
-  "$_srcname::git+https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git#tag=$_tag"
+  "$_srcname::git+https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git#commit=f9fa01229339daea915c8f2a3df8d6f6a89f9b84"
   config         # the main kernel config file
 )
 validpgpkeys=(
@@ -49,7 +42,7 @@ validpgpkeys=(
   647F28654894E3BD457199BE38DBBDC86092693E  # Greg Kroah-Hartman
   83BC8889351B5DEBBB68416EB8AC08600F108CDF  # Jan Alexander Steffens (heftig)
 )
-sha256sums=('36f75bf7406db7455b64ea442251f231502c21d3a2b1abd7be2faef83a767a29'
+sha256sums=('SKIP'
             '748eb134d6449f7666e4c239b8b3604f6d860dbdcef955e3267dbd98cad6d668')
 
 export KBUILD_BUILD_HOST=archlinux
@@ -58,6 +51,8 @@ export KBUILD_BUILD_TIMESTAMP="$(date -Ru${SOURCE_DATE_EPOCH:+d @$SOURCE_DATE_EP
 
 prepare() {
   cd $_srcname
+  # rust: compile libcore with edition 2024 for 1.87+
+  git cherry-pick -n f4daa80d6be7d3c55ca72a8e560afc4e21f886aa
 
   echo "Setting version..."
   echo "-$pkgrel" > localversion.10-pkgrel
@@ -82,11 +77,16 @@ prepare() {
   echo "Prepared $pkgbase version $(<version)"
 }
 
+pkgver() {
+  cd $_srcname
+
+  git describe | sed -E 's/^v//;s/([^-]*-g)/r\1/;s/-/./g;s/\.rc/rc/'
+}
+
 build() {
   cd $_srcname
   make all
   make -C tools/bpf/bpftool vmlinux.h feature-clang-bpf-co-re=1
-  make htmldocs SPHINXOPTS=-QT
 }
 
 _package() {
@@ -222,29 +222,9 @@ _package-headers() {
   ln -sr "$builddir" "$pkgdir/usr/src/$pkgbase"
 }
 
-_package-docs() {
-  pkgdesc="Documentation for the $pkgdesc kernel"
-
-  cd $_srcname
-  local builddir="$pkgdir/usr/lib/modules/$(<version)/build"
-
-  echo "Installing documentation..."
-  local src dst
-  while read -rd '' src; do
-    dst="${src#Documentation/}"
-    dst="$builddir/Documentation/${dst#output/}"
-    install -Dm644 "$src" "$dst"
-  done < <(find Documentation -name '.*' -prune -o ! -type d -print0)
-
-  echo "Adding symlink..."
-  mkdir -p "$pkgdir/usr/share/doc"
-  ln -sr "$builddir/Documentation" "$pkgdir/usr/share/doc/$pkgbase"
-}
-
 pkgname=(
   "$pkgbase"
   "$pkgbase-headers"
-  "$pkgbase-docs"
 )
 for _p in "${pkgname[@]}"; do
   eval "package_$_p() {

Steps to build linux bisection point:

$ pacman -S git base-devel # if not already installed
$ git clone https://aur.archlinux.org/linux-mainline.git # clone AUR PKGBUILD for linux-mainline
$ cd linux-mainline/
$ git apply -v PKGBUILD.diff # apply diff above that sets the commit, cherry-picks a commit needed for building with current rust and skips building documentation. 

Enable parallel compilation in makepkg if you have not already

$ pacman -S devtools # needed for pkgctl
$ pkgctl build # builds package in a clean chroot
$ pacman -U linux-mainline-6.15rc5.r861.gf9fa01229339-1-x86_64.pkg.tar.zst

Offline

Board footer

Powered by FluxBB