← Back to team overview

desktop-packages team mailing list archive

[Bug 1508258] [NEW] udisks2 not enumerating multiple CD burners correctly

 

Public bug reported:


This is a long-standing bug in the upstream code which is tickled by corner cases (Multiple identical Optiarc CD/DVD burners and K3b)


If there are multiple CD burners installed and if they abuse the serial number field, then udisks2 and earlier software isn't picking them up correctly.

In this system there are 3 burners. Note how it's reporting sr0 and sr1

$ udisksctl status
MODEL                     REVISION  SERIAL               DEVICE
--------------------------------------------------------------------------
SAMSUNG SSD 830 Series    CXM03B1Q  S0WKNEAC7XXXXX       sda     
Samsung SSD 840 Series    DXT07B0Q  S14LNEAD1XXXXX      sdb     
Optiarc DVD RW AD-7203S   1.09      Optiarc_DVD_RW_AD-7203S sr0 sr1 
Optiarc DVD RW AD-7173S   1-00      Optiarc_DVD_RW_AD-7173S sr2     

_most_ packages still see 3 drives, however k3b finds itself confused
because it's only looking at udi = '/org/freedesktop/UDisks2/drives/'
instead of also also checking '/org/freedesktop/UDisks2/block_devices/'

See K3b bug 337553 - https://bugs.kde.org/show_bug.cgi?id=337553

ProblemType: Bug
DistroRelease: Ubuntu 15.10
Package: udisks2 2.1.6-2
ProcVersionSignature: Ubuntu 4.2.0-16.19-generic 4.2.3
Uname: Linux 4.2.0-16-generic x86_64
NonfreeKernelModules: nvidia zfs zunicode zcommon znvpair zavl
ApportVersion: 2.19.1-0ubuntu2
Architecture: amd64
CustomUdevRuleFiles: 99-virtualgl-dri.rules
Date: Wed Oct 21 01:06:13 2015
ProcKernelCmdLine: root=ZFS=/ROOT/Root-1 ro boot=zfs rpool=MAGENTA elevator=noop panic=30 reboot=w zswap.enabled=1 bootdegraded=true nomdmonddf nomdmonisw crashkernel=384M-:128M
SourcePackage: udisks2
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 12/09/2010
dmi.bios.vendor: Intel Corp.
dmi.bios.version: JOQ3510J.86A.1143.2010.1209.0048
dmi.board.asset.tag: Base Board Asset Tag
dmi.board.name: DQ35JO
dmi.board.vendor: Intel Corporation
dmi.board.version: AAD82085-803
dmi.chassis.type: 3
dmi.modalias: dmi:bvnIntelCorp.:bvrJOQ3510J.86A.1143.2010.1209.0048:bd12/09/2010:svntranstecAG:pn:pvr:rvnIntelCorporation:rnDQ35JO:rvrAAD82085-803:cvn:ct3:cvr:
dmi.sys.vendor: transtec AG

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


** Tags: amd64 apport-bug third-party-packages wily

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to udisks2 in Ubuntu.
https://bugs.launchpad.net/bugs/1508258

Title:
  udisks2 not enumerating multiple CD burners correctly

Status in udisks2 package in Ubuntu:
  New

Bug description:
  
  This is a long-standing bug in the upstream code which is tickled by corner cases (Multiple identical Optiarc CD/DVD burners and K3b)

  
  If there are multiple CD burners installed and if they abuse the serial number field, then udisks2 and earlier software isn't picking them up correctly.

  In this system there are 3 burners. Note how it's reporting sr0 and
  sr1

  $ udisksctl status
  MODEL                     REVISION  SERIAL               DEVICE
  --------------------------------------------------------------------------
  SAMSUNG SSD 830 Series    CXM03B1Q  S0WKNEAC7XXXXX       sda     
  Samsung SSD 840 Series    DXT07B0Q  S14LNEAD1XXXXX      sdb     
  Optiarc DVD RW AD-7203S   1.09      Optiarc_DVD_RW_AD-7203S sr0 sr1 
  Optiarc DVD RW AD-7173S   1-00      Optiarc_DVD_RW_AD-7173S sr2     

  _most_ packages still see 3 drives, however k3b finds itself confused
  because it's only looking at udi = '/org/freedesktop/UDisks2/drives/'
  instead of also also checking
  '/org/freedesktop/UDisks2/block_devices/'

  See K3b bug 337553 - https://bugs.kde.org/show_bug.cgi?id=337553

  ProblemType: Bug
  DistroRelease: Ubuntu 15.10
  Package: udisks2 2.1.6-2
  ProcVersionSignature: Ubuntu 4.2.0-16.19-generic 4.2.3
  Uname: Linux 4.2.0-16-generic x86_64
  NonfreeKernelModules: nvidia zfs zunicode zcommon znvpair zavl
  ApportVersion: 2.19.1-0ubuntu2
  Architecture: amd64
  CustomUdevRuleFiles: 99-virtualgl-dri.rules
  Date: Wed Oct 21 01:06:13 2015
  ProcKernelCmdLine: root=ZFS=/ROOT/Root-1 ro boot=zfs rpool=MAGENTA elevator=noop panic=30 reboot=w zswap.enabled=1 bootdegraded=true nomdmonddf nomdmonisw crashkernel=384M-:128M
  SourcePackage: udisks2
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 12/09/2010
  dmi.bios.vendor: Intel Corp.
  dmi.bios.version: JOQ3510J.86A.1143.2010.1209.0048
  dmi.board.asset.tag: Base Board Asset Tag
  dmi.board.name: DQ35JO
  dmi.board.vendor: Intel Corporation
  dmi.board.version: AAD82085-803
  dmi.chassis.type: 3
  dmi.modalias: dmi:bvnIntelCorp.:bvrJOQ3510J.86A.1143.2010.1209.0048:bd12/09/2010:svntranstecAG:pn:pvr:rvnIntelCorporation:rnDQ35JO:rvrAAD82085-803:cvn:ct3:cvr:
  dmi.sys.vendor: transtec AG

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/udisks2/+bug/1508258/+subscriptions