Find the answer to your Linux question:
Page 1 of 2 1 2 LastLast
Results 1 to 10 of 13
Like Tree1Likes
ive seen this problem all over google but I cant seem to find a fix. I have a built in SD slot.. with a SDHC 16G the card is a ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    May 2013
    Posts
    4

    Question SDHC 16G card barfs after writing files


    ive seen this problem all over google but I cant seem to find a fix.
    I have a built in SD slot.. with a SDHC 16G

    the card is a
    Kingston 16GB Secure Digital High-Capacity (SDHC) (240 min) Solid-State SDHC Video Flash Card Model SDV/16GB

    I start to rsync some music to it and it starts fine but soon bails and disconnects with I/O errors.. then it will remount itself..

    here are the errors when it dropped out.
    Code:
    May  1 22:20:46 Satellite-P205 kernel: [12970.656102] tifm_sd0:1 : card failed to respond for a long period of time (19, 1)
    May  1 22:20:46 Satellite-P205 kernel: [12970.656155] tifm0 : demand removing card from socket 0:1
    May  1 22:20:46 Satellite-P205 kernel: [12970.656248] mmc1: card 1234 removed
    May  1 22:20:46 Satellite-P205 kernel: [12970.656367] mmcblk0: error -123 sending status command, retrying
    May  1 22:20:46 Satellite-P205 kernel: [12970.656376] mmcblk0: error -123 sending status command, retrying
    May  1 22:20:46 Satellite-P205 kernel: [12970.656382] mmcblk0: error -123 sending status command, aborting
    May  1 22:20:46 Satellite-P205 kernel: [12970.656392] end_request: I/O error, dev mmcblk0, sector 523408
    May  1 22:20:46 Satellite-P205 kernel: [12970.656413] end_request: I/O error, dev mmcblk0, sector 523416
    May  1 22:20:46 Satellite-P205 kernel: [12970.656430] end_request: I/O error, dev mmcblk0, sector 523424
    May  1 22:20:46 Satellite-P205 kernel: [12970.656448] end_request: I/O error, dev mmcblk0, sector 523432
    May  1 22:20:46 Satellite-P205 kernel: [12970.656465] end_request: I/O error, dev mmcblk0, sector 523440
    May  1 22:20:46 Satellite-P205 kernel: [12970.656481] end_request: I/O error, dev mmcblk0, sector 523448
    May  1 22:20:46 Satellite-P205 kernel: [12970.656498] end_request: I/O error, dev mmcblk0, sector 523456
    May  1 22:20:46 Satellite-P205 kernel: [12970.656515] end_request: I/O error, dev mmcblk0, sector 523464
    May  1 22:20:46 Satellite-P205 kernel: [12970.656531] end_request: I/O error, dev mmcblk0, sector 523472
    May  1 22:20:46 Satellite-P205 kernel: [12970.656548] end_request: I/O error, dev mmcblk0, sector 523480
    May  1 22:20:46 Satellite-P205 kernel: [12970.656564] end_request: I/O error, dev mmcblk0, sector 523488
    May  1 22:20:46 Satellite-P205 kernel: [12970.656580] end_request: I/O error, dev mmcblk0, sector 523496
    May  1 22:20:46 Satellite-P205 kernel: [12970.656596] end_request: I/O error, dev mmcblk0, sector 523504
    May  1 22:20:46 Satellite-P205 kernel: [12970.656612] end_request: I/O error, dev mmcblk0, sector 523512
    May  1 22:20:46 Satellite-P205 kernel: [12970.656628] end_request: I/O error, dev mmcblk0, sector 523520
    May  1 22:20:46 Satellite-P205 kernel: [12970.658002] mmcblk0: error -123 sending status command, retrying
    May  1 22:20:46 Satellite-P205 kernel: [12970.658008] mmcblk0: error -123 sending status command, retrying
    May  1 22:20:46 Satellite-P205 kernel: [12970.658014] mmcblk0: error -123 sending status command, aborting
    May  1 22:20:46 Satellite-P205 kernel: [12970.656102] tifm_sd0:1 : card failed to respond for a long period of time (19, 1)
    May  1 22:20:46 Satellite-P205 kernel: [12970.656155] tifm0 : demand removing card from socket 0:1
    May  1 22:20:46 Satellite-P205 kernel: [12970.656248] mmc1: card 1234 removed
    May  1 22:20:46 Satellite-P205 kernel: [12970.656367] mmcblk0: error -123 sending status command, retrying
    May  1 22:20:46 Satellite-P205 kernel: [12970.656376] mmcblk0: error -123 sending status command, retrying
    May  1 22:20:46 Satellite-P205 kernel: [12970.656382] mmcblk0: error -123 sending status command, aborting
    May  1 22:20:46 Satellite-P205 kernel: [12970.658002] mmcblk0: error -123 sending status command, retrying
    May  1 22:20:46 Satellite-P205 kernel: [12970.658008] mmcblk0: error -123 sending status command, retrying
    May  1 22:20:46 Satellite-P205 kernel: [12970.768190] mmcblk0: error -123 sending status command, retrying
    May  1 22:20:46 Satellite-P205 kernel: [12970.768193] mmcblk0: error -123 sending status command, aborting
    May  1 22:20:46 Satellite-P205 kernel: [12970.768220] FAT-fs (mmcblk0p1): Directory bread(block 248336) failed
    May  1 22:20:46 Satellite-P205 kernel: [12970.768250] mmcblk0: error -123 sending status command, retrying
    May  1 22:20:46 Satellite-P205 kernel: [12970.768253] mmcblk0: error -123 sending status command, retrying
    May  1 22:20:46 Satellite-P205 kernel: [12970.768256] mmcblk0: error -123 sending status command, aborting
    May  1 22:20:46 Satellite-P205 kernel: [12970.768268] FAT-fs (mmcblk0p1): Directory bread(block 248337) failed
    May  1 22:20:46 Satellite-P205 kernel: [12970.768421] mmcblk0: error -123 sending status command, retrying
    May  1 22:20:46 Satellite-P205 kernel: [12970.768424] mmcblk0: error -123 sending status command, retrying
    May  1 22:20:46 Satellite-P205 kernel: [12970.768427] mmcblk0: error -123 sending status command, aborting
    May  1 22:20:46 Satellite-P205 kernel: [12970.768444] FAT-fs (mmcblk0p1): unable to read inode block for updating (i_pos 3973384)
    May  1 22:20:46 Satellite-P205 kernel: [12970.768458] mmcblk0: error -123 sending status command, retrying
    May  1 22:20:46 Satellite-P205 kernel: [12970.768462] mmcblk0: error -123 sending status command, retrying
    May  1 22:20:46 Satellite-P205 kernel: [12970.768464] mmcblk0: error -123 sending status command, aborting
    May  1 22:20:46 Satellite-P205 kernel: [12970.768478] FAT-fs (mmcblk0p1): Directory bread(block 248336) failed
    May  1 22:20:46 Satellite-P205 kernel: [12970.768490] mmcblk0: error -123 sending status command, retrying
    May  1 22:20:46 Satellite-P205 kernel: [12970.768493] mmcblk0: error -123 sending status command, retrying
    May  1 22:20:46 Satellite-P205 kernel: [12970.768496] mmcblk0: error -123 sending status command, aborting
    May  1 22:20:46 Satellite-P205 kernel: [12970.768509] FAT-fs (mmcblk0p1): Directory bread(block 248337) failed
    May  1 22:20:46 Satellite-P205 kernel: [12970.768558] mmcblk0: error -123 sending status command, retrying
    May  1 22:20:46 Satellite-P205 kernel: [12970.768560] mmcblk0: error -123 sending status command, retrying
    May  1 22:20:46 Satellite-P205 kernel: [12970.768563] mmcblk0: error -123 sending status command, aborting
    May  1 22:20:46 Satellite-P205 kernel: [12970.768577] FAT-fs (mmcblk0p1): unable to read inode block for updating (i_pos 3973387)
    May  1 22:20:46 Satellite-P205 kernel: [12970.888365] mmcblk0: error -123 sending status command, aborting
    May  1 22:20:46 Satellite-P205 kernel: [12970.888374] FAT-fs (mmcblk0p1): FAT read failed (blocknr 337)
    May  1 22:20:46 Satellite-P205 kernel: [12971.012089] tifm_core: MMC/SD card detected in socket 0:1
    May  1 22:20:46 Satellite-P205 kernel: [12971.085233] FAT-fs (mmcblk0p1): FAT read failed (blocknr 137)
    May  1 22:20:46 Satellite-P205 kernel: [12971.085269] FAT-fs (mmcblk0p1): unable to read inode block for updating (i_pos 488967)
    May  1 22:20:46 Satellite-P205 kernel: [12971.085434] FAT-fs (mmcblk0p1): bread failed in fat_clusters_flush
    May  1 22:20:47 Satellite-P205 kernel: [12971.700290] mmc1: new SDHC card at address 1234
    May  1 22:20:47 Satellite-P205 kernel: [12971.700710] mmcblk0: mmc1:1234 SA16G 14.9 GiB 
    May  1 22:20:47 Satellite-P205 kernel: [12971.704424]  mmcblk0: p1
    May  1 22:21:01 Satellite-P205 kernel: [12985.718319] FAT-fs (mmcblk0p1): error, fat_free_clusters: deleting FAT entry beyond EOF
    May  1 22:21:01 Satellite-P205 kernel: [12985.718326] FAT-fs (mmcblk0p1): Filesystem has been set read-only
    here is some info on my laptop
    Code:
     cat /etc/issue
    Linux Mint 14 Nadia \n \l
    Linux Satellite-P205 3.5.0-17-generic #28-Ubuntu SMP Tue Oct 9 19:32:08 UTC 2012 i686 i686 i686 GNU/Linux
    Code:
     lspci|grep -i sd
    06:04.2 Mass storage controller: Texas Instruments 5-in-1 Multimedia Card Reader (SD/MMC/MS/MS PRO/xD)
    06:04.3 SD Host controller: Texas Instruments PCIxx12 SDA Standard Compliant SD Host Controller
    Code:
    lsmod 
    Module                  Size  Used by
    nls_iso8859_1          12617  1 
    mmc_block              26526  2 
    tifm_sd                17419  0 
    hid_generic            12445  0 
    usbhid                 41702  0 
    hid                    82142  2 hid_generic,usbhid
    des_generic            21191  0 
    md4                    12523  0 
    arc4                   12473  2 
    joydev                 17161  0 
    rfcomm                 37276  0 
    parport_pc             31968  0 
    ppdev                  12817  0 
    bnep                   17707  2 
    bluetooth             183228  10 rfcomm,bnep
    snd_hda_codec_realtek    63356  1 
    snd_hda_intel          32515  3 
    snd_hda_codec         111547  2 snd_hda_codec_realtek,snd_hda_intel
    snd_hwdep              13272  1 snd_hda_codec
    snd_pcm                80163  2 snd_hda_intel,snd_hda_codec
    nls_utf8               12493  2 
    cifs                  279812  2 
    fscache                50234  1 cifs
    pcmcia                 39509  0 
    snd_seq_midi           13132  0 
    snd_rawmidi            25382  1 snd_seq_midi
    snd_seq_midi_event     14475  1 snd_seq_midi
    snd_seq                51255  2 snd_seq_midi,snd_seq_midi_event
    coretemp               13168  0 
    tifm_7xx1              12898  0 
    tifm_core              15068  2 tifm_sd,tifm_7xx1
    snd_timer              24411  2 snd_pcm,snd_seq
    microcode              18209  0 
    snd_seq_device         14137  3 snd_seq_midi,snd_rawmidi,snd_seq
    uvcvideo               71277  0 
    videobuf2_core         32070  1 uvcvideo
    yenta_socket           27095  0 
    videodev               95841  2 uvcvideo,videobuf2_core
    videobuf2_vmalloc      12756  1 uvcvideo
    videobuf2_memops       13184  1 videobuf2_vmalloc
    pcmcia_rsrc            18191  1 yenta_socket
    pcmcia_core            21505  3 pcmcia,yenta_socket,pcmcia_rsrc
    psmouse                84843  0 
    serio_raw              13031  0 
    lpc_ich                16925  0 
    snd                    61991  15 snd_hda_codec_realtek,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm,snd_rawmidi,snd_seq,snd_timer,snd_seq_device
    ath5k                 135205  0 
    ath                    19187  1 ath5k
    soundcore              14599  1 snd
    mac80211              461161  1 ath5k
    snd_page_alloc         14036  2 snd_hda_intel,snd_pcm
    toshiba_acpi           18238  0 
    sparse_keymap          13658  1 toshiba_acpi
    wmi                    18590  1 toshiba_acpi
    cfg80211              175375  3 ath5k,ath,mac80211
    mac_hid                13037  0 
    lp                     13299  0 
    parport                40753  3 parport_pc,ppdev,lp
    i915                  457161  3 
    drm_kms_helper         45271  1 i915
    drm                   230463  4 i915,drm_kms_helper
    i2c_algo_bit           13197  1 i915
    firewire_ohci          35521  0 
    firewire_core          57492  1 firewire_ohci
    crc_itu_t              12627  1 firewire_core
    sdhci_pci              18155  0 
    sdhci                  27830  1 sdhci_pci
    r8169                  55976  0 
    video                  18847  1 i915
    Last edited by atreyu; 05-02-2013 at 03:12 AM. Reason: added CODE tags to aid in readability

  2. #2
    Trusted Penguin
    Join Date
    May 2011
    Posts
    4,353
    hello and welcome!

    Have you tried to fsck the partition? e.g.:

    Code:
    fsck.vfat -nVv /dev/mmcblk0
    make sure the partition is not mounted first.

  3. #3
    Just Joined!
    Join Date
    May 2013
    Posts
    4
    Quote Originally Posted by atreyu View Post
    hello and welcome!

    Have you tried to fsck the partition? e.g.:

    Code:
    fsck.vfat -nVv /dev/mmcblk0
    make sure the partition is not mounted first.
    ya I did actually... and then I pasted the errors when i mounted it and tried to write to it..

    I didnt do -nVv though.... just fsck.vfat

  4. #4
    Just Joined!
    Join Date
    Apr 2013
    Posts
    7
    sorry.. i forgot to mention.. I just formatted it prior to trying to copy... mkfs.vfat

    and this only happens with this card.. 2G card works fine
    however its not SDHC

    works in windows

  5. #5
    Trusted Penguin
    Join Date
    May 2011
    Posts
    4,353
    have you tried a different file system altogether, to see if it is a FAT-related weirdness? or is there some reason why you need it to be FAT?

  6. #6
    Just Joined!
    Join Date
    Apr 2013
    Posts
    7
    good question... ill reformat it ext3...
    I think it needs to be fat for my stupid ass stereo... but to determine if thats the prob ill try ext3.

  7. #7
    Trusted Penguin
    Join Date
    May 2011
    Posts
    4,353
    Quote Originally Posted by keithstone View Post
    good question... ill reformat it ext3...
    I think it needs to be fat for my stupid ass stereo... but to determine if thats the prob ill try ext3.
    is the stereo accessing the files remotely, like over a Samba share? If so, it should not care about the filesystem. if it is accessing it locally, like you are plugging a thumb drive into it directly, then yeah, i could see how it would need to be FAT. still, worth a shot, like you said.

  8. #8
    Just Joined!
    Join Date
    May 2013
    Posts
    4
    Quote Originally Posted by atreyu View Post
    is the stereo accessing the files remotely, like over a Samba share? If so, it should not care about the filesystem. if it is accessing it locally, like you are plugging a thumb drive into it directly, then yeah, i could see how it would need to be FAT. still, worth a shot, like you said.
    ya.. it plugs in directly to the stereo... so i bet it does need to be vfat.. but ill give it a shot !!

  9. #9
    Just Joined!
    Join Date
    May 2013
    Posts
    4
    Quote Originally Posted by keith-stone View Post
    ya.. it plugs in directly to the stereo... so i bet it does need to be vfat.. but ill give it a shot !!
    duh.. I just realized.. its nothing to do with the FS..
    I got it to work on my work laptop which is a lenovo..
    so it must be a driver issue with the card reader on my personal latptop??

  10. #10
    Trusted Penguin
    Join Date
    May 2011
    Posts
    4,353
    Quote Originally Posted by keith-stone View Post
    so it must be a driver issue with the card reader on my personal latptop??
    is the card reader the built-in SD slot you mentioned in your first post? yeah, maybe. perhaps there is a BIOS update for your machine that addresses this issue?

    NOTE: update your BIOS at your own peril!
    MikeTbob likes this.

Page 1 of 2 1 2 LastLast

Posting Permissions

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