Elektroda.pl
Elektroda.pl
X
Proszę, dodaj wyjątek www.elektroda.pl do Adblock.
Dzięki temu, że oglądasz reklamy, wspierasz portal i użytkowników.

SDHC - Karta SD HC straciła pojemność i nie daje się sformatować

mclpl 30 Mar 2014 11:15 2979 2
  • #1 30 Mar 2014 11:15
    mclpl
    Poziom 8  

    Witam.

    Z problemem walczę od wczoraj. Pokrótce karta micro SD używana była z telefonem z androidem, jednak została nagle odłączona od telefonu i z jej oryginalnej pojemności (8GB) zostało 30 MB. Może problem byłoby łatwiej rozwiązać, gdyby wcześniej nie była przystosowana do współpracy z link2sd, czyli spartycjonowałem kartę pamięci tak, by jedna partycja ext3 była używana jako "przedłużenie" pamięci telefonu (którą to on potrafił zapełnić po pobraniu aktualizacji do wszelakich systemowych programów typu Youtube czy Google Play Market) i druga używana jako "zwykła" karta SD. Wszystko działało w miarę ok, nie miałem problemów, aż do momentu tego feralnego nagłego odłączenia karty z urządzenia.

    Pojemność tą pokazują wszystkie programy, które używałem (testdisk, gparted, minitool partition wizard). Oto log z Chipeasy:

    Spoiler:
    Code:
    Logical drive   : H:\            Capacity:  0.0G
    
    Device ID       : VID = 1E3D     PID = 4082
    Device SN       : 213244704081
    Device version  :

    Device vendor   :
    Device model    : Flash Disk
    Protocol        : USB2.0
    Max power       : 100mA

    Partition type  :                Device active   : no
    Aligned state   : 0 KB, Have been Aligned

    Controller      : RockChip
    Controller model: RK2608


    Testdisk natomiast pokazuje:

    Spoiler:
    Code:
    Sun Mar 30 10:43:24 2014
    
    Command line: TestDisk

    TestDisk 6.14, Data Recovery Utility, July 2013
    Christophe GRENIER <grenier@cgsecurity.org>
    http://www.cgsecurity.org
    OS: Windows 7 (7601) SP1
    Compiler: GCC 4.7, Cygwin 1007.17
    Compilation date: 2013-07-30T14:08:52
    ext2fs lib: 1.42.2, ntfs lib: 10:0:0, reiserfs lib: 0.3.1-rc8, ewf lib: 20120504
    disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(/dev/sda)=750156374016
    disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(/dev/sdb)=32096256
    disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\PhysicalDrive0)=750156374016
    disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\PhysicalDrive1)=32096256
    disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\C:)=125829120000




    disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\D:)=312109694976
    disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\E:)=312109694976
    filewin32_getfilesize(\\.\F:) GetFileSize err Niepoprawna funkcja.

    filewin32_setfilepointer(\\.\F:) SetFilePointer err Niepoprawna funkcja.

    Warning: can't get size for \\.\F:
    filewin32_getfilesize(\\.\G:) GetFileSize err Niepoprawna funkcja.

    filewin32_setfilepointer(\\.\G:) SetFilePointer err Niepoprawna funkcja.

    Warning: can't get size for \\.\G:
    disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\H:)=32096256
    Hard disk list
    Disk /dev/sda - 750 GB / 698 GiB - CHS 91201 255 63, sector size=512 - TOSHIBA MK7575GSX, S/N:1 62TUC2TK, FW:GT00
    Disk /dev/sdb - 32 MB / 30 MiB - CHS 3 255 63, sector size=512 - Flash Disk

    Partition table type default to Intel
    Disk /dev/sdb - 32 MB / 30 MiB - Flash Disk
    Partition table type: None

    Analyse Disk /dev/sdb - 32 MB / 30 MiB - CHS 3 255 63
    file_pread(5,1,buffer,196609(12/60/50)) lseek err Invalid argument
    Current partition structure:
       P Unknown                  0   0  1     3 230  3      62688

    search_part()
    Disk /dev/sdb - 32 MB / 30 MiB - CHS 3 255 63
    file_pread(5,16,buffer,317(0/5/3)) ReadFile Nie można wykonać żądania z powodu błędu urządzenia We/Wy.

    file_pread(5,1,buffer,62688(3/230/4)) ReadFile Nie można odnaleźć na dysku żądanego sektora.

    file_pread(5,1,buffer,62689(3/230/5)) lseek err Invalid argument
    file_pread(5,1,buffer,62690(3/230/6)) lseek err Invalid argument

    I tak dalej, nie będę wklejać całego logu, jest za to dołączony w załącznikach.

    Próbowałem zerować pierwsze tysiąc sektorów, ale... one są wyzerowane, przynajmniej według DMDE. Więc próbowałem formatować. HP USB Disk Storage Format Tool wymiękł, nie wspominając o innych, dopiero SD Formatter przy próbie formatowania pokazał taki komunikat:
    http://i.imgur.com/WG3bgLT.jpg
    Czyli że link2sd poprzez nieprawidłowe odłączenie karty "zablokował" możliwość zapisu karty SD? Jak to teraz odkręcić? Liczę na waszą pomoc, bo ja tu już wymiękam. Z chęcia sflaszowałbym oprogramowanie karty, ale ciężko cokolwiek wybadać, szczególnie, że jest to karta firmy 'noname' a programy typu chipeasy czy chipgenius pokazują dane czytnika.
    Dodam jeszcze log z RMPrepUSB:
    Spoiler:
    Code:
    RMPARTUSB v2.1.717 (c)2014 RM Education plc [SSi]
    
    =================================================

    Accessing Drive 1 - "Flash Disk" (32,096,256 bytes)

    Sector at LBA 0

    ============= SECTOR DATA ================


    [Sector 0]  0MB
    0000 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00  ........ ........
    0010 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00  ........ ........
    0020 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00  ........ ........
    0030 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00  ........ ........
    0040 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00  ........ ........
    0050 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00  ........ ........
    0060 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00  ........ ........
    0070 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00  ........ ........
    0080 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00  ........ ........
    0090 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00  ........ ........
    00A0 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00  ........ ........
    00B0 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00  ........ ........
    00C0 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00  ........ ........
    00D0 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00  ........ ........
    00E0 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00  ........ ........
    00F0 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00  ........ ........
    0100 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00  ........ ........
    0110 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00  ........ ........
    0120 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00  ........ ........
    0130 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00  ........ ........
    0140 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00  ........ ........
    0150 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00  ........ ........
    0160 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00  ........ ........
    0170 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00  ........ ........
    0180 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00  ........ ........
    0190 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00  ........ ........
    01A0 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00  ........ ........
    01B0 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00  ........ ........
    01C0 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00  ........ ........
    01D0 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00  ........ ........
    01E0 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00  ........ ........
    01F0 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00  ........ ........

    [Sector 1]  0MB
    0200 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00  ........ ........
    0210 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00  ........ ........
    0220 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00  ........ ........
    0230 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00  ........ ........
    0240 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00  ........ ........
    0250 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00  ........ ........
    0260 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00  ........ ........
    0270 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00  ........ ........
    0280 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00  ........ ........
    0290 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00  ........ ........
    02A0 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00  ........ ........
    02B0 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00  ........ ........
    02C0 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00  ........ ........
    02D0 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00  ........ ........
    02E0 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00  ........ ........
    02F0 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00  ........ ........
    0300 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00  ........ ........
    0310 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00  ........ ........
    0320 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00  ........ ........
    0330 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00  ........ ........
    0340 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00  ........ ........
    0350 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00  ........ ........
    0360 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00  ........ ........
    0370 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00  ........ ........
    0380 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00  ........ ........
    0390 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00  ........ ........
    03A0 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00  ........ ........
    03B0 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00  ........ ........
    03C0 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00  ........ ........
    03D0 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00  ........ ........
    03E0 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00  ........ ........
    03F0 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00  ........ ........

    ========= END OF SECTOR DATA ================

    Drive 1  Flash Disk    Serial No.=USBC(uü‡ [ bytes = 55 53 42 43 28 75 FC 87 ]
    Reported size 32,096,256 bytes (30.6093MiB)  Last LBA 62,687
    RMPrepUSB Max 24,675,840 bytes (23.5327MiB)  Last LBA 48,194

    Oraz HDD Low Level Format Tool pokazuje co następuje:
    http://i.imgur.com/as9LSRy.jpg
    Z góry dziękuje za okazaną pomoc.
    Pozdrawiam.

    0 2
  • #2 30 Mar 2014 13:03
    leszekb64
    Poziom 11  

    Witam
    czytałem kiedyś o podobnym problemie z pendrive, pomogło formatowanie w Linuksie.

    0
  • #3 30 Mar 2014 14:33
    mclpl
    Poziom 8  

    Witam, dziękuje bardzo za odpowiedź.

    Niestety, karty nie da się sformatować pod Linuksem, czy żadnym innym systemie. Próbowałem za pomocą androidowego recovery:

    Spoiler:
    Code:
    ~ # ←[6nparted /dev/block/mmcblk0
    
    parted /dev/block/mmcblk0
    GNU Parted 1.8.8.1.179-aef3
    Using /dev/block/mmcblk0
    Welcome to GNU Parted! Type 'help' to view a list of commands.
    (parted) print
    print
    print
    Error: /dev/block/mmcblk0: unrecognised disk label
    (parted)


    Na stronie z Link2SD znalazłem ciekawe FAQ

    Spoiler:
    Cytat:
    Q. I am getting read-only file system error and can not link any app anymore.
    If your 2nd partition becomes read-only, it may be a filesystem error or corruption. On Linux (and Android) any filesystem error can trigger filesystem go read-only (for protecting fs).
    Try to reformat your second partition or fsck utiltiy to fix fs errors, following is an example usage of fsck command.

    Code:
    e2fsck -fpDC0 /dev/block/mmcblk0p2


    Also, if you use AmonRa recovery you can run its "Repair sd-ext" function to fix file system errors on the 2nd partition.


    Niestety, ten kod wywala błąd:
    Spoiler:
    Code:
    e2fsck: No such file or directory while trying to open /dev/block/mmcblk0p2
    
    /dev/block/mmcblk0p2:
    The superblock could not be read or does not describe a correct ext2
    filesystem.  If the device is valid and it really contains an ext2
    filesystem (and not swap or ufs or something else), then the superblock
    is corrupt, and you might try running e2fsck with an alternate superblock:
        e2fsck -b 8193 <device>


    Jak wpiszę "e2fsck -b 8193 /dev/block/mmcblk0p2" (lub jakąkolwiek inną partycję) pojawia się ten sam ekran.

    Przeszkody nie do ominięcia ostatnimi czasy mnie wręcz uwielbiają

    0