SD con file system in sola lettura

Riconoscimento, installazione e configurazione delle periferiche.
Leeboris
Prode Principiante
Messaggi: 31
Iscrizione: domenica 23 gennaio 2011, 9:12

Re: SD con file system in sola lettura

Messaggio da Leeboris »

Codice: Seleziona tutto

leeboris@EeePC-1215B:~$ dmesg | grep sdb
[    7.137212] sd 1:0:0:0: [sdb] 125302784 512-byte logical blocks: (64.2 GB/59.7 GiB)
[    7.140319] sd 1:0:0:0: [sdb] Write Protect is on
[    7.140339] sd 1:0:0:0: [sdb] Mode Sense: 03 00 80 00
[    7.141532] sd 1:0:0:0: [sdb] No Caching mode page found
[    7.141552] sd 1:0:0:0: [sdb] Assuming drive cache: write through
[    7.151329] sd 1:0:0:0: [sdb] tag#0 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
[    7.151352] sd 1:0:0:0: [sdb] tag#0 Sense Key : Not Ready [current] 
[    7.151376] sd 1:0:0:0: [sdb] tag#0 <<vendor>>ASC=0xff <<vendor>>ASCQ=0xff 
[    7.151390] sd 1:0:0:0: [sdb] tag#0 CDB: Read(10) 28 00 00 00 00 00 00 00 08 00
[    7.151400] blk_update_request: I/O error, dev sdb, sector 0
[    7.151411] Buffer I/O error on dev sdb, logical block 0, async page read
[    7.155039] sd 1:0:0:0: [sdb] tag#0 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
[    7.155058] sd 1:0:0:0: [sdb] tag#0 Sense Key : Not Ready [current] 
[    7.155078] sd 1:0:0:0: [sdb] tag#0 <<vendor>>ASC=0xff <<vendor>>ASCQ=0xff 
[    7.155091] sd 1:0:0:0: [sdb] tag#0 CDB: Read(10) 28 00 00 00 00 00 00 00 08 00
[    7.155099] blk_update_request: I/O error, dev sdb, sector 0
[    7.155110] Buffer I/O error on dev sdb, logical block 0, async page read
[    7.158584] sd 1:0:0:0: [sdb] tag#0 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
[    7.158603] sd 1:0:0:0: [sdb] tag#0 Sense Key : Not Ready [current] 
[    7.158624] sd 1:0:0:0: [sdb] tag#0 <<vendor>>ASC=0xff <<vendor>>ASCQ=0xff 
[    7.158636] sd 1:0:0:0: [sdb] tag#0 CDB: Read(10) 28 00 00 00 00 00 00 00 08 00
[    7.158645] blk_update_request: I/O error, dev sdb, sector 0
[    7.158655] Buffer I/O error on dev sdb, logical block 0, async page read
[    7.163663] sd 1:0:0:0: [sdb] tag#0 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
[    7.163681] sd 1:0:0:0: [sdb] tag#0 Sense Key : Not Ready [current] 
[    7.163702] sd 1:0:0:0: [sdb] tag#0 <<vendor>>ASC=0xff <<vendor>>ASCQ=0xff 
[    7.163714] sd 1:0:0:0: [sdb] tag#0 CDB: Read(10) 28 00 00 00 00 00 00 00 08 00
[    7.163722] blk_update_request: I/O error, dev sdb, sector 0
[    7.163733] Buffer I/O error on dev sdb, logical block 0, async page read
[    7.170035] sd 1:0:0:0: [sdb] tag#0 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
[    7.170054] sd 1:0:0:0: [sdb] tag#0 Sense Key : Not Ready [current] 
[    7.170074] sd 1:0:0:0: [sdb] tag#0 <<vendor>>ASC=0xff <<vendor>>ASCQ=0xff 
[    7.170087] sd 1:0:0:0: [sdb] tag#0 CDB: Read(10) 28 00 00 00 00 00 00 00 08 00
[    7.170095] blk_update_request: I/O error, dev sdb, sector 0
[    7.170107] Buffer I/O error on dev sdb, logical block 0, async page read
[    7.176286] sd 1:0:0:0: [sdb] tag#0 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
[    7.176305] sd 1:0:0:0: [sdb] tag#0 Sense Key : Not Ready [current] 
[    7.176325] sd 1:0:0:0: [sdb] tag#0 <<vendor>>ASC=0xff <<vendor>>ASCQ=0xff 
[    7.176337] sd 1:0:0:0: [sdb] tag#0 CDB: Read(10) 28 00 00 00 00 00 00 00 08 00
[    7.176345] blk_update_request: I/O error, dev sdb, sector 0
[    7.176356] Buffer I/O error on dev sdb, logical block 0, async page read
[    7.182520] sd 1:0:0:0: [sdb] tag#0 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
[    7.182539] sd 1:0:0:0: [sdb] tag#0 Sense Key : Not Ready [current] 
[    7.182558] sd 1:0:0:0: [sdb] tag#0 <<vendor>>ASC=0xff <<vendor>>ASCQ=0xff 
[    7.182571] sd 1:0:0:0: [sdb] tag#0 CDB: Read(10) 28 00 00 00 00 00 00 00 08 00
[    7.182579] blk_update_request: I/O error, dev sdb, sector 0
[    7.182590] Buffer I/O error on dev sdb, logical block 0, async page read
[    7.182652] Dev sdb: unable to read RDB block 0
[    7.188615] sd 1:0:0:0: [sdb] tag#0 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
[    7.188634] sd 1:0:0:0: [sdb] tag#0 Sense Key : Not Ready [current] 
[    7.188655] sd 1:0:0:0: [sdb] tag#0 <<vendor>>ASC=0xff <<vendor>>ASCQ=0xff 
[    7.188667] sd 1:0:0:0: [sdb] tag#0 CDB: Read(10) 28 00 00 00 00 00 00 00 08 00
[    7.188675] blk_update_request: I/O error, dev sdb, sector 0
[    7.188686] Buffer I/O error on dev sdb, logical block 0, async page read
[    7.193939] sd 1:0:0:0: [sdb] tag#0 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
[    7.193961] sd 1:0:0:0: [sdb] tag#0 Sense Key : Not Ready [current] 
[    7.193983] sd 1:0:0:0: [sdb] tag#0 <<vendor>>ASC=0xff <<vendor>>ASCQ=0xff 
[    7.193999] sd 1:0:0:0: [sdb] tag#0 CDB: Read(10) 28 00 00 00 00 00 00 00 08 00
[    7.194008] blk_update_request: I/O error, dev sdb, sector 0
[    7.194019] Buffer I/O error on dev sdb, logical block 0, async page read
[    7.200064] sd 1:0:0:0: [sdb] tag#0 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
[    7.200086] sd 1:0:0:0: [sdb] tag#0 Sense Key : Not Ready [current] 
[    7.200108] sd 1:0:0:0: [sdb] tag#0 <<vendor>>ASC=0xff <<vendor>>ASCQ=0xff 
[    7.200123] sd 1:0:0:0: [sdb] tag#0 CDB: Read(10) 28 00 00 00 00 18 00 00 08 00
[    7.200132] blk_update_request: I/O error, dev sdb, sector 24
[    7.200143] Buffer I/O error on dev sdb, logical block 3, async page read
[    7.212157]  sdb: unable to read partition table
[    7.218073] sd 1:0:0:0: [sdb] Attached SCSI removable disk
[   25.254288] sd 1:0:0:0: [sdb] tag#0 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
[   25.254301] sd 1:0:0:0: [sdb] tag#0 Sense Key : Not Ready [current] 
[   25.254321] sd 1:0:0:0: [sdb] tag#0 <<vendor>>ASC=0xff <<vendor>>ASCQ=0xff 
[   25.254334] sd 1:0:0:0: [sdb] tag#0 CDB: Read(10) 28 00 07 77 f7 80 00 00 08 00
[   25.254346] blk_update_request: I/O error, dev sdb, sector 125302656
[   25.260115] sd 1:0:0:0: [sdb] tag#0 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
[   25.260136] sd 1:0:0:0: [sdb] tag#0 Sense Key : Not Ready [current] 
[   25.260157] sd 1:0:0:0: [sdb] tag#0 <<vendor>>ASC=0xff <<vendor>>ASCQ=0xff 
[   25.260171] sd 1:0:0:0: [sdb] tag#0 CDB: Read(10) 28 00 07 77 f7 80 00 00 08 00
[   25.260179] blk_update_request: I/O error, dev sdb, sector 125302656
[   25.260195] Buffer I/O error on dev sdb, logical block 15662832, async page read
leeboris@EeePC-1215B:~$ 
Questo è il risultato che viene fuori: non mi sembra incoraggiante!
Leeboris
Prode Principiante
Messaggi: 31
Iscrizione: domenica 23 gennaio 2011, 9:12

