Não é possível montar, ler, escrever ou formatar cartão SD

4

Eu posso

  • leia do meu cartão micro-sd quando estiver na posição " bloqueio "

mas as coisas ficam muito estranhas quando eu tento " desbloquear " ele: não tem como eu conseguir

  • fsck nem
  • monte-o, nem
  • leia, nem ..
  • formate-o!

Eu preciso formatá-lo, o que posso fazer?

Aqui está minha gparted output:

$ sudo gparted
Created symlink /run/systemd/system/-.mount → /dev/null.
Created symlink /run/systemd/system/boot-efi.mount → /dev/null.
Created symlink /run/systemd/system/home-iago\x2dlito-.docker-devicemapper.mount → /dev/null.
Created symlink /run/systemd/system/home.mount → /dev/null.
Created symlink /run/systemd/system/run-user-1000.mount → /dev/null.
Created symlink /run/systemd/system/run-user-117.mount → /dev/null.
Created symlink /run/systemd/system/tmp.mount → /dev/null.
Created symlink /run/systemd/system/var.mount → /dev/null.

======================
libparted : 3.2                                         # see screenshots
======================                                  #
Input/output error during write on /dev/mmcblk0         # first error
Error fsyncing/closing /dev/mmcblk0: Input/output error # second error
Input/output error during write on /dev/mmcblk0         # start looping
Error fsyncing/closing /dev/mmcblk0: Input/output error #
Input/output error during read on /dev/mmcblk0          #

CliqueemDevice->Createpartitiontable

escolhendomsdos,Apply,aguardeumpoucoe

Ignore

EentãoelecomeçaafazerumloopentreessasduasmensagensdeerroatéqueeufinalmenteCancel.

Apósocancelamento,abarradestatusexibe

porumtempo,então

..dequalquerforma,nãohámaismmcblk0visívelnacaixadaesquerda.

Algumaideiadoquepodeestarerrado?
ComopossoformatarmeucartãoSD?
Estámorto?

[EDIT]maisinformações?Quandoinseridonoestadodesbloqueado:

$dmesg...[1282.922022]mmc0:cannotverifysignalvoltageswitch[1283.097715]mmc0:newultrahighspeedSDR104SDHCcardataddress0001[1283.104727]mmcblk0:mmc0:0001SD32G29.0GiB[1283.106469]mmcblk0:p1p2[1284.996181]FAT-fs(mmcblk0p1):Volumewasnotproperlyunmounted.Somedatamaybecorrupt.Pleaserunfsck.[1285.018828]EXT4-fs(mmcblk0p2):warning:mountinguncheckedfs,runninge2fsckisrecommended

Ah,tudobem..

$sudoe2fsck/dev/mmcblk0e2fsck1.43.4(31-Jan-2017)e2fsck:Input/outputerrorwhiletryingtoopenmmcblk0Thesuperblockcouldnotbereadordoesnotdescribeavalidext2/ext3/ext4filesystem.Ifthedeviceisvalidanditreallycontainsanext2/ext3/ext4filesystem(andnotswaporufsorsomethingelse),thenthesuperblockiscorrupt,andyoumighttryrunninge2fsckwithanalternatesuperblock:e2fsck-b8193<device>ore2fsck-b32768<device>

..oscomandossugeridosproduzemomesmoresultado.

Brincandocom f3 em conselho do malat :

# f3write /dev/mmcblk0p1
f3write: Can't open path /dev/mmcblk0p1: Not a directory

# f3write /dev/mmcblk0p2
f3write: Can't open path /dev/mmcblk0p2: Not a directory

# f3read /dev/mmcblk0p1
f3read: Can't open path /dev/mmcblk0p1: Not a directory

# f3read /dev/mmcblk0p2
f3read: Can't open path /dev/mmcblk0p1: Not a directory

Experimentando o ponto de montagem:

