1 |
Hello. I am upset about one issue that pops up from time to time which |
2 |
I see now even more frequently than before. This has literally become |
3 |
a pain in some place for me. |
4 |
The issue is simple: gentoo, linux kernel 4.19.97, regular asus |
5 |
laptop. I'm doing my business, closing the lid. I expect it to suspend |
6 |
and stay in that mode. |
7 |
And my laptop doesn't. |
8 |
|
9 |
Some time ago the reason was mounted sshfs (I see fuse stuff in the |
10 |
backtrace). Today, as you can see, baloo from KDE. Sometimes I see |
11 |
"file.so". |
12 |
When closing the lid it try for 20 seconds and gives up. Then some |
13 |
time it tries again, always without success. Suddenly it gives up to |
14 |
suspend and stays in a working state or some weird state when fan |
15 |
still spinning but slowing down, power light is on and it wakes up |
16 |
only by power button. It can discharge during the night or I can just |
17 |
throw it in a bag where it stays awake and become hot. |
18 |
|
19 |
Is there some way to tweak a kernel to not do that? I've noticed that |
20 |
it is not only the gentoo or this laptop. I see this on different |
21 |
hardware and different system (ubuntu specifically). I started to |
22 |
think if it's a systemd thing because I've started to see it probably |
23 |
the same time ubuntu switched to systemd. |
24 |
|
25 |
Windows have no issues to sleep on the same hardware and suspends every time. |
26 |
|
27 |
Part of dmesg with this message. I closed the lid, power light is on. |
28 |
After a while I opened it and stroke a power button: |
29 |
|
30 |
[ 283.880396] PM: suspend entry (deep) |
31 |
[ 283.880398] PM: Syncing filesystems ... done. |
32 |
[ 284.176615] Freezing user space processes ... |
33 |
[ 304.175823] Freezing of tasks failed after 20.004 seconds (1 tasks |
34 |
refusing to freeze, wq_busy=0): |
35 |
[ 304.175864] baloo_file_extr D13184 11112 11111 0x00000004 |
36 |
[ 304.175874] Call Trace: |
37 |
[ 304.175888] ? __schedule+0x26f/0x720 |
38 |
[ 304.175893] schedule+0x2d/0x80 |
39 |
[ 304.175898] io_schedule+0xd/0x30 |
40 |
[ 304.175904] generic_file_read_iter+0x319/0xa30 |
41 |
[ 304.175910] ? page_cache_tree_insert+0xd0/0xd0 |
42 |
[ 304.175915] __vfs_read+0x11e/0x170 |
43 |
[ 304.175920] vfs_read+0x98/0x150 |
44 |
[ 304.175924] ksys_pread64+0x60/0xa0 |
45 |
[ 304.175929] do_syscall_64+0x43/0xf0 |
46 |
[ 304.175933] entry_SYSCALL_64_after_hwframe+0x44/0xa9 |
47 |
[ 304.175937] RIP: 0033:0x7fae63191733 |
48 |
[ 304.175947] Code: Bad RIP value. |
49 |
[ 304.175949] RSP: 002b:00007ffd5069d670 EFLAGS: 00000293 ORIG_RAX: |
50 |
0000000000000011 |
51 |
[ 304.175953] RAX: ffffffffffffffda RBX: 00005573b13dcff0 RCX: 00007fae63191733 |
52 |
[ 304.175955] RDX: 0000000000000100 RSI: 00005573b13dd031 RDI: 0000000000000013 |
53 |
[ 304.175956] RBP: 00005573b13dd031 R08: 0000000000000000 R09: 0000000000000007 |
54 |
[ 304.175958] R10: 0000000002b08e9a R11: 0000000000000293 R12: 00007ffd5069dac8 |
55 |
[ 304.175960] R13: 00007ffd5069d7d0 R14: 00000000ffffffff R15: 00007ffd5069d860 |
56 |
[ 304.175987] OOM killer enabled. |
57 |
[ 304.175988] Restarting tasks ... done. |
58 |
[ 304.193089] PM: suspend exit |
59 |
[ 304.193150] PM: suspend entry (s2idle) |
60 |
[ 304.193151] PM: Syncing filesystems ... done. |
61 |
[ 304.626894] Freezing user space processes ... (elapsed 0.002 seconds) done. |
62 |
[ 304.629577] OOM killer disabled. |
63 |
[ 304.629578] Freezing remaining freezable tasks ... (elapsed 0.000 |
64 |
seconds) done. |
65 |
[ 304.630520] Suspending console(s) (use no_console_suspend to debug) |
66 |
[ 304.631663] wlp2s0: deauthenticating from xx:xx:xx:xx:xx:xx by |
67 |
local choice (Reason: 3=DEAUTH_LEAVING) |
68 |
[ 304.640435] sd 0:0:0:0: [sda] Synchronizing SCSI cache |
69 |
[ 304.640478] sd 2:0:0:0: [sdb] Synchronizing SCSI cache |
70 |
[ 304.640656] sd 0:0:0:0: [sda] Stopping disk |
71 |
[ 304.644025] sd 2:0:0:0: [sdb] Stopping disk |
72 |
[ 305.415243] ACPI: EC: interrupt blocked |
73 |
[ 751.841563] ACPI: EC: interrupt unblocked |
74 |
[ 751.983903] hpet1: lost 310 rtc interrupts |
75 |
[ 751.991105] sd 0:0:0:0: [sda] Starting disk |
76 |
[ 751.991126] sd 2:0:0:0: [sdb] Starting disk |
77 |
[ 751.993715] iwlwifi 0000:02:00.0: Applying debug destination EXTERNAL_DRAM |
78 |
[ 752.124938] iwlwifi 0000:02:00.0: Applying debug destination EXTERNAL_DRAM |
79 |
[ 752.192844] iwlwifi 0000:02:00.0: FW already configured (0) - re-configuring |
80 |
[ 752.302228] ata3: SATA link up 6.0 Gbps (SStatus 133 SControl 300) |
81 |
[ 752.302619] ata1: SATA link up 6.0 Gbps (SStatus 133 SControl 300) |
82 |
[ 752.306480] ata3.00: configured for UDMA/133 |
83 |
[ 754.031499] ata1.00: ACPI cmd ef/10:06:00:00:00:00 (SET FEATURES) succeeded |
84 |
[ 754.031504] ata1.00: ACPI cmd f5/00:00:00:00:00:00 (SECURITY FREEZE |
85 |
LOCK) filtered out |
86 |
[ 754.031508] ata1.00: ACPI cmd b1/c1:00:00:00:00:00 (DEVICE |
87 |
CONFIGURATION OVERLAY) filtered out |
88 |
[ 754.035587] ata1.00: ACPI cmd ef/10:06:00:00:00:00 (SET FEATURES) succeeded |
89 |
[ 754.035592] ata1.00: ACPI cmd f5/00:00:00:00:00:00 (SECURITY FREEZE |
90 |
LOCK) filtered out |
91 |
[ 754.035596] ata1.00: ACPI cmd b1/c1:00:00:00:00:00 (DEVICE |
92 |
CONFIGURATION OVERLAY) filtered out |
93 |
[ 754.037029] ata1.00: configured for UDMA/100 |
94 |
[ 754.045288] ata3.00: Enabling discard_zeroes_data |
95 |
[ 754.046007] OOM killer enabled. |
96 |
[ 754.046009] Restarting tasks ... done. |
97 |
[ 754.195279] PM: suspend exit |
98 |
|
99 |
-- |
100 |
Sergey Filatov (raxp) |
101 |
Telegram: @raxpyraxp |