HP photosmart R717 camera not mounted when plugged

Bug #151572 reported by Efrain Valles
12
Affects Status Importance Assigned to Milestone
gnome-mount (Ubuntu)
Invalid
Undecided
Basilio Kublik

Bug Description

I am currently using Ubuntu Beta, The Camera is not mounted when detected. This camera has an SD memory stick of 1Gig. I still boot Dapper Drake (Ubuntu 6.06) on the same machine and it mounts ok there.

Steps to reproduce:
-Plug in USB cable to camera and then to PC.
-Turn on Camera for it to link with the PC
-Wait for NOTHING to happen.

lsusb says:

valles@gutsy-hal:~$ lsusb
Bus 003 Device 002: ID 03f0:4002 Hewlett-Packard PhotoSmart 720 / PhotoSmart 935 (storage)
Bus 003 Device 001: ID 0000:0000
Bus 002 Device 001: ID 0000:0000
Bus 001 Device 001: ID 0000:0000

Revision history for this message
Andrea Corbellini (andrea.corbellini) wrote :

Please, give information about your Desktop Environment (Gnome, KDE, Xfce, ...).

Revision history for this message
Basilio Kublik (sourcercito) wrote :

Hi Efrain
Thanks for taking the time to report this issue, in order to identify the problem, we probably need some extra information, such as, the output of your syslog when you plug/unplug the camera, the output of lsmod command, the output of "uname -a", the output of dmesg command, please include the requested information as separated attachments.
By the way do you have pmount installed?.

Thanks in advance.

Revision history for this message
Efrain Valles (effie-jayx) wrote : Re: [Bug 151572] Re: HP photosmart R717 camera not mounted when plugged

Shall supply the info once I get home.

Thanks for the prompt response

On 10/11/07, Basilio Kublik <email address hidden> wrote:
>
> Hi Efrain
> Thanks for taking the time to report this issue, in order to identify the
> problem, we probably need some extra information, such as, the output of
> your syslog when you plug/unplug the camera, the output of lsmod command,
> the output of "uname -a", the output of dmesg command, please include the
> requested information as separated attachments.
> By the way do you have pmount installed?.
>
> Thanks in advance.
>
> ** Changed in: ubuntu
> Assignee: (unassigned) => Basilio Kublik (sourcercito)
> Status: New => Incomplete
>
> --
> HP photosmart R717 camera not mounted when plugged
> https://bugs.launchpad.net/bugs/151572
> You received this bug notification because you are a direct subscriber
> of the bug.
>

Revision history for this message
Efrain Valles (effie-jayx) wrote :

I am running Ubuntu Gutsy.. with Gnome 2.20
I Installed little after herd 5...

Kernel
Linux gutsy-hal 2.6.22-14-generic #1 SMP Wed Oct 10 06:00:47 GMT 2007 i686 GNU/Linux

I attach the resquested info

Revision history for this message
Efrain Valles (effie-jayx) wrote :

I should mention that after I executed the lsmod... the drive got mounted... :S
Pmount is not installed

Partial output from aptitude show pmount

Paquete: pmount
Estado: sin instalar
Versión: 0.9.16-4
Prioridad: opcional
Sección: universe/utils
Desarrollador: Ubuntu MOTU Developers <email address hidden>
---

Revision history for this message
Basilio Kublik (sourcercito) wrote :

Could you please try to reproduce this issue a couple of times, without executing the lsmod, although lsmod does nothing that could be related to the mounting of a drive, just shows the modules loaded by the kernel.
I just want to confirm that this issue isn't present anymore.

Thanks in advance

Revision history for this message
Efrain Valles (effie-jayx) wrote :

It is when I plug it for a second time that the Camera gets mounted as a
drive and inmediately the dialog box for importing pictures appear.

1) I plug my camera Nothing happens. I check lsusb and it is there...
2) I unplug my camera.
3) I plug it again and it works.

On 10/12/07, Basilio Kublik <email address hidden> wrote:
>
> Could you please try to reproduce this issue a couple of times, without
> executing the lsmod, although lsmod does nothing that could be related to
> the mounting of a drive, just shows the modules loaded by the kernel.
> I just want to confirm that this issue isn't present anymore.
>
> Thanks in advance
>
> --
> HP photosmart R717 camera not mounted when plugged
> https://bugs.launchpad.net/bugs/151572
> You received this bug notification because you are a direct subscriber
> of the bug.
>

