Bug#597474: [Pkg-xfce-devel] Bug#597474: Auto-mounting of USB devices stopped working

2010-09-23 Thread Stefan Ott
Hi

On Mon, Sep 20, 2010 at 07:59, Yves-Alexis Perez cor...@debian.org wrote:

 The info.interfaces seems indeed lacking on the device in the attached
 file.

Yep, it does. Do you have an idea where it should be coming from?

 (exo-mount:7639): GLib-WARNING **: GError set over the top of a previous 
 GError
 or uninitialized memory.
 This indicates a bug in someone's code. You must ensure an error is NULL 
 before
 it's set.
 The overwriting error message was: Given device
 /org/freedesktop/Hal/devices/volume_uuid_0041_3E54 is not a volume or drive

 That doesn't look good, but seems unrelated though.

Yup.

 Trying to mount the device directly with exo-mount fails too:

 $ exo-mount -h /org/freedesktop/Hal/devices/volume_uuid_0041_3E54

 So not just automatic mounting. I guess trying to mount from thunar by
 clicking on the device appearing in the side bar (does it appear?)
 doesn't work either?

Yes, it appears and no, mounting manually from Thunar doesn't work either.

 It doesn't look like a permission problem in Xfce, more like a problem
 in hal or udev which wouldn't set the above informations. Do you
 remember a recent upgrade or configuration change on these?

Unfortunately I didn't really pay attention so no, I don't remember
any upgrades. I *did* try some (mostly unrelated, I think) packages
from experimental a while ago (xorg, radeon driver etc.) but I'm
pretty sure that things kept working normally afterwards. Also, I
recently installed fglrx but a) I'm not using it atm and b) again, I
think the system broke later - I'm not *completely* sure, though.

Today's policykit upgrade didn't help either, btw.

And I'm pretty sure this is related: I can't reboot the system from
the Xfce logout screen anymore. These are what I think to be the
corresponding lines from my ~/.xsession-errors:

** Message: xfsm-shutdown-helper.c:268: Using HAL to shutdown/reboot
the computer.
polkit-gnome-authentication-agent-1: Fatal IO error 11 (Resource
temporarily unavailable) on X server :0.0.
xfsettingsd: Fatal IO error 11 (Resource temporarily unavailable) on X
server :0.0.

I'm sorry for not being more helpful here but I'm a little lost
between all those layers (hal, dbus, policykit etc.) and I wouldn't
really know where to look...

cheers
-- 
Stefan Ott
http://www.ott.net/

You are not Grey Squirrel?



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#597474: [Pkg-xfce-devel] Bug#597474: Auto-mounting of USB devices stopped working

2010-09-23 Thread Stefan Ott
Okay, this is highly weird.

I did some more research and found some hints on
http://wiki.archlinux.org/index.php/HAL#USB_sticks_and_drives_do_not_automount_correctly
- the thing that fixed the issue for me was to set policy at_console
to false in /etc/dbus-1/system.d/hal.conf.

Since I didn't really like the idea of messing with dbus/hal config
files I decided to investigate further. The comment above the line I
modified said that this requires consolekit (which is installed on my
system), so I reverted the setting and ran ck-launch-session - and my
problems were gone. Interestingly, this seems to be persistent: even
after a system reboot everything still works.

I have no idea why consolekit stopped working (or why it works again)
but I'll just pretend this didn't happen and close the bug.

Sorry for the noise.
-- 
Stefan Ott
http://www.ott.net/

You are not Grey Squirrel?



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#597474: [Pkg-xfce-devel] Bug#597474: Auto-mounting of USB devices stopped working

2010-09-23 Thread Yves-Alexis Perez
On ven., 2010-09-24 at 00:12 +0200, Stefan Ott wrote:
 Okay, this is highly weird.
 
 I did some more research and found some hints on
 http://wiki.archlinux.org/index.php/HAL#USB_sticks_and_drives_do_not_automount_correctly
 - the thing that fixed the issue for me was to set policy at_console
 to false in /etc/dbus-1/system.d/hal.conf.
 
 Since I didn't really like the idea of messing with dbus/hal config
 files I decided to investigate further. The comment above the line I
 modified said that this requires consolekit (which is installed on my
 system), so I reverted the setting and ran ck-launch-session - and my
 problems were gone. Interestingly, this seems to be persistent: even
 after a system reboot everything still works.
 
 I have no idea why consolekit stopped working (or why it works again)
 but I'll just pretend this didn't happen and close the bug.