Re: SD con file system in sola lettura

Messaggio da Leeboris »

Codice: Seleziona tutto

leeboris@EeePC-1215B:~$ sudo hdparm -r /dev/sdb
[sudo] password di leeboris: 

/dev/sdb:
 readonly      =  1 (on)
leeboris@EeePC-1215B:~$ 
Ecco cosa ottengo: c'è qualche speranza di modificare quell'attributo di sola lettura?
Leeboris
Prode Principiante
Messaggi: 31
Iscrizione: domenica 23 gennaio 2011, 9:12

Re: SD con file system in sola lettura

Messaggio da Leeboris »

wilecoyote [url=https://forum.ubuntu-it.org/viewtopic.php?p=5075669#p5075669][img]https://forum.ubuntu-it.org/images/icons/icona-cita.gif[/img][/url] ha scritto::) Salve, 1 precisazione, la scheda SD è una tua aggiunta o era preinstallata ?

Nel 2° caso esistono dei casi in cui il blocco in sola lettura è impostato tramite un codice nascosto scritto nella scheda SD, però ad oggi nessuno ha saputo dirmi come piallarlo ben benino 'sto codice.

:ciao: Ciao
La scheda SD l'ho aggiunta io
Leeboris
Prode Principiante
Messaggi: 31
Iscrizione: domenica 23 gennaio 2011, 9:12

Re: SD con file system in sola lettura

Messaggio da Leeboris »

willy54 [url=https://forum.ubuntu-it.org/viewtopic.php?p=5075557#p5075557][img]https://forum.ubuntu-it.org/images/icons/icona-cita.gif[/img][/url] ha scritto:Ultima spiaggia provare con windows , molte chiavette live diventate illegibili con windows sono riuscito a recuperarle sia con gestione file sia con Rufus ricreando una live , visto che gparted la legge prova ad eliminare le due partizioni ed a formattarla fat32 che è compatibile con tutti i dispositivi , è una ultima spiaggia.
Metti anche in conto che potrebbe essere danneggiata.
Ho provato con Rufus ed ho riprovato con GParted e poi anche con Unebootin, ma niente da fare. Con gestione file non so invece come fare!
Avatar utente
Filoteo
Entusiasta Emergente
Entusiasta Emergente
Messaggi: 1274
Iscrizione: venerdì 28 agosto 2015, 9:38
Desktop: Gnome
Distribuzione: Arch Linux

Re: SD con file system in sola lettura

Messaggio da Filoteo »

Vedendo questo errore

Codice: Seleziona tutto

blk_update_request: I/O error, dev sdb, sector 125302656
a me pare proprio che la sd sia danneggiata (in questo caso il sistema non riesce a leggere quel settore, che potrebbe essere corrotto), quindi per salvaguardarla la monta in sola lettura. Personalmente copierei i file che mi interessano su un altro supporto e smetterei di una usarla.
Avatar utente
willy54
Rampante Reduce
Rampante Reduce
Messaggi: 6063
Iscrizione: lunedì 18 dicembre 2017, 21:42
Desktop: Xfce, Xorg, Plasma
Distribuzione: Ubuntu studio,Ubuntu, Kubuntu 18.04
Sesso: Maschile
Località: Castell'Alfero (AT)
Contatti:

Re: SD con file system in sola lettura

Messaggio da willy54 »

1 ) In Windows ---> gestione cartelle ----> click destro sulla sd incriminata ----->dal menu che si apre-----> Formatta.
Qualora non funzionasse ancora click destro sulla sd incriminata ----->dal menu che si apre-----> Proprietà ------> Strumenti ----->
Esegui scandisk poi ripeti riga 1
[/color]
Ancora problemi Pannello di controllo -----> Gestione Computer -----> Gestione disco ------>Seleziona la sd e cancella tutte le partizioni se esistono -----> crea nuova partizione-----> ripeti riga 1
Attento a selezionare il device giusto altrimenti perdi tutti i dati.
Se non risolvi la Sd ha il primo settore danneggiato , recupera i dati eventualmente presenti , e mettila nel non riciclabile.
Hp Pavilon 15-CS2093nl Win10, UbuntuStudio 20.04.1 caratteristiche
Toshiba Satellite A660 11M Win7, Win10, Ubuntu 18.04 LTS- Kubuntu 18.04 LTS gparted sda inxi -Fz
disattivare Avvio rapido in Windows10 Installazione su pc Uefi download/file.php?id=31104 -- download/file.php?id=33560
Avatar utente
wilecoyote
Tenace Tecnocrate
Tenace Tecnocrate
Messaggi: 14863
Iscrizione: giovedì 20 agosto 2009, 16:21
Desktop: Kubuntu et alii
Distribuzione: 9.04 32bit 14/18/20/22.04 LTS 64bit
Sesso: Maschile
Località: Ceranesi - Ge

Re: SD con file system in sola lettura

Messaggio da wilecoyote »

:) Salve,
willy54 ha scritto:Se non risolvi la Sd ha il primo settore danneggiato , recupera i dati eventualmente presenti , e mettila nel non riciclabile.
No, no, no… :madno:

