[Carte msd] impossible à formater (résolut)

Reconnaissance et configuration du matériel / kernel linux
Avatar de l’utilisateur
PowaBanga
Daikyu
Messages : 88
Inscription : mar. 12 sept. 2017, 21:15

[Carte msd] impossible à formater (résolut)

Message par PowaBanga » dim. 22 mars 2020, 11:55

Salut à tous,
j'ai donc une carte msd pour mon raspberry pi 3b+, celui-ci reffuse de démarrer depuis un petit temps, mais je n'avais pas encore eu le temps d'y regarder de près.

J'ai donc eu dans l'idée de formater ma carte sd.

Je l'ai donc branchée à ma machine, via la quelle je peux explorer ma carte SD sans aucun souci.

je lance donc fdisk

Code : Tout sélectionner

[root@karkatouf powabanga]# fdisk /dev/sdb

Bienvenue dans fdisk (util-linux 2.35.1).
Les modifications resteront en mémoire jusqu'à écriture.
Soyez prudent avant d'utiliser la commande d'écriture.


Commande (m pour l'aide) : n
Tout l’espace des partitions primaires est utilisé.

Commande (m pour l'aide) : d
Numéro de partition (1,2, 2 par défaut) : 1

La partition 1 a été supprimée.

Commande (m pour l'aide) : d

Partition 2 sélectionnée
La partition 2 a été supprimée.

Commande (m pour l'aide) : n
Type de partition
   p   primaire (0 primaire, 0 étendue, 4 libre)
   e   étendue (conteneur pour partitions logiques)
Sélectionnez (p par défaut) : p
Numéro de partition (1-4, 1 par défaut) : 
Premier secteur (2048-31116287, 2048 par défaut) : 
Dernier secteur, +/-secteurs ou +/-taille{K,M,G,T,P} (2048-31116287, 31116287 par défaut) : +100M

Une nouvelle partition 1 de type « Linux » et de taille 100 MiB a été créée.
La partition #1 contient une signature vfat.

Voulez-vous supprimer la signature ? [O]ui/[N]on : o

La signature sera supprimée par une commande d'écriture.

Commande (m pour l'aide) : n
Type de partition
   p   primaire (1 primaire, 0 étendue, 3 libre)
   e   étendue (conteneur pour partitions logiques)
Sélectionnez (p par défaut) : p
Numéro de partition (2-4, 2 par défaut) : 
Premier secteur (206848-31116287, 206848 par défaut) : 
Dernier secteur, +/-secteurs ou +/-taille{K,M,G,T,P} (206848-31116287, 31116287 par défaut) : 

Une nouvelle partition 2 de type « Linux » et de taille 14,8 GiB a été créée.
La partition #2 contient une signature ext4.

Voulez-vous supprimer la signature ? [O]ui/[N]on : o

La signature sera supprimée par une commande d'écriture.

Commande (m pour l'aide) : w
La table de partitions a été altérée.
Appel d'ioctl() pour relire la table de partitions.
Synchronisation des disques.

[root@karkatouf powabanga]#
Et là, je peux constater qu'en fait, rien n'a été fait sur ma carte sd...
Je vais donc sur irc appeller à l'aide, je lance dsmeg

Code : Tout sélectionner

[root@karkatouf powabanga]# dmesg 
[    0.000000] Linux version 5.5.10-arch1-1 (linux@archlinux) (gcc version 9.3.0 (Arch Linux 9.3.0-1)) #1 SMP PREEMPT Wed, 18 Mar 2020 08:40:35 +0000
[    0.000000] Command line: BOOT_IMAGE=/boot/vmlinuz-linux root=UUID=fbfeffbb-664d-406a-b765-563d3162150d rw quiet
[    0.000000] KERNEL supported cpus:
[    0.000000]   Intel GenuineIntel
[    0.000000]   AMD AuthenticAMD
[    0.000000]   Hygon HygonGenuine
[    0.000000]   Centaur CentaurHauls
[    0.000000]   zhaoxin   Shanghai  
[    0.000000] x86/fpu: x87 FPU will use FXSAVE
[    0.000000] BIOS-provided physical RAM map:
[    0.000000] BIOS-e820: [mem 0x0000000000000000-0x000000000009cfff] usable
[    0.000000] BIOS-e820: [mem 0x000000000009d000-0x000000000009ffff] reserved
[    0.000000] BIOS-e820: [mem 0x00000000000e0000-0x00000000000fffff] reserved
[    0.000000] BIOS-e820: [mem 0x0000000000100000-0x00000000bb63efff] usable
[    0.000000] BIOS-e820: [mem 0x00000000bb63f000-0x00000000bb6befff] reserved
[    0.000000] BIOS-e820: [mem 0x00000000bb6bf000-0x00000000bb7befff] ACPI NVS
[    0.000000] BIOS-e820: [mem 0x00000000bb7bf000-0x00000000bb7fefff] ACPI data
[    0.000000] BIOS-e820: [mem 0x00000000bb7ff000-0x00000000bb7fffff] usable
[    0.000000] BIOS-e820: [mem 0x00000000bb800000-0x00000000bfffffff] reserved
[    0.000000] BIOS-e820: [mem 0x00000000e0000000-0x00000000efffffff] reserved
[    0.000000] BIOS-e820: [mem 0x00000000feb00000-0x00000000feb03fff] reserved
[    0.000000] BIOS-e820: [mem 0x00000000fec00000-0x00000000fec00fff] reserved
[    0.000000] BIOS-e820: [mem 0x00000000fed10000-0x00000000fed13fff] reserved
[    0.000000] BIOS-e820: [mem 0x00000000fed18000-0x00000000fed19fff] reserved
[    0.000000] BIOS-e820: [mem 0x00000000fed1b000-0x00000000fed1ffff] reserved
[    0.000000] BIOS-e820: [mem 0x00000000fee00000-0x00000000fee00fff] reserved
[    0.000000] BIOS-e820: [mem 0x00000000ffe80000-0x00000000ffffffff] reserved
[    0.000000] BIOS-e820: [mem 0x0000000100000000-0x0000000137ffffff] usable
[    0.000000] NX (Execute Disable) protection: active
[    0.000000] SMBIOS 2.6 present.
[    0.000000] DMI: Hewlett-Packard HP G62 Notebook PC              /1425, BIOS F.37 04/07/2011
[    0.000000] tsc: Fast TSC calibration using PIT
[    0.000000] tsc: Detected 2261.227 MHz processor
[    0.002571] e820: update [mem 0x00000000-0x00000fff] usable ==> reserved
[    0.002573] e820: remove [mem 0x000a0000-0x000fffff] usable
[    0.002582] last_pfn = 0x138000 max_arch_pfn = 0x400000000
[    0.002587] MTRR default type: uncachable
[    0.002588] MTRR fixed ranges enabled:

[...] (réponse complète ici : https://paste.ubuntu.com/p/xkHTXWpRxx/ )[...]

[ 1699.954529] raid6: sse2x4   gen()  5239 MB/s
[ 1700.011185] raid6: sse2x4   xor()  5196 MB/s
[ 1700.067851] raid6: sse2x2   gen()  6472 MB/s
[ 1700.124554] raid6: sse2x2   xor()  5027 MB/s
[ 1700.181177] raid6: sse2x1   gen()  5506 MB/s
[ 1700.237849] raid6: sse2x1   xor()  4185 MB/s
[ 1700.237852] raid6: using algorithm sse2x2 gen() 6472 MB/s
[ 1700.237853] raid6: .... xor() 5027 MB/s, rmw enabled
[ 1700.237854] raid6: using ssse3x2 recovery algorithm
[ 1700.281070] xor: measuring software checksum speed
[ 1700.311167]    prefetch64-sse: 11246.400 MB/sec
[ 1700.344502]    generic_sse:  9686.400 MB/sec
[ 1700.344506] xor: using function: prefetch64-sse (11246.400 MB/sec)
[ 1700.539664] Btrfs loaded, crc32c=crc32c-intel
[ 1700.713278] JFS: nTxBlock = 8192, nTxLock = 65536
[ 1700.935604] SGI XFS with ACLs, security attributes, realtime, scrub, repair, quota, no debug enabled
[ 1700.937094] *** VALIDATE xfs ***
[ 1716.871598] perf: interrupt took too long (2527 > 2500), lowering kernel.perf_event_max_sample_rate to 78900
[ 1728.503850]  sdb: sdb1 sdb2
[ 1729.890478]  sdb: sdb1 sdb2
[ 1765.909328] audit: type=1131 audit(1584869390.346:60): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=pcscd comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[ 1775.891687]  sdb: sdb1 sdb2
[ 2797.454351] perf: interrupt took too long (3169 > 3158), lowering kernel.perf_event_max_sample_rate to 63000
[ 2850.334326] sd 4:0:0:0: [sdb] 31116288 512-byte logical blocks: (15.9 GB/14.8 GiB)
[ 2850.335484] sd 4:0:0:0: [sdb] Write Protect is on
[ 2850.335490] sd 4:0:0:0: [sdb] Mode Sense: 03 00 80 00
[ 2850.713748] sd 4:0:0:0: [sdb] tag#0 FAILED Result: hostbyte=DID_ERROR driverbyte=DRIVER_SENSE cmd_age=0s
[ 2850.713754] sd 4:0:0:0: [sdb] tag#0 Sense Key : Hardware Error [current] 
[ 2850.713757] sd 4:0:0:0: [sdb] tag#0 Add. Sense: No additional sense information
[ 2850.713761] sd 4:0:0:0: [sdb] tag#0 CDB: Read(10) 28 00 00 00 00 00 00 00 08 00
[ 2850.713766] blk_update_request: I/O error, dev sdb, sector 0 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 0
[ 2850.713771] Buffer I/O error on dev sdb, logical block 0, async page read
[ 2851.060724] sd 4:0:0:0: [sdb] tag#0 FAILED Result: hostbyte=DID_ERROR driverbyte=DRIVER_SENSE cmd_age=0s
[ 2851.060732] sd 4:0:0:0: [sdb] tag#0 Sense Key : Hardware Error [current] 
[ 2851.060737] sd 4:0:0:0: [sdb] tag#0 Add. Sense: No additional sense information
[ 2851.060744] sd 4:0:0:0: [sdb] tag#0 CDB: Read(10) 28 00 00 00 00 00 00 00 08 00
[ 2851.060750] blk_update_request: I/O error, dev sdb, sector 0 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 0
[ 2851.060757] Buffer I/O error on dev sdb, logical block 0, async page read
[ 2851.060806] ldm_validate_partition_table(): Disk read failed.
[ 2851.407859] sd 4:0:0:0: [sdb] tag#0 FAILED Result: hostbyte=DID_ERROR driverbyte=DRIVER_SENSE cmd_age=0s
[ 2851.407867] sd 4:0:0:0: [sdb] tag#0 Sense Key : Hardware Error [current] 
[ 2851.407872] sd 4:0:0:0: [sdb] tag#0 Add. Sense: No additional sense information
[ 2851.407879] sd 4:0:0:0: [sdb] tag#0 CDB: Read(10) 28 00 00 00 00 00 00 00 08 00
[ 2851.407885] blk_update_request: I/O error, dev sdb, sector 0 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 0
[ 2851.407895] Buffer I/O error on dev sdb, logical block 0, async page read
[ 2851.765131] sd 4:0:0:0: [sdb] tag#0 FAILED Result: hostbyte=DID_ERROR driverbyte=DRIVER_SENSE cmd_age=0s
[ 2851.765139] sd 4:0:0:0: [sdb] tag#0 Sense Key : Hardware Error [current] 
[ 2851.765144] sd 4:0:0:0: [sdb] tag#0 Add. Sense: No additional sense information
[ 2851.765151] sd 4:0:0:0: [sdb] tag#0 CDB: Read(10) 28 00 00 00 00 00 00 00 08 00
[ 2851.765157] blk_update_request: I/O error, dev sdb, sector 0 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 0
[ 2851.765163] Buffer I/O error on dev sdb, logical block 0, async page read
[ 2852.112090] sd 4:0:0:0: [sdb] tag#0 FAILED Result: hostbyte=DID_ERROR driverbyte=DRIVER_SENSE cmd_age=0s
[ 2852.112096] sd 4:0:0:0: [sdb] tag#0 Sense Key : Hardware Error [current] 
[ 2852.112099] sd 4:0:0:0: [sdb] tag#0 Add. Sense: No additional sense information
[ 2852.112104] sd 4:0:0:0: [sdb] tag#0 CDB: Read(10) 28 00 00 00 00 00 00 00 08 00
[ 2852.112108] blk_update_request: I/O error, dev sdb, sector 0 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 0
[ 2852.112114] Buffer I/O error on dev sdb, logical block 0, async page read
[ 2852.112182]  sdb: unable to read partition table
[ 2852.171622] sd 4:0:0:0: [sdb] tag#0 FAILED Result: hostbyte=DID_ERROR driverbyte=DRIVER_SENSE cmd_age=0s
[ 2852.171628] sd 4:0:0:0: [sdb] tag#0 Sense Key : Hardware Error [current] 
[ 2852.171631] sd 4:0:0:0: [sdb] tag#0 Add. Sense: No additional sense information
[ 2852.171635] sd 4:0:0:0: [sdb] tag#0 CDB: Read(10) 28 00 01 da cb 80 00 00 08 00
[ 2852.171639] blk_update_request: I/O error, dev sdb, sector 31116160 op 0x0:(READ) flags 0x80700 phys_seg 1 prio class 0
[ 2852.528756] sd 4:0:0:0: [sdb] tag#0 FAILED Result: hostbyte=DID_ERROR driverbyte=DRIVER_SENSE cmd_age=0s
[ 2852.528765] sd 4:0:0:0: [sdb] tag#0 Sense Key : Hardware Error [current] 
[ 2852.528770] sd 4:0:0:0: [sdb] tag#0 Add. Sense: No additional sense information
[ 2852.528776] sd 4:0:0:0: [sdb] tag#0 CDB: Read(10) 28 00 01 da cb 80 00 00 08 00
[ 2852.528783] blk_update_request: I/O error, dev sdb, sector 31116160 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 0
[ 2852.528790] Buffer I/O error on dev sdb, logical block 3889520, async page read
[ 2852.587868] sd 4:0:0:0: [sdb] tag#0 FAILED Result: hostbyte=DID_ERROR driverbyte=DRIVER_SENSE cmd_age=0s
[ 2852.587876] sd 4:0:0:0: [sdb] tag#0 Sense Key : Hardware Error [current] 
[ 2852.587881] sd 4:0:0:0: [sdb] tag#0 Add. Sense: No additional sense information
[ 2852.587887] sd 4:0:0:0: [sdb] tag#0 CDB: Read(10) 28 00 01 da cb 80 00 00 08 00
[ 2852.587894] blk_update_request: I/O error, dev sdb, sector 31116160 op 0x0:(READ) flags 0x80700 phys_seg 1 prio class 0
[ 2852.945203] sd 4:0:0:0: [sdb] tag#0 FAILED Result: hostbyte=DID_ERROR driverbyte=DRIVER_SENSE cmd_age=0s
[ 2852.945209] sd 4:0:0:0: [sdb] tag#0 Sense Key : Hardware Error [current] 
[ 2852.945212] sd 4:0:0:0: [sdb] tag#0 Add. Sense: No additional sense information
[ 2852.945216] sd 4:0:0:0: [sdb] tag#0 CDB: Read(10) 28 00 01 da cb 80 00 00 08 00
[ 2852.945221] blk_update_request: I/O error, dev sdb, sector 31116160 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 0
[ 2852.945226] Buffer I/O error on dev sdb, logical block 3889520, async page read
[ 2853.004797] sd 4:0:0:0: [sdb] tag#0 FAILED Result: hostbyte=DID_ERROR driverbyte=DRIVER_SENSE cmd_age=0s
[ 2853.004806] sd 4:0:0:0: [sdb] tag#0 Sense Key : Hardware Error [current] 
[ 2853.004810] sd 4:0:0:0: [sdb] tag#0 Add. Sense: No additional sense information
[ 2853.004817] sd 4:0:0:0: [sdb] tag#0 CDB: Read(10) 28 00 01 da cb 80 00 00 08 00
[ 2853.004824] blk_update_request: I/O error, dev sdb, sector 31116160 op 0x0:(READ) flags 0x80700 phys_seg 1 prio class 0
[ 2853.361626] Buffer I/O error on dev sdb, logical block 3889520, async page read
[ 2853.778213] Buffer I/O error on dev sdb, logical block 3889520, async page read
[ 2855.008371] Buffer I/O error on dev sdb, logical block 3889520, async page read
[ 2855.950304] scsi_io_completion_action: 7 callbacks suppressed
[ 2855.950317] sd 4:0:0:0: [sdb] tag#0 FAILED Result: hostbyte=DID_ERROR driverbyte=DRIVER_SENSE cmd_age=0s
[ 2855.950325] sd 4:0:0:0: [sdb] tag#0 Sense Key : Hardware Error [current] 
[ 2855.950330] sd 4:0:0:0: [sdb] tag#0 Add. Sense: No additional sense information
[ 2855.950336] sd 4:0:0:0: [sdb] tag#0 CDB: Read(10) 28 00 01 da cb 80 00 00 08 00
[ 2855.950343] print_req_error: 7 callbacks suppressed
[ 2855.950348] blk_update_request: I/O error, dev sdb, sector 31116160 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 0
[ 2856.317496] sd 4:0:0:0: [sdb] tag#0 FAILED Result: hostbyte=DID_ERROR driverbyte=DRIVER_SENSE cmd_age=0s
[ 2856.317505] sd 4:0:0:0: [sdb] tag#0 Sense Key : Hardware Error [current] 
[ 2856.317509] sd 4:0:0:0: [sdb] tag#0 Add. Sense: No additional sense information
[ 2856.317518] sd 4:0:0:0: [sdb] tag#0 CDB: Read(10) 28 00 01 da cb f0 00 00 08 00
[ 2856.317525] blk_update_request: I/O error, dev sdb, sector 31116272 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 0
[ 2856.408799] sd 4:0:0:0: [sdb] tag#0 FAILED Result: hostbyte=DID_ERROR driverbyte=DRIVER_SENSE cmd_age=0s
[ 2856.408806] sd 4:0:0:0: [sdb] tag#0 Sense Key : Hardware Error [current] 
[ 2856.408809] sd 4:0:0:0: [sdb] tag#0 Add. Sense: No additional sense information
[ 2856.408813] sd 4:0:0:0: [sdb] tag#0 CDB: Read(10) 28 00 01 da cb ff 00 00 01 00
[ 2856.408817] blk_update_request: I/O error, dev sdb, sector 31116287 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 0
[ 2856.499024] sd 4:0:0:0: [sdb] tag#0 FAILED Result: hostbyte=DID_ERROR driverbyte=DRIVER_SENSE cmd_age=0s
[ 2856.499033] sd 4:0:0:0: [sdb] tag#0 Sense Key : Hardware Error [current] 
[ 2856.499038] sd 4:0:0:0: [sdb] tag#0 Add. Sense: No additional sense information
[ 2856.499044] sd 4:0:0:0: [sdb] tag#0 CDB: Read(10) 28 00 01 da cb fe 00 00 01 00
[ 2856.499051] blk_update_request: I/O error, dev sdb, sector 31116286 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 0
[ 2856.598869] sd 4:0:0:0: [sdb] tag#0 FAILED Result: hostbyte=DID_ERROR driverbyte=DRIVER_SENSE cmd_age=0s
[ 2856.598877] sd 4:0:0:0: [sdb] tag#0 Sense Key : Hardware Error [current] 
[ 2856.598882] sd 4:0:0:0: [sdb] tag#0 Add. Sense: No additional sense information
[ 2856.598888] sd 4:0:0:0: [sdb] tag#0 CDB: Read(10) 28 00 00 00 00 00 00 00 01 00
[ 2856.598895] blk_update_request: I/O error, dev sdb, sector 0 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 0
[ 2856.685558] sd 4:0:0:0: [sdb] tag#0 FAILED Result: hostbyte=DID_ERROR driverbyte=DRIVER_SENSE cmd_age=0s
[ 2856.685563] sd 4:0:0:0: [sdb] tag#0 Sense Key : Hardware Error [current] 
[ 2856.685565] sd 4:0:0:0: [sdb] tag#0 Add. Sense: No additional sense information
[ 2856.685569] sd 4:0:0:0: [sdb] tag#0 CDB: Read(10) 28 00 00 00 00 00 00 00 01 00
[ 2856.685572] blk_update_request: I/O error, dev sdb, sector 0 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 0
[ 2857.319096] sd 4:0:0:0: [sdb] tag#0 FAILED Result: hostbyte=DID_ERROR driverbyte=DRIVER_SENSE cmd_age=0s
[ 2857.319101] sd 4:0:0:0: [sdb] tag#0 Sense Key : Hardware Error [current] 
[ 2857.319104] sd 4:0:0:0: [sdb] tag#0 Add. Sense: No additional sense information
[ 2857.319108] sd 4:0:0:0: [sdb] tag#0 CDB: Read(10) 28 00 00 00 00 00 00 00 08 00
[ 2857.319112] blk_update_request: I/O error, dev sdb, sector 0 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 0
[ 2857.319117] buffer_io_error: 1 callbacks suppressed
[ 2857.319119] Buffer I/O error on dev sdb, logical block 0, async page read
[ 2857.368841] sd 4:0:0:0: [sdb] tag#0 FAILED Result: hostbyte=DID_ERROR driverbyte=DRIVER_SENSE cmd_age=0s
[ 2857.368847] sd 4:0:0:0: [sdb] tag#0 Sense Key : Hardware Error [current] 
[ 2857.368850] sd 4:0:0:0: [sdb] tag#0 Add. Sense: No additional sense information
[ 2857.368855] sd 4:0:0:0: [sdb] tag#0 CDB: Read(10) 28 00 00 00 00 00 00 00 20 00
[ 2857.368860] blk_update_request: I/O error, dev sdb, sector 0 op 0x0:(READ) flags 0x80700 phys_seg 4 prio class 0
[ 2857.715673] sd 4:0:0:0: [sdb] tag#0 FAILED Result: hostbyte=DID_ERROR driverbyte=DRIVER_SENSE cmd_age=0s
[ 2857.715681] sd 4:0:0:0: [sdb] tag#0 Sense Key : Hardware Error [current] 
[ 2857.715685] sd 4:0:0:0: [sdb] tag#0 Add. Sense: No additional sense information
[ 2857.715692] sd 4:0:0:0: [sdb] tag#0 CDB: Read(10) 28 00 00 00 00 00 00 00 08 00
[ 2857.715698] blk_update_request: I/O error, dev sdb, sector 0 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 0
[ 2857.715705] Buffer I/O error on dev sdb, logical block 0, async page read
[ 2861.960573] sd 4:0:0:0: [sdb] tag#0 FAILED Result: hostbyte=DID_ERROR driverbyte=DRIVER_SENSE cmd_age=0s
[ 2861.960582] sd 4:0:0:0: [sdb] tag#0 Sense Key : Hardware Error [current] 
[ 2861.960586] sd 4:0:0:0: [sdb] tag#0 Add. Sense: No additional sense information
[ 2861.960596] sd 4:0:0:0: [sdb] tag#0 CDB: Read(10) 28 00 01 da cb 80 00 00 08 00
[ 2861.960603] blk_update_request: I/O error, dev sdb, sector 31116160 op 0x0:(READ) flags 0x80700 phys_seg 1 prio class 0
[ 2862.317887] sd 4:0:0:0: [sdb] tag#0 FAILED Result: hostbyte=DID_ERROR driverbyte=DRIVER_SENSE cmd_age=0s
[ 2862.317902] sd 4:0:0:0: [sdb] tag#0 Sense Key : Hardware Error [current] 
[ 2862.317910] sd 4:0:0:0: [sdb] tag#0 Add. Sense: No additional sense information
[ 2862.317920] sd 4:0:0:0: [sdb] tag#0 CDB: Read(10) 28 00 01 da cb 80 00 00 08 00
[ 2862.317928] blk_update_request: I/O error, dev sdb, sector 31116160 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 0
[ 2862.317938] Buffer I/O error on dev sdb, logical block 3889520, async page read
[ 2862.387342] sd 4:0:0:0: [sdb] tag#0 FAILED Result: hostbyte=DID_ERROR driverbyte=DRIVER_SENSE cmd_age=0s
[ 2862.387351] sd 4:0:0:0: [sdb] tag#0 Sense Key : Hardware Error [current] 
[ 2862.387355] sd 4:0:0:0: [sdb] tag#0 Add. Sense: No additional sense information
[ 2862.387365] sd 4:0:0:0: [sdb] tag#0 CDB: Read(10) 28 00 01 da cb 80 00 00 08 00
[ 2862.387372] blk_update_request: I/O error, dev sdb, sector 31116160 op 0x0:(READ) flags 0x80700 phys_seg 1 prio class 0
[ 2862.734450] sd 4:0:0:0: [sdb] tag#0 FAILED Result: hostbyte=DID_ERROR driverbyte=DRIVER_SENSE cmd_age=0s
[ 2862.734458] sd 4:0:0:0: [sdb] tag#0 Sense Key : Hardware Error [current] 
[ 2862.734463] sd 4:0:0:0: [sdb] tag#0 Add. Sense: No additional sense information
[ 2862.734470] sd 4:0:0:0: [sdb] tag#0 CDB: Read(10) 28 00 01 da cb 80 00 00 08 00
[ 2862.734476] blk_update_request: I/O error, dev sdb, sector 31116160 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 0
[ 2862.734484] Buffer I/O error on dev sdb, logical block 3889520, async page read
[ 2863.111252] sd 4:0:0:0: [sdb] tag#0 FAILED Result: hostbyte=DID_ERROR driverbyte=DRIVER_SENSE cmd_age=0s
[ 2863.111261] sd 4:0:0:0: [sdb] tag#0 Sense Key : Hardware Error [current] 
[ 2863.111266] sd 4:0:0:0: [sdb] tag#0 Add. Sense: No additional sense information
[ 2863.111272] sd 4:0:0:0: [sdb] tag#0 CDB: Read(10) 28 00 01 da cb 80 00 00 08 00
[ 2863.111279] blk_update_request: I/O error, dev sdb, sector 31116160 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 0
[ 2863.468405] sd 4:0:0:0: [sdb] tag#0 FAILED Result: hostbyte=DID_ERROR driverbyte=DRIVER_SENSE cmd_age=0s
[ 2863.468413] sd 4:0:0:0: [sdb] tag#0 Sense Key : Hardware Error [current] 
[ 2863.468418] sd 4:0:0:0: [sdb] tag#0 Add. Sense: No additional sense information
[ 2863.468425] sd 4:0:0:0: [sdb] tag#0 CDB: Read(10) 28 00 01 da cb f0 00 00 08 00
[ 2863.468431] blk_update_request: I/O error, dev sdb, sector 31116272 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 0
[ 2863.561940] sd 4:0:0:0: [sdb] tag#0 FAILED Result: hostbyte=DID_ERROR driverbyte=DRIVER_SENSE cmd_age=0s
[ 2863.561951] sd 4:0:0:0: [sdb] tag#0 Sense Key : Hardware Error [current] 
[ 2863.561958] sd 4:0:0:0: [sdb] tag#0 Add. Sense: No additional sense information
[ 2863.561967] sd 4:0:0:0: [sdb] tag#0 CDB: Read(10) 28 00 01 da cb ff 00 00 01 00
[ 2863.561975] blk_update_request: I/O error, dev sdb, sector 31116287 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 0
[ 2863.649052] sd 4:0:0:0: [sdb] tag#0 FAILED Result: hostbyte=DID_ERROR driverbyte=DRIVER_SENSE cmd_age=0s
[ 2863.649058] sd 4:0:0:0: [sdb] tag#0 Sense Key : Hardware Error [current] 
[ 2863.649061] sd 4:0:0:0: [sdb] tag#0 Add. Sense: No additional sense information
[ 2863.649066] sd 4:0:0:0: [sdb] tag#0 CDB: Read(10) 28 00 01 da cb fe 00 00 01 00
[ 2863.649070] blk_update_request: I/O error, dev sdb, sector 31116286 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 0
[ 2863.738710] sd 4:0:0:0: [sdb] tag#0 FAILED Result: hostbyte=DID_ERROR driverbyte=DRIVER_SENSE cmd_age=0s
[ 2863.738718] sd 4:0:0:0: [sdb] tag#0 Sense Key : Hardware Error [current] 
[ 2863.738723] sd 4:0:0:0: [sdb] tag#0 Add. Sense: No additional sense information
[ 2863.738729] sd 4:0:0:0: [sdb] tag#0 CDB: Read(10) 28 00 00 00 00 00 00 00 01 00
[ 2863.738735] blk_update_request: I/O error, dev sdb, sector 0 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 0
[ 2863.822113] sd 4:0:0:0: [sdb] tag#0 FAILED Result: hostbyte=DID_ERROR driverbyte=DRIVER_SENSE cmd_age=0s
[ 2863.822122] sd 4:0:0:0: [sdb] tag#0 Sense Key : Hardware Error [current] 
[ 2863.822126] sd 4:0:0:0: [sdb] tag#0 Add. Sense: No additional sense information
[ 2863.822133] sd 4:0:0:0: [sdb] tag#0 CDB: Read(10) 28 00 00 00 00 00 00 00 01 00
[ 2863.822139] blk_update_request: I/O error, dev sdb, sector 0 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 0
[ 2864.341416] Buffer I/O error on dev sdb, logical block 0, async page read
[ 2873.641954] sd 4:0:0:0: [sdb] 31116288 512-byte logical blocks: (15.9 GB/14.8 GiB)
[ 2873.648486]  sdb: sdb1 sdb2
[ 3136.868897] sd 4:0:0:0: [sdb] 31116288 512-byte logical blocks: (15.9 GB/14.8 GiB)
[ 3136.870004] sd 4:0:0:0: [sdb] Write Protect is off
[ 3136.870009] sd 4:0:0:0: [sdb] Mode Sense: 03 00 00 00
[ 3136.878323]  sdb: sdb1 sdb2
[ 3171.287710]  sdb: sdb1 sdb2
[ 3172.687693]  sdb: sdb1 sdb2
[ 3177.299963]  sdb: sdb1 sdb2
[ 3517.743826] audit: type=1100 audit(1584871142.179:61): pid=2931 uid=1000 auid=1000 ses=2 msg='op=PAM:authentication grantors=pam_unix,pam_permit acct="powabanga" exe="/usr/bin/sudo" hostname=? addr=? terminal=/dev/pts/0 res=success'
[ 3517.744487] audit: type=1101 audit(1584871142.183:62): pid=2931 uid=1000 auid=1000 ses=2 msg='op=PAM:accounting grantors=pam_unix,pam_permit,pam_time acct="powabanga" exe="/usr/bin/sudo" hostname=? addr=? terminal=/dev/pts/0 res=success'
[ 3517.745242] audit: type=1110 audit(1584871142.183:63): pid=2931 uid=0 auid=1000 ses=2 msg='op=PAM:setcred grantors=pam_unix,pam_permit acct="root" exe="/usr/bin/sudo" hostname=? addr=? terminal=/dev/pts/0 res=success'
[ 3517.747630] audit: type=1105 audit(1584871142.186:64): pid=2931 uid=0 auid=1000 ses=2 msg='op=PAM:session_open grantors=pam_limits,pam_unix,pam_permit acct="root" exe="/usr/bin/sudo" hostname=? addr=? terminal=/dev/pts/0 res=success'
[ 3561.960043]  sdb: sdb1 sdb2
[ 3595.690748]  sdb: sdb1 sdb2
[ 3597.084125]  sdb: sdb1 sdb2
[ 3700.906108] audit: type=1130 audit(1584871325.343:65): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=pcscd comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[ 3720.154991] perf: interrupt took too long (3986 > 3961), lowering kernel.perf_event_max_sample_rate to 50100
[ 3823.081991]  sdb: sdb1 sdb2
[ 3909.241630] audit: type=1130 audit(1584871533.679:66): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-hostnamed comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[ 3939.264037] audit: type=1131 audit(1584871563.703:67): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-hostnamed comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[ 3974.007588] audit: type=1130 audit(1584871598.446:68): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-hostnamed comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[ 4004.060085] audit: type=1131 audit(1584871628.496:69): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-hostnamed comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[ 4016.811771] audit: type=1105 audit(1584871641.249:70): pid=3702 uid=1000 auid=1000 ses=2 msg='op=PAM:session_open grantors=pam_limits,pam_unix,pam_permit acct="root" exe="/usr/bin/pkexec" hostname=? addr=? terminal=? res=success'
[ 4016.902755] capability: warning: `gvfsd-admin' uses 32-bit capabilities (legacy support in use)
[ 4024.395642] audit: type=1100 audit(1584871648.833:71): pid=3710 uid=1000 auid=1000 ses=1 msg='op=PAM:authentication grantors=? acct="powabanga" exe="/usr/lib/polkit-1/polkit-agent-helper-1" hostname=karkatouf addr=? terminal=tty1 res=failed'
[ 4032.122261] audit: type=1100 audit(1584871656.559:72): pid=3716 uid=1000 auid=1000 ses=1 msg='op=PAM:authentication grantors=pam_unix,pam_permit acct="powabanga" exe="/usr/lib/polkit-1/polkit-agent-helper-1" hostname=karkatouf addr=? terminal=tty1 res=success'
[ 4032.122787] audit: type=1101 audit(1584871656.559:73): pid=3716 uid=1000 auid=1000 ses=1 msg='op=PAM:accounting grantors=pam_unix,pam_permit,pam_time acct="powabanga" exe="/usr/lib/polkit-1/polkit-agent-helper-1" hostname=? addr=? terminal=? res=success'
[ 4229.316155] perf: interrupt took too long (4987 > 4982), lowering kernel.perf_event_max_sample_rate to 39900
[ 4378.040523]  sdb: sdb1 sdb2
[ 4457.038192]  sdb: sdb1 sdb2
[ 4457.051098]  sdb: sdb1 sdb2
[ 4489.622029] EXT4-fs (sdb2): recovery complete
[ 4489.623009] EXT4-fs (sdb2): mounted filesystem with ordered data mode. Opts: (null)
[ 4492.496920] FAT-fs (sdb1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
[root@karkatouf powabanga]# fsck
fsck de util-linux 2.35.1
e2fsck 1.45.5 (07-Jan-2020)
/dev/sda1 est monté.
e2fsck: Ne peut continuer, arrêt immédiat.


[root@karkatouf powabanga]# ^C
[root@karkatouf powabanga]# ^C
[root@karkatouf powabanga]# fsck /dev/sdb1
fsck de util-linux 2.35.1
fsck.fat 4.1 (2017-01-24)
0x25: Dirty bit is set. Fs was not properly unmounted and some data may be corrupt.
1) Remove dirty bit
2) No action
? 2
/dev/sdb1: 218 files, 19178/51091 clusters
[root@karkatouf powabanga]# umount /dev/sdb1 /dev/sdb2
[root@karkatouf powabanga]# umount /dev/sdb1 /dev/sdb2
umount: /dev/sdb1: non monté.
umount: /dev/sdb2: non monté.
[root@karkatouf powabanga]# fsck /dev/sdb1
fsck de util-linux 2.35.1
fsck.fat 4.1 (2017-01-24)
0x25: Dirty bit is set. Fs was not properly unmounted and some data may be corrupt.
1) Remove dirty bit
2) No action
? 1
Perform changes ? (y/n) y
/dev/sdb1: 218 files, 19178/51091 clusters
[root@karkatouf powabanga]# tail -f /var/log/kern.log
tail: impossible d'ouvrir '/var/log/kern.log' en lecture: Aucun fichier ou dossier de ce type
tail: aucun fichier restant
[root@karkatouf powabanga]# 

Et voilà, j'ai éjecté ma carte proprement, réessayé de la formater avec gparted, mais rien n'y fais, ça ne veut pas, Gparted lui me retourne cette erreur depuis le début :
gparted a écrit :write 512.00 Kio of zero at byte offset 15929442304
message de libparted
Argument invalide lors d'un positionnement pour écriture sur /dev/sdb
Si quelqu'un savait m'aider, ça serait vraiment très chouette, en cette période ou tous les magasins sont fermés :/
Dernière modification par PowaBanga le dim. 22 mars 2020, 19:08, modifié 1 fois.

laurent85
Elfe
Messages : 615
Inscription : mar. 16 oct. 2018, 21:05

Re: [Carte msd] impossible à formater

Message par laurent85 » dim. 22 mars 2020, 12:17

Bonjour,
Les messages d'erreur sont matériels. Tente ceci : avec gparted crée une nouvelle table de partition sur la carte sd pour écraser l'ancienne peut-être corrompue, ensuite crée les partitions.
Tuto Kde Plasma + gestionnaire de fenêtres i3
Mon développement en cours Archuseriso

benjarobin
Maître du Kyudo
Messages : 15941
Inscription : sam. 30 mai 2009, 15:48
Localisation : Lyon

Re: [Carte msd] impossible à formater

Message par benjarobin » dim. 22 mars 2020, 12:24

Bonjour,
Je dirais que la carte SD est morte, c'est classique...
Zsh | KDE | PC fixe : core i7, carte nvidia | Portable : Asus ul80vt
Titre d'un sujet : [Thème] Sujet (état)

Avatar de l’utilisateur
PowaBanga
Daikyu
Messages : 88
Inscription : mar. 12 sept. 2017, 21:15

Re: [Carte msd] impossible à formater

Message par PowaBanga » dim. 22 mars 2020, 12:51

c'est possible que ma carte sd soit morte, et que pourtant j'y ait toujours accès via mon navigateur de fichiers ? et que je puisse créer de nouveau fichier ou répertoires dessu ?

benjarobin
Maître du Kyudo
Messages : 15941
Inscription : sam. 30 mai 2009, 15:48
Localisation : Lyon

Re: [Carte msd] impossible à formater

Message par benjarobin » dim. 22 mars 2020, 13:42

C'est possible pour la lecture, l'écriture devrait échouer si elle est bien morte...
Zsh | KDE | PC fixe : core i7, carte nvidia | Portable : Asus ul80vt
Titre d'un sujet : [Thème] Sujet (état)

Avatar de l’utilisateur
PowaBanga
Daikyu
Messages : 88
Inscription : mar. 12 sept. 2017, 21:15

Re: [Carte msd] impossible à formater

Message par PowaBanga » dim. 22 mars 2020, 19:08

ha effectivement, l'écriture semble échouer... Bien que cela se produise de façon vraiment étrange. Elle semble réussir, mon fichier est là, et nautilus me l'affiche, je peux quitter, actualiser le répertoire, il est toujours là, mais si j'éjecte ma carte et la rebranche, ben là il disparait...

Je vais mettre le topic en résolu, je pense que je peux me rendre à l'évidence, à moins que quelqu'un d'encore plus fort que benjarobin n'ait une idée intéressante à explorer :)

benjarobin
Maître du Kyudo
Messages : 15941
Inscription : sam. 30 mai 2009, 15:48
Localisation : Lyon

Re: [Carte msd] impossible à formater

Message par benjarobin » dim. 22 mars 2020, 19:32

PowaBanga a écrit :
dim. 22 mars 2020, 19:08
Elle semble réussir, mon fichier est là, ... je peux ... actualiser le répertoire, il est toujours là, mais si j'éjecte ma carte et la rebranche, ben là il disparait
Parfaitement normal. C'est dû au cache du système de fichier. Linux garde en cache beaucoup de chose (si tu as assez de mémoire vive) pour optimiser les performances. C'est un peu comme si Linux écrivait ton fichier en mémoire vive, puis demandait au système de synchroniser ce qu'il y a en mémoire vive avec ce qu'il y a sur le disque. L'erreur tu peux la voir dans la sortie de dmesg.
Zsh | KDE | PC fixe : core i7, carte nvidia | Portable : Asus ul80vt
Titre d'un sujet : [Thème] Sujet (état)

Avatar de l’utilisateur
PowaBanga
Daikyu
Messages : 88
Inscription : mar. 12 sept. 2017, 21:15

Re: [Carte msd] impossible à formater (résolut)

Message par PowaBanga » dim. 22 mars 2020, 22:04

ha ok, je te remercie pour ce complément d'information :)

Répondre