Please read xfce4-session (and xfce4) README.Debian, which explain how
to properly setup the system so it works with consolekit.

Cheers,
-- 
Yves-Alexis


signature.asc
Description: This is a digitally signed message part


Bug#597474: [Pkg-xfce-devel] Bug#597474: Auto-mounting of USB devices stopped working

2010-09-20 Thread Yves-Alexis Perez
On lun., 2010-09-20 at 03:14 +0200, Stefan Ott wrote:
 Package: exo-utils
 Version: 0.3.107-1
 Severity: important
 
 Hi
 
 I'm not sure which package to report this against - feel free to reassign.

We'll try to figure that out. For what it's worth, mounting is working
correctly on my Squeeze boxes.
 
 Anyway. It seems that auto-mounting of USB storage devices recently stopped
 working. When I connect a USB stick, I get a popup saying Failed to mount
 /org/freedesktop/Hal/devices/volume_uuid_0041_3E54, No property
 info.interfaces on device with id
 /org/freedesktop/Hal/devices/volume_uuid_0041_3E54.. I also get the following
 entries in my .xsession-errors:

The info.interfaces seems indeed lacking on the device in the attached
file.
 
 thunar-volman: No property info.capabilities on device with id
 /org/freedesktop/Hal/devices/usb_device_1e3d_2092_25092700413D1C12.
 thunar-volman: No property info.capabilities on device with id
 /org/freedesktop/Hal/devices/usb_device_1e3d_2092_25092700413D1C12_if0.
 thunar-volman: No property info.capabilities on device with id
 /org/freedesktop/Hal/devices/usb_device_1e3d_2092_25092700413D1C12_if0_scsi_host_0_scsi_device_lun0.

They are lacking too.
 
 (exo-mount:7639): GLib-WARNING **: GError set over the top of a previous 
 GError
 or uninitialized memory.
 This indicates a bug in someone's code. You must ensure an error is NULL 
 before
 it's set.
 The overwriting error message was: Given device
 /org/freedesktop/Hal/devices/volume_uuid_0041_3E54 is not a volume or drive

That doesn't look good, but seems unrelated though.
 
 (I'm currently using latest squeeze with the latest vanilla kernel version -
 the same thing happens with the current debian kernel, though).
 
 Trying to mount the device directly with exo-mount fails too:
 
 $ exo-mount -h /org/freedesktop/Hal/devices/volume_uuid_0041_3E54

So not just automatic mounting. I guess trying to mount from thunar by
clicking on the device appearing in the side bar (does it appear?)
doesn't work either?
 
 (exo-mount:18236): GLib-WARNING **: GError set over the top of a previous
 GError or uninitialized memory.
 This indicates a bug in someone's code. You must ensure an error is NULL 
 before
 it's set.
 The overwriting error message was: Given device
 /org/freedesktop/Hal/devices/volume_uuid_0041_3E54 is not a volume or drive
 
 (also shows the same popup message).
 
 I can, however, mount the device manually (with mount /dev/sdc1).

Yeah but that's not really related.
 
 I attached the 'lshal' entries for the device in question (I also tried with a
 different mass storage device, same result).

Ok, good to know.

It doesn't look like a permission problem in Xfce, more like a problem
in hal or udev which wouldn't set the above informations. Do you
remember a recent upgrade or configuration change on these?

Cheers,
-- 
Yves-Alexis


signature.asc
Description: This is a digitally signed message part


Bug#597474: Auto-mounting of USB devices stopped working

2010-09-19 Thread Stefan Ott
Package: exo-utils
Version: 0.3.107-1
Severity: important

Hi

I'm not sure which package to report this against - feel free to reassign.

Anyway. It seems that auto-mounting of USB storage devices recently stopped
working. When I connect a USB stick, I get a popup saying Failed to mount
/org/freedesktop/Hal/devices/volume_uuid_0041_3E54, No property
info.interfaces on device with id
/org/freedesktop/Hal/devices/volume_uuid_0041_3E54.. I also get the following
entries in my .xsession-errors:

thunar-volman: No property info.capabilities on device with id
/org/freedesktop/Hal/devices/usb_device_1e3d_2092_25092700413D1C12.
thunar-volman: No property info.capabilities on device with id
/org/freedesktop/Hal/devices/usb_device_1e3d_2092_25092700413D1C12_if0.
thunar-volman: No property info.capabilities on device with id
/org/freedesktop/Hal/devices/usb_device_1e3d_2092_25092700413D1C12_if0_scsi_host_0_scsi_device_lun0.

