lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Date:	Tue, 3 Jul 2012 11:49:15 +0800
From:	Fengguang Wu <fengguang.wu@...el.com>
To:	Prasad Koya <prasad.koya@...il.com>
Cc:	jack@...e.cz, LKML <linux-kernel@...r.kernel.org>
Subject: Re: sync blocked for long time

Hi Prasad,

On Mon, Jul 02, 2012 at 08:37:19PM -0700, Prasad Koya wrote:
> Hi
> 
> Sorry about writing to your personal address. I'm running into below panic
> but I couldn't find any patch for this in 2.6.32. I do see below discussion
> related to pretty much similar issue which doesn't appear to be resolved. I
> looked around quite a bit but I couldn't find any patches for this. Is this
> still unresolved? I have 2 USB sticks and I can get into this state by
> copying 2 large files (say 200-300M each) simultaneously (followed by sync)
> into both drives.

That is doing sync lots of data on slow device, with the sync time
being further enlarged by the active writers. I can imagine for the
sync to take very long time.

What's the filesystem btw?

> Appreciate any pointers.
> 
> thank you.
> 
> http://marc.info/?t=126596633700002&r=1&w=2
> 
> 
> <3>[  600.392088] INFO: task sync:2675 blocked for more than 120 seconds.
> <3>[  600.466884] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs"
> disables this message.
...
> <4>[  600.560507]  [<ffffffff810a7dab>] sync_inodes_sb+0x1d/0xf1
> <4>[  600.560519]  [<ffffffff810abb3e>] __sync_filesystem+0x29/0x52
> <4>[  600.560536]  [<ffffffff810abc0f>] sync_filesystems+0xa8/0xfe
> <4>[  600.560556]  [<ffffffff810abcb5>] sys_sync+0x1c/0x2e
> <4>[  600.560570]  [<ffffffff810260c5>] cstar_dispatch+0x7/0x2b
> <0>[  600.560580] Kernel panic - not syncing: hung_task: blocked tasks

Please check /proc/sys/kernel/hung_task_panic . Normal users should
never set it to 1..

Thanks,
Fengguang
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