From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wr1-x443.google.com (mail-wr1-x443.google.com [IPv6:2a00:1450:4864:20::443]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.server123.net (Postfix) with ESMTPS for ; Thu, 7 Mar 2019 16:26:43 +0100 (CET) Received: by mail-wr1-x443.google.com with SMTP id w6so17905035wrs.4 for ; Thu, 07 Mar 2019 07:26:43 -0800 (PST) Received: from it041296.wks.bris.ac.uk (machines-pat0.nomadic.bris.ac.uk. [137.222.114.239]) by smtp.gmail.com with ESMTPSA id g10sm6474821wrq.61.2019.03.07.07.26.40 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 07 Mar 2019 07:26:41 -0800 (PST) From: Victor Helmholtz Content-Type: multipart/alternative; boundary="Apple-Mail=_BDD2D0EA-818E-4BF6-816C-1963681ECCFC" Mime-Version: 1.0 (Mac OS X Mail 12.2 \(3445.102.3\)) Message-Id: <5D8A23C5-B6AD-48EA-B0AD-AD1BD1A2B97B@gmail.com> Date: Thu, 7 Mar 2019 15:26:40 +0000 Subject: [dm-crypt] Dm-integrity freeze List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: dm-crypt@saout.de --Apple-Mail=_BDD2D0EA-818E-4BF6-816C-1963681ECCFC Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii Hi I have recently had a problem with my server: all writes to RAID drives = were frozen and I had to force-reboot it. I looked at kernel logs and I = think dm-integrity might be source of the problem. Could anyone help me = understand meaning of following messages (this message was repeated 8 = times, full kernel log is here: https://pastebin.com/DMgMtNJq = ): Mar 1 23:48:21 unassigned-hostname kernel: [369732.498048] INFO: task = kworker/0:112:26760 blocked for more than 120 seconds. Mar 1 23:48:21 unassigned-hostname kernel: [369732.499784] Not = tainted 4.19.0-2-amd64 #1 Debian 4.19.16-1 Mar 1 23:48:21 unassigned-hostname kernel: [369732.501222] "echo 0 > = /proc/sys/kernel/hung_task_timeout_secs" disables this message. Mar 1 23:48:21 unassigned-hostname kernel: [369732.503095] = kworker/0:112 D 0 26760 2 0x80000080 Mar 1 23:48:21 unassigned-hostname kernel: [369732.504424] Workqueue: = dm-integrity-metadata integrity_bio_wait [dm_integrity] Mar 1 23:48:21 unassigned-hostname kernel: [369732.506149] Call Trace: Mar 1 23:48:21 unassigned-hostname kernel: [369732.506782] ? = __schedule+0x2a2/0x870 Mar 1 23:48:21 unassigned-hostname kernel: [369732.507706] = schedule+0x28/0x80 Mar 1 23:48:21 unassigned-hostname kernel: [369732.508484] = io_schedule+0x12/0x40 Mar 1 23:48:21 unassigned-hostname kernel: [369732.509321] = wait_and_add_new_range+0x89/0xa0 [dm_integrity] Mar 1 23:48:21 unassigned-hostname kernel: [369732.510709] = dm_integrity_map_continue+0xe71/0x1020 [dm_integrity] Mar 1 23:48:21 unassigned-hostname kernel: [369732.512193] ? = __switch_to_asm+0x40/0x70 Mar 1 23:48:21 unassigned-hostname kernel: [369732.513149] ? = __switch_to_asm+0x34/0x70 Mar 1 23:48:21 unassigned-hostname kernel: [369732.514105] ? = __switch_to_asm+0x40/0x70 Mar 1 23:48:21 unassigned-hostname kernel: [369732.515088] ? = __switch_to_asm+0x40/0x70 Mar 1 23:48:21 unassigned-hostname kernel: [369732.516048] ? = __switch_to_asm+0x34/0x70 Mar 1 23:48:21 unassigned-hostname kernel: [369732.517000] ? = __switch_to_asm+0x40/0x70 Mar 1 23:48:21 unassigned-hostname kernel: [369732.517978] ? = __switch_to_asm+0x34/0x70 Mar 1 23:48:21 unassigned-hostname kernel: [369732.518968] ? = __switch_to_asm+0x34/0x70 Mar 1 23:48:21 unassigned-hostname kernel: [369732.519926] ? = __switch_to+0x8c/0x440 Mar 1 23:48:21 unassigned-hostname kernel: [369732.520822] = process_one_work+0x1a7/0x3a0 Mar 1 23:48:21 unassigned-hostname kernel: [369732.521798] = worker_thread+0x30/0x390 Mar 1 23:48:21 unassigned-hostname kernel: [369732.522725] ? = pwq_unbound_release_workfn+0xd0/0xd0 Mar 1 23:48:21 unassigned-hostname kernel: [369732.523901] = kthread+0x112/0x130 Mar 1 23:48:21 unassigned-hostname kernel: [369732.524691] ? = kthread_bind+0x30/0x30 Mar 1 23:48:21 unassigned-hostname kernel: [369732.525584] = ret_from_fork+0x35/0x40 Is this a bug in kernel or do I have some problems with hardware? Regards Victor= --Apple-Mail=_BDD2D0EA-818E-4BF6-816C-1963681ECCFC Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=us-ascii
Hi

I = have recently had a problem with my server: all writes to RAID drives = were frozen and I had to force-reboot it. I looked at kernel logs and I = think dm-integrity might be source of the problem. Could anyone help me = understand meaning of following messages (this message was repeated 8 = times, full kernel log is here: https://pastebin.com/DMgMtNJq ):

Mar  1 23:48:21 = unassigned-hostname kernel: [369732.498048] INFO: task = kworker/0:112:26760 blocked for more than 120 seconds.
Mar  1 23:48:21 unassigned-hostname kernel: = [369732.499784]       Not tainted 4.19.0-2-amd64 #1 = Debian 4.19.16-1
Mar  1 23:48:21 = unassigned-hostname kernel: [369732.501222] "echo 0 > = /proc/sys/kernel/hung_task_timeout_secs" disables this = message.
Mar  1 23:48:21 unassigned-hostname = kernel: [369732.503095] kworker/0:112   D    0 26760 =      2 0x80000080
Mar  1 = 23:48:21 unassigned-hostname kernel: [369732.504424] Workqueue: = dm-integrity-metadata integrity_bio_wait [dm_integrity]
Mar  1 23:48:21 unassigned-hostname kernel: = [369732.506149] Call Trace:
Mar  1 23:48:21 = unassigned-hostname kernel: [369732.506782]  ? = __schedule+0x2a2/0x870
Mar  1 23:48:21 = unassigned-hostname kernel: [369732.507706] =  schedule+0x28/0x80
Mar  1 23:48:21 = unassigned-hostname kernel: [369732.508484] =  io_schedule+0x12/0x40
Mar  1 23:48:21 = unassigned-hostname kernel: [369732.509321] =  wait_and_add_new_range+0x89/0xa0 [dm_integrity]
Mar  1 23:48:21 unassigned-hostname kernel: = [369732.510709]  dm_integrity_map_continue+0xe71/0x1020 = [dm_integrity]
Mar  1 23:48:21 = unassigned-hostname kernel: [369732.512193]  ? = __switch_to_asm+0x40/0x70
Mar  1 23:48:21 = unassigned-hostname kernel: [369732.513149]  ? = __switch_to_asm+0x34/0x70
Mar  1 23:48:21 = unassigned-hostname kernel: [369732.514105]  ? = __switch_to_asm+0x40/0x70
Mar  1 23:48:21 = unassigned-hostname kernel: [369732.515088]  ? = __switch_to_asm+0x40/0x70
Mar  1 23:48:21 = unassigned-hostname kernel: [369732.516048]  ? = __switch_to_asm+0x34/0x70
Mar  1 23:48:21 = unassigned-hostname kernel: [369732.517000]  ? = __switch_to_asm+0x40/0x70
Mar  1 23:48:21 = unassigned-hostname kernel: [369732.517978]  ? = __switch_to_asm+0x34/0x70
Mar  1 23:48:21 = unassigned-hostname kernel: [369732.518968]  ? = __switch_to_asm+0x34/0x70
Mar  1 23:48:21 = unassigned-hostname kernel: [369732.519926]  ? = __switch_to+0x8c/0x440
Mar  1 23:48:21 = unassigned-hostname kernel: [369732.520822] =  process_one_work+0x1a7/0x3a0
Mar  1 = 23:48:21 unassigned-hostname kernel: [369732.521798] =  worker_thread+0x30/0x390
Mar  1 23:48:21 = unassigned-hostname kernel: [369732.522725]  ? = pwq_unbound_release_workfn+0xd0/0xd0
Mar  1 = 23:48:21 unassigned-hostname kernel: [369732.523901] =  kthread+0x112/0x130
Mar  1 23:48:21 = unassigned-hostname kernel: [369732.524691]  ? = kthread_bind+0x30/0x30
Mar  1 23:48:21 = unassigned-hostname kernel: [369732.525584] =  ret_from_fork+0x35/0x40

Is this a bug in kernel or do I have = some problems with hardware?

Regards
Victor
= --Apple-Mail=_BDD2D0EA-818E-4BF6-816C-1963681ECCFC--