From: Paul Fertser <fercerpav-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
To: Vyacheslav Dubeyko <slava-yeENwD64cLxBDgjK7y7TUQ@public.gmane.org>
Cc: linux-nilfs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: Re: New experience with the odd problem starting nilfs_cleanerd due to an eMMC misbehaviour
Date: Sun, 30 Jun 2013 11:44:04 +0400 [thread overview]
Message-ID: <20130630074404.GI22224@home.lan> (raw)
In-Reply-To: <1357824862.2050.48.camel@slavad-ubuntu>
[-- Attachment #1: Type: text/plain, Size: 2318 bytes --]
On Thu, Jan 10, 2013 at 05:34:22PM +0400, Vyacheslav Dubeyko wrote:
> > On nilfs_cleanerd start i was consistently getting these messages:
> > [ 46.122096] mmcblk0: error -110 transferring data, sector 26671630, nr 10, card status 0x200900
> > [ 48.934623] mmcblk0: error -110 transferring data, sector 26671631, nr 9, card status 0x200900
> > (and similar output for two other sectors)
> >
> > However, this time was different, several full power cycles didn't
> > help and the read was still failing and cleanerd refused to start.
> >
>
> Could you share system log content and strace of nilfs_cleanerd's trying
> to start in the case of the issue? It needs for the beginning of the
> issue understanding. Please, set in the nilfs_cleanerd.conf debug level.
Now I've took my time to gather all the info I could (and it wasn't
that easy to calculate the offsets, I have nilfs2 on an LVM volume on
a GPT disk:), LVM partition offset is 34816 sectors, 1st PE is 384
sectors inside the partition, the NILFS volume starts on the 256th PE)
This command produced error messages so I think the offset is right:
sudo dd if=/dev/mapper/emmc--lvm-rootfs of=rawdump_2713.bin bs=$((4096*2048)) count=1 skip=2713
[ 5142.730071] mmcblk0: retrying using single block read
[ 5145.599122] mmcblk0: error -110 transferring data, sector 46594382, nr 434, card status 0x200900
[ 5145.624308] end_request: I/O error, dev mmcblk0, sector 46594382
[ 5148.442955] mmcblk0: error -110 transferring data, sector 46594383, nr 433, card status 0x200900
[ 5148.467911] end_request: I/O error, dev mmcblk0, sector 46594383
[ 5148.489628] Buffer I/O error on device dm-0, logical block 5557753
[ 5151.436927] mmcblk0: error -110 transferring data, sector 46594574, nr 242, card status 0x200900
[ 5151.462374] end_request: I/O error, dev mmcblk0, sector 46594574
[ 5154.286162] mmcblk0: error -110 transferring data, sector 46594575, nr 241, card status 0x200900
[ 5154.311555] end_request: I/O error, dev mmcblk0, sector 46594575
[ 5154.333388] Buffer I/O error on device dm-0, logical block 5557777
Attaching dumpseg output for segment 2713, strace for nilfs_cleanerd,
etc, HTH.
Thank you in advance!
--
Be free, use free (http://www.gnu.org/philosophy/free-sw.html) software!
mailto:fercerpav-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
[-- Attachment #2: dumpseg_2713.txt.bz2 --]
[-- Type: application/octet-stream, Size: 12943 bytes --]
[-- Attachment #3: lssu.txt.bz2 --]
[-- Type: application/octet-stream, Size: 13342 bytes --]
[-- Attachment #4: nilfs_tune_l.txt --]
[-- Type: text/plain, Size: 1030 bytes --]
nilfs-tune 2.1.0
Filesystem volume name: (none)
Filesystem UUID: 822e1c89-0714-42e7-9f5c-2a11234cec85
Filesystem magic number: 0x3434
Filesystem revision #: 2.0
Filesystem features: (none)
Filesystem state: invalid or mounted
Filesystem OS type: Linux
Block size: 4096
Filesystem created: Sat Jan 14 12:43:52 2012
Last mount time: Sun Jun 30 10:08:09 2013
Last write time: Sun Jun 30 11:01:35 2013
Mount count: 403
Maximum mount count: 50
Reserve blocks uid: 0 (user root)
Reserve blocks gid: 0 (group root)
First inode: 11
Inode size: 128
DAT entry size: 32
Checkpoint size: 192
Segment usage size: 16
Number of segments: 3685
Device size: 30916214784
First data block: 1
# of blocks per segment: 2048
Reserved segments %: 5
Last checkpoint #: 470550
Last block address: 4689935
Last sequence #: 35454
Free blocks count: 862208
Commit interval: 0
# of blks to create seg: 0
CRC seed: 0x08347184
CRC check sum: 0x6969faa9
CRC check data size: 0x00000118
[-- Attachment #5: syslog.bz2 --]
[-- Type: application/octet-stream, Size: 11175 bytes --]
[-- Attachment #6: cleanerd_debug_log.txt.bz2 --]
[-- Type: application/octet-stream, Size: 3454 bytes --]
[-- Attachment #7: daemon_debug.log --]
[-- Type: text/plain, Size: 1727 bytes --]
Jun 30 10:22:33 ac100-debian wpa_supplicant[1149]: WPA: Group rekeying completed with 00:27:19:ce:3b:ce [GTK=TKIP]
Jun 30 10:32:33 ac100-debian wpa_supplicant[1149]: WPA: Group rekeying completed with 00:27:19:ce:3b:ce [GTK=TKIP]
Jun 30 10:34:56 ac100-debian nilfs_cleanerd[1908]: start
Jun 30 10:34:56 ac100-debian nilfs_cleanerd[1908]: pause (clean check)
Jun 30 10:34:56 ac100-debian nilfs_cleanerd[1908]: resume (clean check)
Jun 30 10:34:56 ac100-debian nilfs_cleanerd[1908]: ncleansegs = 428
Jun 30 10:34:56 ac100-debian nilfs_cleanerd[1908]: 4 segments selected to be cleaned
Jun 30 10:34:56 ac100-debian nilfs_cleanerd[1908]: cannot clean segments: File exists
Jun 30 10:34:56 ac100-debian nilfs_cleanerd[1908]: shutdown
Jun 30 10:35:34 ac100-debian nilfs_cleanerd[1914]: start
Jun 30 10:35:34 ac100-debian nilfs_cleanerd[1914]: pause (clean check)
Jun 30 10:35:34 ac100-debian nilfs_cleanerd[1914]: resume (clean check)
Jun 30 10:35:34 ac100-debian nilfs_cleanerd[1914]: ncleansegs = 428
Jun 30 10:35:34 ac100-debian nilfs_cleanerd[1914]: 4 segments selected to be cleaned
Jun 30 10:35:34 ac100-debian nilfs_cleanerd[1914]: cannot clean segments: File exists
Jun 30 10:35:34 ac100-debian nilfs_cleanerd[1914]: shutdown
Jun 30 10:38:37 ac100-debian nilfs_cleanerd[2011]: start
Jun 30 10:38:37 ac100-debian nilfs_cleanerd[2011]: pause (clean check)
Jun 30 10:38:37 ac100-debian nilfs_cleanerd[2011]: resume (clean check)
Jun 30 10:38:37 ac100-debian nilfs_cleanerd[2011]: ncleansegs = 428
Jun 30 10:38:37 ac100-debian nilfs_cleanerd[2011]: 4 segments selected to be cleaned
Jun 30 10:38:37 ac100-debian nilfs_cleanerd[2011]: cannot clean segments: File exists
Jun 30 10:38:37 ac100-debian nilfs_cleanerd[2011]: shutdown
next prev parent reply other threads:[~2013-06-30 7:44 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-01-26 13:52 Odd problem starting nilfs_cleanerd due to an eMMC misbehaviour Paul Fertser
[not found] ` <20120126135203.GM2267-0MSThuzptbI@public.gmane.org>
2012-01-27 16:19 ` Christian Smith
[not found] ` <20120127161921.GL750-Ng8wz+J301SNY5Lh21HnMTHS2PGA244I9dF7HbQ/qKg@public.gmane.org>
2012-01-27 16:29 ` Gordan Bobic
2012-01-28 12:53 ` Martin Steigerwald
[not found] ` <201201281353.00537.Martin-3kZCPVa5dk2azgQtNeiOUg@public.gmane.org>
2012-02-01 6:06 ` Paul Fertser
2013-01-10 13:16 ` New experience with the odd " Paul Fertser
[not found] ` <20130110131659.GA29689-0MSThuzptbI@public.gmane.org>
2013-01-10 13:34 ` Vyacheslav Dubeyko
2013-01-10 13:49 ` Paul Fertser
[not found] ` <20130110134907.GB29689-0MSThuzptbI@public.gmane.org>
2013-01-10 14:00 ` Vyacheslav Dubeyko
2013-01-10 14:12 ` Paul Fertser
2013-06-30 7:44 ` Paul Fertser [this message]
[not found] ` <20130630074404.GI22224-0MSThuzptbI@public.gmane.org>
2013-06-30 7:56 ` Paul Fertser
[not found] ` <20130630075626.GJ22224-0MSThuzptbI@public.gmane.org>
2013-06-30 11:49 ` Vyacheslav Dubeyko
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=20130630074404.GI22224@home.lan \
--to=fercerpav-re5jqeeqqe8avxtiumwx3w@public.gmane.org \
--cc=linux-nilfs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=slava-yeENwD64cLxBDgjK7y7TUQ@public.gmane.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 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.