liburing: INFO: task kworker/u8:102:403349 blocked for more than 1228 seconds.

I am not sure what is happening here.

I didn’t realize that I had hung tasks, while I was watching a YouTube video, suddenly the sound vanished and my system froze for about 5 seconds. I checked dmesg found this log (see the attachment). I saw pavucontrol in my kernel log (so it must be something to do with sound media software).

^ Also, several moment before that happened, I ran make runtests liburing as user (not root). Can be seen several cq-size test segfault here.

Kernel Version: 5.14.4-icetea-stable-00380-gd6f7bb5bb290

I don’t know how to reproduce this. I am still trying to figure out how to reproduce this. If anyone has any clue or recommendation what should I do, please shed some light. I will be happy to investigate. I will be updating this issue.

Attachment

Click to toggle the attachment
<6>[82631.341709][    C1] TCP: request_sock_TCP: Possible SYN flooding on port 47607. Sending cookies.  Check SNMP counters.
<6>[85331.606607][T371927] PM: suspend entry (deep)
<6>[85339.324295][T371927] Filesystems sync: 7.697 seconds
<6>[85339.460260][T371927] Freezing user space processes ... (elapsed 0.015 seconds) done.
<6>[85339.475679][T371927] OOM killer disabled.
<6>[85339.475681][T371927] Freezing remaining freezable tasks ... (elapsed 0.001 seconds) done.
<6>[85339.477355][T371927] printk: Suspending console(s) (use no_console_suspend to debug)
<5>[85339.515431][T371950] sd 0:0:0:0: [sda] Synchronizing SCSI cache
<5>[85339.831095][T371950] sd 0:0:0:0: [sda] Stopping disk
<6>[85340.398619][T371927] ACPI: EC: interrupt blocked
<6>[85340.430372][T371927] ACPI: PM: Preparing to enter system sleep state S3
<6>[85340.431594][T371927] ACPI: EC: event blocked
<6>[85340.431596][T371927] ACPI: EC: EC stopped
<6>[85340.431598][T371927] ACPI: PM: Saving platform NVS memory
<6>[85340.431607][T371927] Disabling non-boot CPUs ...
<4>[85340.433460][   T18] IRQ 42: no longer affine to CPU1
<6>[85340.434540][T371927] smpboot: CPU 1 is now offline
<4>[85340.437939][   T24] IRQ 39: no longer affine to CPU2
<6>[85340.439017][T371927] smpboot: CPU 2 is now offline
<6>[85340.443658][T371927] smpboot: CPU 3 is now offline
<6>[85340.446047][T371927] ACPI: PM: Low-level resume complete
<6>[85340.446109][T371927] ACPI: EC: EC started
<6>[85340.446111][T371927] ACPI: PM: Restoring platform NVS memory
<6>[85340.446137][T371927] LVT offset 0 assigned for vector 0x400
<6>[85340.446545][T371927] Enabling non-boot CPUs ...
<6>[85340.447137][T371927] x86: Booting SMP configuration:
<6>[85340.447141][T371927] smpboot: Booting Node 0 Processor 1 APIC 0x1
<6>[85340.447622][    T0] microcode: CPU1: patch_level=0x07030105
<6>[85340.450238][   T16] ACPI: \_PR_.C001: Found 2 idle states
<6>[85340.451168][T371927] CPU1 is up
<6>[85340.451756][T371927] smpboot: Booting Node 0 Processor 2 APIC 0x2
<6>[85340.452254][    T0] microcode: CPU2: patch_level=0x07030105
<6>[85340.454887][   T22] ACPI: \_PR_.C002: Found 2 idle states
<6>[85340.456016][T371927] CPU2 is up
<6>[85340.456619][T371927] smpboot: Booting Node 0 Processor 3 APIC 0x3
<6>[85340.457120][    T0] microcode: CPU3: patch_level=0x07030105
<6>[85340.459741][   T28] ACPI: \_PR_.C003: Found 2 idle states
<6>[85340.461074][T371927] CPU3 is up
<6>[85340.461717][T371927] ACPI: PM: Waking up from system sleep state S3
<6>[85340.463555][T371927] ACPI: EC: interrupt unblocked
<6>[85340.495955][T371927] ACPI: EC: event unblocked
<5>[85340.502283][T371987] sd 0:0:0:0: [sda] Starting disk
<6>[85340.517912][T368845] [drm] PCIE GART of 2048M enabled (table at 0x000000000030E000).
<6>[85340.518236][T368845] radeon 0000:00:01.0: WB enabled
<6>[85340.518255][T368845] radeon 0000:00:01.0: fence driver on ring 0 use gpu addr 0x0000000040000c00
<6>[85340.518260][T368845] radeon 0000:00:01.0: fence driver on ring 1 use gpu addr 0x0000000040000c04
<6>[85340.518264][T368845] radeon 0000:00:01.0: fence driver on ring 2 use gpu addr 0x0000000040000c08
<6>[85340.518267][T368845] radeon 0000:00:01.0: fence driver on ring 3 use gpu addr 0x0000000040000c0c
<6>[85340.518271][T368845] radeon 0000:00:01.0: fence driver on ring 4 use gpu addr 0x0000000040000c10
<6>[85340.518808][T368845] radeon 0000:00:01.0: fence driver on ring 5 use gpu addr 0x0000000000078d30
<6>[85340.519011][T368845] radeon 0000:00:01.0: fence driver on ring 6 use gpu addr 0x0000000040000c18
<6>[85340.519015][T368845] radeon 0000:00:01.0: fence driver on ring 7 use gpu addr 0x0000000040000c1c
<3>[85340.519491][T368845] debugfs: File 'radeon_ring_gfx' in directory '0' already present!
<3>[85340.519500][T368845] debugfs: File 'radeon_ring_cp1' in directory '0' already present!
<3>[85340.519505][T368845] debugfs: File 'radeon_ring_cp2' in directory '0' already present!
<3>[85340.519509][T368845] debugfs: File 'radeon_ring_dma1' in directory '0' already present!
<3>[85340.519514][T368845] debugfs: File 'radeon_ring_dma2' in directory '0' already present!
<6>[85340.521347][T368845] [drm] ring test on 0 succeeded in 0 usecs
<6>[85340.521443][T368845] [drm] ring test on 1 succeeded in 0 usecs
<6>[85340.521474][T368845] [drm] ring test on 2 succeeded in 0 usecs
<6>[85340.521717][T368845] [drm] ring test on 3 succeeded in 0 usecs
<6>[85340.521727][T368845] [drm] ring test on 4 succeeded in 0 usecs
<3>[85340.521731][T368845] debugfs: File 'radeon_ring_uvd' in directory '0' already present!
<6>[85340.547824][T368845] [drm] ring test on 5 succeeded in 0 usecs
<6>[85340.547848][T368845] [drm] UVD initialized successfully.
<3>[85340.547852][T368845] debugfs: File 'radeon_ring_vce1' in directory '0' already present!
<3>[85340.547858][T368845] debugfs: File 'radeon_ring_vce2' in directory '0' already present!
<6>[85340.657940][T368845] [drm] ring test on 6 succeeded in 7 usecs
<6>[85340.657961][T368845] [drm] ring test on 7 succeeded in 2 usecs
<6>[85340.657963][T368845] [drm] VCE initialized successfully.
<6>[85340.658119][T368845] [drm] ib test on ring 0 succeeded in 0 usecs
<6>[85340.658265][T368845] [drm] ib test on ring 1 succeeded in 0 usecs
<6>[85340.658408][T368845] [drm] ib test on ring 2 succeeded in 0 usecs
<6>[85340.658552][T368845] [drm] ib test on ring 3 succeeded in 0 usecs
<6>[85340.658695][T368845] [drm] ib test on ring 4 succeeded in 0 usecs
<6>[85340.694714][T371984] r8169 0000:01:00.1 enp1s0f1: Link is Down
<6>[85340.784786][T371952] usb 1-1.3: reset full-speed USB device number 3 using ehci-pci
<6>[85340.900254][T371957] usb 3-1: reset low-speed USB device number 2 using xhci_hcd
<6>[85340.975047][  T205] ata2: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
<6>[85340.977084][  T205] ata2.00: configured for UDMA/133
<6>[85340.988269][T371966] usb 1-1.4: reset high-speed USB device number 4 using ehci-pci
<6>[85341.168698][T368845] [drm] ib test on ring 5 succeeded
<6>[85341.169312][T368845] [drm] ib test on ring 6 succeeded
<6>[85341.169893][T368845] [drm] ib test on ring 7 succeeded
<6>[85342.487000][T371927] OOM killer enabled.
<6>[85342.487004][T371927] Restarting tasks ... done.
<6>[85342.641751][T371927] PM: suspend exit
<6>[85342.796436][T15044] Bluetooth: hci0: BCM: chip id 70
<6>[85342.797431][T15044] Bluetooth: hci0: BCM: features 0x06
<6>[85342.813475][T15044] Bluetooth: hci0: BCM43142A
<6>[85342.813490][T15044] Bluetooth: hci0: BCM43142A0 (001.001.011) build 0000
<6>[85342.813975][  T190] ata1: SATA link up 6.0 Gbps (SStatus 133 SControl 300)
<3>[85342.814559][T15044] Bluetooth: hci0: BCM: firmware Patch file not found, tried:
<3>[85342.814570][T15044] Bluetooth: hci0: BCM: 'brcm/BCM43142A0-04ca-2012.hcd'
<3>[85342.814575][T15044] Bluetooth: hci0: BCM: 'brcm/BCM-04ca-2012.hcd'
<6>[85342.844904][  T190] ata1.00: configured for UDMA/133
<3>[85344.959589][T371976] Bluetooth: hci0: command 0x1003 tx timeout
<3>[85344.961134][  T636] Bluetooth: hci0: unexpected event for opcode 0x1003
<6>[85636.733389][  T885] IPv6: ADDRCONF(NETDEV_CHANGE): wlp2s0: link becomes ready
<6>[95423.637810][    C0] TCP: request_sock_TCP: Possible SYN flooding on port 65293. Sending cookies.  Check SNMP counters.
<6>[95434.550972][T401053] cq-size[401053]: segfault at 7f7679122108 ip 000055bdab2c7d85 sp 00007ffcae53a5c8 error 4 in cq-size[55bdab2c7000+2000]
<6>[95434.551052][T401053] Code: 48 83 ec 80 44 89 e0 5b 5d 41 5c c3 66 0f 1f 84 00 00 00 00 00 f3 0f 1e fa 48 89 fa 41 b8 0b 00 00 00 48 8b 7f 38 48 8b 42 18 <8b> 30 44 89 c0 48 c1 e6 06 0f 05 48 8b 7a 50 48 8b 72 48 44 89 c0
<6>[95675.747680][T403499] cq-size[403499]: segfault at 7f5943359108 ip 0000562919208d85 sp 00007ffc792ed868 error 4 in cq-size[562919208000+2000]
<6>[95675.747708][T403499] Code: 48 83 ec 80 44 89 e0 5b 5d 41 5c c3 66 0f 1f 84 00 00 00 00 00 f3 0f 1e fa 48 89 fa 41 b8 0b 00 00 00 48 8b 7f 38 48 8b 42 18 <8b> 30 44 89 c0 48 c1 e6 06 0f 05 48 8b 7a 50 48 8b 72 48 44 89 c0
<6>[95939.380635][T403715] cq-size[403715]: segfault at 7f1f515cf108 ip 0000559bcbfcdd85 sp 00007fff8596c3b8 error 4 in cq-size[559bcbfcd000+2000]
<6>[95939.380669][T403715] Code: 48 83 ec 80 44 89 e0 5b 5d 41 5c c3 66 0f 1f 84 00 00 00 00 00 f3 0f 1e fa 48 89 fa 41 b8 0b 00 00 00 48 8b 7f 38 48 8b 42 18 <8b> 30 44 89 c0 48 c1 e6 06 0f 05 48 8b 7a 50 48 8b 72 48 44 89 c0
<3>[95970.707687][   T38] INFO: task kworker/u8:102:403349 blocked for more than 122 seconds.
<3>[95970.707718][   T38]       Tainted: G           OE     5.14.4-icetea-stable-00380-gd6f7bb5bb290 #1
<3>[95970.707725][   T38] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
<6>[95970.707730][   T38] task:kworker/u8:102  state:D stack:    0 pid:403349 ppid:     2 flags:0x00004000
<6>[95970.707744][   T38] Workqueue: events_unbound io_ring_exit_work
<6>[95970.707761][   T38] Call Trace:
<6>[95970.707774][   T38]  __schedule+0x3b8/0x15a0
<6>[95970.707791][   T38]  ? lock_release+0xac/0x200
<6>[95970.707800][   T38]  ? register_lock_class+0x3d/0x490
<6>[95970.707814][   T38]  schedule+0x3f/0xa0
<6>[95970.707820][   T38]  schedule_timeout+0xde/0x120
<6>[95970.707829][   T38]  ? wait_for_completion+0x7c/0xe0
<6>[95970.707834][   T38]  ? lock_release+0xac/0x200
<6>[95970.707845][   T38]  wait_for_completion+0x84/0xe0
<6>[95970.707856][   T38]  io_ring_exit_work+0x1b6/0x690
<6>[95970.707862][   T38]  ? register_lock_class+0x3d/0x490
<6>[95970.707868][   T38]  ? finish_task_switch.isra.0+0x139/0x370
<6>[95970.707879][   T38]  ? io_uring_del_tctx_node+0xe0/0xe0
<6>[95970.707898][   T38]  process_one_work+0x1f6/0x3c0
<6>[95970.707907][   T38]  ? process_one_work+0x199/0x3c0
<6>[95970.707923][   T38]  worker_thread+0x4d/0x3b0
<6>[95970.707931][   T38]  ? process_one_work+0x3c0/0x3c0
<6>[95970.707941][   T38]  kthread+0x122/0x140
<6>[95970.707950][   T38]  ? set_kthread_struct+0x30/0x30
<6>[95970.707959][   T38]  ret_from_fork+0x1f/0x30
<4>[95970.707988][   T38] 
<4>[95970.707988][   T38] Showing all locks held in the system:
<4>[95970.708004][   T38] 1 lock held by khungtaskd/38:
<4>[95970.708009][   T38]  #0: ffffffff8274b3a0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x15/0xf9
<4>[95970.708070][   T38] 1 lock held by in:imklog/914:
<4>[95970.708074][   T38]  #0: ffff888116d2a8f0 (&f->f_pos_lock){....}-{3:3}, at: __fdget_pos+0x45/0x50
<4>[95970.708146][   T38] 1 lock held by WRScene~ilder#1/1937:
<4>[95970.708284][   T38] 2 locks held by kworker/u8:102/403349:
<4>[95970.708290][   T38]  #0: ffff888100052138 ((wq_completion)events_unbound){....}-{0:0}, at: process_one_work+0x199/0x3c0
<4>[95970.708308][   T38]  #1: ffffc9000805fe70 ((work_completion)(&ctx->exit_work)){....}-{0:0}, at: process_one_work+0x199/0x3c0
<4>[95970.708326][   T38] 
<4>[95970.708328][   T38] =============================================
<4>[95970.708328][   T38] 
<6>[95972.614477][T403754] cq-size[403754]: segfault at 7ffa6008e108 ip 0000562036324d85 sp 00007fff9712b158 error 4 in cq-size[562036324000+2000]
<6>[95972.614510][T403754] Code: 48 83 ec 80 44 89 e0 5b 5d 41 5c c3 66 0f 1f 84 00 00 00 00 00 f3 0f 1e fa 48 89 fa 41 b8 0b 00 00 00 48 8b 7f 38 48 8b 42 18 <8b> 30 44 89 c0 48 c1 e6 06 0f 05 48 8b 7a 50 48 8b 72 48 44 89 c0
<3>[96093.594070][   T38] INFO: task kworker/u8:102:403349 blocked for more than 245 seconds.
<3>[96093.594091][   T38]       Tainted: G           OE     5.14.4-icetea-stable-00380-gd6f7bb5bb290 #1
<3>[96093.594096][   T38] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
<6>[96093.594100][   T38] task:kworker/u8:102  state:D stack:    0 pid:403349 ppid:     2 flags:0x00004000
<6>[96093.594110][   T38] Workqueue: events_unbound io_ring_exit_work
<6>[96093.594121][   T38] Call Trace:
<6>[96093.594130][   T38]  __schedule+0x3b8/0x15a0
<6>[96093.594142][   T38]  ? lock_release+0xac/0x200
<6>[96093.594148][   T38]  ? register_lock_class+0x3d/0x490
<6>[96093.594159][   T38]  schedule+0x3f/0xa0
<6>[96093.594164][   T38]  schedule_timeout+0xde/0x120
<6>[96093.594171][   T38]  ? wait_for_completion+0x7c/0xe0
<6>[96093.594175][   T38]  ? lock_release+0xac/0x200
<6>[96093.594183][   T38]  wait_for_completion+0x84/0xe0
<6>[96093.594192][   T38]  io_ring_exit_work+0x1b6/0x690
<6>[96093.594196][   T38]  ? register_lock_class+0x3d/0x490
<6>[96093.594201][   T38]  ? finish_task_switch.isra.0+0x139/0x370
<6>[96093.594209][   T38]  ? io_uring_del_tctx_node+0xe0/0xe0
<6>[96093.594223][   T38]  process_one_work+0x1f6/0x3c0
<6>[96093.594229][   T38]  ? process_one_work+0x199/0x3c0
<6>[96093.594240][   T38]  worker_thread+0x4d/0x3b0
<6>[96093.594245][   T38]  ? process_one_work+0x3c0/0x3c0
<6>[96093.594252][   T38]  kthread+0x122/0x140
<6>[96093.594257][   T38]  ? set_kthread_struct+0x30/0x30
<6>[96093.594263][   T38]  ret_from_fork+0x1f/0x30
<4>[96093.594282][   T38] 
<4>[96093.594282][   T38] Showing all locks held in the system:
<4>[96093.594288][   T38] 1 lock held by khungtaskd/38:
<4>[96093.594291][   T38]  #0: ffffffff8274b3a0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x15/0xf9
<4>[96093.594319][   T38] 1 lock held by in:imklog/914:
<4>[96093.594322][   T38]  #0: ffff888116d2a8f0 (&f->f_pos_lock){....}-{3:3}, at: __fdget_pos+0x45/0x50
<4>[96093.594393][   T38] 2 locks held by kworker/u8:102/403349:
<4>[96093.594396][   T38]  #0: ffff888100052138 ((wq_completion)events_unbound){....}-{0:0}, at: process_one_work+0x199/0x3c0
<4>[96093.594410][   T38]  #1: ffffc9000805fe70 ((work_completion)(&ctx->exit_work)){....}-{0:0}, at: process_one_work+0x199/0x3c0
<4>[96093.594425][   T38] 
<4>[96093.594427][   T38] =============================================
<4>[96093.594427][   T38] 
<3>[96216.472331][   T38] INFO: task kworker/u8:102:403349 blocked for more than 368 seconds.
<3>[96216.472363][   T38]       Tainted: G           OE     5.14.4-icetea-stable-00380-gd6f7bb5bb290 #1
<3>[96216.472370][   T38] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
<6>[96216.472376][   T38] task:kworker/u8:102  state:D stack:    0 pid:403349 ppid:     2 flags:0x00004000
<6>[96216.472389][   T38] Workqueue: events_unbound io_ring_exit_work
<6>[96216.472407][   T38] Call Trace:
<6>[96216.472419][   T38]  __schedule+0x3b8/0x15a0
<6>[96216.472437][   T38]  ? lock_release+0xac/0x200
<6>[96216.472446][   T38]  ? register_lock_class+0x3d/0x490
<6>[96216.472459][   T38]  schedule+0x3f/0xa0
<6>[96216.472465][   T38]  schedule_timeout+0xde/0x120
<6>[96216.472473][   T38]  ? wait_for_completion+0x7c/0xe0
<6>[96216.472479][   T38]  ? lock_release+0xac/0x200
<6>[96216.472489][   T38]  wait_for_completion+0x84/0xe0
<6>[96216.472499][   T38]  io_ring_exit_work+0x1b6/0x690
<6>[96216.472506][   T38]  ? register_lock_class+0x3d/0x490
<6>[96216.472512][   T38]  ? finish_task_switch.isra.0+0x139/0x370
<6>[96216.472522][   T38]  ? io_uring_del_tctx_node+0xe0/0xe0
<6>[96216.472540][   T38]  process_one_work+0x1f6/0x3c0
<6>[96216.472549][   T38]  ? process_one_work+0x199/0x3c0
<6>[96216.472562][   T38]  worker_thread+0x4d/0x3b0
<6>[96216.472568][   T38]  ? process_one_work+0x3c0/0x3c0
<6>[96216.472576][   T38]  kthread+0x122/0x140
<6>[96216.472583][   T38]  ? set_kthread_struct+0x30/0x30
<6>[96216.472591][   T38]  ret_from_fork+0x1f/0x30
<4>[96216.472620][   T38] 
<4>[96216.472620][   T38] Showing all locks held in the system:
<4>[96216.472627][   T38] 1 lock held by khungtaskd/38:
<4>[96216.472631][   T38]  #0: ffffffff8274b3a0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x15/0xf9
<4>[96216.472667][   T38] 1 lock held by in:imklog/914:
<4>[96216.472671][   T38]  #0: ffff888116d2a8f0 (&f->f_pos_lock){....}-{3:3}, at: __fdget_pos+0x45/0x50
<4>[96216.472816][   T38] 2 locks held by kworker/u8:102/403349:
<4>[96216.472821][   T38]  #0: ffff888100052138 ((wq_completion)events_unbound){....}-{0:0}, at: process_one_work+0x199/0x3c0
<4>[96216.472837][   T38]  #1: ffffc9000805fe70 ((work_completion)(&ctx->exit_work)){....}-{0:0}, at: process_one_work+0x199/0x3c0
<4>[96216.472855][   T38] 
<4>[96216.472857][   T38] =============================================
<4>[96216.472857][   T38] 
<3>[96339.352638][   T38] INFO: task kworker/u8:102:403349 blocked for more than 491 seconds.
<3>[96339.352657][   T38]       Tainted: G           OE     5.14.4-icetea-stable-00380-gd6f7bb5bb290 #1
<3>[96339.352663][   T38] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
<6>[96339.352667][   T38] task:kworker/u8:102  state:D stack:    0 pid:403349 ppid:     2 flags:0x00004000
<6>[96339.352677][   T38] Workqueue: events_unbound io_ring_exit_work
<6>[96339.352688][   T38] Call Trace:
<6>[96339.352698][   T38]  __schedule+0x3b8/0x15a0
<6>[96339.352709][   T38]  ? lock_release+0xac/0x200
<6>[96339.352716][   T38]  ? register_lock_class+0x3d/0x490
<6>[96339.352726][   T38]  schedule+0x3f/0xa0
<6>[96339.352732][   T38]  schedule_timeout+0xde/0x120
<6>[96339.352738][   T38]  ? wait_for_completion+0x7c/0xe0
<6>[96339.352743][   T38]  ? lock_release+0xac/0x200
<6>[96339.352751][   T38]  wait_for_completion+0x84/0xe0
<6>[96339.352760][   T38]  io_ring_exit_work+0x1b6/0x690
<6>[96339.352765][   T38]  ? register_lock_class+0x3d/0x490
<6>[96339.352769][   T38]  ? finish_task_switch.isra.0+0x139/0x370
<6>[96339.352777][   T38]  ? io_uring_del_tctx_node+0xe0/0xe0
<6>[96339.352791][   T38]  process_one_work+0x1f6/0x3c0
<6>[96339.352798][   T38]  ? process_one_work+0x199/0x3c0
<6>[96339.352808][   T38]  worker_thread+0x4d/0x3b0
<6>[96339.352814][   T38]  ? process_one_work+0x3c0/0x3c0
<6>[96339.352820][   T38]  kthread+0x122/0x140
<6>[96339.352826][   T38]  ? set_kthread_struct+0x30/0x30
<6>[96339.352833][   T38]  ret_from_fork+0x1f/0x30
<4>[96339.352857][   T38] 
<4>[96339.352857][   T38] Showing all locks held in the system:
<4>[96339.352862][   T38] 1 lock held by khungtaskd/38:
<4>[96339.352865][   T38]  #0: ffffffff8274b3a0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x15/0xf9
<4>[96339.352895][   T38] 1 lock held by in:imklog/914:
<4>[96339.352898][   T38]  #0: ffff888116d2a8f0 (&f->f_pos_lock){....}-{3:3}, at: __fdget_pos+0x45/0x50
<4>[96339.352962][   T38] 2 locks held by Web Content/369898:
<4>[96339.352983][   T38] 2 locks held by kworker/u8:102/403349:
<4>[96339.352986][   T38]  #0: ffff888100052138 ((wq_completion)events_unbound){....}-{0:0}, at: process_one_work+0x199/0x3c0
<4>[96339.353000][   T38]  #1: ffffc9000805fe70 ((work_completion)(&ctx->exit_work)){....}-{0:0}, at: process_one_work+0x199/0x3c0
<4>[96339.353015][   T38] 1 lock held by php7.4/403990:
<4>[96339.353018][   T38] 
<4>[96339.353020][   T38] =============================================
<4>[96339.353020][   T38] 
<3>[96462.232523][   T38] INFO: task kworker/u8:102:403349 blocked for more than 614 seconds.
<3>[96462.232543][   T38]       Tainted: G           OE     5.14.4-icetea-stable-00380-gd6f7bb5bb290 #1
<3>[96462.232550][   T38] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
<6>[96462.232555][   T38] task:kworker/u8:102  state:D stack:    0 pid:403349 ppid:     2 flags:0x00004000
<6>[96462.232566][   T38] Workqueue: events_unbound io_ring_exit_work
<6>[96462.232579][   T38] Call Trace:
<6>[96462.232589][   T38]  __schedule+0x3b8/0x15a0
<6>[96462.232602][   T38]  ? lock_release+0xac/0x200
<6>[96462.232611][   T38]  ? register_lock_class+0x3d/0x490
<6>[96462.232623][   T38]  schedule+0x3f/0xa0
<6>[96462.232630][   T38]  schedule_timeout+0xde/0x120
<6>[96462.232637][   T38]  ? wait_for_completion+0x7c/0xe0
<6>[96462.232643][   T38]  ? lock_release+0xac/0x200
<6>[96462.232653][   T38]  wait_for_completion+0x84/0xe0
<6>[96462.232663][   T38]  io_ring_exit_work+0x1b6/0x690
<6>[96462.232669][   T38]  ? register_lock_class+0x3d/0x490
<6>[96462.232674][   T38]  ? finish_task_switch.isra.0+0x139/0x370
<6>[96462.232683][   T38]  ? io_uring_del_tctx_node+0xe0/0xe0
<6>[96462.232701][   T38]  process_one_work+0x1f6/0x3c0
<6>[96462.232709][   T38]  ? process_one_work+0x199/0x3c0
<6>[96462.232721][   T38]  worker_thread+0x4d/0x3b0
<6>[96462.232727][   T38]  ? process_one_work+0x3c0/0x3c0
<6>[96462.232735][   T38]  kthread+0x122/0x140
<6>[96462.232741][   T38]  ? set_kthread_struct+0x30/0x30
<6>[96462.232749][   T38]  ret_from_fork+0x1f/0x30
<4>[96462.232774][   T38] 
<4>[96462.232774][   T38] Showing all locks held in the system:
<4>[96462.232779][   T38] 1 lock held by khungtaskd/38:
<4>[96462.232783][   T38]  #0: ffffffff8274b3a0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x15/0xf9
<4>[96462.232811][   T38] 1 lock held by in:imklog/914:
<4>[96462.232814][   T38]  #0: ffff888116d2a8f0 (&f->f_pos_lock){....}-{3:3}, at: __fdget_pos+0x45/0x50
<4>[96462.232881][   T38] 2 locks held by kworker/u8:102/403349:
<4>[96462.232885][   T38]  #0: ffff888100052138 ((wq_completion)events_unbound){....}-{0:0}, at: process_one_work+0x199/0x3c0
<4>[96462.232901][   T38]  #1: ffffc9000805fe70 ((work_completion)(&ctx->exit_work)){....}-{0:0}, at: process_one_work+0x199/0x3c0
<4>[96462.232918][   T38] 
<4>[96462.232920][   T38] =============================================
<4>[96462.232920][   T38] 
<3>[96585.111880][   T38] INFO: task kworker/u8:102:403349 blocked for more than 737 seconds.
<3>[96585.111898][   T38]       Tainted: G           OE     5.14.4-icetea-stable-00380-gd6f7bb5bb290 #1
<3>[96585.111903][   T38] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
<6>[96585.111907][   T38] task:kworker/u8:102  state:D stack:    0 pid:403349 ppid:     2 flags:0x00004000
<6>[96585.111916][   T38] Workqueue: events_unbound io_ring_exit_work
<6>[96585.111926][   T38] Call Trace:
<6>[96585.111935][   T38]  __schedule+0x3b8/0x15a0
<6>[96585.111945][   T38]  ? lock_release+0xac/0x200
<6>[96585.111951][   T38]  ? register_lock_class+0x3d/0x490
<6>[96585.111961][   T38]  schedule+0x3f/0xa0
<6>[96585.111965][   T38]  schedule_timeout+0xde/0x120
<6>[96585.111972][   T38]  ? wait_for_completion+0x7c/0xe0
<6>[96585.111976][   T38]  ? lock_release+0xac/0x200
<6>[96585.111984][   T38]  wait_for_completion+0x84/0xe0
<6>[96585.111991][   T38]  io_ring_exit_work+0x1b6/0x690
<6>[96585.111995][   T38]  ? register_lock_class+0x3d/0x490
<6>[96585.111999][   T38]  ? finish_task_switch.isra.0+0x139/0x370
<6>[96585.112007][   T38]  ? io_uring_del_tctx_node+0xe0/0xe0
<6>[96585.112020][   T38]  process_one_work+0x1f6/0x3c0
<6>[96585.112026][   T38]  ? process_one_work+0x199/0x3c0
<6>[96585.112036][   T38]  worker_thread+0x4d/0x3b0
<6>[96585.112040][   T38]  ? process_one_work+0x3c0/0x3c0
<6>[96585.112046][   T38]  kthread+0x122/0x140
<6>[96585.112051][   T38]  ? set_kthread_struct+0x30/0x30
<6>[96585.112057][   T38]  ret_from_fork+0x1f/0x30
<4>[96585.112077][   T38] 
<4>[96585.112077][   T38] Showing all locks held in the system:
<4>[96585.112080][   T38] 1 lock held by khungtaskd/38:
<4>[96585.112083][   T38]  #0: ffffffff8274b3a0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x15/0xf9
<4>[96585.112106][   T38] 1 lock held by in:imklog/914:
<4>[96585.112109][   T38]  #0: ffff888116d2a8f0 (&f->f_pos_lock){....}-{3:3}, at: __fdget_pos+0x45/0x50
<4>[96585.112165][   T38] 2 locks held by kworker/u8:46/403292:
<4>[96585.112169][   T38]  #0: ffff888100052d38 ((wq_completion)events_freezable_power_){....}-{0:0}, at: process_one_work+0x199/0x3c0
<4>[96585.112180][   T38]  #1: ffffc90003d47e70 ((work_completion)(&(&ev->dwork)->work)){....}-{0:0}, at: process_one_work+0x199/0x3c0
<4>[96585.112192][   T38] 2 locks held by kworker/u8:102/403349:
<4>[96585.112194][   T38]  #0: ffff888100052138 ((wq_completion)events_unbound){....}-{0:0}, at: process_one_work+0x199/0x3c0
<4>[96585.112206][   T38]  #1: ffffc9000805fe70 ((work_completion)(&ctx->exit_work)){....}-{0:0}, at: process_one_work+0x199/0x3c0
<4>[96585.112220][   T38] 
<4>[96585.112221][   T38] =============================================
<4>[96585.112221][   T38] 
<3>[96707.962078][   T38] INFO: task kworker/u8:102:403349 blocked for more than 860 seconds.
<3>[96707.962098][   T38]       Tainted: G           OE     5.14.4-icetea-stable-00380-gd6f7bb5bb290 #1
<3>[96707.962103][   T38] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
<6>[96707.962108][   T38] task:kworker/u8:102  state:D stack:    0 pid:403349 ppid:     2 flags:0x00004000
<6>[96707.962119][   T38] Workqueue: events_unbound io_ring_exit_work
<6>[96707.962131][   T38] Call Trace:
<6>[96707.962140][   T38]  __schedule+0x3b8/0x15a0
<6>[96707.962152][   T38]  ? lock_release+0xac/0x200
<6>[96707.962159][   T38]  ? register_lock_class+0x3d/0x490
<6>[96707.962169][   T38]  schedule+0x3f/0xa0
<6>[96707.962174][   T38]  schedule_timeout+0xde/0x120
<6>[96707.962181][   T38]  ? wait_for_completion+0x7c/0xe0
<6>[96707.962185][   T38]  ? lock_release+0xac/0x200
<6>[96707.962207][   T38]  wait_for_completion+0x84/0xe0
<6>[96707.962217][   T38]  io_ring_exit_work+0x1b6/0x690
<6>[96707.962222][   T38]  ? register_lock_class+0x3d/0x490
<6>[96707.962226][   T38]  ? finish_task_switch.isra.0+0x139/0x370
<6>[96707.962234][   T38]  ? io_uring_del_tctx_node+0xe0/0xe0
<6>[96707.962249][   T38]  process_one_work+0x1f6/0x3c0
<6>[96707.962256][   T38]  ? process_one_work+0x199/0x3c0
<6>[96707.962266][   T38]  worker_thread+0x4d/0x3b0
<6>[96707.962272][   T38]  ? process_one_work+0x3c0/0x3c0
<6>[96707.962279][   T38]  kthread+0x122/0x140
<6>[96707.962284][   T38]  ? set_kthread_struct+0x30/0x30
<6>[96707.962290][   T38]  ret_from_fork+0x1f/0x30
<4>[96707.962313][   T38] 
<4>[96707.962313][   T38] Showing all locks held in the system:
<4>[96707.962317][   T38] 1 lock held by khungtaskd/38:
<4>[96707.962321][   T38]  #0: ffffffff8274b3a0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x15/0xf9
<4>[96707.962348][   T38] 1 lock held by in:imklog/914:
<4>[96707.962351][   T38]  #0: ffff888116d2a8f0 (&f->f_pos_lock){....}-{3:3}, at: __fdget_pos+0x45/0x50
<4>[96707.962422][   T38] 2 locks held by kworker/u8:102/403349:
<4>[96707.962426][   T38]  #0: ffff888100052138 ((wq_completion)events_unbound){....}-{0:0}, at: process_one_work+0x199/0x3c0
<4>[96707.962439][   T38]  #1: ffffc9000805fe70 ((work_completion)(&ctx->exit_work)){....}-{0:0}, at: process_one_work+0x199/0x3c0
<4>[96707.962454][   T38] 
<4>[96707.962455][   T38] =============================================
<4>[96707.962455][   T38] 
<3>[96830.813490][   T38] INFO: task kworker/u8:102:403349 blocked for more than 983 seconds.
<3>[96830.813509][   T38]       Tainted: G           OE     5.14.4-icetea-stable-00380-gd6f7bb5bb290 #1
<3>[96830.813515][   T38] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
<6>[96830.813519][   T38] task:kworker/u8:102  state:D stack:    0 pid:403349 ppid:     2 flags:0x00004000
<6>[96830.813529][   T38] Workqueue: events_unbound io_ring_exit_work
<6>[96830.813540][   T38] Call Trace:
<6>[96830.813549][   T38]  __schedule+0x3b8/0x15a0
<6>[96830.813561][   T38]  ? lock_release+0xac/0x200
<6>[96830.813568][   T38]  ? register_lock_class+0x3d/0x490
<6>[96830.813578][   T38]  schedule+0x3f/0xa0
<6>[96830.813583][   T38]  schedule_timeout+0xde/0x120
<6>[96830.813590][   T38]  ? wait_for_completion+0x7c/0xe0
<6>[96830.813594][   T38]  ? lock_release+0xac/0x200
<6>[96830.813603][   T38]  wait_for_completion+0x84/0xe0
<6>[96830.813611][   T38]  io_ring_exit_work+0x1b6/0x690
<6>[96830.813616][   T38]  ? register_lock_class+0x3d/0x490
<6>[96830.813621][   T38]  ? finish_task_switch.isra.0+0x139/0x370
<6>[96830.813629][   T38]  ? io_uring_del_tctx_node+0xe0/0xe0
<6>[96830.813644][   T38]  process_one_work+0x1f6/0x3c0
<6>[96830.813650][   T38]  ? process_one_work+0x199/0x3c0
<6>[96830.813660][   T38]  worker_thread+0x4d/0x3b0
<6>[96830.813666][   T38]  ? process_one_work+0x3c0/0x3c0
<6>[96830.813673][   T38]  kthread+0x122/0x140
<6>[96830.813678][   T38]  ? set_kthread_struct+0x30/0x30
<6>[96830.813684][   T38]  ret_from_fork+0x1f/0x30
<4>[96830.813705][   T38] 
<4>[96830.813705][   T38] Showing all locks held in the system:
<4>[96830.813711][   T38] 1 lock held by khungtaskd/38:
<4>[96830.813714][   T38]  #0: ffffffff8274b3a0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x15/0xf9
<4>[96830.813746][   T38] 1 lock held by in:imklog/914:
<4>[96830.813750][   T38]  #0: ffff888116d2a8f0 (&f->f_pos_lock){....}-{3:3}, at: __fdget_pos+0x45/0x50
<4>[96830.813838][   T38] 2 locks held by kworker/u8:102/403349:
<4>[96830.813842][   T38]  #0: ffff888100052138 ((wq_completion)events_unbound){....}-{0:0}, at: process_one_work+0x199/0x3c0
<4>[96830.813856][   T38]  #1: ffffc9000805fe70 ((work_completion)(&ctx->exit_work)){....}-{0:0}, at: process_one_work+0x199/0x3c0
<4>[96830.813870][   T38] 
<4>[96830.813872][   T38] =============================================
<4>[96830.813872][   T38] 
<3>[96953.673286][   T38] INFO: task kworker/u8:102:403349 blocked for more than 1105 seconds.
<3>[96953.673305][   T38]       Tainted: G           OE     5.14.4-icetea-stable-00380-gd6f7bb5bb290 #1
<3>[96953.673311][   T38] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
<6>[96953.673315][   T38] task:kworker/u8:102  state:D stack:    0 pid:403349 ppid:     2 flags:0x00004000
<6>[96953.673325][   T38] Workqueue: events_unbound io_ring_exit_work
<6>[96953.673336][   T38] Call Trace:
<6>[96953.673345][   T38]  __schedule+0x3b8/0x15a0
<6>[96953.673356][   T38]  ? lock_release+0xac/0x200
<6>[96953.673364][   T38]  ? register_lock_class+0x3d/0x490
<6>[96953.673374][   T38]  schedule+0x3f/0xa0
<6>[96953.673379][   T38]  schedule_timeout+0xde/0x120
<6>[96953.673385][   T38]  ? wait_for_completion+0x7c/0xe0
<6>[96953.673390][   T38]  ? lock_release+0xac/0x200
<6>[96953.673398][   T38]  wait_for_completion+0x84/0xe0
<6>[96953.673407][   T38]  io_ring_exit_work+0x1b6/0x690
<6>[96953.673412][   T38]  ? register_lock_class+0x3d/0x490
<6>[96953.673416][   T38]  ? finish_task_switch.isra.0+0x139/0x370
<6>[96953.673424][   T38]  ? io_uring_del_tctx_node+0xe0/0xe0
<6>[96953.673438][   T38]  process_one_work+0x1f6/0x3c0
<6>[96953.673445][   T38]  ? process_one_work+0x199/0x3c0
<6>[96953.673456][   T38]  worker_thread+0x4d/0x3b0
<6>[96953.673461][   T38]  ? process_one_work+0x3c0/0x3c0
<6>[96953.673467][   T38]  kthread+0x122/0x140
<6>[96953.673472][   T38]  ? set_kthread_struct+0x30/0x30
<6>[96953.673479][   T38]  ret_from_fork+0x1f/0x30
<4>[96953.673502][   T38] 
<4>[96953.673502][   T38] Showing all locks held in the system:
<4>[96953.673507][   T38] 1 lock held by khungtaskd/38:
<4>[96953.673509][   T38]  #0: ffffffff8274b3a0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x15/0xf9
<4>[96953.673534][   T38] 1 lock held by in:imklog/914:
<4>[96953.673537][   T38]  #0: ffff888116d2a8f0 (&f->f_pos_lock){....}-{3:3}, at: __fdget_pos+0x45/0x50
<4>[96953.673596][   T38] 2 locks held by kworker/u8:102/403349:
<4>[96953.673599][   T38]  #0: ffff888100052138 ((wq_completion)events_unbound){....}-{0:0}, at: process_one_work+0x199/0x3c0
<4>[96953.673611][   T38]  #1: ffffc9000805fe70 ((work_completion)(&ctx->exit_work)){....}-{0:0}, at: process_one_work+0x199/0x3c0
<4>[96953.673627][   T38] 
<4>[96953.673628][   T38] =============================================
<4>[96953.673628][   T38] 
<3>[97076.534924][   T38] INFO: task kworker/u8:102:403349 blocked for more than 1228 seconds.
<3>[97076.534944][   T38]       Tainted: G           OE     5.14.4-icetea-stable-00380-gd6f7bb5bb290 #1
<3>[97076.534949][   T38] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
<6>[97076.534953][   T38] task:kworker/u8:102  state:D stack:    0 pid:403349 ppid:     2 flags:0x00004000
<6>[97076.534963][   T38] Workqueue: events_unbound io_ring_exit_work
<6>[97076.534974][   T38] Call Trace:
<6>[97076.534984][   T38]  __schedule+0x3b8/0x15a0
<6>[97076.534995][   T38]  ? lock_release+0xac/0x200
<6>[97076.535002][   T38]  ? register_lock_class+0x3d/0x490
<6>[97076.535012][   T38]  schedule+0x3f/0xa0
<6>[97076.535017][   T38]  schedule_timeout+0xde/0x120
<6>[97076.535024][   T38]  ? wait_for_completion+0x7c/0xe0
<6>[97076.535028][   T38]  ? lock_release+0xac/0x200
<6>[97076.535037][   T38]  wait_for_completion+0x84/0xe0
<6>[97076.535045][   T38]  io_ring_exit_work+0x1b6/0x690
<6>[97076.535050][   T38]  ? register_lock_class+0x3d/0x490
<6>[97076.535055][   T38]  ? finish_task_switch.isra.0+0x139/0x370
<6>[97076.535063][   T38]  ? io_uring_del_tctx_node+0xe0/0xe0
<6>[97076.535077][   T38]  process_one_work+0x1f6/0x3c0
<6>[97076.535083][   T38]  ? process_one_work+0x199/0x3c0
<6>[97076.535094][   T38]  worker_thread+0x4d/0x3b0
<6>[97076.535099][   T38]  ? process_one_work+0x3c0/0x3c0
<6>[97076.535106][   T38]  kthread+0x122/0x140
<6>[97076.535111][   T38]  ? set_kthread_struct+0x30/0x30
<6>[97076.535118][   T38]  ret_from_fork+0x1f/0x30
<4>[97076.535140][   T38] 
<4>[97076.535140][   T38] Showing all locks held in the system:
<4>[97076.535144][   T38] 1 lock held by khungtaskd/38:
<4>[97076.535147][   T38]  #0: ffffffff8274b3a0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x15/0xf9
<4>[97076.535172][   T38] 1 lock held by in:imklog/914:
<4>[97076.535175][   T38]  #0: ffff888116d2a8f0 (&f->f_pos_lock){....}-{3:3}, at: __fdget_pos+0x45/0x50
<4>[97076.535215][   T38] 1 lock held by pavucontrol/1895:
<4>[97076.535243][   T38] 2 locks held by kworker/u8:102/403349:
<4>[97076.535246][   T38]  #0: ffff888100052138 ((wq_completion)events_unbound){....}-{0:0}, at: process_one_work+0x199/0x3c0
<4>[97076.535259][   T38]  #1: ffffc9000805fe70 ((work_completion)(&ctx->exit_work)){....}-{0:0}, at: process_one_work+0x199/0x3c0
<4>[97076.535273][   T38] 
<4>[97076.535274][   T38] =============================================
<4>[97076.535274][   T38] 
<6>[98875.752132][    C0] TCP: request_sock_TCP: Possible SYN flooding on port 29442. Sending cookies.  Check SNMP counters.
<6>[121506.883899][  T885] IPv6: ADDRCONF(NETDEV_CHANGE): wlp2s0: link becomes ready

