-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
BUG: kernel NULL pointer dereference
and BUG: workqueue lookup
s at sleep and hibernate with LRNG.
#27
Comments
Am Samstag, 25. Februar 2023, 13:08:52 CET schrieb dreirund:
Hi dreirund,
As a suggestion by the maintainer of the [-pf Linux kernel
(patchset)](http://pfkernel.natalenko.name), I report here that I had
issues at sleep and hibernation with the LRNG patchset.
Thanks for the report, I am looking into it.
Ciao
Stephan
|
Am Samstag, 25. Februar 2023, 13:08:52 CET schrieb dreirund:
Hi dreirund,
As a suggestion by the maintainer of the [-pf Linux kernel
(patchset)](http://pfkernel.natalenko.name), I report here that I had
issues at sleep and hibernation with the LRNG patchset.
## Affected kernels
I had it with
- Linux 6.1-pf2 and
- Linux 6.1-pf5 (I did not try the intermediates), and
- *it was gone with Linux 6.1-pf6, where LRNG was dropped*, and
- I did not had it with 6.0-pf5.
I had it with
- self-compiled pf-kernels where I had many LRNG options enabled, but
- not with pre-compiled pf-kernel where far less LRNG options were set.
- I also did not have it with self-compiled vanilla kernel which does not
have LRNG.
Using linux 6.1-pf5 with the kernel config 2 from your list on my system:
[ 196.502343] Adding 36700156k swap on /dev/vda2. Priority:-2 extents:1
across:36700156k FS
[ 217.737056] PM: hibernation: hibernation entry
[ 217.740778] Filesystems sync: 0.003 seconds
[ 217.741222] Freezing user space processes ... (elapsed 0.001 seconds) done.
[ 217.742446] OOM killer disabled.
[ 217.742690] PM: hibernation: Marking nosave pages: [mem
0x00000000-0x00000fff]
[ 217.742693] PM: hibernation: Marking nosave pages: [mem
0x0009f000-0x000fffff]
[ 217.742695] PM: hibernation: Marking nosave pages: [mem
0x7ffdb000-0xffffffff]
[ 217.744141] PM: hibernation: Basic memory bitmaps created
[ 217.744142] PM: hibernation: Preallocating image memory
[ 218.130797] PM: hibernation: Allocated 297933 pages for snapshot
[ 218.130801] PM: hibernation: Allocated 1191732 kbytes in 0.38 seconds
(3136.13 MB/s)
[ 218.130803] Freezing remaining freezable tasks ... (elapsed 0.001 seconds)
done.
[ 218.132127] printk: Suspending console(s) (use no_console_suspend to debug)
[ 218.161983] Disabling non-boot CPUs ...
[ 218.164557] smpboot: CPU 1 is now offline
[ 218.167104] smpboot: CPU 2 is now offline
[ 218.169756] smpboot: CPU 3 is now offline
[ 218.172067] smpboot: CPU 4 is now offline
[ 218.174572] smpboot: CPU 5 is now offline
[ 218.176895] smpboot: CPU 6 is now offline
[ 218.179165] smpboot: CPU 7 is now offline
[ 218.181249] smpboot: CPU 8 is now offline
[ 218.183351] smpboot: CPU 9 is now offline
[ 218.185736] smpboot: CPU 10 is now offline
[ 218.188006] smpboot: CPU 11 is now offline
[ 218.190250] smpboot: CPU 12 is now offline
[ 218.192306] smpboot: CPU 13 is now offline
[ 218.194361] smpboot: CPU 14 is now offline
[ 218.196727] smpboot: CPU 15 is now offline
[ 218.198777] smpboot: CPU 16 is now offline
[ 218.200825] smpboot: CPU 17 is now offline
[ 218.202806] smpboot: CPU 18 is now offline
[ 218.204845] smpboot: CPU 19 is now offline
[ 218.206761] smpboot: CPU 20 is now offline
[ 218.208706] smpboot: CPU 21 is now offline
[ 218.210512] smpboot: CPU 22 is now offline
[ 218.212230] smpboot: CPU 23 is now offline
[ 218.214114] smpboot: CPU 24 is now offline
[ 218.215909] smpboot: CPU 25 is now offline
[ 218.217625] smpboot: CPU 26 is now offline
[ 218.219334] smpboot: CPU 27 is now offline
[ 218.221195] smpboot: CPU 28 is now offline
[ 218.222803] smpboot: CPU 29 is now offline
[ 218.224524] smpboot: CPU 30 is now offline
[ 218.226353] smpboot: CPU 31 is now offline
[ 218.226898] PM: hibernation: Creating image:
[ 218.516867] PM: hibernation: Need to copy 268866 pages
[ 218.516871] PM: hibernation: Normal pages needed: 268866 + 1024, available
pages: 8118549
[18446743669.110118] Enabling non-boot CPUs ...
[18446743669.110321] x86: Booting SMP configuration:
[18446743669.110322] smpboot: Booting Node 0 Processor 1 APIC 0x1
[18446743669.111154] CPU1 is up
[18446743669.111337] smpboot: Booting Node 0 Processor 2 APIC 0x2
[18446743669.112204] CPU2 is up
[18446743669.112379] smpboot: Booting Node 0 Processor 3 APIC 0x3
[18446743669.113145] CPU3 is up
[18446743669.113325] smpboot: Booting Node 0 Processor 4 APIC 0x4
[18446743669.114108] CPU4 is up
[18446743669.114257] smpboot: Booting Node 0 Processor 5 APIC 0x5
[18446743669.114970] CPU5 is up
[18446743669.115125] smpboot: Booting Node 0 Processor 6 APIC 0x6
[18446743669.115790] CPU6 is up
[18446743669.115931] smpboot: Booting Node 0 Processor 7 APIC 0x7
[18446743669.116628] CPU7 is up
[18446743669.116777] smpboot: Booting Node 0 Processor 8 APIC 0x8
[18446743669.117737] CPU8 is up
[18446743669.117871] smpboot: Booting Node 0 Processor 9 APIC 0x9
[18446743669.118655] CPU9 is up
[18446743669.118801] smpboot: Booting Node 0 Processor 10 APIC 0xa
[18446743669.119582] CPU10 is up
[18446743669.119739] smpboot: Booting Node 0 Processor 11 APIC 0xb
[18446743669.120779] CPU11 is up
[18446743669.120912] smpboot: Booting Node 0 Processor 12 APIC 0xc
[18446743669.121937] CPU12 is up
[18446743669.122079] smpboot: Booting Node 0 Processor 13 APIC 0xd
[18446743669.122987] CPU13 is up
[18446743669.123127] smpboot: Booting Node 0 Processor 14 APIC 0xe
[18446743669.123965] CPU14 is up
[18446743669.124109] smpboot: Booting Node 0 Processor 15 APIC 0xf
[18446743669.124994] CPU15 is up
[18446743669.125132] smpboot: Booting Node 0 Processor 16 APIC 0x10
[18446743669.126314] CPU16 is up
[18446743669.126449] smpboot: Booting Node 0 Processor 17 APIC 0x11
[18446743669.127595] CPU17 is up
[18446743669.127744] smpboot: Booting Node 0 Processor 18 APIC 0x12
[18446743669.128761] CPU18 is up
[18446743669.128888] smpboot: Booting Node 0 Processor 19 APIC 0x13
[18446743669.129871] CPU19 is up
[18446743669.130000] smpboot: Booting Node 0 Processor 20 APIC 0x14
[18446743669.131359] CPU20 is up
[18446743669.131504] smpboot: Booting Node 0 Processor 21 APIC 0x15
[18446743669.132761] CPU21 is up
[18446743669.132888] smpboot: Booting Node 0 Processor 22 APIC 0x16
[18446743669.134171] CPU22 is up
[18446743669.134321] smpboot: Booting Node 0 Processor 23 APIC 0x17
[18446743669.135494] CPU23 is up
[18446743669.135621] smpboot: Booting Node 0 Processor 24 APIC 0x18
[18446743669.137041] CPU24 is up
[18446743669.137177] smpboot: Booting Node 0 Processor 25 APIC 0x19
[18446743669.138574] CPU25 is up
[18446743669.138713] smpboot: Booting Node 0 Processor 26 APIC 0x1a
[18446743669.140106] CPU26 is up
[18446743669.140234] smpboot: Booting Node 0 Processor 27 APIC 0x1b
[18446743669.141517] CPU27 is up
[18446743669.141632] smpboot: Booting Node 0 Processor 28 APIC 0x1c
[18446743669.143183] CPU28 is up
[18446743669.143306] smpboot: Booting Node 0 Processor 29 APIC 0x1d
[18446743669.144646] CPU29 is up
[18446743669.144755] smpboot: Booting Node 0 Processor 30 APIC 0x1e
[18446743669.146396] CPU30 is up
[18446743669.146516] smpboot: Booting Node 0 Processor 31 APIC 0x1f
[18446743669.148215] CPU31 is up
[18446743669.237888] usb usb1: root hub lost power or was reset
[18446743669.237891] usb usb2: root hub lost power or was reset
[18446743669.246894] virtio_blk virtio2: 1/0/0 default/read/poll queues
[18446743669.521211] usb 1-1: reset high-speed USB device number 2 using
xhci_hcd
[18446743669.555478] ata5: SATA link down (SStatus 0 SControl 300)
[18446743669.555598] ata1: SATA link down (SStatus 0 SControl 300)
[18446743669.556404] ata6: SATA link down (SStatus 0 SControl 300)
[18446743669.556529] ata3: SATA link down (SStatus 0 SControl 300)
[18446743669.556670] ata2: SATA link down (SStatus 0 SControl 300)
[18446743669.556793] ata4: SATA link down (SStatus 0 SControl 300)
[18446743669.662133] PM: hibernation: Basic memory bitmaps freed
[18446743669.662716] OOM killer enabled.
[18446743669.662718] Restarting tasks ... done.
[18446743669.663272] PM: hibernation: hibernation exit
I see no bugs, hangs or weird behavior so far.
What kind of system are you using?
Ciao
Stephan
|
As I wrote, kernel config 2 works fine (and is from a precompiled kernel from some repository); kernel config 4 makes the problems.
|
Am Samstag, 25. Februar 2023, 22:47:55 CET schrieb dreirund:
Hi dreirund,
> Using linux 6.1-pf5 with the kernel config 2 from your list on my system:
>
> [...]
>
> I see no bugs, hangs or weird behavior so far.
As I wrote, kernel config 2 works fine (and is from a precompiled kernel
from some repository); kernel config 4 makes the problems.
Thanks for clarifying.
Using config 4 and resuming from it - no NULL pointer before or after:
[ 43.478811] PM: hibernation: hibernation entry
[ 43.541985] Filesystems sync: 0.063 seconds
[ 43.542322] Freezing user space processes ... (elapsed 0.001 seconds) done.
[ 43.543637] OOM killer disabled.
[ 43.543844] PM: hibernation: Marking nosave pages: [mem
0x00000000-0x00000fff]
[ 43.543847] PM: hibernation: Marking nosave pages: [mem
0x0009f000-0x000fffff]
[ 43.543849] PM: hibernation: Marking nosave pages: [mem
0x7ffdb000-0xffffffff]
[ 43.545289] PM: hibernation: Basic memory bitmaps created
[ 43.545290] PM: hibernation: Preallocating image memory
[ 43.986916] PM: hibernation: Allocated 288333 pages for snapshot
[ 43.986920] PM: hibernation: Allocated 1153332 kbytes in 0.44 seconds
(2621.20 MB/s)
[ 43.986923] Freezing remaining freezable tasks ... (elapsed 0.001 seconds)
done.
[ 43.988172] printk: Suspending console(s) (use no_console_suspend to debug)
[ 43.988449] rtc_cmos 00:03: suspend, ctrl 02
[ 44.043179] Disabling non-boot CPUs ...
[ 44.045157] smpboot: CPU 1 is now offline
[ 44.047317] smpboot: CPU 2 is now offline
[ 44.049355] smpboot: CPU 3 is now offline
[ 44.051411] smpboot: CPU 4 is now offline
[ 44.053584] smpboot: CPU 5 is now offline
[ 44.055579] smpboot: CPU 6 is now offline
[ 44.057602] smpboot: CPU 7 is now offline
[ 44.059591] smpboot: CPU 8 is now offline
[ 44.061546] smpboot: CPU 9 is now offline
[ 44.063524] smpboot: CPU 10 is now offline
[ 44.065378] smpboot: CPU 11 is now offline
[ 44.067203] smpboot: CPU 12 is now offline
[ 44.069132] smpboot: CPU 13 is now offline
[ 44.071085] smpboot: CPU 14 is now offline
[ 44.072956] smpboot: CPU 15 is now offline
[ 44.073547] PM: hibernation: Creating image:
[ 44.082950] PM: hibernation: Need to copy 269008 pages
[ 44.082950] PM: hibernation: Normal pages needed: 269008 + 1024, available
pages: 8118379
[ 44.082950] Enabling non-boot CPUs ...
[ 44.082950] x86: Booting SMP configuration:
[ 44.082950] smpboot: Booting Node 0 Processor 1 APIC 0x1
[ 44.085789] CPU1 is up
[ 44.085958] smpboot: Booting Node 0 Processor 2 APIC 0x2
[ 44.097525] CPU2 is up
[ 44.097691] smpboot: Booting Node 0 Processor 3 APIC 0x3
[ 44.109320] CPU3 is up
[ 44.109452] smpboot: Booting Node 0 Processor 4 APIC 0x4
[ 44.120986] CPU4 is up
[ 44.121257] smpboot: Booting Node 0 Processor 5 APIC 0x5
[ 44.132873] CPU5 is up
[ 44.133002] smpboot: Booting Node 0 Processor 6 APIC 0x6
[ 44.144614] CPU6 is up
[ 44.144729] smpboot: Booting Node 0 Processor 7 APIC 0x7
[ 44.156370] CPU7 is up
[ 44.156481] smpboot: Booting Node 0 Processor 8 APIC 0x8
[ 44.168060] CPU8 is up
[ 44.168189] smpboot: Booting Node 0 Processor 9 APIC 0x9
[ 44.179890] CPU9 is up
[ 44.179999] smpboot: Booting Node 0 Processor 10 APIC 0xa
[ 44.191705] CPU10 is up
[ 44.191815] smpboot: Booting Node 0 Processor 11 APIC 0xb
[ 44.203550] CPU11 is up
[ 44.203661] smpboot: Booting Node 0 Processor 12 APIC 0xc
[ 44.215354] CPU12 is up
[ 44.215470] smpboot: Booting Node 0 Processor 13 APIC 0xd
[ 44.227102] CPU13 is up
[ 44.227207] smpboot: Booting Node 0 Processor 14 APIC 0xe
[ 44.239069] CPU14 is up
[ 44.239172] smpboot: Booting Node 0 Processor 15 APIC 0xf
[ 44.251111] CPU15 is up
[ 44.352020] usb usb1: root hub lost power or was reset
[ 44.352023] usb usb2: root hub lost power or was reset
[ 44.354042] virtio_blk virtio2: 1/0/0 default/read/poll queues
[ 44.354252] rtc_cmos 00:03: resume, ctrl 02
[ 44.683598] ata4: SATA link down (SStatus 0 SControl 300)
[ 44.683709] ata2: SATA link down (SStatus 0 SControl 300)
[ 44.683826] ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
[ 44.684020] ata3: SATA link down (SStatus 0 SControl 300)
[ 44.684126] ata5: SATA link down (SStatus 0 SControl 300)
[ 44.684330] ata1.00: configured for UDMA/100
[ 44.693986] ata6: SATA link down (SStatus 0 SControl 300)
[ 44.699440] usb 1-1: reset high-speed USB device number 2 using xhci_hcd
[ 44.881109] PM: hibernation: Basic memory bitmaps freed
[ 44.881453] OOM killer enabled.
[ 44.881454] Restarting tasks ... done.
[ 44.882106] PM: hibernation: hibernation exit
[ 53.205259] lrng_es_irq: Initializing per-CPU entropy pool for CPU 11 on
NUMA node 0 with hash sha512
I then compiled and tested my leancrypto user space library to check that the
system is still stable - no issues detected.
Though, the system is a bit weird at least for me:
[ 0.000000] CPU: vendor_id 'AuthenticAMD' unknown, using generic init.
Anyhow, let us look at the error log you provided. I see the NULL pointer at
the following (both kernel logs had the same NULL pointer issue):
[ 2192.894066] BUG: kernel NULL pointer dereference, address: 0000000000000088
...
[ 2192.917882] Workqueue: events_long ucsi_resume_work [typec_ucsi]
[ 2192.926040] RIP: 0010:ucsi_resume_work+0x2d/0x90 [typec_ucsi]
So, this function caused the issue and the interesting thing is that this
function also oopsed in a workqueue. This function is in drivers/usb/typec/
ucsi/ucsi.c - as the function is not in the stock kernel, it is added with a
patch. So, we have an oops in a workqueue which is followed by problems with
workqueues. You see it very clearly that it is operating in a workqueue from
the code:
struct ucsi *ucsi_create(struct device *dev, const struct ucsi_operations
*ops)
{
...
INIT_WORK(&ucsi->resume_work, ucsi_resume_work);
Looking further at the kernel log workqueue issues:
[ 151.035457] BUG: workqueue lockup - pool cpus=3 node=0 flags=0x0 nice=0
stuck for 56s!
and so on -> so you have workqueue lockups and stalls. I would think it is
related to the oops in the workqueue which implies that at least the one
workqueue where the oops happened is now stalled. All other waiters in that
queue are stalled too now.
Continuing on, the workqueue lockups are always happening in the same work
queue (check the cpu, node). This is another hint to me that the oops in the
workqueue is the core issue.
Then we concluded that the kernel compiled with config 2 works for you. The
diff of the configuration for the problematic kernel 4 shows the following
changes for LRNG (among large numbers of other changes):
…-LRNG_DRNG_KCAPI m
-> the KCAPI DRNG interface is removed, i.e. DRNGs offered by the kernel
crypto API (at the moment it is only ansi_cprng) cannot be used
-LRNG_SWITCH_DRNG_KCAPI m
-> helper to allow LRNG_DRNG_KCAPI to be selected for make menuconfig
LRNG_ACVT_HASH n -> y
-> enable hash ACVT test interface
LRNG_COLLECTION_SIZE 1024 -> 2048
LRNG_COLLECTION_SIZE_1024 y -> n
LRNG_COLLECTION_SIZE_2048 n -> y
-> increase of the IRQ/scheduler per-CPU entropy pool
LRNG_DRBG m -> y
-> force the SP800-90A DRBG to be used after boot
LRNG_HASH_KCAPI m -> y
LRNG_HWRAND_IF m -> y
LRNG_IRQ_PERF n -> y
LRNG_KCAPI_IF m -> y
LRNG_RAW_ARRAY n -> y
LRNG_RAW_HIRES_ENTROPY n -> y
LRNG_RAW_IRQ_ENTROPY n -> y
LRNG_RAW_JIFFIES_ENTROPY n -> y
LRNG_RAW_REGS_ENTROPY n -> y
LRNG_RAW_RETIP_ENTROPY n -> y
LRNG_RAW_SCHED_HIRES_ENTROPY n -> y
LRNG_RAW_SCHED_NVCSW_ENTROPY n -> y
LRNG_RAW_SCHED_PID_ENTROPY n -> y
LRNG_RAW_SCHED_START_TIME_ENTROPY n -> y
LRNG_RUNTIME_FORCE_SEEDING_DISABLE n -> y
LRNG_RUNTIME_MAX_WO_RESEED_CONFIG n -> y
LRNG_SCHED_PERF n -> y
-> all test interfaces are enabled
LRNG_SWITCH_DRBG m -> y
-> helper for LRNG_DRBG
With all of these considerations, could you please help me how you concluded
that the LRNG patch series is the culprit of the issues you see?
Thanks
Stephan
|
Pecause 6.1-pf6 had dropped LRNG and it worked again. I also attach a config of that custom compiled kernel I used:
But maybe the problem appears in the combination of ucsi and LRNG (and the real bug might be in ucsi, or in LRNG, or somewhere completely elsewhere)? Anyway, I find both How I came to the conclusion that they are in the vanilla kernels:
as well as
Regards! EDIT: I have to correct myself: |
Am Sonntag, 26. Februar 2023, 18:54:29 CET schrieb dreirund:
Hi dreirund,
> With all of these considerations, could you please help me how you
> concluded that the LRNG patch series is the culprit of the issues you
> see?
Pecause 6.1-pf6 had dropped LRNG and it worked again.
Ok, let me get 6.1-pf6 and check the differences.
I also attach a config of that custom compiled kernel I used:
[`.config_6.1-pf6-custom.kconf.txt`](https://github.com/smuellerDD/lrng/fil
es/10834338/default.config_6.1-pf6-custom.kconf.txt).
Perfect, only the LRNG options are gone.
> ```
> [...]
> [ 2192.917882] Workqueue: events_long ucsi_resume_work [typec_ucsi]
> [ 2192.926040] RIP: 0010:ucsi_resume_work+0x2d/0x90 [typec_ucsi]
> ```
> [...]
> This function is in `drivers/usb/typec/ucsi/ucsi.c` - as the function is
> not in the stock kernel, it is added with a patch.
But maybe the problem appears in the combination of ucsi and LRNG (and the
real bug _might_ be in ucsi, or in LRNG, or somewhere completely
elsewhere)?
Absolutely. My current issue is that I am unsure how to trigger the issue.
Anyway, I find both `ucsi.c` and `ucsi_resume_work()` _are_ in fact in the
vanilla kernels
Ok, then it has been added in more recent kernels - I only checked 6.1.0
vanilla.
Ciao
Stephan
|
Am Sonntag, 26. Februar 2023, 18:54:29 CET schrieb dreirund:
Hi dreirund,
> With all of these considerations, could you please help me how you
> concluded that the LRNG patch series is the culprit of the issues you
> see?
Pecause 6.1-pf6 had dropped LRNG and it worked again.
I also attach a config of that custom compiled kernel I used:
[`.config_6.1-pf6-custom.kconf.txt`](https://github.com/smuellerDD/lrng/fil
es/10834338/default.config_6.1-pf6-custom.kconf.txt).
> ```
> [...]
> [ 2192.917882] Workqueue: events_long ucsi_resume_work [typec_ucsi]
> [ 2192.926040] RIP: 0010:ucsi_resume_work+0x2d/0x90 [typec_ucsi]
Can you resolve the source code line that caused the oops?
gdb ...usci.o
list *(ucsi_resume_work+0x2d)
Thanks
Stephan
|
Can you resolve the source code line that caused the oops?
`gdb ...usci.o`
`list *(ucsi_resume_work+0x2d)`
For linux-6.1-pf5 (which is based on 6.1.10):
`gdb drivers/usb/typec/ucsi/ucsi.o`:
```
GNU gdb (GDB) 12.1
Copyright (C) 2022 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-pc-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<https://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from drivers/usb/typec/ucsi/ucsi.o...
(No debugging symbols found in drivers/usb/typec/ucsi/ucsi.o)
```
At the `gdb` prompt, entering
`list *(ucsi_resume_work+0x2d)`:
```
No symbol table is loaded. Use the "file" command.
```
…---
Anyway, I have the ucsi stuff as loadable kernel module.
Maybe you can trigger the issue if you load the module or compile it directly into the kernel?
But maybe the issue triggers only when the code is loaded _and_ some more or less specific USB-C hardware is present or doing stuff?
(I have one USB-C-port, on which there is a Hub with mouse, keyboard and audio, and also power comes in via this hub via USB-C-PD.)
|
Am Dienstag, 28. Februar 2023, 10:23:11 CET schrieb dreirund:
Hi dreirund,
> Can you resolve the source code line that caused the oops?
>
> `gdb ...usci.o`
> `list *(ucsi_resume_work+0x2d)`
For linux-6.1-pf5 (which is based on 6.1.10):
`gdb drivers/usb/typec/ucsi/ucsi.o`:
```
GNU gdb (GDB) 12.1
Copyright (C) 2022 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later
<http://gnu.org/licenses/gpl.html> This is free software: you are free to
change and redistribute it. There is NO WARRANTY, to the extent permitted
by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-pc-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<https://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from drivers/usb/typec/ucsi/ucsi.o...
(No debugging symbols found in drivers/usb/typec/ucsi/ucsi.o)
```
At the `gdb` prompt, entering
`list *(ucsi_resume_work+0x2d)`:
```
No symbol table is loaded. Use the "file" command.
```
---
Anyway, I have the ucsi stuff as loadable kernel module.
Maybe you can trigger the issue if you load the module or compile it
directly into the kernel?
Yes, that is currently what I am working on.
But maybe the issue triggers only when the code is loaded _and_ some more or
less specific USB-C hardware is present or doing stuff?
That was my next item on the list - trying it with real hardware.
(I have one USB-C-port, on which there is a Hub with mouse, keyboard and
audio, and also power comes in via this hub via USB-C-PD.)
Thanks for the pointer - I also have a USB-C replicator which I can try to
connect.
Ciao
Stephan
|
Can you resolve the source code line that caused the oops?
gdb ...usci.o
list *(ucsi_resume_work+0x2d)
I tried again, recompiled the kernel source with debugging information.
`gdb drivers/usb/typec/ucsi/ucsi.o`,
and then at the `(gdb) ` prompt
`list *(ucsi_resume_work+0x2d)`:
```
0x16dd is in ucsi_resume_work (drivers/usb/typec/ucsi/ucsi.c:1294).
1289 if (ret < 0) {
1290 dev_err(ucsi->dev, "failed to re-enable notifications (%d)\n", ret);
1291 return;
1292 }
1293
1294 for (con = ucsi->connector; con->port; con++) {
1295 mutex_lock(&con->lock);
1296 ucsi_partner_task(con, ucsi_check_connection, 1, 0);
1297 mutex_unlock(&con->lock);
1298 }
```
|
Am Dienstag, 28. Februar 2023, 19:45:00 CET schrieb dreirund:
Hi dreirund,
Thank you, that is very good.
Ciao
Stephan
|
Am Dienstag, 28. Februar 2023, 19:45:00 CET schrieb dreirund:
Hi dreirund,
Just as a status:
- running in QEMU and having a USB device there and loading the ucsi module
does not cause anything
- recompiling the kernel with KASAN does not show any illicit memory operation
by LRNG which should cause a memory corruption that could trigger a UCSI NULL
pointer
So, I am now left trying the kernel on a real hardware with USB-C hardware.
Ciao
Stephan
|
Am Samstag, 4. März 2023, 18:48:08 CET schrieb dreirund:
Hi dreirund,
> ### *Attached error logs*
And here is a photograph I have made with my camera when I tried to send the
machine to sleep state:
---

---
I finally compiled the 6.1-pf5 kernel with the -4 configuration on OpenSUSE
Tumbleweed installed it and enabled hibernation.
I attached a Thunderbolt dock having a USB keyboard. In addition, I attacked a
USB-C replicator to the other port offered by the laptop where the replicator
has a USB stick that is mounted.
lsmod | grep ucsi shows the typec_ucsi module loaded which contains the
offending code:
```
$ lsmod | grep ucsi
ucsi_acpi 16384 0
typec_ucsi 36864 1 ucsi_acpi
roles 20480 1 typec_ucsi
typec 94208 2 typec_displayport,typec_ucsi
```
After adding resume=... to point to the swap space, I used systemctl hibernate
to suspend the system. After resumption, I see:
- dmesg shows no NULL pointer or other waitqueue stalls
- the USB keyboard attached to the Thunderbolt dock works
- the USB stick attached to the USB-C replicator works and is still mounted
- dmesg shows the following around the suspend/resume cycle:
```
[ 322.587081] Freezing remaining freezable tasks ... (elapsed 0.001 seconds)
done.
[ 322.589252] printk: Suspending console(s) (use no_console_suspend to debug)
[ 322.705855] rtc_cmos 00:01: suspend, ctrl 02
[ 323.276757] ACPI: EC: interrupt blocked
[ 323.280873] ACPI: PM: Preparing to enter system sleep state S4
[ 323.360221] ACPI: EC: event blocked
[ 323.360228] ACPI: EC: EC stopped
[ 323.360229] ACPI: PM: Saving platform NVS memory
[ 323.367866] Disabling non-boot CPUs ...
[ 323.369831] smpboot: CPU 1 is now offline
[ 323.374654] smpboot: CPU 2 is now offline
[ 323.378635] smpboot: CPU 3 is now offline
[ 323.380949] smpboot: CPU 4 is now offline
[ 323.384852] smpboot: CPU 5 is now offline
[ 323.386876] smpboot: CPU 6 is now offline
[ 323.390672] smpboot: CPU 7 is now offline
[ 323.392576] smpboot: CPU 8 is now offline
[ 323.395657] smpboot: CPU 9 is now offline
[ 323.397461] smpboot: CPU 10 is now offline
[ 323.400455] smpboot: CPU 11 is now offline
[ 323.402104] smpboot: CPU 12 is now offline
[ 323.403690] smpboot: CPU 13 is now offline
[ 323.405778] smpboot: CPU 14 is now offline
[ 323.407405] smpboot: CPU 15 is now offline
[ 323.413076] PM: hibernation: Creating image:
[ 323.657283] PM: hibernation: Need to copy 1225875 pages
[ 323.657285] PM: hibernation: Normal pages needed: 1225875 + 1024, available
pages: 7060298
[ 323.413279] ACPI: PM: Restoring platform NVS memory
[ 323.414112] ACPI: EC: EC started
[ 323.416244] Enabling non-boot CPUs ...
[ 323.416459] x86: Booting SMP configuration:
[ 323.416460] smpboot: Booting Node 0 Processor 1 APIC 0x1
[ 323.419679] CPU1 is up
[ 323.419856] smpboot: Booting Node 0 Processor 2 APIC 0x8
[ 323.422374] CPU2 is up
[ 323.422552] smpboot: Booting Node 0 Processor 3 APIC 0x9
[ 323.425058] CPU3 is up
[ 323.425234] smpboot: Booting Node 0 Processor 4 APIC 0x10
[ 323.427861] CPU4 is up
[ 323.428038] smpboot: Booting Node 0 Processor 5 APIC 0x11
[ 323.430517] CPU5 is up
[ 323.430690] smpboot: Booting Node 0 Processor 6 APIC 0x18
[ 323.433321] CPU6 is up
[ 323.433480] smpboot: Booting Node 0 Processor 7 APIC 0x19
[ 323.435976] CPU7 is up
[ 323.436165] smpboot: Booting Node 0 Processor 8 APIC 0x20
[ 323.438857] CPU8 is up
[ 323.439045] smpboot: Booting Node 0 Processor 9 APIC 0x21
[ 323.441629] CPU9 is up
[ 323.441801] smpboot: Booting Node 0 Processor 10 APIC 0x28
[ 323.444562] CPU10 is up
[ 323.444752] smpboot: Booting Node 0 Processor 11 APIC 0x29
[ 323.447357] CPU11 is up
[ 323.447538] smpboot: Booting Node 0 Processor 12 APIC 0x30
[ 323.449856] core: cpu_atom PMU driver: PEBS-via-PT
[ 323.449860] ... version: 5
[ 323.449861] ... bit width: 48
[ 323.449862] ... generic registers: 6
[ 323.449862] ... value mask: 0000ffffffffffff
[ 323.449862] ... max period: 00007fffffffffff
[ 323.449863] ... fixed-purpose events: 3
[ 323.449863] ... event mask: 000000070000003f
[ 323.450608] CPU12 is up
[ 323.450801] smpboot: Booting Node 0 Processor 13 APIC 0x32
[ 323.453718] CPU13 is up
[ 323.453906] smpboot: Booting Node 0 Processor 14 APIC 0x34
[ 323.456844] CPU14 is up
[ 323.457025] smpboot: Booting Node 0 Processor 15 APIC 0x36
[ 323.459981] CPU15 is up
[ 323.465054] ACPI: PM: Waking up from system sleep state S4
[ 323.489810] ACPI: EC: interrupt unblocked
[ 323.806467] ACPI: EC: event unblocked
[ 323.806958] usb usb3: root hub lost power or was reset
[ 323.806961] usb usb4: root hub lost power or was reset
[ 323.808401] xhci_hcd 0000:00:14.0: dma_pool_destroy xHCI input/output
contexts, 00000000641fafa2 busy
[ 323.810492] rtc_cmos 00:01: resume, ctrl 02
[ 323.811052] usb usb5: root hub lost power or was reset
[ 323.811054] usb usb6: root hub lost power or was reset
[ 323.811685] usb usb7: root hub lost power or was reset
[ 323.811687] usb usb8: root hub lost power or was reset
[ 323.812918] usb usb9: root hub lost power or was reset
[ 323.812920] usb usb10: root hub lost power or was reset
[ 323.814924] usb usb11: root hub lost power or was reset
[ 323.814926] usb usb12: root hub lost power or was reset
[ 323.815209] usb usb1: root hub lost power or was reset
[ 323.815211] usb usb2: root hub lost power or was reset
[ 323.816358] xhci_hcd 0000:00:0d.0: dma_pool_destroy xHCI input/output
contexts, 000000006c128350 busy
[ 323.816361] xhci_hcd 0000:00:0d.0: dma_pool_destroy xHCI input/output
contexts, 00000000796c550c busy
[ 323.816364] xhci_hcd 0000:00:0d.0: dma_pool_destroy xHCI input/output
contexts, 000000000cf28021 busy
[ 323.881515] nvme nvme0: 16/0/0 default/read/poll queues
[ 324.297865] usb 9-1: reset full-speed USB device number 2 using xhci_hcd
[ 324.307905] usb 3-3: reset high-speed USB device number 2 using xhci_hcd
[ 324.317979] usb 7-1: reset full-speed USB device number 2 using xhci_hcd
[ 324.367876] usb 2-3: reset SuperSpeed USB device number 2 using xhci_hcd
[ 324.637821] usb 9-4: reset full-speed USB device number 3 using xhci_hcd
[ 324.647829] usb 3-10: reset full-speed USB device number 4 using xhci_hcd
[ 324.840531] intel-spi 0000:00:1f.5: 0xb7 not supported
[ 324.977856] usb 10-2: reset SuperSpeed USB device number 2 using xhci_hcd
[ 325.021165] r8152 10-2:1.0: skip request firmware
[ 325.035649] r8152 10-2:1.0: load rtl8153b-2 v1 10/23/19 successfully
[ 325.498146] usb 2-3.2: reset SuperSpeed USB device number 3 using xhci_hcd
[ 325.628220] usb 2-3.4: reset SuperSpeed USB device number 4 using xhci_hcd
[ 325.917862] usb 3-3.1: reset high-speed USB device number 5 using xhci_hcd
[ 326.148325] usb 2-3.2.3: reset SuperSpeed USB device number 5 using
xhci_hcd
[ 326.185640] r8152 2-3.2.3:1.0: skip request firmware
[ 326.207761] r8152 2-3.2.3:1.0: load rtl8153a-4 v2 02/07/20 successfully
[ 326.247952] usb 3-3.2: reset high-speed USB device number 6 using xhci_hcd
[ 327.537991] usb 3-3.2.2: reset high-speed USB device number 7 using
xhci_hcd
[ 327.734974] mei_hdcp 0000:00:16.0-b638ab7e-94e2-4ea2-a552-d1c54b627f04:
bound 0000:00:02.0 (ops i915_hdcp_component_ops)
[ 327.735053] PM: hibernation: Basic memory bitmaps freed
```
Thus I am unable to replicate what you see. Side note: I am writing these
lines on the fully functional KDE/Kmail system that hibernated during the
process. I.e. it looks fully functional to me.
If you have any idea what else I should try for replicating what you see, I am
all ears.
|
Thanks for your efforts.
I have no other idea than debugging on the machine where it happens.
Can you tell what I can do that helps you tracking it down? (How to
compile the kernel, what to do to get desired logs, ...)?
I have no idea of kernel code, almost no idea of C-code and of
debugging of compiled code.
Regards!
|
Am Sonntag, 5. März 2023, 19:38:49 CET schrieb dreirund:
Hi dreirund,
Thanks for your efforts.
I have no other idea than debugging on the machine where it happens.
Can you tell what I can do that helps you tracking it down? (How to
compile the kernel, what to do to get desired logs, ...)?
I have no idea of kernel code, almost no idea of C-code and of
debugging of compiled code.
Let us first try to do without recompilation - follow the following general
steps and stop when you see no NULL/workqueue any more.
1. check if it relates to registered USB-C device
a) reboot system without USB-C device attached
b) suspend/resume
c) check for NULL pointer / workqueue stall
2. check if it relates to the USB-C driver
a) reboot system without USB-C device attached
b) remove drivers:
sudo rmmod ucsi_acpi
sudo rmmod typec_ucsi
c) suspend/resume
d) check for NULL pointer / workqueue stall
Ciao
Stephan
|
OK, to get a clean testing environment I actually did start a recompile with a patched vanilla kernel. To at first reproduce as closesly as possible my failing setup, I took vanilla kernel 6.1.12 and the LRNG patchset v48 from where I applied the patches Then, when trying to compile the kernel, I get the error More context in the output of
Full make log attached: I then tried to just issue another
Then trying
Now about to try vanilla kernel 6.1.12 with LRNG patchset v49. |
Am Montag, 13. März 2023, 14:36:39 CET schrieb dreirund:
Hi dreirund,
OK, to get a clean testing environment I actually did start a recompile with
a patched vanilla kernel.
To at first reproduce as closesly as possible my failing setup, I took
[vanilla kernel
6.1.12](https://cdn.kernel.org/pub/linux/kernel/v6.x/linux-6.1.19.tar.xz)
and the [LRNG patchset
v48](https://github.com/smuellerDD/lrng/archive/refs/tags/v48.tar.gz) from
where I applied the patches `kernel_patches/v6.1/*.patch` (except
`v48-0000-cover-letter.patch` since it contains only "garbage" (no actual
patch data, only descriptive text).
Then, when trying to compile the kernel, I get the error
`vma.c:(.text+0x1151): undefined reference to `__get_random_u32_below'`
There was a new change added on 6.1.x backported from 6.2. This is handled
with https://github.com/smuellerDD/lrng/commit/
6784a5d
Ciao
Stephan
|
Same with latest LRNG release v49:
Is your
not yet in any release? |
Am Montag, 13. März 2023, 17:49:01 CET schrieb dreirund:
Hi dreirund,
> *There was a new change added on 6.1.x backported from 6.2.*
Same with latest LRNG release
[v49](https://github.com/smuellerDD/lrng/archive/refs/tags/v49.tar.gz):
```
[...]
LD .tmp_vmlinux.kallsyms1
ld: vmlinux.o: in function `map_vdso_randomized':
vma.c:(.text+0x1151): undefined reference to `__get_random_u32_below'
ld: vmlinux.o: in function `bpf_jit_binary_alloc':
(.text+0x232695): undefined reference to `__get_random_u32_below'
ld: vmlinux.o: in function `bpf_jit_binary_pack_alloc':
(.text+0x233d26): undefined reference to `__get_random_u32_below'
ld: vmlinux.o: in function `__do_sys_swapon':
swapfile.c:(.text+0x319a30): undefined reference to `__get_random_u32_below'
ld: vmlinux.o: in function `scan_swap_map_slots':
swapfile.c:(.text+0x31b2a9): undefined reference to `__get_random_u32_below'
ld: vmlinux.o:slub.c:(.text+0x3364aa): more undefined references to
`__get_random_u32_below' follow make[1]: *** [scripts/Makefile.vmlinux:34:
vmlinux] Error 1
make: *** [Makefile:1248: vmlinux] Error 2
```
I think that something went wrong with the application of yoru patch:
$ grep __get_random_u32_below *.patch
v49-0023-LRMG-add-drop-in-replacement-random-4-API.patch:+u32
__get_random_u32_below(u32 ceil)
v49-0023-LRMG-add-drop-in-replacement-random-4-API.patch:
+EXPORT_SYMBOL(__get_random_u32_below);
Ciao
Stephan
|
@dreirund |
Not in
So that is only present for 6.2.x kernels, not (backported to) 6.1.x kernels (and 6.1.x is LTS, so it should be maintained I think). Regards! |
How much is this in sync with this repository "github.com/smuellerDD/lrng" here? |
Am Mittwoch, 15. März 2023, 15:36:55 CET schrieb dreirund:
Hi dreirund,
> I think that something went wrong with the application of yoru patch:
>
> `$ grep __get_random_u32_below *.patch`
> ```
> v49-0023-LRMG-add-drop-in-replacement-random-4-API.patch:+u32
> __get_random_u32_below(u32 ceil)
> v49-0023-LRMG-add-drop-in-replacement-random-4-API.patch:
> +EXPORT_SYMBOL(__get_random_u32_below); ```
Not in `kernel_patches/6.1`, only in `kernel_patches/6.2`:
`grep -r __get_random_u32_below kernel_patches`:
```
kernel_patches/v6.2/v49-0023-LRMG-add-drop-in-replacement-random-4-API.patch
:+u32 __get_random_u32_below(u32 ceil)
kernel_patches/v6.2/v49-0023-LRMG-add-drop-in-replacement-random-4-API.patc
h:+EXPORT_SYMBOL(__get_random_u32_below); ```
So that is only present for 6.2.x kernels, not (backported to) 6.1.x kernels
(and 6.1.x is LTS, so it should be maintained I think).
As I pointed out, you need to add the followup patch which you simply need to
apply on top https://github.com/smuellerDD/lrng/commit/
6784a5d
It is unfortunate that the kernel added this new function inbetween stable
releases...
Regards!
Ciao
Stephan
|
OK, I didn't got that I still need it when I use your v49-release, because said commit was from 2023-01-08, and the v49-release was "2 weeks ago" (so ca. 2023-03-01, definitely after the commit), so I assumed that you have incorporated this fix. -- Is there any reason that you do not incorporate it? You could make two 6.1-subdirectories, one 6.1.0-x and some 6.1.(x+1)+ or so. Regards! |
Am Mittwoch, 15. März 2023, 16:37:59 CET schrieb dreirund:
Hi dreirund,
> *As I pointed out, you need to add the followup patch which you simply
> need to apply on top
> 6784a5d
> 62ea9ce84*
OK, I didn't got that I still need it when I use [your
v49-release](https://github.com/smuellerDD/lrng/archive/refs/tags/v49.tar.g
z), because said commit was from 2023-01-08, and the v49-release was "2
weeks ago" (so ca. 2023-03-01, definitely after the commit), so I assumed
that you have incorporated this fix. -- Is there any reason that you do not
incorporate it? You could make two 6.1-subdirectories, one 6.1.0-x and some
6.1.(x+1)+ or so.
I am sorry, my bad:
- v48 for 6.1 would need the aforementioned patch to add
__get_random_u32_below
- v49 which is intended for 6.2 does not need the patch as it has this symbol
already.
Regards!
Ciao
Stephan
|
- v48 for 6.1 would need the aforementioned patch to add `__get_random_u32_below`
- v49 which is intended for 6.2 does not need the patch as it has this symbol already.
I use v49 and use the 6.1 directory for "6.1" kernel. Since the commit message of `lrng/tree/v49/backports/v49-6.1.14` says "add v49 backports", I assumed that v49 is also for kernel 6.1 with the most recent backports applied.
I am a bit confused about what is meant to be used in which way, but I see that in v49 said patch is not applied in the 6.1 directory.
|
Am Mittwoch, 15. März 2023, 16:58:14 CET schrieb dreirund:
Hi dreirund,
> - v48 for 6.1 would need the aforementioned patch to add
> `__get_random_u32_below` - v49 which is intended for 6.2 does not need
> the patch as it has this symbol already.
I use v49 and use the 6.1 directory for "6.1" kernel. Since the commit
message of `lrng/tree/v49/backports/v49-6.1.14` says "add v49 backports", I
assumed that v49 is also for kernel 6.1 with the most recent backports
applied.
Absolutely, yes.
I am a bit confused about what is meant to be used in which way, but I see
that in v49 said patch is not applied in the 6.1 directory.
Ok, long explanation:
The different versions v49, v48 are commonly released these days when a new
Linux kernel comes out. So, we have releases v49 for 6.2, v48 for 6.1, v47 for
6.0 and so on.
Each new version may have some updates compared to the previous version in
addition to just making the LRNG work on the respective kernel version. These
changes to the LRNG are always documented in the 0000 patch file.
For each of these vXX versions, I provide backport patches to Linux long-term
support kernels. 6.1 happens to be one of those LTS kernels. This allows the
latest LRNG patch series to be used with LTS kernels.
This implies the following:
- v48 is intended to be used with 6.1. However, during the "stable"
development cycle of 6.1 this one offending symbol was added which causes you
grief. To handle that, I provide an extra update patch to v48 to make it work
with latter 6.1 kernels.
- v49 is inteded for 6.2. Yet, there are backport patches to 6.1 available as
6.1 is an LTS kernel. v49 does include the symbol that causes you grief.
Ciao
Stephan
|
As I reported here with my (I did never use git checkout, but always did download the v48/ v49 tarballs.) |
OK, I have done some more indepth testing with different conditions. I do not observe the problem with vanilla kernel 6.1.12 and LRNG patchsets v48 or v49 (both with additionally this patch which adds Intermezzo: About the LRNG version that is used in 6.1-pf5: I was asking @pfactum about which exact LRNG code he did use, the answer was somehow reverse engineered:
— maybe you two can sort out if LRNG was applied correctly. I have not yet patched this (http://ix.io/4r6g) to vanilla kernel to test. And now to my findings: I had four modules loaded which are related to
Weather something is connected to the USB-C port or not does not affect the result. Here are the results of all my tests (
And another remark: Whenever
(Addendum: I see this also with a kernel (6.2-pf4) without LRNG) and I now also see a
about 9 seconds after my reload (I have not bisected when this message appears and when not; I am currently running in the session where I have unloaded all four modules and reloaded, where I now found this message.) I am now at the end of what I see I can do. @smuellerDD: If it makes sense to dig here deeper interactively, I am very happy to meet in person as teasered in our private email communication. Regards! |
To cross-check, I wanted to compile and test 6.1-pf6 (where LRNG has been dropped) with LRNG patchset v48 (and this necessary additional patch). But I could not apply the patch:
|
A Or do you mean that |
I now did a cross-test with patching ↗ that LRNG into vanilla kernel 6.1.12, that according to @pfactum was used in kernel 6.1-pf5:
This also did not reproduce the issue. So the initial issue seems not to come from LRNG alone, also not from vanilla kernel alone, also not from a combination of vanilla kernel and LRNG, but from a combination of LRNG and more changes done in 6.1-pf*. If there is a wish to investigate further I think @pfactum should have interest, otherwise I propose to stop further investigation and leave a "bug buried somewhere" alone :-(. |
As a suggestion by @pfactum, the maintainer of the -pf Linux kernel (patchset), I report here that I had issues at sleep and hibernation with the LRNG patchset.
Affected kernels
I had it with
I had it with
Problem description
I got
BUG: kernel NULL pointer dereference, address: 0000000000000088
and then subsequent
BUG: workqueue lockup - pool cpus=3 node=0 flags=0x0 nice=0 stuck for [number]s!
at suspend-to-disk and at sleep.
When doing suspend-to-disk, the machine did not power off and showed the kernel errors. However, when I forced power-off, I could resume, and got an unstable working environment (programmes started to stall or not to execute at all) spitting out
dmesg
logs.When doing sleep, I had to force power off to get the machine usable again.
Attached error logs
I attach two
dmesg
logs I could capture after resume (the first log was captured after longer time use, then suspend, then resume, and then having it sit and tried to beeing used for some time; the second log after suspend shortly after bootup and not so much usage time after resume):dmesg_after_errorneous_hibernation_forced_off_and_resume.01.log
,dmesg_after_errorneous_hibernation_forced_off_and_resume.02.log
.Attached kernel configs
I attach:
.config
s ofkernel-config.6.1.12-vanilla-custom.kconf.txt
,kernel-config.6.1.0-pf5-precompiled.kconf.txt
,kernel-config.6.0.0-pf5-custom.kconf.txt
,kernel-config.6.1.0-pf5-custom.kconf.txt
.kconfig-diff
ofkconfig-diff_-_6.1.12-vanilla-custom_-_6.1.0-pf5-custom.kconf.txt
,kconfig-diff_-_6.1.0-pf5-precompiled_-_6.1.0-pf5-custom.kconf.txt
,kconfig-diff_-_6.0.0-pf5-custom_-_6.1.0-pf5-custom.kconf.txt
.(Note that kernels i., ii. and iii. did not show the problem, but iv. does.)
Notes.
I have not the capacity to assist debugging (recompiling kernel needs a lot of time; and for my productivity I heavily rely on suspend-to-disk, so each time I reboot to another kernel I have a considerable productivity impact).
I am already running a kernel not anymore affected by this.
I report this here in the hope that it might help you nevertheless.
The text was updated successfully, but these errors were encountered: