Bug#1100153: re Bug#1100153: linux: hangs on resume from suspend or hibernation with 6.12-6.13 on ThinkPad X1 Carbon Gen 10
Hi Uwe,
I finally got around to running a bisect, I started with confirming
that the tag v6.6 worked (that there weren't any NixOS patches making
the NixOS 6.6 build work) and then bisected from v6.6 as the good and
v6.11 as the bad, these were the results:
```
16:33:41 > git bisect bad
Bisecting: 0 revisions left to test after this (roughly 0 steps)
[4812509e916bd79a17708de8371a94265f47a7bf] minixfs: use
offset_in_page()
16:36:56 > git bisect log
git bisect start
# status: waiting for both good and bad commits
# good: [ffc253263a1375a65fa6c9f62a893e9767fbebfa] Linux 6.6
git bisect good ffc253263a1375a65fa6c9f62a893e9767fbebfa
# status: waiting for bad commit, 1 good commit known
# bad: [98f7e32f20d28ec452afb208f9cffc08448a2652] Linux 6.11
git bisect bad 98f7e32f20d28ec452afb208f9cffc08448a2652
# skip: [aa7d6513d68bad539142f9d6c3e2faa629bc27d8] Merge tag 'tag-
chrome-platform-firmware-for-v6.9' of
git://git.kernel.org/pub/scm/linux/kernel/git/chrome-platform/linux
git bisect skip aa7d6513d68bad539142f9d6c3e2faa629bc27d8
# bad: [91d80986d13b7241f162be01a54d89fd7332d15a] wifi: iwlwifi: mvm:
move phy band to nl80211 band helper
git bisect bad 91d80986d13b7241f162be01a54d89fd7332d15a
# good: [c4101e55974cc7d835fbd2d8e01553a3f61e9e75] Merge tag 'soc-dt-
6.8' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc
git bisect good c4101e55974cc7d835fbd2d8e01553a3f61e9e75
# bad: [c3874bbec942dad35768d9f2e7418d207fb75844] Merge tag 'rxrpc-
iothread-20240305' of
git://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs
git bisect bad c3874bbec942dad35768d9f2e7418d207fb75844
# skip: [bd736f38c014ba70ba7ec3bdc6af6fe5368d6612] Merge tag 'tty-6.8-
rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty
git bisect skip bd736f38c014ba70ba7ec3bdc6af6fe5368d6612
# skip: [7b829f6dd638c2cb45c7710bc7cd1d0395ea9bc1] drm/xe/guc: Convert
GuC registers to REG_FIELD/REG_BIT
git bisect skip 7b829f6dd638c2cb45c7710bc7cd1d0395ea9bc1
# skip: [242d18514149d86b431b6f5db5a33579ea79ebad] selftests/bpf: Fix
the u64_offset_to_skb_data test
git bisect skip 242d18514149d86b431b6f5db5a33579ea79ebad
# skip: [55d8ac9631aaa8ae3794341c52009f635a0d3188] drm/xe: make kobject
type struct as constant
git bisect skip 55d8ac9631aaa8ae3794341c52009f635a0d3188
# skip: [80955ae955d15ea5c11d55cd50032a5243a6dfd6] Merge tag 'driver-
core-6.8-rc1' of
git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core
git bisect skip 80955ae955d15ea5c11d55cd50032a5243a6dfd6
# skip: [5009d554e0d501741de1411db797a593a6fa94bb] drm/xe: Fix
xe_exec_queue_is_idle for parallel exec queues
git bisect skip 5009d554e0d501741de1411db797a593a6fa94bb
# bad: [ee0d27c90777da4c1da633aa7b91dbafd176c0c4] minixfs: change the
signature of dir_get_page()
git bisect bad ee0d27c90777da4c1da633aa7b91dbafd176c0c4
```
Hopefully this helps!
Rylee
On Thu, 2025-06-26 at 17:28 +0200, Uwe Kleine-König wrote:
> Hello Rylee,
>
> On Fri, Jun 20, 2025 at 01:45:44PM +1000, Rylee Randall wrote:
> > Not sure if this will work, I have never used a mailing list
> > before. I
> > am seeing the same problem, my thinkpad x1 carbon gen10 failing to
> > resume from suspend in all kernel versions above 6.10, 6.6 is my
> > safest
> > version that I have been stuck on ever since.
>
> Is 6.10.12 also problematic for you?
>
> > However, I myself am not using Debian, I am using NixOS. I only
> > reply
> > here because this is the only place I have found this bug already
> > talked about on the internet and I don't know how/where a more
> > appropriate place would be.
> >
> > Let me know if theres anything I can do to help get this fixed, its
> > quite frustrating being locked out of all newer kernels.
>
> In don't know how installing a custom kernel on NixOS works. But if
> you
> do (or you want install Debian :-), the test that I asked the
> original
> reporter to do should work for you, too.
>
> Unless 6.10.12 is also good for you, your version range looks a bit
> different than Brian's. My recommendation for you would be:
>
> git clone
> https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
> cd linux
> cat /proc/config.gz > .config
> yes '' | make oldconfig
> make localmodconfig
> make savedefconfig
> cp defconfig arch/x86/configs/tralala_defconfig
>
> git bisect start v6.11 v6.6
>
> And then iterate:
>
> make tralala_defconfig
> make
> make install
>
> and test the newly installed kernel. Depending on the kernel having
> the
> problem or not run:
>
> git bisect good
>
> or
>
> git bisect bad
>
> and repeat until git identifed the problematic commit.
>
> (Note: Make sure to pick the right kernel to boot, it's not always
> the
> one with the highest version number. After a test you can remove the
> installed kernel at any time (and you probably want that to not run
> out
> of disk space).)
>
> (Note #2: It's only a guess from me that `make install` works on
> NixOS,
> in doubt consult their documentation.)
>
> Best regards
> Uwe
Reply to: