Hello,
I did the tests and that was interesting:
On 02/12/13 08:10, Eric Lavarde wrote:
- did you try this using different users accounts? (special bonus if
you try
in a newly created one).
Other users: yes. New user, no, but I'll do together with the below tests and
come back to you.
Other (new) user: exactly same behavior.
- run "udisksctl monitor" and then plug one of the devices you
mentioned in
your bug. Please attach the output.
That was the interesting bit: I did this, and udisksctl showed the same
behaviour: the SD-card "appeared" only after I had executed file -s on
it (though it would appear in dmesg), and the same thing for
disappearing by the way (which I didn't notice before).
Output is attached as udisksctl.monitor.log and contains also my
comments in the form "=== COMMENT ===" so that you have the correct time
sequence of events.
Interestingly enough, I tried a few more things with 2 USB sticks
(captured in udisksctl.stick.monitor.log):
- a USB3/partitioned with FAT and ext4 stick behaves normally.
- a USB2/ISO partitioned stick doesn't appear at all in KDE, even when
using the magic 'file -s' command.
- send the output of "dpkg -l udisks2"
$ dpkg -l udisks2
Desired=Unknown/Install/Remove/Purge/Hold
|
Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
+++-==============-============-============-=================================
ii udisks2 2.1.1-1 amd64 D-BUS service to access and
manip
Please note that I'm just asking the normal questions as I could find
for this
issue on the web, I'm not familiar with how KDE does handle this
things.
That's the point, everything outside of KDE (dmesg, pmount) looks the same as
before to me, only KDE behaves strange. And GIMF as well š
OK, now I'm a bit confused, if it's a udisks2 or KDE issue, or some of
both... It could be related to
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=725978 which shows a
very similar behavior. The kernel parameter given at the end helps
indeed, but the USB stick with ISO filesystem still doesn't appear.
Perhaps two different issues, but no time left for further tests, I'll
come back later.
Any further idea welcome,
Eric
Monitoring the udisks daemon. Press Ctrl+C to exit.
12:32:31.795: The udisks-daemon is running (name-owner :1.19).
=== SD-card plugged in (nothing happens) ===
=== file -s /dev/sde ===
12:32:47.134: /org/freedesktop/UDisks2/drives/Crucial_CT120M500SSD1_1319093B5946: org.freedesktop.UDisks2.Drive.Ata: Properties Changed
SmartUpdated: 1385983967
12:32:47.239: /org/freedesktop/UDisks2/drives/WDC_WD10EARX_00N0YB0_WD_WCC0S0232458: org.freedesktop.UDisks2.Drive.Ata: Properties Changed
SmartUpdated: 1385983967
12:34:14.657: /org/freedesktop/UDisks2/block_devices/sde: Added interface org.freedesktop.UDisks2.PartitionTable
Type: dos
12:34:14.658: /org/freedesktop/UDisks2/drives/Generic__SD_2fMMC_20021111153705700: org.freedesktop.UDisks2.Drive: Properties Changed
TimeMediaDetected: 1385984054653811
MediaAvailable: true
Size: 1967128576
12:34:14.659: /org/freedesktop/UDisks2/block_devices/sde: org.freedesktop.UDisks2.Block: Properties Changed
Size: 1967128576
12:34:15.192: Added /org/freedesktop/UDisks2/block_devices/sde1
org.freedesktop.UDisks2.Block:
Configuration: []
CryptoBackingDevice: '/'
Device: /dev/sde1
DeviceNumber: 2113
Drive: '/org/freedesktop/UDisks2/drives/Generic__SD_2fMMC_20021111153705700'
HintAuto: true
HintIconName:
HintIgnore: false
HintName:
HintPartitionable: true
HintSymbolicIconName:
HintSystem: false
Id: by-uuid-48F1-0A02
IdLabel: KINGSTON2GB
IdType: vfat
IdUUID: 48F1-0A02
IdUsage: filesystem
IdVersion: FAT16
MDRaid: '/'
MDRaidMember: '/'
PreferredDevice: /dev/sde1
ReadOnly: true
Size: 1967058432
Symlinks: /dev/disk/by-id/usb-Generic-_SD_MMC_20021111153705700-0:2-part1
/dev/disk/by-label/KINGSTON2GB
/dev/disk/by-path/pci-0000:00:1d.7-usb-0:5:1.0-scsi-0:0:0:2-part1
/dev/disk/by-uuid/48F1-0A02
org.freedesktop.UDisks2.Filesystem:
MountPoints:
org.freedesktop.UDisks2.Partition:
Flags: 0
IsContained: false
IsContainer: false
Name:
Number: 1
Offset: 70144
Size: 1967058432
Table: '/org/freedesktop/UDisks2/block_devices/sde'
Type: 0x06
UUID:
=== Device has appeared in KDE ===
=== SD-card removed (nothing happens) ===
=== file -s /dev/sde ===
12:35:24.749: /org/freedesktop/UDisks2/block_devices/sde: Removed interface org.freedesktop.UDisks2.PartitionTable
12:35:24.752: /org/freedesktop/UDisks2/drives/Generic__SD_2fMMC_20021111153705700: org.freedesktop.UDisks2.Drive: Properties Changed
TimeMediaDetected: 0
MediaAvailable: false
Size: 0
12:35:24.752: /org/freedesktop/UDisks2/block_devices/sde: org.freedesktop.UDisks2.Block: Properties Changed
Size: 0
12:35:24.752: Removed /org/freedesktop/UDisks2/block_devices/sde1
=== Device has disappeared in KDE ===
Monitoring the udisks daemon. Press Ctrl+C to exit.
12:41:25.968: The udisks-daemon is running (name-owner :1.19).
=== stick USB3/desinf plugged in (device appears in KDE) ===
12:42:04.517: Added /org/freedesktop/UDisks2/drives/Corsair_Voyager_3_2e0_2313016051270039
org.freedesktop.UDisks2.Drive:
CanPowerOff: true
Configuration: {}
ConnectionBus: usb
Ejectable: true
Id: Corsair-Voyager-3.0-2313016051270039
Media:
MediaAvailable: true
MediaChangeDetected: true
MediaCompatibility:
MediaRemovable: true
Model: Voyager 3.0
Optical: false
OpticalBlank: false
OpticalNumAudioTracks: 0
OpticalNumDataTracks: 0
OpticalNumSessions: 0
OpticalNumTracks: 0
Removable: true
Revision: 1.00
RotationRate: -1
Seat: seat0
Serial: 2313016051270039
SiblingId: /sys/devices/pci0000:00/0000:00:1a.7/usb6/6-4/6-4:1.0
Size: 32126271488
SortKey: 01hotplug/1385984524512285
TimeDetected: 1385984524512285
TimeMediaDetected: 1385984524512285
Vendor: Corsair
WWN:
12:42:04.529: Added /org/freedesktop/UDisks2/block_devices/sdi
org.freedesktop.UDisks2.Block:
Configuration: []
CryptoBackingDevice: '/'
Device: /dev/sdi
DeviceNumber: 2176
Drive: '/org/freedesktop/UDisks2/drives/Corsair_Voyager_3_2e0_2313016051270039'
HintAuto: true
HintIconName:
HintIgnore: false
HintName:
HintPartitionable: true
HintSymbolicIconName:
HintSystem: false
Id:
IdLabel:
IdType:
IdUUID:
IdUsage:
IdVersion:
MDRaid: '/'
MDRaidMember: '/'
PreferredDevice: /dev/sdi
ReadOnly: false
Size: 32126271488
Symlinks: /dev/disk/by-id/usb-Corsair_Voyager_3.0_2313016051270039-0:0
/dev/disk/by-path/pci-0000:00:1a.7-usb-0:4:1.0-scsi-0:0:0:0
org.freedesktop.UDisks2.PartitionTable:
Type: gpt
12:42:04.713: Added /org/freedesktop/UDisks2/block_devices/sdi4
org.freedesktop.UDisks2.Block:
Configuration: []
CryptoBackingDevice: '/'
Device: /dev/sdi4
DeviceNumber: 2180
Drive: '/org/freedesktop/UDisks2/drives/Corsair_Voyager_3_2e0_2313016051270039'
HintAuto: true
HintIconName:
HintIgnore: true
HintName:
HintPartitionable: true
HintSymbolicIconName:
HintSystem: false
Id: by-uuid-2117-56A1
IdLabel:
IdType: vfat
IdUUID: 2117-56A1
IdUsage: filesystem
IdVersion: FAT32
MDRaid: '/'
MDRaidMember: '/'
PreferredDevice: /dev/sdi4
ReadOnly: false
Size: 67108864
Symlinks: /dev/disk/by-id/usb-Corsair_Voyager_3.0_2313016051270039-0:0-part4
/dev/disk/by-path/pci-0000:00:1a.7-usb-0:4:1.0-scsi-0:0:0:0-part4
/dev/disk/by-uuid/2117-56A1
org.freedesktop.UDisks2.Filesystem:
MountPoints:
org.freedesktop.UDisks2.Partition:
Flags: 0
IsContained: false
IsContainer: false
Name: primary
Number: 4
Offset: 32058114048
Size: 67108864
Table: '/org/freedesktop/UDisks2/block_devices/sdi'
Type: c12a7328-f81f-11d2-ba4b-00a0c93ec93b
UUID: e4750ed5-4e44-453e-9712-474f9e5a4130
12:42:04.761: Added /org/freedesktop/UDisks2/block_devices/sdi2
org.freedesktop.UDisks2.Block:
Configuration: []
CryptoBackingDevice: '/'
Device: /dev/sdi2
DeviceNumber: 2178
Drive: '/org/freedesktop/UDisks2/drives/Corsair_Voyager_3_2e0_2313016051270039'
HintAuto: true
HintIconName:
HintIgnore: false
HintName:
HintPartitionable: true
HintSymbolicIconName:
HintSystem: false
Id: by-uuid-20C1-26C9
IdLabel: desinfSYS
IdType: vfat
IdUUID: 20C1-26C9
IdUsage: filesystem
IdVersion: FAT32
MDRaid: '/'
MDRaidMember: '/'
PreferredDevice: /dev/sdi2
ReadOnly: false
Size: 1610612736
Symlinks: /dev/disk/by-id/usb-Corsair_Voyager_3.0_2313016051270039-0:0-part2
/dev/disk/by-label/desinfSYS
/dev/disk/by-path/pci-0000:00:1a.7-usb-0:4:1.0-scsi-0:0:0:0-part2
/dev/disk/by-uuid/20C1-26C9
org.freedesktop.UDisks2.Filesystem:
MountPoints:
org.freedesktop.UDisks2.Partition:
Flags: 4
IsContained: false
IsContainer: false
Name: primary
Number: 2
Offset: 21857566720
Size: 1610612736
Table: '/org/freedesktop/UDisks2/block_devices/sdi'
Type: ebd0a0a2-b9e5-4433-87c0-68b6b72699c7
UUID: 016cdd91-f758-45fe-952b-db594d04c1e9
12:42:04.867: Added /org/freedesktop/UDisks2/block_devices/sdi3
org.freedesktop.UDisks2.Block:
Configuration: []
CryptoBackingDevice: '/'
Device: /dev/sdi3
DeviceNumber: 2179
Drive: '/org/freedesktop/UDisks2/drives/Corsair_Voyager_3_2e0_2313016051270039'
HintAuto: true
HintIconName:
HintIgnore: false
HintName:
HintPartitionable: true
HintSymbolicIconName:
HintSystem: false
Id: by-uuid-8cac42b2-7ce8-41c4-80d8-fc6d7761903f
IdLabel: desinfSIGS
IdType: ext4
IdUUID: 8cac42b2-7ce8-41c4-80d8-fc6d7761903f
IdUsage: filesystem
IdVersion: 1.0
MDRaid: '/'
MDRaidMember: '/'
PreferredDevice: /dev/sdi3
ReadOnly: false
Size: 8589934592
Symlinks: /dev/disk/by-id/usb-Corsair_Voyager_3.0_2313016051270039-0:0-part3
/dev/disk/by-label/desinfSIGS
/dev/disk/by-path/pci-0000:00:1a.7-usb-0:4:1.0-scsi-0:0:0:0-part3
/dev/disk/by-uuid/8cac42b2-7ce8-41c4-80d8-fc6d7761903f
org.freedesktop.UDisks2.Filesystem:
MountPoints:
org.freedesktop.UDisks2.Partition:
Flags: 0
IsContained: false
IsContainer: false
Name: primary
Number: 3
Offset: 23468179456
Size: 8589934592
Table: '/org/freedesktop/UDisks2/block_devices/sdi'
Type: ebd0a0a2-b9e5-4433-87c0-68b6b72699c7
UUID: 540af918-570a-4106-aa6a-9b45d362be05
12:42:04.873: Added /org/freedesktop/UDisks2/block_devices/sdi1
org.freedesktop.UDisks2.Block:
Configuration: []
CryptoBackingDevice: '/'
Device: /dev/sdi1
DeviceNumber: 2177
Drive: '/org/freedesktop/UDisks2/drives/Corsair_Voyager_3_2e0_2313016051270039'
HintAuto: true
HintIconName:
HintIgnore: false
HintName:
HintPartitionable: true
HintSymbolicIconName:
HintSystem: false
Id: by-uuid-20A1-2287
IdLabel: desinfDATA
IdType: vfat
IdUUID: 20A1-2287
IdUsage: filesystem
IdVersion: FAT32
MDRaid: '/'
MDRaidMember: '/'
PreferredDevice: /dev/sdi1
ReadOnly: false
Size: 21856518144
Symlinks: /dev/disk/by-id/usb-Corsair_Voyager_3.0_2313016051270039-0:0-part1
/dev/disk/by-label/desinfDATA
/dev/disk/by-path/pci-0000:00:1a.7-usb-0:4:1.0-scsi-0:0:0:0-part1
/dev/disk/by-uuid/20A1-2287
org.freedesktop.UDisks2.Filesystem:
MountPoints:
org.freedesktop.UDisks2.Partition:
Flags: 0
IsContained: false
IsContainer: false
Name: primary
Number: 1
Offset: 1048576
Size: 21856518144
Table: '/org/freedesktop/UDisks2/block_devices/sdi'
Type: ebd0a0a2-b9e5-4433-87c0-68b6b72699c7
UUID: 3e4da4d7-454d-499a-bac0-f00c7c55db5d
12:42:47.159: /org/freedesktop/UDisks2/drives/Crucial_CT120M500SSD1_1319093B5946: org.freedesktop.UDisks2.Drive.Ata: Properties Changed
SmartPowerOnSeconds: 2534400
SmartUpdated: 1385984567
12:42:47.269: /org/freedesktop/UDisks2/drives/WDC_WD10EARX_00N0YB0_WD_WCC0S0232458: org.freedesktop.UDisks2.Drive.Ata: Properties Changed
SmartUpdated: 1385984567
=== stick USB3/desinf remove (device disappears from KDE) ===
12:44:08.497: Removed /org/freedesktop/UDisks2/block_devices/sdi1
12:44:08.498: Removed /org/freedesktop/UDisks2/block_devices/sdi2
12:44:08.512: Removed /org/freedesktop/UDisks2/block_devices/sdi3
12:44:08.513: Removed /org/freedesktop/UDisks2/block_devices/sdi4
12:44:08.515: Removed /org/freedesktop/UDisks2/block_devices/sdi
12:44:08.515: Removed /org/freedesktop/UDisks2/drives/Corsair_Voyager_3_2e0_2313016051270039
=== stick USB2/GEEXBOX plugged in ===
12:45:01.012: Added /org/freedesktop/UDisks2/drives/Corsair_Flash_Voyager_AA04012700016991
org.freedesktop.UDisks2.Drive:
CanPowerOff: true
Configuration: {}
ConnectionBus: usb
Ejectable: true
Id: Corsair-Flash-Voyager-AA04012700016991
Media:
MediaAvailable: true
MediaChangeDetected: true
MediaCompatibility:
MediaRemovable: true
Model: Flash Voyager
Optical: false
OpticalBlank: false
OpticalNumAudioTracks: 0
OpticalNumDataTracks: 0
OpticalNumSessions: 0
OpticalNumTracks: 0
Removable: true
Revision: 1100
RotationRate: -1
Seat: seat0
Serial: AA04012700016991
SiblingId: /sys/devices/pci0000:00/0000:00:1a.7/usb6/6-4/6-4:1.0
Size: 8019509248
SortKey: 01hotplug/1385984701001222
TimeDetected: 1385984701001222
TimeMediaDetected: 1385984701001222
Vendor: Corsair
WWN:
12:45:01.013: Added /org/freedesktop/UDisks2/block_devices/sdi
org.freedesktop.UDisks2.Block:
Configuration: []
CryptoBackingDevice: '/'
Device: /dev/sdi
DeviceNumber: 2176
Drive: '/org/freedesktop/UDisks2/drives/Corsair_Flash_Voyager_AA04012700016991'
HintAuto: true
HintIconName:
HintIgnore: false
HintName:
HintPartitionable: true
HintSymbolicIconName:
HintSystem: false
Id: by-label-GEEXBOX
IdLabel: GEEXBOX
IdType: iso9660
IdUUID:
IdUsage: filesystem
IdVersion:
MDRaid: '/'
MDRaidMember: '/'
PreferredDevice: /dev/sdi
ReadOnly: false
Size: 8019509248
Symlinks: /dev/disk/by-id/usb-Corsair_Flash_Voyager_AA04012700016991-0:0
/dev/disk/by-label/GEEXBOX
/dev/disk/by-path/pci-0000:00:1a.7-usb-0:4:1.0-scsi-0:0:0:0
org.freedesktop.UDisks2.PartitionTable:
Type: dos
12:45:01.106: Added /org/freedesktop/UDisks2/block_devices/sdi1
org.freedesktop.UDisks2.Block:
Configuration: []
CryptoBackingDevice: '/'
Device: /dev/sdi1
DeviceNumber: 2177
Drive: '/org/freedesktop/UDisks2/drives/Corsair_Flash_Voyager_AA04012700016991'
HintAuto: true
HintIconName:
HintIgnore: true
HintName:
HintPartitionable: true
HintSymbolicIconName:
HintSystem: false
Id: by-label-GEEXBOX
IdLabel: GEEXBOX
IdType: iso9660
IdUUID:
IdUsage: filesystem
IdVersion: Joliet Extension
MDRaid: '/'
MDRaidMember: '/'
PreferredDevice: /dev/sdi1
ReadOnly: false
Size: 168787968
Symlinks: /dev/disk/by-id/usb-Corsair_Flash_Voyager_AA04012700016991-0:0-part1
/dev/disk/by-label/GEEXBOX
/dev/disk/by-path/pci-0000:00:1a.7-usb-0:4:1.0-scsi-0:0:0:0-part1
org.freedesktop.UDisks2.Filesystem:
MountPoints:
org.freedesktop.UDisks2.Partition:
Flags: 128
IsContained: false
IsContainer: false
Name:
Number: 1
Offset: 32768
Size: 168787968
Table: '/org/freedesktop/UDisks2/block_devices/sdi'
Type: 0x17
UUID:
=== file -s /dev/sdi (the device does still NOT appear in KDE!!!) ===
=== stick USB2/ISO removed ===
12:46:44.618: Removed /org/freedesktop/UDisks2/block_devices/sdi1
12:46:44.619: Removed /org/freedesktop/UDisks2/block_devices/sdi
12:46:44.620: Removed /org/freedesktop/UDisks2/drives/Corsair_Flash_Voyager_AA04012700016991