public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Stanislav Brabec <utx@penguin.cz>
To: Kristoffer Ericson <kristoffer.ericson@gmail.com>
Cc: Cyril Hrubis <metan@ucw.cz>,
	linux-kernel@vger.kernel.org, linux-ide@vger.kernel.org,
	Robert Hancock <hancockrwd@gmail.com>, Tejun Heo <tj@kernel.org>,
	Dominik Brodowski <linux@dominikbrodowski.net>,
	Jeff Garzik <jgarzik@pobox.com>,
	pavel@ucw.cz, rpurdie@rpsys.net, lenz@cs.wisc.edu,
	arminlitzel@web.de, thommycheck@gmail.com, dbaryshkov@gmail.com,
	omegamoon@gmail.com, eric.y.miao@gmail.com,
	zaurus-devel@www.linuxtogo.org,
	Marek Vasut <marek.vasut@gmail.com>
Subject: Re: zaurus pata_pcmcia corrupted filesystem
Date: Sat, 14 Aug 2010 12:43:00 +0200	[thread overview]
Message-ID: <1281782580.6707.1.camel@utx.lan> (raw)
In-Reply-To: <20100814094353.GB926@boggieman.bredbandsbolaget.se>

Kristoffer Ericson wrote: 
> On Wed, Aug 11, 2010 at 04:44:11PM +0200, Cyril Hrubis wrote:
> > Hi!
> > Marek Vasut ported deprecated zaurus pcmcia disk driver to the pata_pcmcia
> > interface, sources are here:
> > 
> > http://git.kernel.org/?p=linux/kernel/git/marex/pxa-linux-2.6.git;a=shortlog;h=refs/heads/zaurus-haxing
> > 
> > Everythig seems to be fine at the first look but sometimes the filesystem gets
> > unconsistent. Typical example is extracting tar archive with big number of
> > files and directories (I used ltp-full archive from
> > http://www.sf.net/projects/ltp/). After doing that, some files or directories
> > are present in the filesystem, eg. you can see them in directory listing but
> > open or fstat returns ENOENT.
> > 
> > Extracting to SD card seems to work without any problems.
> > 
> > Anybody has idea what went wrong?
> 
> What kind of number of files (in tar archive) are we talking about in round
> figures? Does the files it affect differ in size (large fail, small doesnt)..?
> Its hard to say without having more data (as always).

These mysterious failures were discussed several times before in
zaurus-devel[1][2][3][4][5][6]. We suspected PCMCIA code, RAM errors or
bad voltage.

Typical reproducers:

git status on kernel tree (false result)
copy files from CF to SD or USB (errors in files)
gcc while using CF WLAN or CF Bluetooth (segfault)

It happened in all kernels at least since 2.6.26, but probably in all
2.6 kernels.

[1] http://lists.linuxtogo.org/pipermail/zaurus-devel/2010-June/000306.html
[2] http://lists.linuxtogo.org/pipermail/zaurus-devel/2010-June/000305.html
[3] http://lists.linuxtogo.org/pipermail/zaurus-devel/2010-April/000242.html
[4] http://lists.linuxtogo.org/pipermail/zaurus-devel/2010-March/000217.html
[5] http://lists.linuxtogo.org/pipermail/zaurus-devel/2010-March/000227.html

-- 
________________________________________________________________________
Stanislav Brabec
http://www.penguin.cz/~utx/zaurus



  reply	other threads:[~2010-08-14 10:43 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-08-11 14:44 zaurus pata_pcmcia corrupted filesystem Cyril Hrubis
2010-08-14  4:16 ` Marek Vasut
2010-08-14 16:48   ` Cyril Hrubis
2010-08-14  9:43 ` Kristoffer Ericson
2010-08-14 10:43   ` Stanislav Brabec [this message]
2010-08-14 11:39     ` Cyril Hrubis
2010-08-14 14:15       ` Stanislav Brabec
2010-08-21  9:51         ` Cyril Hrubis

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=1281782580.6707.1.camel@utx.lan \
    --to=utx@penguin.cz \
    --cc=arminlitzel@web.de \
    --cc=dbaryshkov@gmail.com \
    --cc=eric.y.miao@gmail.com \
    --cc=hancockrwd@gmail.com \
    --cc=jgarzik@pobox.com \
    --cc=kristoffer.ericson@gmail.com \
    --cc=lenz@cs.wisc.edu \
    --cc=linux-ide@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux@dominikbrodowski.net \
    --cc=marek.vasut@gmail.com \
    --cc=metan@ucw.cz \
    --cc=omegamoon@gmail.com \
    --cc=pavel@ucw.cz \
    --cc=rpurdie@rpsys.net \
    --cc=thommycheck@gmail.com \
    --cc=tj@kernel.org \
    --cc=zaurus-devel@www.linuxtogo.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