Sunday, December 17, 2017

windows 7 - “no medium found”, usb flash drive

My Debian Sid on Thinkpad X61 has troubles reading from one of my USB flash drives (ADATA S102). Even accessing raw block storage is a problem:


liori:% LANG= dd if=/dev/sdb bs=512 count=1 | hexdump
dd: opening '/dev/sdb': No medium found
liori:%

I get the same error when trying to mount it manually using either mount or udisks --mount. Dmesg does not report any errors (this is after trying to read from the drive):


[559579.972136] usb 2-2: new high-speed USB device number 22 using ehci_hcd
[559580.105313] usb 2-2: New USB device found, idVendor=125f, idProduct=312b
[559580.105324] usb 2-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[559580.105332] usb 2-2: Product: ADATA USB Flash Drive
[559580.105339] usb 2-2: Manufacturer: ADATA
[559580.105346] usb 2-2: SerialNumber: 000000000000000302
[559580.106098] scsi27 : usb-storage 2-2:1.0
[559581.104896] scsi 27:0:0:0: Direct-Access ADATA NAND Flash 1.00 PQ: 0 ANSI: 6
[559581.106930] sd 27:0:0:0: Attached scsi generic sg2 type 0
[559581.108437] sd 27:0:0:0: [sdb] Attached SCSI removable disk

This drive used to work in the past. It was formatted to UDF according to these notes. I have another drive of the same exact model, and it works perfectly. I get the same results on another Thinkpad X61 with Ubuntu 12.04, and Thinkpad T43p with Windows 7 does not see the drive either (although it doesn't report any error message—or I don't know where to look for it).


The drive is USB3.0-capable, but I don't have any USB3.0 ports to check it if it would work there.


Any help making the drive work again is appreciated.


EDIT: The drive magically started working again, as if nothing happened. I'll leave the question opened just in case the problem comes back.

No comments:

Post a Comment

hard drive - Leaving bad sectors in unformatted partition?

Laptop was acting really weird, and copy and seek times were really slow, so I decided to scan the hard drive surface. I have a couple hundr...