I've finished the backport for 26.04, I just upload the testing ppa, the
testing debian package will be available after a while, do you have
machine for verifing 2.10.91-1ubuntu2.2~oem1?

https://launchpad.net/~binli/+archive/ubuntu/gnome
$ sudo add-apt-repository ppa:binli/gnome
$ sudo apt-get update
$ sudo apt install udisks2 libudisks2-0

udisks2 (2.10.91-1ubuntu2.2~oem1) resolute; urgency=medium

  * Fix NVMe drive capacity showing as unknown after suspend/resume when
    the controller reports zero total capacity (LP: #2092504).
    Patches 01 and 03 provide the namespace list and interface refresh
    used by the capacity fix in patch 09. Patches 02 and 04-08 fix or harden
    the subsystem tracking introduced by patch 01; they do not change the
    capacity calculation. Keep the existing string-based uevent API.
    - d/p/lp2092504/01-udiskslinuxprovider-Track-NVMe-subsystems.patch:
      Track controllers and namespaces by subsystem and pass the namespace
      block list to the drive refresh handler.
    - 
d/p/lp2092504/02-udiskslinuxprovider-Filter-invalid-NVMe-Subsystem-NQN-values-out.patch:
      Reject kernel placeholder values for subsystem identifiers.
    - 
d/p/lp2092504/03-udiskslinuxdriveobject-Update-object-interfaces-on-NVMe-subsystem-uevent.patch:
      Refresh drive and block interfaces on subsystem events before the
      capacity fallback runs.
    - 
d/p/lp2092504/04-udiskslinuxprovider-Fix-NULL-dereference-on-NVMe-subsystem-remove.patch:
      Check that the subsystem table exists before removing a device.
    - 
d/p/lp2092504/05-udiskslinuxprovider-Fix-subsys_nqn-string-memory-ownership.patch:
      Copy the subsystem identifier before releasing its owner.
    - d/p/lp2092504/06-udiskslinuxprovider-Handle-NULL-subsys_table.patch:
      Guard the separate check for an empty subsystem table.
    - 
d/p/lp2092504/07-udiskslinuxprovider-Track-NVMe-subsystem-sysfs-paths-on-CHANGE-events.patch:
      Record membership on CHANGE as well as ADD events, so tracking works
      when a device sends CHANGE without a new ADD.
    - 
d/p/lp2092504/08-udiskslinuxprovider-Free-block_objs-array-after-all-subsystem-notifications.patch:
      Keep the temporary block list alive until notifications finish.
    - 
d/p/lp2092504/09-udiskslinuxdriveobject-Recalculate-NVMe-drive-size-from-subsystem-blocks.patch:
      Find PCIe namespaces and sum the attached namespace sizes when the
      controller reports zero. Update the existing controller size test.
    - d/p/nvme-disk-size.patch: Drop the old fallback, superseded by the
      subsystem-based calculation in patch 09.

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

Title:
  The disk capacity shows 'unknown' after suspend and resume

To manage notifications about this bug go to:
https://bugs.launchpad.net/oem-priority/+bug/2092504/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to