Public bug reported:

current build number: 234
device name: krillin
channel: ubuntu-touch/ubuntu-rtm/14.09-proposed
last update: 2015-02-14 00:43:00
version version: 234
version ubuntu: 20150211.1
version device: 20150211-74c2df2
version custom: 20150207-538-29-183

Using with ciborium 0.2.12+15.04.20150213~rtm-0ubuntu1.

To reproduce:
1 - Boot the phone with the sdcard already mounted;
2 - Safely remove the sdcard by doing a 'Safely Remove' from the external apps;
3 - Physically remove and insert the same sdcard again;
4 - Try to safely remove it again from the external apps;
5 - Check the mount points of the sdcard.

Expected result:
1 - Sdcard always unmounted after hitting 'Safely Remove' in the external apps.

Logs:
phablet@ubuntu-phablet:~$ cat ./.cache/upstart/ciborium.log
2015/02/14 00:53:34 main.go:156: Using system bus on :1.75
2015/02/14 00:53:34 main.go:161: Using session bus on :1.42
2015/02/14 00:53:34 dispatcher.go:74: Creating new dispatcher.
2015/02/14 00:53:34 dispatcher.go:61: Connecting to signal 
/org/freedesktop/UDisks2 org.freedesktop.DBus.ObjectManager InterfacesAdded
2015/02/14 00:53:34 dispatcher.go:61: Connecting to signal 
/org/freedesktop/UDisks2 org.freedesktop.DBus.ObjectManager InterfacesRemoved
2015/02/14 00:53:34 dispatcher.go:97: Init the dispatcher.
2015/02/14 00:53:34 udisks2.go:302: Error while processing events: drive 
holding block device is not mapped
2015/02/14 00:53:34 udisks2.go:302: Error while processing events: drive 
holding block device is not mapped
2015/02/14 00:53:34 udisks2.go:302: Error while processing events: drive 
holding block device is not mapped
2015/02/14 00:53:34 udisks2.go:302: Error while processing events: drive 
holding block device is not mapped
2015/02/14 00:53:34 udisks2.go:302: Error while processing events: drive 
holding block device is not mapped
2015/02/14 00:53:34 udisks2.go:302: Error while processing events: drive 
holding block device is not mapped
2015/02/14 00:53:34 udisks2.go:302: Error while processing events: drive 
holding block device is not mapped
2015/02/14 00:53:34 udisks2.go:302: Error while processing events: drive 
holding block device is not mapped
2015/02/14 00:53:34 udisks2.go:302: Error while processing events: drive 
holding block device is not mapped
2015/02/14 00:53:34 dispatcher.go:105: New addition event for path 
/org/freedesktop/UDisks2/jobs/0 map[org.freedesktop.UDisks2.Job:map[Rate:{0} 
ExpectedEndTime:{0} Objects:{[/org/freedesktop/UDisks2/block_devices/mmcblk1]} 
StartedByUID:{32011} Cancelable:{true} Operation:{filesystem-mount} 
Progress:{0} ProgressValid:{false} Bytes:{0} StartTime:{1423882414891011}]]
2015/02/14 00:53:34 dispatcher.go:137: Processing an add event from path 
/org/freedesktop/UDisks2/jobs/0
2015/02/14 00:53:34 dispatcher.go:140: Sending a new job event.
2015/02/14 00:53:34 dispatcher.go:143: Sent event 
/org/freedesktop/UDisks2/jobs/0
2015/02/14 00:53:34 jobs.go:56: New event /org/freedesktop/UDisks2/jobs/0 
Properties: map[org.freedesktop.UDisks2.Job:map[Rate:{0} ExpectedEndTime:{0} 
Objects:{[/org/freedesktop/UDisks2/block_devices/mmcblk1]} StartedByUID:{32011} 
Cancelable:{true} Operation:{filesystem-mount} Progress:{0} 
ProgressValid:{false} Bytes:{0} StartTime:{1423882414891011}]] Interfaces: []
2015/02/14 00:53:34 jobs.go:106: Creating job for new path 
/org/freedesktop/UDisks2/jobs/0
2015/02/14 00:53:34 jobs.go:107: New job operation filesystem-mount
2015/02/14 00:53:34 jobs.go:136: Ignoring job event with operation 
filesystem-mount
2015/02/14 00:53:34 dispatcher.go:112: New removal event for path.
2015/02/14 00:53:34 dispatcher.go:119: Removal event is 
/org/freedesktop/UDisks2/jobs/0 Interfaces: [org.freedesktop.UDisks2.Job]
2015/02/14 00:53:34 dispatcher.go:155: Processing a remove event from path 
/org/freedesktop/UDisks2/jobs/0
2015/02/14 00:53:34 dispatcher.go:158: Sending a new remove job event.
2015/02/14 00:53:34 dispatcher.go:161: Sent event 
/org/freedesktop/UDisks2/jobs/0
2015/02/14 00:53:34 main.go:184: Mounted 
/org/freedesktop/UDisks2/block_devices/mmcblk1 as /media/phablet/2490-7657
2015/02/14 00:53:34 jobs.go:56: New event /org/freedesktop/UDisks2/jobs/0 
Properties: map[] Interfaces: [org.freedesktop.UDisks2.Job]
2015/02/14 00:53:34 jobs.go:58: Is removal event
2015/02/14 00:53:34 jobs.go:71: Deal with job event removal 
/org/freedesktop/UDisks2/jobs/0 [org.freedesktop.UDisks2.Job]
2015/02/14 00:53:34 jobs.go:76: Job completed.
2015/02/14 00:53:34 jobs.go:90: Removed ongoing job for 
path/org/freedesktop/UDisks2/jobs/0
2015/02/14 00:53:52 dispatcher.go:105: New addition event for path 
/org/freedesktop/UDisks2/block_devices/zram0 
map[org.freedesktop.UDisks2.Swapspace:map[Active:{true}]]
2015/02/14 00:53:52 dispatcher.go:137: Processing an add event from path 
/org/freedesktop/UDisks2/block_devices/zram0
2015/02/14 00:53:52 dispatcher.go:146: Sending a new general add event.
2015/02/14 00:53:52 dispatcher.go:149: Sent event 
/org/freedesktop/UDisks2/block_devices/zram0
2015/02/14 00:53:52 udisks2.go:220: Issues while processing 
/org/freedesktop/UDisks2/block_devices/zram0: interface 
org.freedesktop.UDisks2.Block not found
2015/02/14 00:56:43 dispatcher.go:105: New addition event for path 
/org/freedesktop/UDisks2/jobs/1 
map[org.freedesktop.UDisks2.Job:map[Operation:{filesystem-unmount} Progress:{0} 
ProgressValid:{false} Bytes:{0} StartTime:{1423882603964787} Rate:{0} 
ExpectedEndTime:{0} Objects:{[/org/freedesktop/UDisks2/block_devices/mmcblk1]} 
StartedByUID:{32011} Cancelable:{true}]]
2015/02/14 00:56:43 dispatcher.go:137: Processing an add event from path 
/org/freedesktop/UDisks2/jobs/1
2015/02/14 00:56:43 dispatcher.go:140: Sending a new job event.
2015/02/14 00:56:43 dispatcher.go:143: Sent event 
/org/freedesktop/UDisks2/jobs/1
2015/02/14 00:56:43 jobs.go:56: New event /org/freedesktop/UDisks2/jobs/1 
Properties: map[org.freedesktop.UDisks2.Job:map[Operation:{filesystem-unmount} 
Progress:{0} ProgressValid:{false} Bytes:{0} StartTime:{1423882603964787} 
Rate:{0} ExpectedEndTime:{0} 
Objects:{[/org/freedesktop/UDisks2/block_devices/mmcblk1]} StartedByUID:{32011} 
Cancelable:{true}]] Interfaces: []
2015/02/14 00:56:43 jobs.go:106: Creating job for new path 
/org/freedesktop/UDisks2/jobs/1
2015/02/14 00:56:43 jobs.go:107: New job operation filesystem-unmount
2015/02/14 00:56:43 jobs.go:136: Ignoring job event with operation 
filesystem-unmount
2015/02/14 00:56:44 dispatcher.go:112: New removal event for path.
2015/02/14 00:56:44 dispatcher.go:119: Removal event is 
/org/freedesktop/UDisks2/jobs/1 Interfaces: [org.freedesktop.UDisks2.Job]
2015/02/14 00:56:44 dispatcher.go:155: Processing a remove event from path 
/org/freedesktop/UDisks2/jobs/1
2015/02/14 00:56:44 dispatcher.go:158: Sending a new remove job event.
2015/02/14 00:56:44 dispatcher.go:161: Sent event 
/org/freedesktop/UDisks2/jobs/1
2015/02/14 00:56:44 jobs.go:56: New event /org/freedesktop/UDisks2/jobs/1 
Properties: map[] Interfaces: [org.freedesktop.UDisks2.Job]
2015/02/14 00:56:44 jobs.go:58: Is removal event
2015/02/14 00:56:44 jobs.go:71: Deal with job event removal 
/org/freedesktop/UDisks2/jobs/1 [org.freedesktop.UDisks2.Job]
2015/02/14 00:56:44 jobs.go:76: Job completed.
2015/02/14 00:56:44 jobs.go:90: Removed ongoing job for 
path/org/freedesktop/UDisks2/jobs/1
2015/02/14 00:56:57 dispatcher.go:112: New removal event for path.
2015/02/14 00:56:57 dispatcher.go:119: Removal event is 
/org/freedesktop/UDisks2/block_devices/mmcblk1 Interfaces: 
[org.freedesktop.UDisks2.Block org.freedesktop.UDisks2.Filesystem]
2015/02/14 00:56:57 dispatcher.go:155: Processing a remove event from path 
/org/freedesktop/UDisks2/block_devices/mmcblk1
2015/02/14 00:56:57 dispatcher.go:164: Sending a new general remove event.
2015/02/14 00:56:57 dispatcher.go:167: Sent event 
/org/freedesktop/UDisks2/block_devices/mmcblk1
2015/02/14 00:56:57 dispatcher.go:112: New removal event for path.
2015/02/14 00:56:57 dispatcher.go:119: Removal event is 
/org/freedesktop/UDisks2/drives/SD04G_0x7cee23eb Interfaces: 
[org.freedesktop.UDisks2.Drive]
2015/02/14 00:56:57 dispatcher.go:155: Processing a remove event from path 
/org/freedesktop/UDisks2/drives/SD04G_0x7cee23eb
2015/02/14 00:56:57 dispatcher.go:164: Sending a new general remove event.
2015/02/14 00:56:57 udisks2.go:336: Remove event for 
/org/freedesktop/UDisks2/block_devices/mmcblk1
2015/02/14 00:56:57 udisks2.go:339: Removing mountpoint /media/phablet/2490-7657
org.freedesktop.UDisks2.Block
org.freedesktop.UDisks2.Filesystem
2015/02/14 00:56:57 udisks2.go:348: Removing device 
/org/freedesktop/UDisks2/block_devices/mmcblk1
2015/02/14 00:56:57 udisks2.go:336: Remove event for 
/org/freedesktop/UDisks2/drives/SD04G_0x7cee23eb
2015/02/14 00:56:57 udisks2.go:348: Removing device 
/org/freedesktop/UDisks2/drives/SD04G_0x7cee23eb
2015/02/14 00:56:57 dispatcher.go:167: Sent event 
/org/freedesktop/UDisks2/drives/SD04G_0x7cee23eb
2015/02/14 00:56:57 main.go:220: Path removed /media/phablet/2490-7657
2015/02/14 00:56:59 dispatcher.go:105: New addition event for path 
/org/freedesktop/UDisks2/drives/SD04G_0x7cee23eb 
map[org.freedesktop.UDisks2.Drive:map[OpticalNumTracks:{0} 
OpticalNumDataTracks:{0} RotationRate:{0} MediaAvailable:{true} SiblingId:{} 
Vendor:{} Serial:{0x7cee23eb} Configuration:{map[]} Media:{flash_sd} 
Optical:{false} OpticalNumAudioTracks:{0} CanPowerOff:{false} Model:{SD04G} 
Revision:{} TimeMediaDetected:{1423882619627587} Seat:{seat0} Ejectable:{false} 
WWN:{} MediaCompatibility:{[flash_sd]} OpticalBlank:{false} 
ConnectionBus:{sdio} Id:{SD04G-0x7cee23eb} MediaRemovable:{true} 
Size:{3980394496} Removable:{true} SortKey:{01hotplug/1423882619627587} 
MediaChangeDetected:{true} TimeDetected:{1423882619627587} 
OpticalNumSessions:{0}]]
2015/02/14 00:56:59 dispatcher.go:137: Processing an add event from path 
/org/freedesktop/UDisks2/drives/SD04G_0x7cee23eb
2015/02/14 00:56:59 dispatcher.go:146: Sending a new general add event.
2015/02/14 00:56:59 dispatcher.go:149: Sent event 
/org/freedesktop/UDisks2/drives/SD04G_0x7cee23eb
2015/02/14 00:56:59 dispatcher.go:105: New addition event for path 
/org/freedesktop/UDisks2/block_devices/mmcblk1 
map[org.freedesktop.UDisks2.Block:map[Device:{[47 100 101 118 47 109 109 99 98 
108 107 49 0]} Symlinks:{[[47 100 101 118 47 100 105 115 107 47 98 121 45 105 
100 47 109 109 99 45 83 68 48 52 71 95 48 120 55 99 101 101 50 51 101 98 0] [47 
100 101 118 47 100 105 115 107 47 98 121 45 112 97 116 104 47 112 108 97 116 
102 111 114 109 45 109 116 107 45 109 115 100 99 46 49 0] [47 100 101 118 47 
100 105 115 107 47 98 121 45 117 117 105 100 47 50 52 57 48 45 55 54 53 55 0]]} 
Drive:{/org/freedesktop/UDisks2/drives/SD04G_0x7cee23eb} IdUsage:{filesystem} 
IdUUID:{2490-7657} Configuration:{[]} CryptoBackingDevice:{/} HintAuto:{true} 
HintName:{} DeviceNumber:{45920} MDRaid:{/} MDRaidMember:{/} IdVersion:{FAT32} 
IdLabel:{} HintPartitionable:{true} HintIgnore:{false} HintIconName:{} 
HintSymbolicIconName:{} ReadOnly:{false} HintSystem:{false} 
PreferredDevice:{[47 100 101 118 47 109 109 99 
 98 108 107 49 0]} Id:{by-uuid-2490-7657} Size:{3980394496} IdType:{vfat}] 
org.freedesktop.UDisks2.Filesystem:map[MountPoints:{[]}]]
2015/02/14 00:56:59 dispatcher.go:137: Processing an add event from path 
/org/freedesktop/UDisks2/block_devices/mmcblk1
2015/02/14 00:56:59 dispatcher.go:146: Sending a new general add event.
2015/02/14 00:56:59 dispatcher.go:149: Sent event 
/org/freedesktop/UDisks2/block_devices/mmcblk1
2015/02/14 00:56:59 dispatcher.go:105: New addition event for path 
/org/freedesktop/UDisks2/jobs/2 
map[org.freedesktop.UDisks2.Job:map[Operation:{filesystem-mount} Progress:{0} 
ProgressValid:{false} Bytes:{0} StartTime:{1423882619660298} Rate:{0} 
ExpectedEndTime:{0} Objects:{[/org/freedesktop/UDisks2/block_devices/mmcblk1]} 
StartedByUID:{32011} Cancelable:{true}]]
2015/02/14 00:56:59 dispatcher.go:137: Processing an add event from path 
/org/freedesktop/UDisks2/jobs/2
2015/02/14 00:56:59 dispatcher.go:140: Sending a new job event.
2015/02/14 00:56:59 dispatcher.go:143: Sent event 
/org/freedesktop/UDisks2/jobs/2
2015/02/14 00:56:59 jobs.go:56: New event /org/freedesktop/UDisks2/jobs/2 
Properties: map[org.freedesktop.UDisks2.Job:map[Rate:{0} ExpectedEndTime:{0} 
Objects:{[/org/freedesktop/UDisks2/block_devices/mmcblk1]} StartedByUID:{32011} 
Cancelable:{true} Operation:{filesystem-mount} Progress:{0} 
ProgressValid:{false} Bytes:{0} StartTime:{1423882619660298}]] Interfaces: []
2015/02/14 00:56:59 jobs.go:106: Creating job for new path 
/org/freedesktop/UDisks2/jobs/2
2015/02/14 00:56:59 jobs.go:107: New job operation filesystem-mount
2015/02/14 00:56:59 jobs.go:136: Ignoring job event with operation 
filesystem-mount
2015/02/14 00:56:59 dispatcher.go:112: New removal event for path.
2015/02/14 00:56:59 dispatcher.go:119: Removal event is 
/org/freedesktop/UDisks2/jobs/2 Interfaces: [org.freedesktop.UDisks2.Job]
2015/02/14 00:56:59 dispatcher.go:155: Processing a remove event from path 
/org/freedesktop/UDisks2/jobs/2
2015/02/14 00:56:59 dispatcher.go:158: Sending a new remove job event.
2015/02/14 00:56:59 dispatcher.go:161: Sent event 
/org/freedesktop/UDisks2/jobs/2
2015/02/14 00:56:59 main.go:184: Mounted 
/org/freedesktop/UDisks2/block_devices/mmcblk1 as /media/phablet/2490-7657
2015/02/14 00:56:59 jobs.go:56: New event /org/freedesktop/UDisks2/jobs/2 
Properties: map[] Interfaces: [org.freedesktop.UDisks2.Job]
2015/02/14 00:56:59 jobs.go:58: Is removal event
2015/02/14 00:56:59 jobs.go:71: Deal with job event removal 
/org/freedesktop/UDisks2/jobs/2 [org.freedesktop.UDisks2.Job]
2015/02/14 00:56:59 jobs.go:76: Job completed.
2015/02/14 00:56:59 jobs.go:90: Removed ongoing job for 
path/org/freedesktop/UDisks2/jobs/2

** Affects: canonical-devices-system-image
     Importance: Undecided
     Assignee: Canonical Phone Foundations (canonical-phonedations-team)
         Status: New

** Affects: ciborium (Ubuntu)
     Importance: Undecided
         Status: New

** Affects: ciborium (Ubuntu RTM)
     Importance: Undecided
         Status: New

** Also affects: ciborium (Ubuntu RTM)
   Importance: Undecided
       Status: New

** Also affects: canonical-devices-system-image
   Importance: Undecided
       Status: New

** Changed in: canonical-devices-system-image
     Assignee: (unassigned) => Canonical Phone Foundations 
(canonical-phonedations-team)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1421896

Title:
  Sdcard remains mounted after safely removing it for the second time

To manage notifications about this bug go to:
https://bugs.launchpad.net/canonical-devices-system-image/+bug/1421896/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to