You are not logged in.

#1 2013-06-07 22:23:29

pdexter
Member
Registered: 2012-04-25
Posts: 27

sd card shows on `dmesg` but not `fdisk -l`

I have an sd card that I've been trying to use on my laptop.

$ dmesg
[5498883.706642] usb 3-1.1: new high-speed USB device number 7 using ehci-pci
# fdisk -l

Disk /dev/sda: 128.0 GB, 128035676160 bytes, 250069680 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
Disk label type: dos
Disk identifier: 0x00000000

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *          63    39070079    19535008+  83  Linux
/dev/sda2        39070080   250069679   105499800   83  Linux

Thoughts? Thanks

Offline

#2 2013-06-07 22:36:22

opt1mus
Member
From: UK
Registered: 2011-12-31
Posts: 212
Website

Re: sd card shows on `dmesg` but not `fdisk -l`

I think you misunderstand the use of fdisk use;

$ lsblk

- instead, your SDcard should show up on there.

Offline

#3 2013-06-07 22:50:33

pdexter
Member
Registered: 2012-04-25
Posts: 27

Re: sd card shows on `dmesg` but not `fdisk -l`

Ah, sorry.

I tried and it still does not show however.

$ lsblk                                                                                                                ~
NAME   MAJ:MIN RM   SIZE RO TYPE MOUNTPOINT
sda      8:0    0 119.2G  0 disk 
├─sda1   8:1    0  18.6G  0 part /
└─sda2   8:2    0 100.6G  0 part /home
sr0     11:0    1  1024M  0 rom  

Offline

#4 2013-06-07 22:55:04

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,414

Re: sd card shows on `dmesg` but not `fdisk -l`

So if it is a usb device, does it show up in lsusb?  Or I guess it might be considering the sd card itself a usb device?  In that case it might be a pci device, so lspci?  I don'thave much experience with sd card readers... I have one, but I never use it.

Offline

#5 2013-06-07 23:06:44

pdexter
Member
Registered: 2012-04-25
Posts: 27

Re: sd card shows on `dmesg` but not `fdisk -l`

Yeah, in lsusb it shows.

$ lsusb
Bus 003 Device 013: ID 058f:6366 Alcor Micro Corp. Multi Flash Reader

Offline

#6 2013-06-07 23:24:59

opt1mus
Member
From: UK
Registered: 2011-12-31
Posts: 212
Website

Re: sd card shows on `dmesg` but not `fdisk -l`

That's only showing that the reader is recognised, have you successfully used the SD card on another machine/device?

Offline

#7 2013-06-07 23:35:11

pdexter
Member
Registered: 2012-04-25
Posts: 27

Re: sd card shows on `dmesg` but not `fdisk -l`

I have after I attached it in one of those sd card to usb things. I don't have that on me right now so I can't test it here. I just tried an sd card I have in my camera and it also just shows up in `lsusb`.

I could test tomorrow.

Offline

#8 2013-06-07 23:44:05

opt1mus
Member
From: UK
Registered: 2011-12-31
Posts: 212
Website

Re: sd card shows on `dmesg` but not `fdisk -l`

SD cards can be a pretty wobbly/unpredictable experience, when you say "it also just shows up in 'lsusb'", bear in mind the output you gave us a few posts ago only showed that your Multi Flash Reader was recognised, not that there was a storage device inserted into it.

Offline

#9 2013-06-07 23:47:39

pdexter
Member
Registered: 2012-04-25
Posts: 27

Re: sd card shows on `dmesg` but not `fdisk -l`

Ah, yeah, I'm being pretty bad with my word choice sorry.

Offline

#10 2013-06-08 00:00:32

opt1mus
Member
From: UK
Registered: 2011-12-31
Posts: 212
Website

Re: sd card shows on `dmesg` but not `fdisk -l`

A quick hunt around the 'net reveals that the ID 058f:6366 Alcor Micro Corp. Multi Flash Reader may not play nice with SDHC / >2GB cards. To eliminate/confirm this, I would try and obtain an older SD of <2GB and see if you get joy with that.

-- edit --

Also, out of curiosity; when you insert the SD card, have you looked at the output of dmesg afterwards, say the last few lines?

Last edited by opt1mus (2013-06-08 00:05:33)

Offline

#11 2013-06-08 00:16:00

pdexter
Member
Registered: 2012-04-25
Posts: 27

Re: sd card shows on `dmesg` but not `fdisk -l`

Alright thanks, I'll try to find one around here.

I have looked. All that is reported is `USB disconnect, device number 15', same number as the inserted one naturally.

Offline

Board footer

Powered by FluxBB