The officially official Devuan Forum!

You are not logged in.

#1 2022-08-22 19:04:54

Altoid
Member
Registered: 2017-05-07
Posts: 1,081  

[SOLVED] Problems mounting SD card on card reader

Hello:

For the longest while I have had this problem in a sort of on/off way.
ie: does not happen all the time, but always happens when I need to see the SD's contents.

eg:
I plug in the SD card into the reader and the reader into one of the my box's USB sockets.
I then open the file manager PCManFM 1.3.1 but the SD card has not been mounted.

So I check dmesg:

~$ sudo dmesg
--- snip ---
[ 3029.553100] usb 5-5: new high-speed USB device number 4 using ehci-pci
[ 3029.710237] usb 5-5: New USB device found, idVendor=14cd, idProduct=125a, bcdDevice= 2.00
[ 3029.710241] usb 5-5: New USB device strings: Mfr=1, Product=3, SerialNumber=2
[ 3029.710244] usb 5-5: Product: Mass Storage Device
[ 3029.710246] usb 5-5: Manufacturer: Generic
[ 3029.710249] usb 5-5: SerialNumber: 812520090519
[ 3029.739442] usb-storage 5-5:1.0: USB Mass Storage device detected
[ 3029.739977] scsi host8: usb-storage 5-5:1.0
[ 3029.740084] usbcore: registered new interface driver usb-storage
[ 3029.743230] usbcore: registered new interface driver uas
[ 3030.765763] scsi 8:0:0:0: Direct-Access     USB Mass Storage Device        PQ: 0 ANSI: 0 CCS
[ 3030.766106] sd 8:0:0:0: Attached scsi generic sg6 type 0
[ 3030.767372] sd 8:0:0:0: [sdg] 3842048 512-byte logical blocks: (1.97 GB/1.83 GiB)    <---- here it is
[ 3030.768873] sd 8:0:0:0: [sdg] Write Protect is off
[ 3030.768878] sd 8:0:0:0: [sdg] Mode Sense: 03 00 00 00
[ 3030.769496] sd 8:0:0:0: [sdg] No Caching mode page found
[ 3030.769501] sd 8:0:0:0: [sdg] Assuming drive cache: write through
[ 3030.822495] sd 8:0:0:0: [sdg] Attached SCSI removable disk
~$ 

Sure enough, there it is: sdg

Then I check with lsblk:

groucho@devuan:~$ lsblk
NAME   MAJ:MIN RM   SIZE RO TYPE MOUNTPOINT
sda      8:0    0 465.8G  0 disk 
`-sda1   8:1    0 465.8G  0 part /run/timeshift/backup
sdb      8:16   0 111.8G  0 disk 
|-sdb1   8:17   0  28.9G  0 part /
|-sdb2   8:18   0     1K  0 part 
|-sdb3   8:19   0   4.1G  0 part [SWAP]
|-sdb5   8:21   0   750M  0 part /var/log
`-sdb6   8:22   0  78.1G  0 part /home
sdc      8:32   0 279.4G  0 disk 
`-sdc1   8:33   0 279.4G  0 part 
sdd      8:48   0 279.4G  0 disk 
`-sdd1   8:49   0 279.4G  0 part /media/storage
sde      8:64   0  68.4G  0 disk 
|-sde1   8:65   0  18.6G  0 part 
|-sde2   8:66   0     1K  0 part 
|-sde3   8:67   0   7.5G  0 part 
|-sde5   8:69   0   1.9G  0 part 
`-sde6   8:70   0  40.4G  0 part 
sdf      8:80   0 279.4G  0 disk 
`-sdf1   8:81   0 279.4G  0 part 
sdg      8:96   1   1.9G  0 disk   <--- no mount point
groucho@devuan:~$ 

Sure enough, there it is: sdg but it is not mounted.

usbView 2.0 sees it:   

Mass Storage Device
Manufacturer: Generic
Serial Number: 812520090519
Speed: 480Mb/s (high)
Bus:   5
Address:   4
USB Version:  2.00

The disks application sees it but states unknown content.
gparted sees it but says unallocated.

And if I put it back in my Minolta Dimage X31, it mounts the SD card and shows me the content and writes new files to it with no problems whatsoever.

Unfortunately, I have not been able to reproduce this problem, so I am at a loss as to how to fix it.

Any ideas?

Thanks in advance.

Best,

A.

Offline

#2 2022-08-22 19:57:34

Head_on_a_Stick
Member
From: London
Registered: 2019-03-24
Posts: 2,536  

Re: [SOLVED] Problems mounting SD card on card reader

Looks like it doesn't have a partition table ("super floppy"). That might confuse udisks2 or whatever pcmanfm is using for automounting.

