Google Groups

Re: More about SD-Card problems


Federico Pietro Briata Jan 13, 2011 3:22 AM
Posted in group: sim1
Hello

2011/1/13 Mika Westerberg <mika.we...@iki.fi>:
> Hello,
>
> I've been investigating this SD-Card problem for a while and I think
> it's time to share my observations.
>
> As we know, 'apt-get update' is very good in triggering the problem.
> I've managed to reduce it into a small test program
> which almost always causes the card to fail. The program is attached
> (mmap_stress.c).

thank you, I'll try out!

Can be also ext2 fs not adapt on sim1? I mean, should I try with btrfs
or ext4 (without jurnal) ?

Those following are my last error, I had it with SD card (2GB, not
sdhc) that Sergio send me...
I saw better result when I move from SDHC to SD
I had only this error and it went out only after an apt-get update
with sources.list very populated...

Fetched 14.4MB in 4min16s (56.1kB/s)
mmcblk0: error -84 transferring data, sector 3210145, nr 48, card
status 0x0
end_request: I/O error, dev mmcblk0, sector 3210145
end_request: I/O error, dev mmcblk0, sector 3210153
end_request: I/O error, dev mmcblk0, sector 3210161
end_request: I/O error, dev mmcblk0, sector 3210169
end_request: I/O error, dev mmcblk0, sector 3210177
end_request: I/O error, dev mmcblk0, sector 3210185
mmcblk0: error -84 transferring data, sector 267, nr 2, card status
0x0
end_request: I/O error, dev mmcblk0, sector 267
Buffer I/O error on device mmcblk0p1, logical block 8
lost page write due to I/O error on mmcblk0p1
------------[ cut here ]------------
WARNING: at fs/buffer.c:1152 mark_buffer_dirty+0x34/0xec()
[<c002c118>] (unwind_backtrace+0x0/0xec) from [<c003e14c>]
(warn_slowpath_common+0x44/0x5c)
[<c003e14c>] (warn_slowpath_common+0x44/0x5c) from [<c003e180>]
(warn_slowpath_null+0x1c/0x24)
[<c003e180>] (warn_slowpath_null+0x1c/0x24) from [<c00be074>]
(mark_buffer_dirty+0x34/0xec)
[<c00be074>] (mark_buffer_dirty+0x34/0xec) from [<c00fa9a4>]
(ext2_new_blocks+0x3e8/0x53c)
[<c00fa9a4>] (ext2_new_blocks+0x3e8/0x53c) from [<c00fe5a0>]
(ext2_get_block+0x3b4/0x78c)
[<c00fe5a0>] (ext2_get_block+0x3b4/0x78c) from [<c00bf284>]
(block_prepare_write+0x1c4/0x4c8)
[<c00bf284>] (block_prepare_write+0x1c4/0x4c8) from [<c00bf71c>]
(block_write_begin+0x48/0x78)
[<c00bf71c>] (block_write_begin+0x48/0x78) from [<c00fd75c>]
(ext2_write_begin+0x3c/0x64)
------------[ cut here ]------------
WARNING: at fs/buffer.c:1152 mark_buffer_dirty+0x34/0xec()
[<c00fd75c>] (ext2_write_begin+0x3c/0x64) from [<c006ae28>]
(generic_file_buffered_write+0xd8/0x240)
[<c002c118>] (unwind_backtrace+0x0/0xec) from [<c003e14c>]
(warn_slowpath_common+0x44/0x5c)
[<c006ae28>] (generic_file_buffered_write+0xd8/0x240) from
[<c006cf2c>] (__generic_file_aio_write+0x460/0x4a4)
[<c003e14c>] (warn_slowpath_common+0x44/0x5c) from [<c003e180>]
(warn_slowpath_null+0x1c/0x24)
[<c006cf2c>] (__generic_file_aio_write+0x460/0x4a4) from [<c006cfdc>]
(generic_file_aio_write+0x6c/0xd4)
[<c003e180>] (warn_slowpath_null+0x1c/0x24) from [<c00be074>]
(mark_buffer_dirty+0x34/0xec)
[<c006cfdc>] (generic_file_aio_write+0x6c/0xd4) from [<c0099798>]
(do_sync_write+0xa8/0xf4)
[<c00be074>] (mark_buffer_dirty+0x34/0xec) from [<c00fa9a4>]
(ext2_new_blocks+0x3e8/0x53c)
[<c0099798>] (do_sync_write+0xa8/0xf4) from [<c009a194>]
(vfs_write+0xb0/0x13c)
[<c009a194>] (vfs_write+0xb0/0x13c) from [<c009a2d4>]
(sys_write+0x40/0x6c)
[<c00fa9a4>] (ext2_new_blocks+0x3e8/0x53c) from [<c00fe5a0>]
(ext2_get_block+0x3b4/0x78c)
[<c009a2d4>] (sys_write+0x40/0x6c) from [<c0026dc0>]
(ret_fast_syscall+0x0/0x2c)
[<c00fe5a0>] (ext2_get_block+0x3b4/0x78c) from [<c00bf284>]
(block_prepare_write+0x1c4/0x4c8)
---[ end trace 2567634ba15c3eaa ]---
[<c00bf284>] (block_prepare_write+0x1c4/0x4c8) from [<c00bf71c>]
(block_write_begin+0x48/0x78)
[<c00bf71c>] (block_write_begin+0x48/0x78) from [<c00fd75c>]
(ext2_write_begin+0x3c/0x64)
[<c00fd75c>] (ext2_write_begin+0x3c/0x64) from [<c006ae28>]
(generic_file_buffered_write+0xd8/0x240)
[<c006ae28>] (generic_file_buffered_write+0xd8/0x240) from
[<c006cf2c>] (__generic_file_aio_write+0x460/0x4a4)
[<c006cf2c>] (__generic_file_aio_write+0x460/0x4a4) from [<c006cfdc>]
(generic_file_aio_write+0x6c/0xd4)
[<c006cfdc>] (generic_file_aio_write+0x6c/0xd4) from [<c0099798>]
(do_sync_write+0xa8/0xf4)
[<c0099798>] (do_sync_write+0xa8/0xf4) from [<c009a194>]
(vfs_write+0xb0/0x13c)
[<c009a194>] (vfs_write+0xb0/0x13c) from [<c009a2d4>]
(sys_write+0x40/0x6c)
[<c009a2d4>] (sys_write+0x40/0x6c) from [<c0026dc0>]
(ret_fast_syscall+0x0/0x2c)
---[ end trace 2567634ba15c3eab ]---
EXT2-fs (mmcblk0p1): error: ext2_fsync: detected IO error when writing
metadata buffers
Reading package lists... Error!
W: GPG error: http://packages.enlightenment.org squeeze Release: The
following signatures couldn't be verified because the public key is
no2
W: GPG error: http://www.debian-multimedia.org squeeze Release: The
following signatures couldn't be verified because the public key is
not7
E: Problem syncing the file - sync (5 Input/output error)
E: The package lists or status file could not be parsed or opened.