Gentoo Archives: gentoo-user

From: darren kirby <bulliver@×××××××××××.org>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Problems mounting Nikon D40 Camera, vfat FS issue?
Date: Mon, 09 Jun 2008 17:44:08
Message-Id: 200806091143.48983.bulliver@badcomputer.org
1 Hello all,
2
3 Trying for the first time to download images from a new Nikon D40 camera.
4 libgphoto2 lists the camera as supported in PTP mode. I have tried using PTP
5 mode with digikam (hooking up the camera directly), and also simply trying to
6 mount the memory card using a card reader. Both methods fail.
7
8 The card is recognized:
9
10 usb 1-5: new high speed USB device using ehci_hcd and address 2
11 usb 1-5: configuration #1 chosen from 1 choice
12 scsi6 : SCSI emulation for USB Mass Storage devices
13 usb-storage: device found at 2
14 usb-storage: waiting for device to settle before scanning
15 scsi 6:0:0:0: Direct-Access Generic STORAGE DEVICE 0001 PQ: 0 ANSI: 0
16 sd 6:0:0:0: [sdc] Attached SCSI removable disk
17 sd 6:0:0:0: Attached scsi generic sg3 type 0
18 usb-storage: device scan complete
19 sd 6:0:0:0: [sdc] 3970048 512-byte hardware sectors (2033 MB)
20 sd 6:0:0:0: [sdc] Write Protect is off
21 sd 6:0:0:0: [sdc] Mode Sense: 02 00 00 00
22 sd 6:0:0:0: [sdc] Assuming drive cache: write through
23 sd 6:0:0:0: [sdc] 3970048 512-byte hardware sectors (2033 MB)
24 sd 6:0:0:0: [sdc] Write Protect is off
25 sd 6:0:0:0: [sdc] Mode Sense: 02 00 00 00
26 sd 6:0:0:0: [sdc] Assuming drive cache: write through
27 sdc: sdc1
28
29 Attempts in PTP mode fail with digikam reporting "Failed to connect to the
30 camera. Please make sure it is connected properly and turned on". The camera
31 itself reports that it is connected to the computer properly. When directly
32 mounting I get:
33
34
35 # mount -t vfat /dev/sdc1 /mnt/camera
36 mount: wrong fs type, bad option, bad superblock on /dev/sdc1,
37 missing codepage or helper program, or other error
38 In some cases useful info is found in syslog - try
39 dmesg | tail or so
40
41 I have these lines in my dmesg whenever I try to mount it, or use PTP mode:
42
43 Unable to load NLS charset cp437
44 FAT: codepage cp437 not found
45
46 In my kernel config I have this:
47
48 (437) Default codepage for FAT
49
50 So, is there something else I need to get this codepage? The camera appears to
51 be detected just fine, and the issue seems to be directly related to mounting
52 the vfat filesystem and this missing codepage...
53
54 Just to note: It is a stable amd64 Gentoo system, and I do have vfat module
55 loaded when I attempt to mount.
56
57 Any other ideas?
58
59 Thanks for consideration,
60 -d
61 --
62 darren kirby :: Part of the problem since 1976 :: http://badcomputer.org
63 "...the number of UNIX installations has grown to 10, with more expected..."
64 - Dennis Ritchie and Ken Thompson, June 1972
65 --
66 gentoo-user@l.g.o mailing list

Replies

Subject Author
Re: [gentoo-user] Problems mounting Nikon D40 Camera, vfat FS issue? Hal Martin <hal.martin@×××××.com>