Revision history for this message
Efrain Valles (effie-jayx) wrote :

I forgot to mention that the first time I plug in the camera. I unplug it without any way of unmounting the device. and therefore the secound time I plug it. It monts it. but it tells me that the card has an invalid format due to the previous manual unpluging and the end result is ... no pictures after the disk gets mounted.

Revision history for this message
hurricaneharry (harold-de-bruijn) wrote :

I can seccond this behaviour, the camera doesn't mount at first runnig gutsy.
uname -a:
Linux laptop 2.6.22-14-generic #1 SMP Sun Oct 14 23:05:12 GMT 2007 i686 GNU/Linux
dmesg:

[1418376.168000] usb 4-6.3: new full speed USB device using ehci_hcd and address 21
[1418376.276000] usb 4-6.3: configuration #1 chosen from 1 choice
[1418376.276000] scsi15 : SCSI emulation for USB Mass Storage devices
[1418376.276000] usb-storage: device found at 21
[1418376.276000] usb-storage: waiting for device to settle before scanning
[1418381.276000] usb-storage: device scan complete
[1418381.284000] scsi scan: INQUIRY result too short (5), using 36
[1418381.284000] scsi 15:0:0:0: Direct-Access HP PhotoSmart R717 A001 PQ: 0 ANSI: 0
[1418381.312000] sd 15:0:0:0: [sdf] 50497 512-byte hardware sectors (26 MB)
[1418381.316000] sd 15:0:0:0: [sdf] Write Protect is off
[1418381.316000] sd 15:0:0:0: [sdf] Mode Sense: 0f 00 00 00
[1418381.316000] sd 15:0:0:0: [sdf] Assuming drive cache: write through
[1418381.324000] sd 15:0:0:0: [sdf] 50497 512-byte hardware sectors (26 MB)
[1418381.328000] sd 15:0:0:0: [sdf] Write Protect is off[1418381.328000] sd 15:0:0:0: [sdf] Mode Sense: 0f 00 00 00
[1418381.328000] sd 15:0:0:0: [sdf] Assuming drive cache: write through
[1418381.328000] sdf:<3>ldm_parse_privhead(): Cannot find PRIVHEAD structure. LDM database is corrupt. Aborting.
[1418381.336000] ldm_validate_privheads(): Cannot find PRIVHEAD 1.
[1418381.352000] unable to read partition table
[1418381.356000] sd 15:0:0:0: [sdf] Attached SCSI removable disk
[1418381.356000] sd 15:0:0:0: Attached scsi generic sg6 type 0
[1418382.996000] sd 15:0:0:0: [sdf] Device not ready: <6>: Sense Key : Not Ready [current]
[1418382.996000] : Add. Sense: Logical unit not ready, manual intervention required
[1418382.996000] end_request: I/O error, dev sdf, sector 50496
[1418382.996000] printk: 101 messages suppressed.
[1418382.996000] Buffer I/O error on device sdf, logical block 50496
[1418383.008000] sd 15:0:0:0: [sdf] Device not ready: <6>: Sense Key : Not Ready [current]
[1418383.008000] : Add. Sense: Logical unit not ready, manual intervention required
[1418383.008000] end_request: I/O error, dev sdf, sector 50496
[1418383.008000] Buffer I/O error on device sdf, logical block 50496

When the camera mounts it reports a filesystem, this "might" be the internal memory of the camera.
However on the point DCIM/100HP717 where normaly the SD card would be mounted nothing is available.

When de camera is disconnected it sometimes reports a bad filesystem on the SD card, however after turning the camera on/off the SD card is fine.

Changed in gnome-mount:
status: Incomplete → New
Revision history for this message
Nick B. (futurepilot) wrote :

I think I have the same problem. I have an HP Photosmart R818 and when I connect it in USB Mass Storage mode nothing happens but a ton of errors in /var/log/messages. See attachment. After unplugging it I get an error on the camera that the memory card cannot be read. After I turn the camera off and on it's fine though. However when I connect the camera in PTP mode it works fine. I think this is a regression from Feisty as I believe it worked fine in Feisty under USB Mass Storage Mode.

