linux-ext4.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: bugzilla-daemon@kernel.org
To: linux-ext4@vger.kernel.org
Subject: [Bug 216322] New: Freezing of tasks failed after 60.004 seconds (1 tasks refusing to freeze... task:fstrim  ext4_trim_fs - Dell XPS 13 9310
Date: Wed, 03 Aug 2022 20:18:26 +0000	[thread overview]
Message-ID: <bug-216322-13602@https.bugzilla.kernel.org/> (raw)

https://bugzilla.kernel.org/show_bug.cgi?id=216322

            Bug ID: 216322
           Summary: Freezing of tasks failed after 60.004 seconds (1 tasks
                    refusing to freeze... task:fstrim  ext4_trim_fs - Dell
                    XPS 13 9310
           Product: File System
           Version: 2.5
    Kernel Version: 5.19.0
          Hardware: All
                OS: Linux
              Tree: Mainline
            Status: NEW
          Severity: normal
          Priority: P1
         Component: ext4
          Assignee: fs_ext4@kernel-bugs.osdl.org
          Reporter: lenb@kernel.org
        Regression: No

The system suspend to idle path occasionally times out after 60 seconds
and throws the stack trace below.

The result is that the suspend path is aborted and the systems continues
running.

Unfortunately, when a user invokes suspend, they expect it to work,
and they may not be around (lid closed) to try it again when it aborts...

[10483.047079] PM: suspend entry (s2idle)
[10483.052777] Filesystems sync: 0.005 seconds
[10483.052782] PM: Preparing system for sleep (s2idle)
[10483.060824] Freezing user space processes ... 
[10543.024088] Freezing of tasks failed after 60.004 seconds (1 tasks refusing
to freeze, wq_busy=0):
[10543.024175] task:fstrim          state:D stack:    0 pid:225775 ppid:     1
flags:0x00004006
[10543.024183] Call Trace:
[10543.024186]  &ltTASK&gt
[10543.024192]  __schedule+0x306/0x9f0
[10543.024202]  schedule+0x5c/0xd0
[10543.024206]  schedule_timeout+0x87/0x160
[10543.024211]  ? timer_migration_handler+0xa0/0xa0
[10543.024217]  trace_clock_x86_tsc+0x20/0x20
[10543.024224]  __wait_for_common+0x8f/0x190
[10543.024228]  ? firmware_map_remove+0x9c/0x9c
[10543.024233]  wait_for_completion_io_timeout+0x1d/0x30
[10543.024237]  submit_bio_wait+0x7f/0xc0
[10543.024244]  blkdev_issue_discard+0x6e/0xc0
[10543.024250]  ext4_try_to_trim_range+0x1f0/0x440
[10543.024259]  ext4_trim_fs+0x327/0x4d0
[10543.024266]  __ext4_ioctl+0x2d3/0x1590
[10543.024270]  ? putname+0x59/0x70
[10543.024275]  ? __seccomp_filter+0x3a6/0x5c0
[10543.024283]  ext4_ioctl+0xe/0x20
[10543.024287]  __x64_sys_ioctl+0x92/0xd0
[10543.024293]  do_syscall_64+0x59/0x90
[10543.024297]  ? do_syscall_64+0x69/0x90
[10543.024300]  entry_SYSCALL_64_after_hwframe+0x63/0xcd
[10543.024306] RIP: 0033:0x7f2ae6b1aaff
[10543.024312] RSP: 002b:00007ffd41e6de60 EFLAGS: 00000246 ORIG_RAX:
0000000000000010
[10543.024317] RAX: ffffffffffffffda RBX: 00007ffd41e6dfb0 RCX:
00007f2ae6b1aaff
[10543.024319] RDX: 00007ffd41e6ded0 RSI: 00000000c0185879 RDI:
0000000000000003
[10543.024322] RBP: 00005621c3642e90 R08: 00005621c3642e90 R09:
0000000000000000
[10543.024324] R10: 0000000000000000 R11: 0000000000000246 R12:
0000000000000003
[10543.024326] R13: 00005621c3642ce0 R14: 00005621c3642980 R15:
00005621c3642980
[10543.024330]  &lt/TASK&gt
[10543.024343] OOM killer enabled.
[10543.024344] Restarting tasks ... done.
[10543.085776] PM: suspend exit

-- 
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.

             reply	other threads:[~2022-08-03 20:18 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-08-03 20:18 bugzilla-daemon [this message]
2022-08-03 20:26 ` [Bug 216322] Freezing of tasks failed after 60.004 seconds (1 tasks refusing to freeze... task:fstrim ext4_trim_fs - Dell XPS 13 9310 bugzilla-daemon
2022-08-04  0:44 ` bugzilla-daemon
2022-08-04 11:47   ` Lukas Czerner
2022-08-04  1:01 ` bugzilla-daemon
2022-08-04 11:47 ` bugzilla-daemon
2022-08-04 14:45   ` Theodore Ts'o
2022-08-10  0:29   ` Dave Chinner
2022-08-04 14:45 ` bugzilla-daemon
2022-08-09 13:40 ` bugzilla-daemon
2022-08-09 17:48 ` bugzilla-daemon
2022-08-10  0:29 ` bugzilla-daemon
2022-09-09  6:02 ` bugzilla-daemon
2022-09-26 15:59 ` bugzilla-daemon
2022-09-27 13:24 ` bugzilla-daemon
2023-04-19 14:58 ` bugzilla-daemon
2023-04-21 23:46 ` bugzilla-daemon
2023-09-06 16:28 ` bugzilla-daemon
2023-09-13 15:02 ` bugzilla-daemon
2023-09-13 15:03 ` bugzilla-daemon
2023-09-25 12:04 ` bugzilla-daemon

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-216322-13602@https.bugzilla.kernel.org/ \
    --to=bugzilla-daemon@kernel.org \
    --cc=linux-ext4@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).