You are not logged in.

#1 2009-10-21 18:04:18

sLUGo
Member
Registered: 2007-09-10
Posts: 7

[GNOME 2.28] External Drives not mounted automatically

Hello,

Since I've upgraded Gnome by pacman, my external HDD is detected by the system but its not mounted as it was in Gnome2.26. hmm
I've tried:
- the "libsmart" update from AUR,
- enabled the Testing repo (expecting more updates with the fix),
- creating a symbolic link to ntfs-3g,

etc...

usb 3-2: new high speed USB device using ehci_hcd and address 4
usb 3-2: configuration #1 chosen from 1 choice
Initializing USB Mass Storage driver...
scsi5 : SCSI emulation for USB Mass Storage devices
usb-storage: device found at 4
usb-storage: waiting for device to settle before scanning
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
scsi 5:0:0:0: Direct-Access     ST950032 5AS                   PQ: 0 ANSI: 2 CCS
sd 5:0:0:0: Attached scsi generic sg2 type 0
usb-storage: device scan complete
sd 5:0:0:0: [sdb] 976773168 512-byte logical blocks: (500 GB/465 GiB)
sd 5:0:0:0: [sdb] Write Protect is off
sd 5:0:0:0: [sdb] Mode Sense: 34 00 00 00
sd 5:0:0:0: [sdb] Assuming drive cache: write through
sd 5:0:0:0: [sdb] Assuming drive cache: write through
 sdb: sdb1
sd 5:0:0:0: [sdb] Assuming drive cache: write through
sd 5:0:0:0: [sdb] Attached SCSI disk

As you can see, its detected but not mounted... :s

Thanks in advance.

Last edited by sLUGo (2009-10-21 18:13:50)

Offline

#2 2009-10-22 15:46:57

sLUGo
Member
Registered: 2007-09-10
Posts: 7

Re: [GNOME 2.28] External Drives not mounted automatically

UPDATE

[tiago@startrek ~]$ devkit-disks --monitor
Monitoring activity from the disks daemon. Press Ctrl+C to cancel.
removed:   /org/freedesktop/DeviceKit/Disks/devices/sdb1
removed:   /org/freedesktop/DeviceKit/Disks/devices/sdb
added:     /org/freedesktop/DeviceKit/Disks/devices/sdb
added:     /org/freedesktop/DeviceKit/Disks/devices/sdb1

As we can see, drives are detected but not mounted... Well, not mounted until:

[tiago@startrek ~]$ devkit-disks --mount /dev/sdb1 --mount-options rw      
Mounted /org/freedesktop/DeviceKit/Disks/devices/sdb1 at /media/disk
[tiago@startrek ~]$
[root@startrek 50-local.d]# cat org.freedesktop.devicekit.disks.devices.pkla 
[org.freedesktop.devicekit.disks.devices]
Identity=unix-user:tiago
Action=org.freedesktop.devicekit.disks.devices
ResultAny=no
ResultInactive=no
ResultActive=yes

Offline

#3 2009-11-08 17:09:20

stecky
Member
Registered: 2009-11-08
Posts: 1

Re: [GNOME 2.28] External Drives not mounted automatically

Same problem here on an x86 machine. New removable devices are recognized by devkit-disks (at least devkit-disks --monitor lists the device). Somehow the information about new removable (block) devices is not propagated to the gvfs daemon (gvfs-mount --monitor does not show any events). The problem does not occur on my x86_64 machine. There the events about new devices are propagated correctly to the gvfs daemon and the removeable devices appear automaticaly on the desktop. The output of devkit-disks --monitor differ slightly for the two machines.

The x86 machine:

devkit-disks --monitor
Monitoring activity from the disks daemon. Press Ctrl+C to cancel.
added:     /org/freedesktop/DeviceKit/Disks/devices/sdb
added:     /org/freedesktop/DeviceKit/Disks/devices/sdb1
changed:     /org/freedesktop/DeviceKit/Disks/devices/sdb

The x86_64 machine:

devkit-disks --monitor
Monitoring activity from the disks daemon. Press Ctrl+C to cancel.
added:     /org/freedesktop/DeviceKit/Disks/devices/sdb
added:     /org/freedesktop/DeviceKit/Disks/devices/sdb1
job-changed: /org/freedesktop/DeviceKit/Disks/devices/sdb1
changed:     /org/freedesktop/DeviceKit/Disks/devices/sdb
changed:     /org/freedesktop/DeviceKit/Disks/devices/sdb1
job-changed: /org/freedesktop/DeviceKit/Disks/devices/sdb1

I could not figure out the source for the different outputs. Is there already a solution for this problem? Please contact me if you need more debugging information.

Thanks in advance!

Btw. both machines have most recent (stable) packages installed and the packages 'hal', 'devicekit-disks' and 'gvfs' have the same version numbers on both mashines.

Offline

Board footer

Powered by FluxBB