You are not logged in.

#1 2015-03-08 10:19:58

Werzi2001
Member
Registered: 2012-07-07
Posts: 41

SD to USB adapter: No medium found

Hi,

i have a new micro-SD to USB adapter but i doesn't work properly.

Output of dmesg when i insert the USB adapter:

$ dmesg
[...]
scsi 7:0:0:0: Direct-Access     Generic  STORAGE DEVICE   0272 PQ: 0 ANSI: 0
sd 7:0:0:0: [sdb] Attached SCSI removable disk

In /dev there is just sdb and no partitions although the micro-SD card has already a partition (just one). If i use the micro-SD card in the SD card slot this works properly:

$ dmesg
[...]
mmc0: new SDHC card at address 1234
 mmcblk0: mmc0:1234 SA16G 14.6 GiB 
  mmcblk0: p1

So there must be a problem with the USB adapter.

Here just a few more information:

$ lsusb
[...]
Bus 002 Device 008: ID 05e3:0736 Genesys Logic, Inc. microSD Reader/Writer
[...]
$ fdisk /dev/sdb
fdisk: cannot open /dev/sdb: No medium found

But there is a medium and this medium already has a partition.

I already searched for the "No medium found" error but i could not find a solution. Does anybody has an idea of what is going wrong?

Best Regards
Werzi2001

Offline

#2 2015-03-23 15:52:42

wtx
Member
Registered: 2014-06-09
Posts: 76

Re: SD to USB adapter: No medium found

I had very similar or even the same problem some time ago. 
Have you recompiled the kernel on your own?
If yes - maybe you forgot to select following option: CONFIG_SCSI_MULTI_LUN?
In my case without this option kernel allocated only one device in /dev/ (sdb, or so on), but with this option the kernel registers 4 block devices: sdb, sdc, sdd and sde. The connected micro-SD card will be accessible in one of those devices.

If this is a standard kernel from Arch distribution you may check it with:

zcat /proc/config.gz | grep CONFIG_SCSI_MULTI_LUN

Last edited by wtx (2015-03-23 15:56:30)

Offline

#3 2017-05-16 02:56:20

chr0mag
Member
From: Vancouver, Canada
Registered: 2017-02-02
Posts: 94

Re: SD to USB adapter: No medium found

Resurrecting this thread as I have a similar issue. 

I have a 4GB SDHC card that is recognized, and mounts as expected when inserted into the SD card slot of my laptop but not when inserted into a USB multi-card reader.  Further, regular SD cards are recognized, and mount as expected when inserted into the USB card reader.  I'm trying to get this working for a laptop that doesn't have a built-in SD card slot hence the need for the USB card reader.

SDHC card in USB multi-card reader

lsusb

Bus 002 Device 008: ID 05e3:070e Genesys Logic, Inc. USB 2.0 Card Reader
Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 003: ID 04f2:b293 Chicony Electronics Co., Ltd 
Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

dmesg

[22436.692690] usb-storage 2-1.3:1.0: USB Mass Storage device detected
[22436.697072] scsi host6: usb-storage 2-1.3:1.0
[22437.714797] scsi 6:0:0:0: Direct-Access     Generic  STORAGE DEVICE   9321 PQ: 0 ANSI: 0
[22439.342000] scsi 6:0:0:1: Direct-Access     Generic  STORAGE DEVICE   9321 PQ: 0 ANSI: 0
[22440.969242] scsi 6:0:0:2: Direct-Access     Generic  STORAGE DEVICE   9321 PQ: 0 ANSI: 0
[22442.596459] scsi 6:0:0:3: Direct-Access     Generic  STORAGE DEVICE   9321 PQ: 0 ANSI: 0
[22442.599904] sd 6:0:0:0: Attached scsi generic sg2 type 0
[22442.600804] sd 6:0:0:1: Attached scsi generic sg3 type 0
[22442.601044] sd 6:0:0:2: Attached scsi generic sg4 type 0
[22442.601257] sd 6:0:0:3: Attached scsi generic sg5 type 0
[22442.602910] sd 6:0:0:1: [sdc] Attached SCSI removable disk
[22442.605484] sd 6:0:0:0: [sdb] Attached SCSI removable disk
[22442.610835] sd 6:0:0:2: [sdd] Attached SCSI removable disk
[22442.611526] sd 6:0:0:3: [sde] Attached SCSI removable disk

fdisk --list

Disk /dev/sda: 298.1 GiB, 320072933376 bytes, 625142448 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x026e15f6

Device     Boot    Start       End   Sectors   Size Id Type
/dev/sda1           2048  41945087  41943040    20G 83 Linux
/dev/sda2       41945088  42993663   1048576   512M 83 Linux
/dev/sda3       42993664  51382271   8388608     4G 83 Linux
/dev/sda4       51382272 625142447 573760176 273.6G 83 Linux

lsblk

NAME   MAJ:MIN RM   SIZE RO TYPE MOUNTPOINT
sda      8:0    0 298.1G  0 disk 
├─sda1   8:1    0    20G  0 part /
├─sda2   8:2    0   512M  0 part /boot
├─sda3   8:3    0     4G  0 part [SWAP]
└─sda4   8:4    0 273.6G  0 part /home
sr0     11:0    1  1024M  0 rom 

Attempting to mount any of /dev/sdb, /dev/sdc, /dev/sdd or /dev/sde results in the "no medium found" error.

SDHC card inserted directly into laptop SD slot.
dmesg

[23558.695394] mmc0: new high speed SDHC card at address aaaa
[23558.698817] mmcblk0: mmc0:aaaa SD04G 3.69 GiB 
[23558.700527]  mmcblk0: p1

fdisk --list

Disk /dev/sda: 298.1 GiB, 320072933376 bytes, 625142448 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x026e15f6

Device     Boot    Start       End   Sectors   Size Id Type
/dev/sda1           2048  41945087  41943040    20G 83 Linux
/dev/sda2       41945088  42993663   1048576   512M 83 Linux
/dev/sda3       42993664  51382271   8388608     4G 83 Linux
/dev/sda4       51382272 625142447 573760176 273.6G 83 Linux

Disk /dev/mmcblk0: 3.7 GiB, 3965190144 bytes, 7744512 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x00000000

Device         Boot Start     End Sectors  Size Id Type
/dev/mmcblk0p1       8192 7744511 7736320  3.7G  b W95 FAT32

lsblk

NAME        MAJ:MIN RM   SIZE RO TYPE MOUNTPOINT
sda           8:0    0 298.1G  0 disk 
├─sda1        8:1    0    20G  0 part /
├─sda2        8:2    0   512M  0 part /boot
├─sda3        8:3    0     4G  0 part [SWAP]
└─sda4        8:4    0 273.6G  0 part /home
sr0          11:0    1  1024M  0 rom  
mmcblk0     179:0    0   3.7G  0 disk 
└─mmcblk0p1 179:1    0   3.7G  0 part

It seems the USB card reader (Transcend) doesn't recognize the SDHC card, only SD cards.  Is there a driver update/change I can make to get this working or do I have to resort to a different card reader that supports SDHC?

Offline

#4 2017-05-16 05:37:17

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 11,865
Website

Re: SD to USB adapter: No medium found

Resurrecting this thread as I have a similar issue.

Please don't do that. Start a new thread.

https://wiki.archlinux.org/index.php/Co … bumping.22

Closing.


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

Board footer

Powered by FluxBB