linux-nilfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Paul Fertser <fercerpav-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
To: Martin Steigerwald <Martin-3kZCPVa5dk2azgQtNeiOUg@public.gmane.org>
Cc: linux-nilfs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: Re: Odd problem starting nilfs_cleanerd due to an eMMC misbehaviour
Date: Wed, 1 Feb 2012 10:06:42 +0400	[thread overview]
Message-ID: <20120201060641.GS2267@home.lan> (raw)
In-Reply-To: <201201281353.00537.Martin-3kZCPVa5dk2azgQtNeiOUg@public.gmane.org>

Hi,

On Sat, Jan 28, 2012 at 01:53:00PM +0100, Martin Steigerwald wrote:
> > [ 5671.580366] mmcblk0: error -110 transferring data, sector 15563278, nr 122, card status 0x200900
> > [ 5671.603701] end_request: I/O error, dev mmcblk0, sector 15563278
> 
> Well I think thats clear: Thats an I/O error when trying to access the MMC 
> flash. I think the cleaner shouldn´t hang on it, but aside from that I do 
> not see a NILFS issue here.

Well, please consider my message as a bugreport against the cleaner,
i.e. "defect/featurerequest: if the cleaner daemon stops due to I/O
errors, output an informational message suggesting to 1. Fully power
off the media and reboot 2. In case it doesn't help, try another
controller."

I'm not sure if the facility to mark bad blocks and skip them is
needed on modern devices, so it's not clear if that's reasonable to
expect it from NILFS.

As to the fsck, it would be very nice to have at least some very basic
utility, probably even doing only diagnostic output. And with Debian
on NILFS rootfs i had to substitute it with /bin/true because Debian
expects a usable fsck for its root.

> As to the exact nature of the MMC error I have no idea. Maybe searching 
> for parts of the dmesg message does help.

Probably some glitch in the embedded controller, dmesg had no
interesting related data.

> I have I/O errors sometimes with the internal card reader on my ThinkPad 
> T520 with Kingston Ultimate SD cards which work perfectly well with an 
> external USB card reader. I reported these to bugzilla.kernel.org after I 
> noticed that some similar sounding issue was reported there as well.

I wonder if that might be related to the power supply voltage. I think
external cardreaders always use 5V for the card but the internal can
vary it and if the card's descriptor permits lower voltages, it goes
for the lowest; similar reasoning applies to the frequency.

Also some cards are more prone to RF interference than the others. At
OpenMoko we had reports of I/O errors occuring simultaneously with the
GSM activity. I guess laptop's insides have enough sources of
interference too.
 
-- 
Be free, use free (http://www.gnu.org/philosophy/free-sw.html) software!
mailto:fercerpav-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
--
To unsubscribe from this list: send the line "unsubscribe linux-nilfs" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

  parent reply	other threads:[~2012-02-01  6:06 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 [this message]
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
     [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=20120201060641.GS2267@home.lan \
    --to=fercerpav-re5jqeeqqe8avxtiumwx3w@public.gmane.org \
    --cc=Martin-3kZCPVa5dk2azgQtNeiOUg@public.gmane.org \
    --cc=linux-nilfs-u79uwXL29TY76Z2rM5mHXA@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).