(exo-mount:7639): GLib-WARNING **: GError set over the top of a previous GError
or uninitialized memory.
This indicates a bug in someone's code. You must ensure an error is NULL before
it's set.
The overwriting error message was: Given device
/org/freedesktop/Hal/devices/volume_uuid_0041_3E54 is not a volume or drive

(I'm currently using latest squeeze with the latest vanilla kernel version -
the same thing happens with the current debian kernel, though).

Trying to mount the device directly with exo-mount fails too:

$ exo-mount -h /org/freedesktop/Hal/devices/volume_uuid_0041_3E54

(exo-mount:18236): GLib-WARNING **: GError set over the top of a previous
GError or uninitialized memory.
This indicates a bug in someone's code. You must ensure an error is NULL before
it's set.
The overwriting error message was: Given device
/org/freedesktop/Hal/devices/volume_uuid_0041_3E54 is not a volume or drive

(also shows the same popup message).

I can, however, mount the device manually (with mount /dev/sdc1).

I attached the 'lshal' entries for the device in question (I also tried with a
different mass storage device, same result).



-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (700, 'testing'), (600, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.35.4 (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages exo-utils depends on:
ii  eject   2.1.5+deb1+cvs20081104-7 ejects CDs and operates CD-Changer
ii  libatk1.0-0 1.30.0-1 The ATK accessibility toolkit
ii  libc6   2.11.2-5 Embedded GNU C Library: Shared lib
ii  libdbus-1-3 1.2.24-3 simple interprocess messaging syst
ii  libexo-0.3-00.3.107-1Library with extensions for Xfce
ii  libglib2.0-02.24.1-1 The GLib library of C routines
ii  libgtk2.0-0 2.20.1-1+b1  The GTK+ graphical user interface 
ii  libhal-storage1 0.5.14-3 Hardware Abstraction Layer - share
ii  libhal1 0.5.14-3 Hardware Abstraction Layer - share
ii  libpango1.0-0   1.28.1-1 Layout and rendering of internatio
ii  libxfce4util4   4.6.2-1  Utility functions library for Xfce

exo-utils recommends no packages.

exo-utils suggests no packages.

-- no debconf information
udi = '/org/freedesktop/Hal/devices/usb_device_1e3d_2092_25092700413D1C12'
  info.linux.driver = 'usb'  (string)
  info.parent = '/org/freedesktop/Hal/devices/usb_device_1d6b_2__00_1d_7'  
(string)
  info.product = 'Flash Disk'  (string)
  info.subsystem = 'usb_device'  (string)
  info.udi = 
'/org/freedesktop/Hal/devices/usb_device_1e3d_2092_25092700413D1C12'  (string)
  info.vendor = 'CBM'  (string)
  linux.device_file = '/dev/bus/usb/002/033'  (string)
  linux.hotplug_type = 2  (0x2)  (int)
  linux.subsystem = 'usb'  (string)
  linux.sysfs_path = '/sys/devices/pci:00/:00:1d.7/usb2/2-1'  (string)
  usb_device.bus_number = 2  (0x2)  (int)
  usb_device.can_wake_up = false  (bool)
  usb_device.configuration_value = 1  (0x1)  (int)
  usb_device.device_class = 0  (0x0)  (int)
  usb_device.device_protocol = 0  (0x0)  (int)
  usb_device.device_revision_bcd = 256  (0x100)  (int)
  usb_device.device_subclass = 0  (0x0)  (int)
  usb_device.is_self_powered = false  (bool)
  usb_device.linux.device_number = 33  (0x21)  (int)
  usb_device.linux.sysfs_path = '/sys/devices/pci:00/:00:1d.7/usb2/2-1' 
 (string)
  usb_device.max_power = 100  (0x64)  (int)
  usb_device.num_configurations = 1  (0x1)  (int)
  usb_device.num_interfaces = 1  (0x1)  (int)
  usb_device.num_ports = 0  (0x0)  (int)
  usb_device.product = 'Flash Disk'  (string)
  usb_device.product_id = 8338  (0x2092)  (int)
  usb_device.serial = '25092700413D1C12'  (string)
  usb_device.speed = 480.0 (480) (double)
  usb_device.vendor = 'CBM'  (string)
  usb_device.vendor_id = 7741  (0x1e3d)  (int)
  usb_device.version = 2.0