Re: Debian can't mount Camera Memory Stick



On Mon, Jul 30, 2007 at 05:34:13PM -0500, Mike McCarty wrote:
Andrew Sackville-West wrote:
what is the output of tail -f /var/log/syslog

See below...

when started before plugging the device in until after its plugged and
settled. If this a regular flash memory stick/card? For example, my camera
uses
bog-standard compact flash cards (about 1.25 inches square by 1/8 in
thick) and they plug into a standard card reader and mount as

This is a FLASH card for a Sony camera. It is smaller than you describe,
2 inches long, 7/8 inch wide, and 1/8 inch thick (approx). It is a
Sandisk 128 MB card. You may see one here:

http://www.amazon.com/SanDisk-128-MB-Memory-Stick/dp/B0000630TK

/dev/sda1 as a vfat device. Is that what we're trying to do? or is it
some proprietary format device that doesn't plug into a standard
cardreader?

I don't own a digital camera, so I can't answer that. It mounts fine
using the Dazzle USB card reader dock, with Windows XP; the same
hardware (dock and card) does not mount with Debian.

Jul 30 14:40:51 localhost -- MARK --
Jul 30 15:00:51 localhost -- MARK --
Jul 30 15:02:01 localhost /USR/SBIN/CRON[25028]: (postgres) CMD (if ! pidof
/usr/lib/postgresql/bin/pg_autovacuum > /dev/null && [ -x
/usr/lib/postgresql/bin/do.maintenance ]; then
/usr/lib/postgresql/bin/do.maintenance -a; fi)
Jul 30 15:17:01 localhost /USR/SBIN/CRON[25309]: (root) CMD ( run-parts
--report /etc/cron.hourly)
Jul 30 15:40:51 localhost -- MARK --
Jul 30 16:00:51 localhost -- MARK --
Jul 30 16:17:01 localhost /USR/SBIN/CRON[26175]: (root) CMD ( run-parts
--report /etc/cron.hourly)
Jul 30 16:40:51 localhost -- MARK --
Jul 30 16:55:04 localhost kernel: hub.c: new USB device 00:07.2-2.3,
assigned address 23
Jul 30 16:55:04 localhost kernel: WARNING: USB Mass Storage data integrity
not assured
Jul 30 16:55:04 localhost kernel: USB Mass Storage device found at 23
Jul 30 16:55:04 localhost hal.hotplug[27795]: could not get mountpoint for
sysfs
Jul 30 16:55:07 localhost usb.agent[27796]: usb-storage: already
loaded
Jul 30 16:55:15 localhost kernel: SCSI device sdc: 502784 512-byte hdwr
sectors (257 MB)
Jul 30 16:55:15 localhost kernel: sdc: Write Protect is off
Jul 30 16:55:15 localhost kernel: /dev/scsi/host3/bus0/target0/lun0: p1
Jul 30 16:55:39 localhost kernel: usb.c: USB disconnect on device
00:07.2-2.3 address 23
Jul 30 16:55:39 localhost hal.hotplug[27849]: could not get mountpoint for
sysfs
Jul 30 16:55:58 localhost kernel: hub.c: new USB device 00:07.2-2.3,
assigned address 24
Jul 30 16:55:58 localhost kernel: WARNING: USB Mass Storage data integrity
not assured
Jul 30 16:55:58 localhost kernel: USB Mass Storage device found at 24
Jul 30 16:55:58 localhost hal.hotplug[27883]: could not get mountpoint for
sysfs
Jul 30 16:56:01 localhost usb.agent[27884]: usb-storage: already
loaded
Jul 30 16:57:17 localhost kernel: sdc: Unit Not Ready, sense:
Jul 30 16:57:17 localhost kernel: Info fld=0xa00 (nonstd), Current 00:00:
sense key Not Ready
Jul 30 16:57:17 localhost kernel: sdc : READ CAPACITY failed.
Jul 30 16:57:17 localhost kernel: sdc : status = 1, message = 00, host = 0,
driver = 08
Jul 30 16:57:17 localhost kernel: Info fld=0xa00 (nonstd), Current sd00:00:
sense key Not Ready
Jul 30 16:57:17 localhost kernel: sdc : block size assumed to be 512 bytes,
disk size 1GB.
Jul 30 16:57:17 localhost kernel: sdc: test WP failed, assume Write Enabled
Jul 30 16:57:17 localhost kernel: /dev/scsi/host3/bus0/target0/lun0: I/O
error: dev 08:20, sector 0
Jul 30 16:57:17 localhost kernel: I/O error: dev 08:20, sector 0
Jul 30 16:57:17 localhost kernel: unable to read partition table

based on this I would see what you can see in the partition table:

fdisk -ul /dev/sdc

and I'd say you've probably got a corrupted partition table and the
device and windows happens to be broken in the right ways to make it
still work for them. On the assumption that the camera has its own
built in format option (mine does anyway...) then there's probably no
harm, but take a bit-for-bit copy of the original partition table (dd)
so you can recreate it later if you need to.

hth

A

Attachment: signature.asc
Description: Digital signature



Relevant Pages

  • Re: removable media revalidation - udev vs. devfs or static /dev
    ... >> out what partitions are there (just to skip an extended partition ... > media reader to read a camera card. ... except the card is still in my camera when I do it. ... send the line "unsubscribe linux-kernel" in ...
    (Linux-Kernel)
  • Re: Hi quality camera for Linux
    ... > Best, fastest, easiest way is to use a USB card reader. ... and camera which uses removable flash ... All of the flash cards are compatible with Linux, I've use both SD cards, ... pictures on the card and a dialog pops up when you plug in a media card ...
    (comp.os.linux.hardware)
  • Re: Newbie to digital SLR
    ... I've taken a brief look at some of the camera reviews, ... I got the D70 as body only, expecting to use my 28-105mm zoom as ... use non-standard rechargeable batteries. ... I took one 1GB CF card to its limit on one very busy weekend. ...
    (rec.photo.digital.slr-systems)
  • Re: Using Scanner & Camera Wizard
    ... startup when I plug the SD card from the camera in to the ... Using Microsoft Scanner and Camera Wizard. ... Repair for Camera (or card reader) Autoplay window March ... With a card reader you may see multiple drives, ...
    (microsoft.public.windowsxp.photos)
  • Re: Recogniton of card readers
    ... When the card reader is initially plugged in,the cursor ... Open the Content Type drop window ... Repair for Camera (or card reader) Autoplay window March ...
    (microsoft.public.windowsxp.photos)