# f3write /media/iago-lito/boot # /dev/mmcblk0p1
f3write: f3write.c:403: get_freespace: Assertion '!statvfs(path, &fs)' failed.
[1]    11908 abort      f3write /media/iago-lito/boot

# f3write /media/iago-lito/0aed834e-8c8f-412d-a276-a265dc676112 # /dev/mmcblk0p2
Free space: 24.50 GB
Creating file 1.h2w ...
f3write: Can't create file 0aed834e-8c8f-412d-a276-a265dc676112/1.h2w: Input/output error

# f3read /media/iago-lito/boot # /dev/mmcblk0p1
                  SECTORS      ok/corrupted/changed/overwritten

  Data OK: 0.00 Byte (0 sectors)
Data LOST: 0.00 Byte (0 sectors)
           Corrupted: 0.00 Byte (0 sectors)
    Slightly changed: 0.00 Byte (0 sectors)
         Overwritten: 0.00 Byte (0 sectors)
Average reading speed: 0.00 Byte/s

# f3read /media/iago-lito/0aed834e-8c8f-412d-a276-a265dc676112 # /dev/mmcblk0p2
                  SECTORS      ok/corrupted/changed/overwritten

  Data OK: 0.00 Byte (0 sectors)
Data LOST: 0.00 Byte (0 sectors)
           Corrupted: 0.00 Byte (0 sectors)
    Slightly changed: 0.00 Byte (0 sectors)
         Overwritten: 0.00 Byte (0 sectors)
Average reading speed: 0.00 Byte/s

.. 'cheira mal.

Agora tente jogar gdisk com Alex Baga :

Primeiro tente, ambas as partições foram montadas:

$ sudo gdisk /dev/mmcblk0                                                                          20 ↵
GPT fdisk (gdisk) version 1.0.1

Partition table scan:
  MBR: MBR only
  BSD: not present
  APM: not present
  GPT: not present


***************************************************************
Found invalid GPT and valid MBR; converting MBR to GPT format
in memory. THIS OPERATION IS POTENTIALLY DESTRUCTIVE! Exit by
typing 'q' if you don't want to convert your MBR partitions
to GPT format!
***************************************************************


Warning! Secondary partition table overlaps the last partition by
33 blocks!
You will need to delete this partition or resize it in another utility.

Command (? for help): x

Expert command (? for help): z
About to wipe out GPT on /dev/mmcblk0. Proceed? (Y/N): Y
Warning! GPT main partition table not overwritten! Error is 0
Warning: The kernel is still using the old partition table.
The new table will be used at the next reboot or after you
run partprobe(8) or kpartx(8)
GPT data structures destroyed! You may now partition the disk using fdisk or
other utilities.

Expert command (? for help):

Segunda tentativa depois de desmontar ambas as partições:

sudo gdisk /dev/mmcblk0                                                                                                      32 ↵
GPT fdisk (gdisk) version 1.0.1

Warning! Read error 5; strange behavior now likely!
Warning! Read error 5; strange behavior now likely!
Partition table scan:
  MBR: not present
  BSD: not present
  APM: not present
  GPT: not present

Creating new GPT entries.

Command (? for help): x

Expert command (? for help): z
About to wipe out GPT on /dev/mmcblk0. Proceed? (Y/N): Y
Warning! GPT main header not overwritten! Error is 5
Warning: The kernel is still using the old partition table.
The new table will be used at the next reboot or after you
run partprobe(8) or kpartx(8)
GPT data structures destroyed! You may now partition the disk using fdisk or
other utilities.

.. Estou feliz por mensagens de erro (no5), pelo menos, são consistentes com o meu mais profundo pensamentos!
Arrancando cartão e reiniciando ..

Agora, gparted não lista /dev/mmcblk0 após a verificação dos dispositivos:

Input/output error during read on /dev/mmcblk0

tempo difícil para o hardware -_- "

    
por iago-lito 17.05.2017 / 23:01

0 respostas