Can't access ext3 partition on uSD

Stefan Monnier monnier at iro.umontreal.ca
Thu Feb 12 17:34:35 CET 2009


> | I'm ahving trouble with my uSD card, where I have an ext3 filesystem.
> | This filesystem was setup on the FR and used there successfully for
> | a while.  Then one day I started to have problems on it (I was using
> | Debian-FSO's 2.6.24 kernel back then).  I tried to upgrade to
> | Debian-FSO's 2.6.28-20090105.git69b2aa26 thinking it would solve them,
> | but they're still there:
> |
> |    # mount -t ext3 /dev/mmcblk0p1 /mnt
> |    # l /mnt/monnier
> |    ls: cannot access /mnt/monnier/src: Stale NFS file handle
> |    ls: cannot access /mnt/monnier/maps: Stale NFS file handle
> |    total 0
> |    -rw------- 1 monnier monnier 0 Jan 31 19:02 .xsession-errors
> |    d????????? ? ?       ?       ?            ? maps/
> |    d????????? ? ?       ?       ?            ? src/
> |    #

> What is dmesg saying when this happens?

dmesg shows a subset of the syslog (and yes, I did double check that it
is in fact the case), and the syslog shows no relevant message (more
specifically: no message at all around the corresponding time).

> I guess it simply can't communicate with the card properly and
> everything else like general ext3 real and apparent breakage is down
> to that.

I guess so as well, but there's no trace of the problems.  If I do
a "find /sd -ls >/dev/null" to force it to read every inode, I get
a bunch of "Stale NFS file handles", a couple "Input/Output" errors, and
the syslog shows a few (fewer than stale NFS handles) EXT3-fs errors and
inode complaints.  See other session-log below, which includes the
syslog's output.


        Stefan


# logread -f&
[1] 2087
# find /sd -ls >/dev/null
find: `/sd/monnier/maps/OSM/301/361.png': Stale NFS file handle
find: `/sd/monnier/maps/OSM/301/359.png': Stale NFS file handle
find: `/sd/monnier/maps/OSM/301/362.png': Stale NFS file handle
find: `/sd/monnier/maps/OSM/301/363.png': Stale NFS file handle
find: `/sd/monnier/maps/OSM/301/360.png': Stale NFS file handle
find: `/sd/monnier/maps/OSM/301/358.png': Stale NFS file handle
find: `/sd/monnier/maps/OSM/309': Stale NFS file handle
find: `/sd/monnier/maps/OSM/305/361.png': Stale NFS file handle
find: `/sd/monnier/maps/OSM/305/359.png': Stale NFS file handle
find: `/sd/monnier/maps/OSM/305/362.png': Input/output error
find: `/sd/monnier/maps/OSM/305/355.png': Stale NFS file handle
find: `/sd/monnier/maps/OSM/305/354.png': Stale NFS file handle
find: `/sd/monnier/maps/OSM/305/356.png': Stale NFS file handle
find: `/sd/monnier/maps/OSM/305/357.png': Stale NFS file handle
find: `/sd/monnier/maps/OSM/305/352.png': Stale NFS file handle
find: `/sd/monnier/maps/OSM/305/360.png': Stale NFS file handle
find: `/sd/monnier/maps/OSM/305/358.png': Stale NFS file handle
find: `/sd/monnier/maps/OSM/305/353.png': Stale NFS file handle
find: `/sd/monnier/maps/OSM/308': Stale NFS file handle
find: `/sd/monnier/maps/OSM/295': Stale NFS file handle
find: `/sd/monnier/maps/OSM/307': Stale NFS file handle
find: `/sd/monnier/maps/OSM/304': Stale NFS file handle
Feb  1 21:19:42 neo user.crit kernel: [94450.590000] EXT3-fs error (device mmcblk0p1): htree_dirblock_to_tree: bad entry in directory #77922: rec_len is smaller than minimal - offset=0, inode=65552877, rec_len=0, name_len=0
Feb  1 21:19:42 neo user.info kernel: 
find: `/sd/monnier/maps/nonames/11/591': Stale NFS file handle
find: `/sd/monnier/maps/nonames/15/8997': Stale NFS file handle
find: `/sd/monnier/maps/nonames/15/9010': Stale NFS file handle
find: `/sd/monnier/maps/nonames/15/9007': Stale NFS file handle
find: `/sd/monnier/maps/nonames/15/8999': Stale NFS file handle
find: `/sd/monnier/maps/nonames/15/9009': Stale NFS file handle
find: `/sd/monnier/maps/nonames/15/8998': Stale NFS file handle
find: `/sd/monnier/maps/nonames/15/9008': Stale NFS file handle
find: `/sd/monnier/maps/nonames/15/9011': Stale NFS file handle
find: `/sd/monnier/maps/nonames/15/9006': Stale NFS file handle
find: `/sd/monnier/maps/nonames/15/9000': Stale NFS file handle
find: `/sd/monnier/maps/nonames/15/9005': Stale NFS file handle
find: `/sd/monnier/maps/nonames/12/1247': Stale NFS file handle
find: `/sd/monnier/maps/nonames/17/38722/46865.png': Stale NFS file handle
find: `/sd/monnier/maps/nonames/17/38722/46859.png': Stale NFS file handle
find: `/sd/monnier/maps/nonames/17/38722/46862.png': Input/output error
find: `/sd/monnier/maps/nonames/17/38722/46860.png': Stale NFS file handle
find: `/sd/monnier/maps/nonames/17/38722/46863.png': Input/output error
Feb  1 21:19:54 neo user.debug kernel: [94462.775000] init_special_inode: bogus i_mode (130650)
Feb  1 21:19:54 neo user.debug kernel: [94462.815000] init_special_inode: bogus i_mode (31465)
Feb  1 21:19:54 neo user.debug kernel: [94462.845000] init_special_inode: bogus i_mode (147)
find: `/sd/monnier/maps/nonames/17/38721': Stale NFS file handle
find: `/sd/monnier/maps/nonames/17/36016': Stale NFS file handle
find: `/sd/monnier/maps/nonames/17/36010/53194.png': Stale NFS file handle
find: `/sd/monnier/maps/nonames/17/36010/53190.png': Stale NFS file handle
find: `/sd/monnier/maps/nonames/17/36010/53191.png': Stale NFS file handle
find: `/sd/monnier/maps/nonames/17/36010/53193.png': Stale NFS file handle
find: `/sd/monnier/maps/nonames/17/36010/53192.png': Stale NFS file handle
find: `/sd/monnier/maps/nonames/17/36031/53181.png': Stale NFS file handle
find: `/sd/monnier/maps/nonames/17/36031/53179.png': Stale NFS file handle
find: `/sd/monnier/maps/nonames/17/36031/53187.png': Stale NFS file handle
find: `/sd/monnier/maps/nonames/17/36031/53184.png': Input/output error
find: `/sd/monnier/maps/nonames/17/36031/53180.png': Stale NFS file handle
find: `/sd/monnier/maps/nonames/17/36031/53182.png': Stale NFS file handle
find: `/sd/monnier/maps/nonames/17/36031/53185.png': Input/output error
Feb  1 21:19:58 neo user.debug kernel: [94467.110000] init_special_inode: bogus i_mode (131234)
Feb  1 21:19:58 neo user.debug kernel: [94467.165000] init_special_inode: bogus i_mode (31465)
Feb  1 21:19:58 neo user.debug kernel: [94467.180000] init_special_inode: bogus i_mode (147)
find: `/sd/monnier/maps/nonames/9/151/185.png': Stale NFS file handle
find: `/sd/monnier/maps/nonames/9/151/179.png': Stale NFS file handle
find: `/sd/monnier/maps/nonames/9/151/180.png': Stale NFS file handle
find: `/sd/monnier/maps/nonames/9/151/181.png': Stale NFS file handle
find: `/sd/monnier/maps/nonames/9/151/186.png': Stale NFS file handle
find: `/sd/monnier/maps/nonames/9/152/185.png': Stale NFS file handle
find: `/sd/monnier/maps/nonames/9/152/179.png': Stale NFS file handle
find: `/sd/monnier/maps/nonames/9/152/180.png': Stale NFS file handle
find: `/sd/monnier/maps/nonames/9/152/181.png': Stale NFS file handle
find: `/sd/monnier/maps/nonames/9/152/186.png': Stale NFS file handle
find: `/sd/monnier/maps/nonames/14/4505': Stale NFS file handle
find: `/sd/monnier/maps/nonames/16/18017': Stale NFS file handle
find: `/sd/monnier/maps/nonames/16/18010': Stale NFS file handle
find: `/sd/monnier/maps/nonames/16/18014': Stale NFS file handle
find: `/sd/monnier/maps/nonames/16/18011': Stale NFS file handle
find: `/sd/monnier/maps/nonames/16/18002': Stale NFS file handle
find: `/sd/monnier/maps/nonames/16/18008': Stale NFS file handle
find: `/sd/monnier/maps/nonames/16/18013': Stale NFS file handle
find: `/sd/monnier/maps/nonames/16/18012': Stale NFS file handle
find: `/sd/monnier/maps/nonames/16/18016': Stale NFS file handle
find: `/sd/monnier/maps/nonames/16/18009': Stale NFS file handle
find: `/sd/monnier/maps/nonames/16/18015': Stale NFS file handle
find: `/sd/monnier/maps/nonames/10/301/361.png': Stale NFS file handle
find: `/sd/monnier/maps/nonames/10/301/359.png': Stale NFS file handle
find: `/sd/monnier/maps/nonames/10/301/362.png': Stale NFS file handle
find: `/sd/monnier/maps/nonames/10/301/363.png': Stale NFS file handle
find: `/sd/monnier/maps/nonames/10/301/360.png': Stale NFS file handle
find: `/sd/monnier/maps/nonames/10/301/358.png': Stale NFS file handle
find: `/sd/monnier/maps/nonames/10/309': Stale NFS file handle
find: `/sd/monnier/maps/nonames/10/305/361.png': Stale NFS file handle
find: `/sd/monnier/maps/nonames/10/305/359.png': Stale NFS file handle
find: `/sd/monnier/maps/nonames/10/305/362.png': Input/output error
find: `/sd/monnier/maps/nonames/10/305/355.png': Stale NFS file handle
find: `/sd/monnier/maps/nonames/10/305/354.png': Stale NFS file handle
find: `/sd/monnier/maps/nonames/10/305/356.png': Stale NFS file handle
find: `/sd/monnier/maps/nonames/10/305/357.png': Stale NFS file handle
find: `/sd/monnier/maps/nonames/10/305/352.png': Stale NFS file handle
find: `/sd/monnier/maps/nonames/10/305/360.png': Stale NFS file handle
find: `/sd/monnier/maps/nonames/10/305/358.png': Stale NFS file handle
find: `/sd/monnier/maps/nonames/10/305/353.png': Stale NFS file handle
find: `/sd/monnier/maps/nonames/10/308': Stale NFS file handle
find: `/sd/monnier/maps/nonames/10/295': Stale NFS file handle
find: `/sd/monnier/maps/nonames/10/307': Stale NFS file handle
find: `/sd/monnier/maps/nonames/10/304': Stale NFS file handle
# 




More information about the openmoko-kernel mailing list