can't see SD card

KAYVEN RIESE kayve at sfsu.edu
Thu Jul 7 01:17:35 GMT 2005



On Thu, 7 Jul 2005, Robert Backhaus wrote:
> On 7/7/05, KAYVEN RIESE <kayve at sfsu.edu> wrote:
>
> Nope, nothing there either. So, a little _more_ background is required
>
> How are you trying to read this SD card?

i don't know where to start.  i stuck the thing in physically and
it fit.

>Are you using a USB card
> reader, or is an inbuilt one? (in my experience, even inbuilt readers
> are connected to USB) What happens when you plug it in?

there is a little slot on the side.. there are USB plugs in the
back.  nothing perceptible happens when i plug it in.
it seems inbuilt to me..  hmm.. there is a button i pushed..
oh wait.. the HD is still going because i make making things.

i had to take out a plastic plug to fit the one inch square
thing that fits into cameras.  not the two inch by one inch
one.. the smaller one.. there is a button right there for
some other plug in.  i pressed the button and another bigger
credit card sized plastic thing with holes in it came out
but the SD card thing stayed in there.  to get the SD
card out, i just push on it.  i've been leaving it in there.

> Basic stuff,
> but we need to know it.
>
> The device name you are looking for should be _umass_. Here's plugging
> in a card reader on my system
>
> Jul  7 10:52:42 computer9 kernel: umass0: SanDisk ImageMate 8 in 1,
> rev 2.00/91.39, addr 2
> Jul  7 10:52:43 computer9 kernel: da0 at umass-sim0 bus 0 target 0 lun 0
> Jul  7 10:52:43 computer9 kernel: da0: <Generic STORAGE DEVICE 9139>
> Removable Direct Access SCSI-0 device
> Jul  7 10:52:43 computer9 kernel: da0: 1.000MB/s transfers
> Jul  7 10:52:43 computer9 kernel: da0: Attempt to query device size
> failed: NOT READY, Medium not present
> Jul  7 10:52:43 computer9 kernel: (da0:umass-sim0:0:0:0): READ
> CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0
> Jul  7 10:52:43 computer9 kernel: (da0:umass-sim0:0:0:0): CAM Status:
> SCSI Status Error
> Jul  7 10:52:43 computer9 kernel: (da0:umass-sim0:0:0:0): SCSI Status:
> Check Condition
> Jul  7 10:52:43 computer9 kernel: (da0:umass-sim0:0:0:0): NOT READY asc:3a,0
> Jul  7 10:52:43 computer9 kernel: (da0:umass-sim0:0:0:0): Medium not present
> Jul  7 10:52:43 computer9 kernel: (da0:umass-sim0:0:0:0): Unretryable error
> Jul  7 10:52:43 computer9 kernel: Opened disk da0 -> 6
>
> Followed by failed attempts to query the cards that are not in any of
> the other slots. I'd expect something similar.
>
> A seperate /dev/da{n} device appears for each slot in the reader. At
> least it did for me.

here's me listing /dev:

Path: /home/kayve
(kayve at www) 101> ls /dev
acd0       apm        fido       mem        ptyp1      ttyp3      ttyvd
acpi       ata        fw0        net        ptyp2      ttyv0      ttyve
ad0        atkbd0     fw0.0      net1       ptyp3      ttyv1      ttyvf
ad0s1      bpf0       fwmem0     net2       random     ttyv2      ums0
ad0s1a     bpsm0      fwmem0.0   net3       stderr     ttyv3      urandom
ad0s1c     console    geom.ctl   net4       stdin      ttyv4      usb
ad0s2      consolectl io         network    stdout     ttyv5      usb0
ad0s2a     ctty       kbd0       nfs4       sysmouse   ttyv6      usb1
ad0s2c     cuad0      klog       nfslock    ttyd0      ttyv7      usb2
ad0s3      cuad0.init kmem       null       ttyd0.init ttyv8      usb3
ad0s3b     cuad0.lock log        pci        ttyd0.lock ttyv9      xpt0
ad0s3c     devctl     lpt0       ppi0       ttyp0      ttyva      zero
ad0s4      devstat    lpt0.ctl   psm0       ttyp1      ttyvb
agpgart    fd         mdctl      ptyp0      ttyp2      ttyvc
Path: /home/kayve
(kayve at www) 102>


>
> Nothing happens when you add a SD card. However, you will be able to
> query it with fdisk ("fsidk /dev/da2" worked when I added a SD card.)

(kayve at www) 102> su
Password:
bind: Command not found.
Path: /home/kayve
(root at www) 101> fsidk /dev/da0
fsidk: Command not found.
Path: /home/kayve
(root at www) 102> fdisk /dev/da0
fdisk: cannot open disk /dev/da0: No such file or directory
Path: /home/kayve
(root at www) 103> (root at www) 103> fdisk /dev/da2
fdisk: cannot open disk /dev/da2: No such file or directory
Path: /home/kayve
(root at www) 104>

there is no da{any} in my /dev directory

> Before I could mount it, I had to convince the system to take another
> look. "true > /dev/da2"


t at www) 104> true > /dev/da2
/dev/da2: Operation not supported.
Path: /home/kayve
(root at www) 105>

(root at www) 105> whereis true
true: /usr/bin/true /usr/share/man/man1/true.1.gz /usr/src/usr.bin/true
Path: /home/kayve
(root at www) 106> /usr/bin/true > /dev/da2
/dev/da2: Operation not supported.
Path: /home/kayve
(root at www) 107>

nuthin'

>has been suggested, and worked for me. Then I
> could "mount -t msdos /dev/da2s1 /mnt", examine the files, umount it,
> and remove it.
>
> I hope this helps you find out what is happening your end.
>

what freeBSD do you have?  maybe i should try it on my 5.4 but
then i guess i have to reboot and a couple of makes are going
right now... umm.. and a download i think



More information about the freebsd-bugs mailing list