Bug 680194 - RFE: Implement ATAPI command 0x51 READ DISC INFORMATION
Summary: RFE: Implement ATAPI command 0x51 READ DISC INFORMATION
Keywords:
Status: CLOSED DEFERRED
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: qemu-kvm
Version: 6.1
Hardware: All
OS: Linux
medium
medium
Target Milestone: rc
: ---
Assignee: Markus Armbruster
QA Contact: Virtualization Bugs
URL:
Whiteboard:
Depends On: 647794
Blocks: Rhel6KvmTier1
TreeView+ depends on / blocked
 
Reported: 2011-02-24 15:58 UTC by Markus Armbruster
Modified: 2013-01-09 23:35 UTC (History)
10 users (show)

Fixed In Version:
Doc Type: Enhancement
Doc Text:
Clone Of: 647794
Environment:
Last Closed: 2012-07-16 08:51:39 UTC
Target Upstream Version:


Attachments (Terms of Use)

Comment 4 Markus Armbruster 2011-09-26 17:09:53 UTC
Guest software dealing with CD/DVD drives use this command (GPCMD_READ_DISC_INFO in /usr/include/linux/cdrom.h).  Not all software is prepared for this command missing.  It is known to have tripped up anaconda (bug 496298) and udev (bug 647794).  I'm not aware of any problems caused by the command missing at this time.  But it would be nice to have.

However, we'd need exception or blocker to fix this for 6.2, and that can't be justified as long as this is just "nice to have".  Deferring to 6.3.

Comment 7 Paolo Bonzini 2012-05-25 10:43:23 UTC
MMC says that the command only needs to be implemented if any of the following features are reported in GET CONFIGURATION:

Feature Number Feature Name                       Command Requirement
001Dh          Multi-Read                         Mandatory
0021h          Incremental Streaming Writable     Mandatory
0026h          Restricted Overwrite               Mandatory
0027h          CD-RW CAV Write                    Mandatory
0029h          Enhanced Defect Reporting          Mandatory
002Ah          DVD+RW                             Mandatory
002Bh          DVD+R                              Mandatory
002Ch          Rigid Restricted Overwrite         Mandatory
002Dh          CD Track at once                   Mandatory
002Eh          CD Mastering                       Mandatory
002Fh          DVD-R/-RW Write                    Mandatory
0038h          BD-R POW                           Mandatory
003Bh          DVD+R DL                           Mandatory

(MMC6, 6.21 READ DISC INFORMATION command, table 362)

None of these is required for CD-ROM and DVD-ROM profiles, so the spec grants us the possibility to WONTFIX this.  Markus, what do you think?

Comment 8 Markus Armbruster 2012-07-16 08:24:24 UTC
Upstream commit 55042b95 (ATAPI) and commit 1a4f0c3a (SCSI).  I haven't investigated how invasive a backport would be.

Original rationale for the RFE, from comment#1:

Guest software dealing with CD/DVD drives use this command (GPCMD_READ_DISC_INFO in /usr/include/linux/cdrom.h).  Not all software is prepared for this command missing.  It is known to have tripped up anaconda (bug 496298) and udev (bug 647794).  I'm not aware of any problems caused by the command missing at this time.  But it would be nice to have.

End quote.  

No additional problems have been reported.  Considering how late we are in the RHEL-6 cycle, CLOSED/DEFERRED should be seriously considered.

Comment 9 Paolo Bonzini 2012-07-16 08:51:39 UTC
Backport is uninvasive, but this also means that if problems are actually reported we can do it fast.  A wholesale backport of upstream SCSI changes is unlikely to happen again in RHEL-6.


Note You need to log in before you can comment on or make changes to this bug.