All of lore.kernel.org
 help / color / mirror / Atom feed
From: Zheng Liu <gnehzuil.liu@gmail.com>
To: LuVar <luvar@plaintext.sk>
Cc: linux-ext4@vger.kernel.org
Subject: Re: sustained write to disk, frozen copy
Date: Mon, 29 Apr 2013 00:50:23 +0800	[thread overview]
Message-ID: <20130428165023.GA5723@gmail.com> (raw)
In-Reply-To: <918096296.2221367046962554.JavaMail.root@shiva>

On Sat, Apr 27, 2013 at 08:16:02AM +0100, LuVar wrote:
> Hi,
> I have my desktop about 24 hours in "deadlock". I was copying (as root in krusader from USB key (mounted as [1]) data to filesystem [2]) some files from one point to another. Now it is more than 24 hours with sustained disk write, see [3].
> 
> How can I help and "debug" this problem? I have 3.5.7 gentoo kernel ([4]).

Hi LuVar,

You could use 'echo w >/proc/sysrq-trigger' to look at which process has
been deadlock.

 # echo w >/proc/sysrq-trigger (WARN: you need a root privilege)
 # dmesg | vim -

 SysRq : Show Blocked State
   task                        PC stack   pid father

Here is nothing because my system hasn't any deadlock.  Then you could
use 'echo t >/proc/sysrq-trigger' to dump current tasks and their
information.  That would be great if you could paste these details in
mailing list.  They are very useful for us to dig this problem.

Thanks,
                                                - Zheng

> 
> PS: I am an average user, so please by verbose to me.
> 
> [1] sudo mount -o rw,uid=luvar,gid=luvar,iocharset=utf8 /dev/sdg1 /mnt/usbstick/
> 
> [2]:
> luvar@blacktroja ~ $ mount | grep music
> /dev/mapper/vg-music on /var/lib/mpd/music/local type ext4 (rw,noatime,commit=0)
> 
> [3]:
> iotop, two first records :
> 17714 be/3 root        0.00 B/s    0.00 B/s  0.00 % 97.60 % [jbd2/dm-3-8]
>  6546 be/4 root        0.00 B/s    0.00 B/s  0.00 % 93.48 % kdeinit4: kio_file [kdeinit] file local:/tmp/ksocket-root/~-socket local:/tmp/ksocket-root/krusaderZz6431.slave-socket
> 
> [4]:
> luvar@blacktroja ~ $ uname -a
> Linux blacktroja 3.5.7-gentoo #1 SMP Sun Oct 28 17:18:07 CET 2012 x86_64 Intel(R) Core(TM) i7 CPU 930 @ 2.80GHz GenuineIntel GNU/Linux
> 
> Thanks, LuVar
> --
> To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html

  parent reply	other threads:[~2013-04-28 16:32 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <1719908460.2201367046573138.JavaMail.root@shiva>
2013-04-27  7:16 ` sustained write to disk, frozen copy LuVar
2013-04-27 21:48   ` Azat Khuzhin
2013-04-28 16:50   ` Zheng Liu [this message]
2013-04-28 19:17     ` LuVar
2013-04-29  9:00       ` Dmitry Monakhov
     [not found] <1448604326.2831367229593304.JavaMail.root@shiva>
2013-04-29 10:13 ` luvar

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=20130428165023.GA5723@gmail.com \
    --to=gnehzuil.liu@gmail.com \
    --cc=linux-ext4@vger.kernel.org \
    --cc=luvar@plaintext.sk \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.