Error wiping device failed to probe the device - udisks-error-quark 0

sajay

New Member
Joined
Nov 30, 2019
Messages
2
Reaction score
0
Credits
0
my SD card keep showing this message. everytime I delete files.. and again same files are in the card.
tried to format with linux. it keeps saying udisk-error-quark 0
anyone can help me test my sd card?
 


f33dm3bits

Gold Member
Gold Supporter
Joined
Dec 11, 2019
Messages
4,776
Reaction score
3,431
Credits
34,774
Enter this in your terminal: lsblk | grep part
You will get an output similar to this:
----------------------
sdX1 8:3 0 24.4G 0 part
Then the disk with the same size as your sdcard is the on you want.
Then check for errors in the kernel ring buffer, type this in the terminal:

dmesg | grep sda (replace sdX with your sdcard device from the previous output)
It will display all output related to sdcard device in the kernel ringbuffer including
other errors or other info. If you see anything with i/o errors your sdcard is probably
broken. If your sdcard is not broken you can create a new filesystem on the partition of your sdcard

Format the partition with a new filesystem. BEWARE!! This will wipe all the data on your sdcard
mkfs.vfat /dev/sdX1 (replace sdX1 with your sdcard device from the previous output)
 
Last edited:
OP
S

sajay

New Member
Joined
Nov 30, 2019
Messages
2
Reaction score
0
Credits
0
thanks for the suggestions.. I had to use warranty and got it replaced by sandisk.
 

FrankFerdinad

New Member
Joined
Jul 22, 2022
Messages
5
Reaction score
0
Credits
47
Im having the same problem and now i am stucked here...

sudo mkfs.ext4 /dev/sdb
mke2fs 1.46.5 (30-Dec-2021)
Warning: could not erase sector 2: Input/output error
Creating filesystem with 488378646 4k blocks and 122101760 inodes
Filesystem UUID: e2dff2c1-d528-4702-ac13-6d87a1846db2
Superblock backups stored on blocks:
32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208,
4096000, 7962624, 11239424, 20480000, 23887872, 71663616, 78675968,
102400000, 214990848

Allocating group tables: done
Warning: could not read block 0: Input/output error
Warning: could not erase sector 0: Input/output error
Writing inode tables: done
Creating journal (262144 blocks):

...i dont know if i have to still wait or kill the process...
 
$100 Digital Ocean Credit
Get a free VM to test out Linux!

Linux.org Hosting Donations
Consider making a donation

Members online


Latest posts

Top