Can you mount it manually?

# mount /dev/sdg /mnt
$ findmnt /mnt

The output of the second command should show the filesystem ("fstype").

Offline

#3 2022-08-22 20:18:54

Altoid
Member
Registered: 2017-05-07
Posts: 1,081  

Re: [SOLVED] Problems mounting SD card on card reader

Hello:

Head_on_a_Stick wrote:

Looks like it doesn't have a partition table ...
Can you mount it manually?

Hmm ...
Not the last time I tried.
Let's see now.

Plugged it into the erader and the reader into the socket.
dmesg says:

[  347.180602] usb 5-5: new high-speed USB device number 5 using ehci-pci
[  347.337732] usb 5-5: New USB device found, idVendor=14cd, idProduct=125a, bcdDevice= 2.00
[  347.337737] usb 5-5: New USB device strings: Mfr=1, Product=3, SerialNumber=2
[  347.337740] usb 5-5: Product: Mass Storage Device
[  347.337742] usb 5-5: Manufacturer: Generic
[  347.337745] usb 5-5: SerialNumber: 812520090519
[  347.338023] usb-storage 5-5:1.0: USB Mass Storage device detected
[  347.338187] scsi host7: usb-storage 5-5:1.0
[  348.369261] scsi 7:0:0:0: Direct-Access     USB Mass Storage Device        PQ: 0 ANSI: 0 CCS
[  348.369596] sd 7:0:0:0: Attached scsi generic sg2 type 0
[  348.371680] sd 7:0:0:0: [sdc] 3842048 512-byte logical blocks: (1.97 GB/1.83 GiB)
[  348.372368] sd 7:0:0:0: [sdc] Write Protect is off
[  348.372372] sd 7:0:0:0: [sdc] Mode Sense: 03 00 00 00
[  348.372994] sd 7:0:0:0: [sdc] No Caching mode page found
[  348.372999] sd 7:0:0:0: [sdc] Assuming drive cache: write through
[  348.434000] sd 7:0:0:0: [sdc] Attached SCSI removable disk
~$       

But, as before, it is not seen in the file manager.

~$ sudo mount /dev/sdc /mnt
[sudo] password for groucho: 
mount: /mnt: wrong fs type, bad option, bad superblock on /dev/sdc, missing codepage or helper program, or other error.
~$ 

Hmmm ...
Rather ambiguous.
ie: this, that or any other.  8^D

groucho@devuan:~$ sudo findmnt /mnt
groucho@devuan:~$ 

The SD card is healthy as far as the camera it is used on concerns: I can se the contents and write to the card.
I think the FS is FAT16.

Thanks for  your input.

Best,

A.

Offline

#4 2022-08-22 21:40:52

ralph.ronnquist
Administrator
From: Clifton Hill, Victoria, AUS
Registered: 2016-11-30
Posts: 731  

Re: [SOLVED] Problems mounting SD card on card reader

I'd say you need to get a new sdcard reader; perhaps that the card is EXFAT formatted and the reader can't handle that.

Offline

#5 2022-08-22 21:54:33

Altoid
Member
Registered: 2017-05-07
Posts: 1,081  

Re: [SOLVED] Problems mounting SD card on card reader

Hello:

ralph.ronnquist wrote:

... a new sdcard reader; perhaps that the card is EXFAT formatted and the reader can't handle that.

But it always did.
I've had the reader working without much ado for the longest while.

But you are quite right ....

I can confirm that the SD card can be read perfectly well on my Asus 1000HE's on-board port.
I think the thingy finally gave up the ghost, must be 5/6 years old.

I'll mark this thread as solved and get myself a new reader tomorrow.

Thanks for your input.

Best,

A.

Offline

#6 2022-08-23 09:16:28

Grumpy
Member
Registered: 2022-07-18
Posts: 6  

Re: [SOLVED] Problems mounting SD card on card reader

Have you tried plugging the card reader into the Asus 1000HE and inserting the SD card.
That would show if the card reader is really bad or not.

Offline

#7 2022-08-23 11:05:44

Altoid
Member
Registered: 2017-05-07
Posts: 1,081  

Re: [SOLVED] Problems mounting SD card on card reader

Hello:

Grumpy wrote:

... tried plugging the card reader into the Asus 1000HE ...

Yes.
Right before I ripped it open to see the contacts in bad shape.

I wanted to recover the quality cable/ferrite filter/USB plug combo I rescued from an old Palm IV base and grafted on to it when the original cable went bad.

It is USB 1.1 or 2.0 but worth keeping, it is like new.
They really don't make stuff like they used to.  8^|

Best,

A.

Offline

Board footer