Disk Capacity shows "Unknown" when installing OS on eMMC

Bug #1942733 reported by Andy Chi
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OEM Priority Project
Fix Released
Critical
Andy Chi
udisks2 (Ubuntu)
Fix Released
Low
Unassigned
Focal
Fix Released
Undecided
Unassigned

Bug Description

[Impact]

 * This fix "Disk Capacity" in gnome-control-center shows "Unknown" if installing Focal on eMMC

[Test Plan]

 * Install Focal on eMMC desktop or laptop.

 * Open "Settings" application and select "About"

 * Check the volume of "Disk Capacity"

[Where problems could occur]

 * This changes eMMC's media removable property to false.

 * All the changes is in Hirsute, so only effect on Focal.

[Other Info]

 * Upstream bug: https://github.com/storaged-project/udisks/pull/834

 * Due to MediaRemoveable is false, gnome-control-center will skip this device and "Unknown" will show in "Disk Capacity"

Revision history for this message
Andy Chi (andch) wrote :

Upload debdiff for Focal.

tags: added: oem-priority originate-from-1933171 somerville
Changed in oem-priority:
importance: Undecided → High
assignee: nobody → Andy Chi (andch)
importance: High → Critical
description: updated
Revision history for this message
Sebastien Bacher (seb128) wrote :

Thanks Andy, I've included the bug reference in the changelog, which is a requirement of the SRU process, and uploaded

Changed in udisks2 (Ubuntu):
importance: Undecided → Low
status: New → Fix Released
Revision history for this message
Brian Murray (brian-murray) wrote : Please test proposed package

Hello Andy, or anyone else affected,

Accepted udisks2 into focal-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/udisks2/2.8.4-1ubuntu2 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, what testing has been performed on the package and change the tag from verification-needed-focal to verification-done-focal. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-focal. In either case, without details of your testing we will not be able to proceed.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance for helping!

N.B. The updated package will be released to -updates after the bug(s) fixed by this package have been verified and the package has been in -proposed for a minimum of 7 days.

summary: - Disk Capacity shows "Unknow" when installing OS on eMMC
+ Disk Capacity shows "Unknown" when installing OS on eMMC
Changed in udisks2 (Ubuntu Focal):
status: New → Fix Committed
tags: added: verification-needed verification-needed-focal
Revision history for this message
Andy Chi (andch) wrote :

Test on a desktop and install focal on eMMC. Enable -proposed channel for udisks version 2.8.4-1ubuntu2.

1. Open gnome-control-center
2. Select `About`
3. Disk capacity shows 31.3 GB which is the eMMC size on system

tags: added: verification-done verification-done-focal
removed: verification-needed verification-needed-focal
Revision history for this message
Chris Halse Rogers (raof) wrote : Update Released

The verification of the Stable Release Update for udisks2 has completed successfully and the package is now being released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regressions.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package udisks2 - 2.8.4-1ubuntu2

---------------
udisks2 (2.8.4-1ubuntu2) focal; urgency=medium

  * debian/patches/0001-udev-Distinguish-mmcblk-class-device-types.patch
    debian/patches/0002-udev-Propagate-mmcblk-disk-attributes-to-mmcblk_boot.patch
    debian/patches/0003-udiskslinuxdrive-Tweak-the-removable-ejectable-hints.patch
    debian/patches/0004-udiskslinuxblock-Tweak-the-hints-for-mmcblk-class-de.patch
     - backport 4 commits from upstream to fix mmcblk is not removeable.
       https://github.com/storaged-project/udisks/issues/358 (lp: #1942733)

 -- Andy Chi <email address hidden> Mon, 06 Sep 2021 11:01:13 +0800

Changed in udisks2 (Ubuntu Focal):
status: Fix Committed → Fix Released
Andy Chi (andch)
Changed in oem-priority:
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.