Find the answer to your Linux question:
Results 1 to 3 of 3
Hi, I install my linux distribution on sdcard and a lot of I/O errors occur. I tried ext2 and ext3 filesystem with noatime flag Does anybody have already use gnu/linux ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Oct 2012
    Posts
    2

    I/O Error with SDCARD


    Hi,

    I install my linux distribution on sdcard and a lot of I/O errors occur. I tried ext2 and ext3 filesystem with noatime flag
    Does anybody have already use gnu/linux on sdcard ?

    Any suggestions? Thanks in advance!

    Information:
    Code:
    $lspci
    02:04.0 SD Host controller: Intel Corporation Platform Controller Hub EG20T SDIO Controller #1 (rev 01) (prog-if 01)
    Code:
    $uname -r
    2.6.32-5-686
    Code:
    $dmesg
    Oct 26 16:50:40 localhost kernel: [  136.423879] ------------[ cut here ]------------
    Oct 26 16:50:40 localhost kernel: [  136.423920] WARNING: at /build/buildd-linux-2.6_2.6.32-46-i386-7ZiQaK/linux-2.6-2.6.32/debian/build/source_i386_none/fs/buffer.c:1160 mark_buffer_dirty+0x20/0x7a()
    Oct 26 16:50:40 localhost kernel: [  136.423946] Hardware name: To be filled by O.E.M.
    Oct 26 16:50:40 localhost kernel: [  136.423961] Modules linked in: xt_limit xt_tcpudp xt_state iptable_nat nf_nat nf_conntrack_ipv4 nf_conntrack nf_defrag_ipv4 iptable_filter ip_tables x_tables loop arc4 ecb at
    h9k snd_pcm mac80211 snd_timer ftdi_sio ath snd usbserial joydev evdev soundcore cfg80211 video snd_page_alloc output button rfkill pcspkr processor shpchp pci_hotplug ext2 mbcache usbhid hid usb_storage mmc_blo
    ck ahci sdhci_pci libata sdhci ohci_hcd thermal e1000e mmc_core ehci_hcd scsi_mod led_class usbcore nls_base thermal_sys [last unloaded: scsi_wait_scan]
    Oct 26 16:50:40 localhost kernel: [  136.424253] Pid: 1153, comm: rs:main Q:Reg Not tainted 2.6.32-5-686 #1
    Oct 26 16:50:40 localhost kernel: [  136.424270] Call Trace:
    Oct 26 16:50:40 localhost kernel: [  136.424302]  [<c1030949>] ? warn_slowpath_common+0x5e/0x8a
    Oct 26 16:50:40 localhost kernel: [  136.424330]  [<c103097f>] ? warn_slowpath_null+0xa/0xc
    Oct 26 16:50:40 localhost kernel: [  136.424358]  [<c10ce630>] ? mark_buffer_dirty+0x20/0x7a
    Oct 26 16:50:40 localhost kernel: [  136.424407]  [<f7fad127>] ? ext2_new_blocks+0x3e2/0x502 [ext2]
    Oct 26 16:50:40 localhost kernel: [  136.424451]  [<f7fb01c9>] ? ext2_get_block+0x34b/0x680 [ext2]
    Oct 26 16:50:40 localhost kernel: [  136.424484]  [<c13c60fc>] ? parse_mtrr_chunk_size_opt+0x10/0x2b
    Oct 26 16:50:40 localhost kernel: [  136.424512]  [<c10cd83e>] ? alloc_buffer_head+0xd/0x34
    Oct 26 16:50:40 localhost kernel: [  136.424539]  [<c10cdf66>] ? alloc_page_buffers+0x61/0xaa
    Oct 26 16:50:40 localhost kernel: [  136.424568]  [<c10cf59f>] ? __block_prepare_write+0x140/0x297
    Oct 26 16:50:40 localhost kernel: [  136.424598]  [<c10880be>] ? grab_cache_page_write_begin+0x67/0x88
    Oct 26 16:50:40 localhost kernel: [  136.424627]  [<c10cf849>] ? block_write_begin+0x70/0xc6
    Oct 26 16:50:40 localhost kernel: [  136.424670]  [<f7fafe7e>] ? ext2_get_block+0x0/0x680 [ext2]
    Oct 26 16:50:40 localhost kernel: [  136.424709]  [<f7fafe5c>] ? ext2_write_begin+0x29/0x2d [ext2]
    Oct 26 16:50:40 localhost kernel: [  136.424749]  [<f7fafe7e>] ? ext2_get_block+0x0/0x680 [ext2]
    Oct 26 16:50:40 localhost kernel: [  136.424777]  [<c10888b9>] ? generic_file_buffered_write+0xd0/0x21d
    Oct 26 16:50:40 localhost kernel: [  136.424812]  [<c1088e03>] ? __generic_file_aio_write+0x265/0x28d
    Oct 26 16:50:40 localhost kernel: [  136.424843]  [<c1088e7c>] ? generic_file_aio_write+0x51/0x93
    Oct 26 16:50:40 localhost kernel: [  136.424876]  [<c10b385a>] ? do_sync_write+0xc0/0x107
    Oct 26 16:50:40 localhost kernel: [  136.424907]  [<c104432e>] ? autoremove_wake_function+0x0/0x2d
    Oct 26 16:50:40 localhost kernel: [  136.424936]  [<c10b35a6>] ? fsnotify_modify+0x5a/0x61
    Oct 26 16:50:40 localhost kernel: [  136.424964]  [<c1102ff8>] ? security_file_permission+0xc/0xd
    Oct 26 16:50:40 localhost kernel: [  136.424991]  [<c10b379a>] ? do_sync_write+0x0/0x107
    Oct 26 16:50:40 localhost kernel: [  136.425074]  [<c10b4164>] ? vfs_write+0x7e/0xd6
    Oct 26 16:50:40 localhost kernel: [  136.425100]  [<c10b4254>] ? sys_write+0x3c/0x63
    Oct 26 16:50:40 localhost kernel: [  136.425127]  [<c10030fb>] ? sysenter_do_call+0x12/0x28
    Oct 26 16:50:40 localhost kernel: [  136.425147] ---[ end trace 5bbb9a8dc63f3138 ]---
    Oct 26 16:50:40 localhost kernel: [  137.096146] mmc0: Got data interrupt 0x00100000 even though no data operation was in progress.
    Oct 26 16:50:40 localhost kernel: [  137.096262] sdhci: ============== REGISTER DUMP ==============
    Oct 26 16:50:40 localhost kernel: [  137.096281] sdhci: Sys addr: 0x2f1b0600 | Version:  0x00000100
    Oct 26 16:50:40 localhost kernel: [  137.096299] sdhci: Blk size: 0x00007200 | Blk cnt:  0x0000000d
    Oct 26 16:50:40 localhost kernel: [  137.096316] sdhci: Argument: 0x00000000 | Trn mode: 0x00000023
    Oct 26 16:50:40 localhost kernel: [  137.096333] sdhci: Present:  0x01ef0000 | Host ctl: 0x00000007
    Oct 26 16:50:40 localhost kernel: [  137.096349] sdhci: Power:    0x0000000f | Blk gap:  0x00000000
    Oct 26 16:50:40 localhost kernel: [  137.096366] sdhci: Wake-up:  0x00000000 | Clock:    0x00000007
    Oct 26 16:50:40 localhost kernel: [  137.096383] sdhci: Timeout:  0x0000000b | Int stat: 0x00000000
    Oct 26 16:50:40 localhost kernel: [  137.096400] sdhci: Int enab: 0x02ff00cb | Sig enab: 0x02ff00cb
    Oct 26 16:50:40 localhost kernel: [  137.096417] sdhci: AC12 err: 0x00000000 | Slot int: 0x000000ff
    Oct 26 16:50:40 localhost kernel: [  137.096434] sdhci: Caps:     0x01f632b2 | Max curr: 0x00000080
    Oct 26 16:50:40 localhost kernel: [  137.096444] sdhci: ===========================================
    Oct 26 16:50:47 localhost ntpdate[940]: Can't find host 2.debian.pool.ntp.org: Name or service not known (-2)
    Oct 26 16:50:50 localhost kernel: [  146.756060] mmc0: Timeout waiting for hardware interrupt.
    Oct 26 16:50:50 localhost kernel: [  146.756156] sdhci: ============== REGISTER DUMP ==============
    Oct 26 16:50:50 localhost kernel: [  146.756176] sdhci: Sys addr: 0x2f1b0600 | Version:  0x00000100
    Oct 26 16:50:50 localhost kernel: [  146.756194] sdhci: Blk size: 0x00007200 | Blk cnt:  0x0000000d
    Oct 26 16:50:50 localhost kernel: [  146.756211] sdhci: Argument: 0x00000000 | Trn mode: 0x00000023
    Oct 26 16:50:50 localhost kernel: [  146.756228] sdhci: Present:  0x01ff0000 | Host ctl: 0x00000007
    Oct 26 16:50:50 localhost kernel: [  146.756245] sdhci: Power:    0x0000000f | Blk gap:  0x00000000
    Oct 26 16:50:50 localhost kernel: [  146.756262] sdhci: Wake-up:  0x00000000 | Clock:    0x00000007
    Oct 26 16:50:50 localhost kernel: [  146.756278] sdhci: Timeout:  0x0000000b | Int stat: 0x00000000
    Oct 26 16:50:50 localhost kernel: [  146.756295] sdhci: Int enab: 0x02ff00cb | Sig enab: 0x02ff00cb
    Oct 26 16:50:50 localhost kernel: [  146.756312] sdhci: AC12 err: 0x00000000 | Slot int: 0x000000ff
    Oct 26 16:50:50 localhost kernel: [  146.756329] sdhci: Caps:     0x01f632b2 | Max curr: 0x00000080
    Oct 26 16:50:50 localhost kernel: [  146.756340] sdhci: ===========================================
    Oct 26 16:50:50 localhost kernel: [  146.758451] mmcblk0: error -110 transferring data, sector 12644352, nr 16, card status 0x0
    Oct 26 16:50:50 localhost kernel: [  146.758560] mmcblk0: error -110 sending stop command, response 0x0, card status 0x0
    Oct 26 16:50:50 localhost kernel: [  146.758914] end_request: I/O error, dev mmcblk0, sector 12644353
    Oct 26 16:50:50 localhost kernel: [  146.759018] end_request: I/O error, dev mmcblk0, sector 12644360

  2. #2
    Linux Guru rokytnji's Avatar
    Join Date
    Jul 2008
    Location
    Desert
    Posts
    4,125
    Your card may be full of writes maybe. Sometimes I would have to plug in my external sd card linux install into another Linux box and run gparted and do a check in gparted on the sd card to fix this. I use ext2 file system on the card and sometimes the file system would become corrupted from a unclean unmount situation.

    Plugging in the sd card in one of my other Linux boxes and running gparted>check fixed that problem for me.

    In a extreme case where that does not fix your Linux sd carde install.

    http://zerinsakech.wordpress.com/201...on-hard-drive/
    Linux Registered User # 475019
    Lead,Follow, or get the heck out of the way. I Have a Masters in Raising Hell
    Tech Books
    Free Linux Books
    Newbie Guide
    Courses at Home

  3. #3
    Just Joined!
    Join Date
    Oct 2012
    Posts
    2
    Hi,

    Thanks for the answer, I will try the tricks as soon as possible.



    ++

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •