| Summary: | No automounting of USB keys | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | iain <iaingnome> | ||||
| Component: | gvfs | Assignee: | Tomáš Bžatek <tbzatek> | ||||
| Status: | CLOSED WONTFIX | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
| Severity: | unspecified | Docs Contact: | |||||
| Priority: | unspecified | ||||||
| Version: | 15 | CC: | alexl, bnocera, tbzatek, tsmetana | ||||
| Target Milestone: | --- | ||||||
| Target Release: | --- | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2012-08-07 18:44:40 UTC | Type: | --- | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Attachments: |
|
||||||
Oh and ~$ gsettings get org.gnome.desktop.media-handling automount true The gnome-disk-utility monitor says that your drive got disconnected: Drive connected: 'SanDisk SanDisk Cruzer' <snip> Drive changed: 'SanDisk SanDisk Cruzer' <snip> Drive disconnected: 'SanDisk SanDisk Cruzer' Any chance to check the same with "udisks --monitor"? If the same happens there, it's most likely a kernel bug. The "Asking for cache data failed" might be a hint. $udisks --monitor added: /org/freedesktop/UDisks/devices/sdc changed: /org/freedesktop/UDisks/devices/sdc <snip - changed: line above repeats ~1000 times over 35seconds> added: /org/freedesktop/UDisks/devices/sdc1 Running both udisks and gvfs-mount together, gvfs-mount gets the added->changed->removed signals well before udisks has finished the 1000 lines of "changed". Also when the key is plugged in totem takes a very long time to start (the DBus timeout I guess), giving (totem:18904): GVFS-RemoteVolumeMonitor-WARNING **: invoking IsSupported() failed for remote volume monitor with dbus name org.gtk.Private.GduVolumeMonitor: org.freedesktop.DBus.Error.NoReply: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken. Oh no, my mistake, the totem error happens whether the key is in or not but maybe its still related (In reply to comment #3) > changed: /org/freedesktop/UDisks/devices/sdc > <snip - changed: line above repeats ~1000 times over 35seconds> Could you run "udisks --monitor-detail" to see what is actually changing in those ~1000 lines? Created attachment 496794 [details]
udisks-monitor --monitor-detail log
As far as I can tell nothing is changing:
changed: /org/freedesktop/UDisks/devices/sdc
Showing information for /org/freedesktop/UDisks/devices/sdc
native-path: /sys/devices/pci0000:00/0000:00:1d.7/usb2/2-6/2-6:1.0/host10/target10:0:0/10:0:0:0/block/sdc
device: 8:32
device-file: /dev/sdc
presentation: /dev/sdc
by-id: /dev/disk/by-id/usb-SanDisk_SanDisk_Cruzer_02028107F6139878-0:0
by-path: /dev/disk/by-path/pci-0000:00:1d.7-usb-0:6:1.0-scsi-0:0:0:0
detected at: Wed 04 May 2011 02:48:17 PM BST
system internal: 0
removable: 1
has media: 1 (detected at Wed 04 May 2011 02:48:23 PM BST)
detects change: 1
detection by polling: 1
detection inhibitable: 1
detection inhibited: 0
is read only: 0
is mounted: 0
mount paths:
mounted by uid: 0
presentation hide: 0
presentation nopolicy: 0
presentation name:
presentation icon:
size: 33583791616
block size: 512
job underway: no
usage:
type:
version:
uuid:
label:
partition table:
scheme: mbr
count: 1
drive:
vendor: SanDisk
model: SanDisk Cruzer
revision: 8.02
serial: 02028107F6139878
WWN:
detachable: 1
can spindown: 0
rotational media: Yes, unknown rate
write-cache: unknown
ejectable: 0
adapter: Unknown
ports:
similar devices:
media:
compat:
interface: usb
if speed: 480000000 bits/s
ATA SMART: not available
changed: /org/freedesktop/UDisks/devices/sdc
Showing information for /org/freedesktop/UDisks/devices/sdc
native-path: /sys/devices/pci0000:00/0000:00:1d.7/usb2/2-6/2-6:1.0/host10/target10:0:0/10:0:0:0/block/sdc
device: 8:32
device-file: /dev/sdc
presentation: /dev/sdc
by-id: /dev/disk/by-id/usb-SanDisk_SanDisk_Cruzer_02028107F6139878-0:0
by-path: /dev/disk/by-path/pci-0000:00:1d.7-usb-0:6:1.0-scsi-0:0:0:0
detected at: Wed 04 May 2011 02:48:17 PM BST
system internal: 0
removable: 1
has media: 1 (detected at Wed 04 May 2011 02:48:23 PM BST)
detects change: 1
detection by polling: 1
detection inhibitable: 1
detection inhibited: 0
is read only: 0
is mounted: 0
mount paths:
mounted by uid: 0
presentation hide: 0
presentation nopolicy: 0
presentation name:
presentation icon:
size: 33583791616
block size: 512
job underway: no
usage:
type:
version:
uuid:
label:
partition table:
scheme: mbr
count: 1
drive:
vendor: SanDisk
model: SanDisk Cruzer
revision: 8.02
serial: 02028107F6139878
WWN:
detachable: 1
can spindown: 0
rotational media: Yes, unknown rate
write-cache: unknown
ejectable: 0
adapter: Unknown
ports:
similar devices:
media:
compat:
interface: usb
if speed: 480000000 bits/s
ATA SMART: not available
changed: /org/freedesktop/UDisks/devices/sdc
Showing information for /org/freedesktop/UDisks/devices/sdc
native-path: /sys/devices/pci0000:00/0000:00:1d.7/usb2/2-6/2-6:1.0/host10/target10:0:0/10:0:0:0/block/sdc
device: 8:32
device-file: /dev/sdc
presentation: /dev/sdc
by-id: /dev/disk/by-id/usb-SanDisk_SanDisk_Cruzer_02028107F6139878-0:0
by-path: /dev/disk/by-path/pci-0000:00:1d.7-usb-0:6:1.0-scsi-0:0:0:0
detected at: Wed 04 May 2011 02:48:17 PM BST
system internal: 0
removable: 1
has media: 1 (detected at Wed 04 May 2011 02:48:23 PM BST)
detects change: 1
detection by polling: 1
detection inhibitable: 1
detection inhibited: 0
is read only: 0
is mounted: 0
mount paths:
mounted by uid: 0
presentation hide: 0
presentation nopolicy: 0
presentation name:
presentation icon:
size: 33583791616
block size: 512
job underway: no
usage:
type:
version:
uuid:
label:
partition table:
scheme: mbr
count: 1
drive:
vendor: SanDisk
model: SanDisk Cruzer
revision: 8.02
serial: 02028107F6139878
WWN:
detachable: 1
can spindown: 0
rotational media: Yes, unknown rate
write-cache: unknown
ejectable: 0
adapter: Unknown
ports:
similar devices:
media:
compat:
interface: usb
if speed: 480000000 bits/s
ATA SMART: not available
I went through all my USB sticks I have lying around, some of them auto-mounted, some didn't. All the ones that didn't I reformatted and they started working, except for the main one I was using above: a 32G sandisk. I've also tried repartitioning to a smaller size but that doesn't help. Actually,it seems more arbitrary than that. - the 32GB sandisk never automounts - everything else will automount once, but if you click on the eject button in nautilus then it won't automount until you reboot. This message is a notice that Fedora 15 is now at end of life. Fedora has stopped maintaining and issuing updates for Fedora 15. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At this time, all open bugs with a Fedora 'version' of '15' have been closed as WONTFIX. (Please note: Our normal process is to give advanced warning of this occurring, but we forgot to do that. A thousand apologies.) Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, feel free to reopen this bug and simply change the 'version' to a later Fedora version. Bug Reporter: Thank you for reporting this issue and we are sorry that we were unable to fix it before Fedora 15 reached end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora, you are encouraged to click on "Clone This Bug" (top right of this page) and open it against that version of Fedora. Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Fedora release includes newer upstream software that fixes bugs or makes them obsolete. The process we are following is described here: http://fedoraproject.org/wiki/BugZappers/HouseKeeping |
System: F15beta USB keys never get automounted. The logs from plugging in the key: dmesg [ 74.764515] usb 2-6: new high speed USB device using ehci_hcd and address 4 [ 74.879128] usb 2-6: New USB device found, idVendor=0781, idProduct=5530 [ 74.879133] usb 2-6: New USB device strings: Mfr=1, Product=2, SerialNumber=3 [ 74.879136] usb 2-6: Product: SanDisk Cruzer [ 74.879139] usb 2-6: Manufacturer: SanDisk [ 74.879141] usb 2-6: SerialNumber: 02028107F6139878 [ 75.151059] usbcore: registered new interface driver uas [ 75.156509] Initializing USB Mass Storage driver... [ 75.156764] scsi6 : usb-storage 2-6:1.0 [ 75.156983] usbcore: registered new interface driver usb-storage [ 75.156988] USB Mass Storage support registered. [ 76.155746] scsi 6:0:0:0: Direct-Access SanDisk SanDisk Cruzer 8.02 PQ: 0 ANSI: 0 CCS [ 76.156853] sd 6:0:0:0: Attached scsi generic sg3 type 0 [ 76.159187] sd 6:0:0:0: [sdc] Attached SCSI removable disk [ 82.249538] sd 6:0:0:0: [sdc] 65593343 512-byte logical blocks: (33.5 GB/31.2 GiB) [ 82.250663] sd 6:0:0:0: [sdc] Asking for cache data failed [ 82.250667] sd 6:0:0:0: [sdc] Assuming drive cache: write through [ 82.252783] sd 6:0:0:0: [sdc] Asking for cache data failed [ 82.252787] sd 6:0:0:0: [sdc] Assuming drive cache: write through [ 82.253653] sdc: sdc1 hal-device 3: udi = '/org/freedesktop/Hal/devices/volume_uuid_90E0_8DED' volume.uuid = '90E0-8DED' (string) volume.label = 'Disky' (string) volume.mount_point = '' (string) volume.is_mounted = false (bool) block.device = '/dev/sdc1' (string) block.major = 8 (0x8) (int) block.minor = 33 (0x21) (int) block.is_volume = true (bool) volume.is_partition = true (bool) linux.hotplug_type = 3 (0x3) (int) volume.num_blocks = 65577267 (0x3e8a133) (uint64) volume.linux.is_device_mapper = false (bool) volume.is_disc = false (bool) volume.partition.media_size = 33583791616 (0x7d1bffe00) (uint64) volume.size = 33575560704 (0x7d1426600) (uint64) volume.block_size = 512 (0x200) (int) volume.partition.number = 1 (0x1) (int) info.product = 'Disky' (string) info.udi = '/org/freedesktop/Hal/devices/volume_uuid_90E0_8DED' (string) volume.partition.start = 32256 (0x7e00) (uint64) volume.is_mounted_read_only = false (bool) info.interfaces = { 'org.freedesktop.Hal.Device.Volume' } (string list) volume.mount.valid_options = { 'ro', 'sync', 'dirsync', 'noatime', 'nodiratime', 'relatime', 'noexec', 'quiet', 'remount', 'exec', 'utf8', 'shortname=', 'codepage=', 'iocharset=', 'umask=', 'dmask=', 'fmask=', 'uid=', 'flush' } (string list) volume.ignore = false (bool) org.freedesktop.Hal.Device.Volume.method_names = { 'Mount', 'Unmount', 'Eject' } (string list) org.freedesktop.Hal.Device.Volume.method_signatures = { 'ssas', 'as', 'as' } (string list) org.freedesktop.Hal.Device.Volume.method_argnames = { 'mount_point fstype extra_options', 'extra_options', 'extra_options' } (string list) org.freedesktop.Hal.Device.Volume.method_execpaths = { 'hal-storage-mount', 'hal-storage-unmount', 'hal-storage-eject' } (string list) volume.unmount.valid_options = { 'lazy' } (string list) linux.sysfs_path = '/sys/devices/pci0000:00/0000:00:1d.7/usb2/2-6/2-6:1.0/host6/target6:0:0/6:0:0:0/block/sdc/sdc1' (string) info.parent = '/org/freedesktop/Hal/devices/storage_serial_SanDisk_SanDisk_Cruzer_02028107F6139878_0_0' (string) block.storage_device = '/org/freedesktop/Hal/devices/storage_serial_SanDisk_SanDisk_Cruzer_02028107F6139878_0_0' (string) volume.fstype = 'vfat' (string) info.category = 'volume' (string) info.capabilities = { 'volume', 'block' } (string list) volume.fsversion = 'FAT32' (string) volume.fsusage = 'filesystem' (string) 4: udi = '/org/freedesktop/Hal/devices/volume_uuid_uFybhT_Wkio_Orns_FWt7_a71O_PHyt_DHL48o' block.device = '/dev/sdb5' (string) block.major = 8 (0x8) (int) block.minor = 21 (0x15) (int) block.is_volume = true (bool) linux.hotplug_type = 3 (0x3) (int) volume.is_partition = true (bool) volume.linux.is_device_mapper = false (bool) volume.is_disc = false (bool) volume.num_blocks = 1742782464 (0x67e0c000) (uint64) info.category = 'volume' (string) info.capabilities = { 'volume', 'block' } (string list) volume.partition.media_size = 1000204886016 (0xe8e0db6000) (uint64) volume.size = 892304621568 (0xcfc1800000) (uint64) volume.partition.number = 5 (0x5) (int) volume.block_size = 512 (0x200) (int) volume.partition.start = 107899518976 (0x191f500000) (uint64) info.product = 'Volume (LVM2_member)' (string) info.udi = '/org/freedesktop/Hal/devices/volume_uuid_uFybhT_Wkio_Orns_FWt7_a71O_PHyt_DHL48o' (string) linux.sysfs_path = '/sys/devices/pci0000:00/0000:00:1f.2/host5/target5:0:0/5:0:0:0/block/sdb/sdb5' (string) block.storage_device = '/org/freedesktop/Hal/devices/storage_serial_SAMSUNG_HD103SJ_S246J9CB206402' (string) info.parent = '/org/freedesktop/Hal/devices/storage_serial_SAMSUNG_HD103SJ_S246J9CB206402' (string) volume.fstype = 'LVM2_member' (string) volume.fsusage = 'raid' (string) volume.fsversion = 'LVM2\x20001' (string) volume.uuid = 'uFybhT-Wkio-Orns-FWt7-a71O-PHyt-DHL48o' (string) volume.label = '' (string) volume.mount_point = '' (string) volume.is_mounted = false (bool) volume.is_mounted_read_only = false (bool) gvfs-mount -o -i Drive connected: 'SanDisk SanDisk Cruzer' Drive(0): SanDisk SanDisk Cruzer Type: GProxyDrive (GProxyVolumeMonitorGdu) ids: unix-device: '/dev/sdc' themed icons: [drive-removable-media-usb] [drive-removable-media] [drive-removable] [drive] is_media_removable=1 has_media=0 is_media_check_automatic=1 can_poll_for_media=1 can_eject=0 can_start=0 can_stop=1 start_stop_type=shutdown Drive changed: 'SanDisk SanDisk Cruzer' Drive(0): SanDisk SanDisk Cruzer Type: GProxyDrive (GProxyVolumeMonitorGdu) ids: unix-device: '/dev/sdc' themed icons: [drive-removable-media-usb] [drive-removable-media] [drive-removable] [drive] is_media_removable=1 has_media=1 is_media_check_automatic=1 can_poll_for_media=1 can_eject=1 can_start=0 can_stop=1 start_stop_type=shutdown Drive disconnected: 'SanDisk SanDisk Cruzer' Drive(0): SanDisk SanDisk Cruzer Type: GProxyDrive (GProxyVolumeMonitorGdu) ids: unix-device: '/dev/sdc' themed icons: [drive-removable-media-usb] [drive-removable-media] [drive-removable] [drive] is_media_removable=1 has_media=1 is_media_check_automatic=1 can_poll_for_media=1 can_eject=1 can_start=0 can_stop=1 start_stop_type=shutdown