About this issue

  • Original URL
  • State: closed
  • Created 5 years ago
  • Comments: 36 (25 by maintainers)

Commits related to this issue

Most upvoted comments

@ammarfaizi2, that’s really great you narrowed it!

It has been 4 days since I opened this issue and I couldn’t reproduce both issue (the hung tasks and the wireless warning).

So it is time to move on.

I am bored with the last kernel I used. So now I am playing with Jens’ tree. Compiled with various debug config, just in case I find something interesting, it will be easier to debug.

Another thing, unlike the stable kernel, I can pass all liburing tests with Jens’ tree. Hopefully I can contribute more by using it.

Currently on branch for-5.16/io_uring, HEAD commit is https://github.com/ammarfaizi2/linux-block/commit/4922ab639eb60f71ec471f86b8614a25516aa260 (“io_uring: remove extra io_ring_exit_work wake up”).

That’s all. I am closing this…

If anyone has any issue with this being closed, kindly to drop your comment. Thanks!

On Mon, Oct 4, 2021 at 6:47 PM Pavel Begunkov notifications@github.com wrote:

On Mon, Oct 4, 2021, 11:17 Ammar Faizi @.***> wrote:

@ammarfaizi2 https://github.com/ammarfaizi2, the kernel should tolerate anything you throw at it, so you have found a bug, which has to be fixed on the kernel side. Can you retain the test problem? may help us to debug and will be handy to make sure it’s fixed.

@isilence https://github.com/isilence Yes, I will start trying to reproduce it again.

I just didn’t realize that I had those in my kernel log, so I don’t really know what action I did that provoked this bug (but I suspect the cq-size.c test).

The error start to appear after a while, 2 min by default, so might likely be be not it if you was running all tests. You can reduce it with (eg with 5 sec)

echo 5 > /proc/sys/kernel/hung_task_timeout_secs

Will be updating this issue if I get something to report. If you have

something to tell based on the above call trace, kindly to drop your comment as well

Unfortunately… we definitely need to add some debug info. The first step is to look up what fixes were backported to that kernel.

Have been playing around with tests with 5 secs hung task timeout, but couldn’t reproduce. I will continue my work adding no libc support for x86-64, if I can reproduce it again while working on it, I will report.