Revision history for this message
SqUe (sque) wrote :

I have similar problem with a Sony DSC-W35 on Gutsy 32bit. When I plug it in mass-storage mode, the gnome pop up an error "Invalid mount option when attempting to mount the volume." with error title "Cannot mount volume."

At the log I see:
Jan 4 17:17:15 spe kernel: [86839.984000] usb 5-1: new high speed USB device using ehci_hcd and address 12
Jan 4 17:17:15 spe kernel: [86840.116000] usb 5-1: configuration #1 chosen from 1 choice
Jan 4 17:17:15 spe kernel: [86840.116000] scsi11 : SCSI emulation for USB Mass Storage devices
Jan 4 17:17:20 spe kernel: [86845.116000] scsi 11:0:0:0: Direct-Access Sony Sony DSC 6.00 PQ: 0 ANSI: 0 CCS
Jan 4 17:17:20 spe kernel: [86845.120000] sd 11:0:0:0: [sdb] 960512 512-byte hardware sectors (492 MB)
Jan 4 17:17:20 spe kernel: [86845.120000] sd 11:0:0:0: [sdb] Write Protect is off
Jan 4 17:17:20 spe kernel: [86845.128000] sd 11:0:0:0: [sdb] 960512 512-byte hardware sectors (492 MB)
Jan 4 17:17:20 spe kernel: [86845.132000] sd 11:0:0:0: [sdb] Write Protect is off
Jan 4 17:17:20 spe kernel: [86845.132000] sdb: sdb1
Jan 4 17:17:20 spe kernel: [86845.136000] sd 11:0:0:0: [sdb] Attached SCSI removable disk
Jan 4 17:17:20 spe kernel: [86845.136000] sd 11:0:0:0: Attached scsi generic sg2 type 0
Jan 4 17:17:21 spe kernel: [86845.668000] UDF-fs: No VRS found
Jan 4 17:17:21 spe kernel: [86845.900000] Unable to identify CD-ROM format.

I can't understand why it sees it as UDF format :S

fdisk -l /dev/sdb shows:
Disk /dev/sdb: 491 MB, 491782144 bytes
32 heads, 32 sectors/track, 938 cylinders
Units = cylinders of 1024 * 512 = 524288 bytes
Disk identifier: 0x00000000

   Device Boot Start End Blocks Id System
/dev/sdb1 * 1 937 479499+ 6 FAT16

Mounting by hand (mount /dev/sdb1 /mnt) works perfectly!
Any idea where to look further for this problem?

Revision history for this message
SqUe (sque) wrote :

Hmm.. I found this page: https://wiki.ubuntu.com/DebuggingRemovableDevices and I 'll try to give all the info that document describes:

Command output:
id:
uid=1000(sque) gid=1000(sque) groups=4(adm),20(dialout),24(cdrom),25(floppy),29(audio),30(dip),44(video),46(plugdev),104(scanner),108(lpadmin),110(admin),115(netdev),117(powerdev),1000(sque)

id hal:
id: hal: No such user

id haldaemon:
uid=107(haldaemon) gid=116(haldaemon) groups=116(haldaemon),24(cdrom),25(floppy),46(plugdev),117(powerdev)

uname -a:
Linux spe 2.6.22-14-generic #1 SMP Tue Dec 18 08:02:57 UTC 2007 i686 GNU/Linux

Revision history for this message
SqUe (sque) wrote :

Don't know how to attach multiple files :S

Revision history for this message
SqUe (sque) wrote :
Revision history for this message
SqUe (sque) wrote :
Revision history for this message
SqUe (sque) wrote :
Revision history for this message
SqUe (sque) wrote :

Sry for messing up the bug :P I found my problem!

I had installed Gutsy through a usb-stick (I had created a bootable usb-stick from a gutsy_desktop iso because my dvd-rom is broken)
and it at installation it thought that /dev/sdb1 is the cdrom so there was a line in /etc/fstab:
/dev/sdb1 /media/cdrom0 udf,iso9660 user,noauto,exec 0 0

Commenting this out solves the problem for me.

Really sorry :( , but hey thanks too that ubuntu works once more as intended ;)

Martin Pitt (pitti)
Changed in gnome-mount:
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.