Va smaltita come rifiuto elettronico RAEE .

:ciao: Ciao
ACER Extensa 5230E 2,2 Ghz cpu Celeron 900 hdd 160 GB Ram 1 GB scheda video Intel GM500
ACER Extensa 5635Z 2,2 Ghz cpu Celeron T3100 hdd 320 GB Ram 4 GB scheda video Intel Mobile 4
Quando una Finestra chiusa incontra un Pinguino la Finestra chiusa è una Finestra aperta.
Leeboris
Prode Principiante
Messaggi: 31
Iscrizione: domenica 23 gennaio 2011, 9:12

Re: SD con file system in sola lettura

Messaggio da Leeboris »

A questo punto non mi resta che issare "bandiera bianca. :cry:
Comunque, viste anche le incertezze sullo smaltimento, per il momento la sd non la butto via: confido nei progressi della scienza! :lol:

In ogni caso, grazie per l'aiuto che mi avete fornito!
DennyEmpoli
Prode Principiante
Messaggi: 155
Iscrizione: sabato 3 luglio 2010, 14:57
Desktop: Mate
Distribuzione: Linux Mint 15 Olivia 64bit
Località: Empoli (FI)

Re: SD con file system in sola lettura

Messaggio da DennyEmpoli »

Ciao,
ho avuto gli stessi problemi con una microSD di un mio collega, che aveva usato la scheda come memoria interna di Android.
Avevo provato in 1000 modi ma non ci fu verso. Poi di recente mi è capitato di leggere questo articolo: https://nelenkov.blogspot.com/2015/06/decrypting-android-m-adopted-storage.html

non so se può essere utile
Scrivi risposta

Ritorna a “Driver e periferiche”

Chi c’è in linea

Visualizzano questa sezione: 0 utenti iscritti e 23 ospiti