[lug] Cannot read CompactFlash cards

Dhruva B. Reddy bdhruva at gmx.net
Wed May 28 06:47:13 MDT 2003


I was playing around with my dad's new digital camera (Nikon Coolpix
4300), which of course includes plugging it into my Linux box :-)

When I first connect the camera, I get the following in the system log:

    May 27 22:01:03 greatspacetoaster kernel: hub.c: USB new device connect
    on bus1/2, assigned device number 6
    May 27 22:01:03 greatspacetoaster kernel: scsi1 : SCSI emulation for USB
    Mass Storage devices
    May 27 22:01:03 greatspacetoaster kernel:   Vendor: NIKON     Model:
    NIKON DSC E4300   Rev: 1.00
    May 27 22:01:03 greatspacetoaster kernel:   Type:   Direct-Access
    ANSI SCSI revision: 02
    May 27 22:01:03 greatspacetoaster kernel: WARNING: USB Mass Storage data
    integrity not assured
    May 27 22:01:03 greatspacetoaster kernel: USB Mass Storage device found
    at 6

I managed to mount the camera in mass storage mode.  I get the following
directory tree:
	
    /mnt/camera
	nikon001.dsc
        dcim/
            100nikon/
                dscn0503.jpg
		(...and the rest of the images...)
        misc/
            autprint.mrk
            order.njb

I have four cards:  1 256MB, 2 128MB (all SanDisk) and the Lexar card
that came with the camera.  On all but the Lexar, I get the following
error in the system log (several times) when I navigate "100nikon" (the
address under "want" changes for each occurence of this message):

        May 27 23:51:22 greatspacetoaster kernel: attempt to access beyond end
        of device
        May 27 23:51:22 greatspacetoaster kernel: 08:01: rw=0, want=16059,
        limit=15536  

Also, when I try to copy the images from the card, I get the following
error message for several of the images (although some seem to come
through OK):

        cp: reading `dscn0516.jpg': Input/output error

I only tried the Lexar card once, but it worked just fine.

I am running Debian, with a 2.4.18 kernel.  Can anyone shed some light
on this?

As an aside, I first tried to connect it in PTP mode, but got the following
in the system log:

        May 27 21:38:23 greatspacetoaster kernel: hub.c: USB new device connect
        on bus1/2, assigned device number 3
        May 27 21:38:23 greatspacetoaster kernel: usb.c: USB device 3 (vend/prod
        0x4b0/0x10f) is not claimed by any active driver.

Does this mean that this mode is not supported?

Thanks,
Dhruva




More information about the LUG mailing list