You are not logged in.

#1 2007-06-29 12:46:13

wooptoo
Member
Registered: 2007-04-23
Posts: 78
Website

hal / thunar-volman refuses to automount camera

A few days ago after i did a pacman -Syu, udev, klibc-udev and hal were updated.
I plugged in my camera (HP R607) and thunar-volman didn't "see" it at all (no desktop icon appeared, no auto-mount, and no device in /dev).
After that i ran ./etc/start_udev (with the camera plugged in) because i thought that udev rules needed to be reloaded (this was stupid as i later figured out that this isn't the way to reload the rules). It threw out some errors (stupid, again - i din't copy the error messages).
Now every time i plug the camera a desktop icon appears with the device (udev sees it now), but it doesn't get mounted and i get this error:

Failed to mount "/org/freedesktop/Hal/devices/volume_part1_size_2059382272".
Given device "/org/freedesktop/Hal/devices/volume_part1_size_2059382272" is not a volume or drive.

After i unplug the camera a error appears on it's lcd saying that the SD card can't be read and it needs formatting. No luck after formatting either.
If i try to manually mount the camera:

mount /dev/sdb1 /mnt/cam -t vfat
mount: /dev/sdb1: can't read superblock

dmesg|tail:

ASC=0x4 ASCQ=0x3
end_request: I/O error, dev sdb, sector 39
sd 8:0:0:0: Device not ready: <6>: Current: sense key=0x2
    ASC=0x4 ASCQ=0x3
end_request: I/O error, dev sdb, sector 39
FAT: unable to read boot sector
sd 8:0:0:0: Device not ready: <6>: Current: sense key=0x2
    ASC=0x4 ASCQ=0x3
end_request: I/O error, dev sdb, sector 39
FAT: unable to read boot sector

I tried deleting ~/.config/Thunar/volmanrc and the camera is auto-mounted without any problems, but after i un-checked the "browse removable media when inserted" in the volman configuration panel the problem re-appears.
I removed the SD card from the camera, and the device gets mounted properly, but this doesn't help me very much since i can't store more than 4 photos on the internal memory of the camera.

Does anyone have any ideea what the problem might be? I think it's thunar-volman's fault, but i'm not really sure.

edit: usb sticks, cds, etc. get auto-mounted just fine.

Last edited by wooptoo (2007-06-29 12:51:24)

Offline

#2 2007-06-29 15:25:40

daedalusman
Member
From: CO, USA
Registered: 2006-12-05
Posts: 258

Re: hal / thunar-volman refuses to automount camera

I'm having the same problem with thunar and my camera. It is recongized but not mounted and can't be mounted. I hope this can get fixed soon, I need to be able to save my photos. Thanks.

Offline

#3 2007-06-30 02:32:39

RobbeR49
Member
From: Columbus, OH
Registered: 2006-01-17
Posts: 178

Re: hal / thunar-volman refuses to automount camera

I just ran into this problem as well. It happened using thunar-svn from the AUR and thunar from extra.

I also noticed there is no svn version of the volman plugin in the aur to go with thunar-svn, but it doesn't seem to make that much of a difference - all I ever needed to do was double-click to mount my drive anyway.

I would think this problem had to do more with udev or hal since they were the only things that really changed, maybe it's just a coincidence that we all use thunar. Either way, hope it's fixed soon.

Offline

#4 2007-07-01 18:41:21

daedalusman
Member
From: CO, USA
Registered: 2006-12-05
Posts: 258

Re: hal / thunar-volman refuses to automount camera

Any news on this issue? Anyone out there that can offer up some help? Thanks.

Offline

#5 2007-07-02 00:06:19

emmybear
Member
Registered: 2007-04-20
Posts: 38

Re: hal / thunar-volman refuses to automount camera

Well, thunar-volman is really new(pacman -Si thunar-volman tells me it is version 0.1.2 in the repos), and that said, you cannot expect perfection since it is rather beta software. There is most likely a whole lot more that needs finely tuned before it is as good as say KIO Slave or the Gnome Volume Manager. The best thing to do would be to file a bug report with the error information on the thunar-volman bug tracker, and wait for it to be fixed if it is not being fixed already. Cheers.

Offline

#6 2007-07-05 22:21:48

wooptoo
Member
Registered: 2007-04-23
Posts: 78
Website

Re: hal / thunar-volman refuses to automount camera

I think that this is a udev issue. Submitted to: http://bugs.archlinux.org/task/7568

Last edited by wooptoo (2007-07-05 23:03:20)

Offline

#7 2007-07-16 00:44:58

tpb
Member
From: Pittsburgh, PA
Registered: 2005-11-27
Posts: 17

Re: hal / thunar-volman refuses to automount camera

I can confirm suspecting udev - a downgrade to udev-112-1 (with all other packages like hal etc. up to date per today) fixed the problems for me.

Offline

#8 2007-07-16 23:23:23

wooptoo
Member
Registered: 2007-04-23
Posts: 78
Website

Re: hal / thunar-volman refuses to automount camera

I'm using the camera in PTP mode with gphoto2 for now.
The developers tried fixing this by updating e2fsprogs, but it didn't work sad

Could anyone provide a PKGBUILD for udev? Does it require any special building stuff?

Last edited by wooptoo (2007-07-16 23:28:49)

Offline

#9 2007-07-23 15:56:26

RobbeR49
Member
From: Columbus, OH
Registered: 2006-01-17
Posts: 178

Re: hal / thunar-volman refuses to automount camera

Could anyone provide a PKGBUILD for udev? Does it require any special building stuff?

If you haven't cleaned your package cache try:

pacman -U /var/cache/pacman/pkg/udev-112-1.pkg.tar.gz

but the pkgbuild should still be in CVS here

Offline

#10 2007-09-26 07:42:15

sfriberg
Member
Registered: 2007-09-25
Posts: 2

Re: hal / thunar-volman refuses to automount camera

I have also encountered this problem, but I finally managed to find some information about the problem.

It seems like this is a kernel bug, that causes the udev/hal to read at the end of the sd-card in the camera, which at least Nikon doesn't like.

A quick solution is to add "--skip-raid" to the vol_id commands in the udev.rules. This works for me at least.

The other solution is to wait for the next kernel release which should include the fix.

For more information see, http://bugs.gentoo.org/show_bug.cgi?id=191431

//Staffan

Offline

Board footer

Powered by FluxBB