All of lore.kernel.org
 help / color / mirror / Atom feed
* [Bug 1863441] [NEW] cmd_mode_sense always reports 0x70, no CDROM present
@ 2020-02-15 20:48 Benjamin David Lunt
  2020-04-06 19:21 ` [Bug 1863441] " John Snow
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Benjamin David Lunt @ 2020-02-15 20:48 UTC (permalink / raw)
  To: qemu-devel

Public bug reported:

cmd_mode_sense
  https://git.qemu.org/?p=qemu.git;a=blob;f=hw/ide/atapi.c;hb=refs/heads/master#l852
always reports 0x70 in byte 2 returned, indicating no CD-ROM present.

If CD-ROM is present, should report 0x01 (or 0x11).
If CD-ROM absent, should report 0x70.

** Affects: qemu
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1863441

Title:
  cmd_mode_sense always reports 0x70, no CDROM present

Status in QEMU:
  New

Bug description:
  cmd_mode_sense
    https://git.qemu.org/?p=qemu.git;a=blob;f=hw/ide/atapi.c;hb=refs/heads/master#l852
  always reports 0x70 in byte 2 returned, indicating no CD-ROM present.

  If CD-ROM is present, should report 0x01 (or 0x11).
  If CD-ROM absent, should report 0x70.

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1863441/+subscriptions


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug 1863441] Re: cmd_mode_sense always reports 0x70, no CDROM present
  2020-02-15 20:48 [Bug 1863441] [NEW] cmd_mode_sense always reports 0x70, no CDROM present Benjamin David Lunt
@ 2020-04-06 19:21 ` John Snow
  2020-04-07  2:01 ` Benjamin David Lunt
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: John Snow @ 2020-04-06 19:21 UTC (permalink / raw)
  To: qemu-devel

Hi, if you can quote the relevant spec, would you like to include that
in a commit message and send a patch?

Also, does this result in a bug anywhere visible that we can test
against?

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1863441

Title:
  cmd_mode_sense always reports 0x70, no CDROM present

Status in QEMU:
  New

Bug description:
  cmd_mode_sense
    https://git.qemu.org/?p=qemu.git;a=blob;f=hw/ide/atapi.c;hb=refs/heads/master#l852
  always reports 0x70 in byte 2 returned, indicating no CD-ROM present.

  If CD-ROM is present, should report 0x01 (or 0x11).
  If CD-ROM absent, should report 0x70.

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1863441/+subscriptions


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug 1863441] Re: cmd_mode_sense always reports 0x70, no CDROM present
  2020-02-15 20:48 [Bug 1863441] [NEW] cmd_mode_sense always reports 0x70, no CDROM present Benjamin David Lunt
  2020-04-06 19:21 ` [Bug 1863441] " John Snow
@ 2020-04-07  2:01 ` Benjamin David Lunt
  2020-04-10  2:56 ` John Snow
  2020-04-11 12:18 ` Thomas Huth
  3 siblings, 0 replies; 5+ messages in thread
From: Benjamin David Lunt @ 2020-04-07  2:01 UTC (permalink / raw)
  To: qemu-devel

Since I posted this bug report, I have done a little more research and
this specific part of this command is actually quite obsolete.  It use
to be documented (MMC v1.2 Draft), but later versions have actually
removed this part of the command, even stating "obsolete" in some of the
documentation.

If you want to still allow it, it actually does state 0x70 is an empty
drive.  However, being it is so obsolete, you may wish to change this
status to closed.

Thanks for asking.  I don't mind if you close this bug report.

Ben

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1863441

Title:
  cmd_mode_sense always reports 0x70, no CDROM present

Status in QEMU:
  New

Bug description:
  cmd_mode_sense
    https://git.qemu.org/?p=qemu.git;a=blob;f=hw/ide/atapi.c;hb=refs/heads/master#l852
  always reports 0x70 in byte 2 returned, indicating no CD-ROM present.

  If CD-ROM is present, should report 0x01 (or 0x11).
  If CD-ROM absent, should report 0x70.

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1863441/+subscriptions


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug 1863441] Re: cmd_mode_sense always reports 0x70, no CDROM present
  2020-02-15 20:48 [Bug 1863441] [NEW] cmd_mode_sense always reports 0x70, no CDROM present Benjamin David Lunt
  2020-04-06 19:21 ` [Bug 1863441] " John Snow
  2020-04-07  2:01 ` Benjamin David Lunt
@ 2020-04-10  2:56 ` John Snow
  2020-04-11 12:18 ` Thomas Huth
  3 siblings, 0 replies; 5+ messages in thread
From: John Snow @ 2020-04-10  2:56 UTC (permalink / raw)
  To: qemu-devel

Roger that, thanks!

I don't think we're very careful about which version we try to emulate.
In practice it's "Whatever seems to work across the largest swatch of
guest operating systems simultaneously".

If this comes up again, feel free to file against a specific guest OS
that appears to be non-functioning.

Thanks!

--js

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1863441

Title:
  cmd_mode_sense always reports 0x70, no CDROM present

Status in QEMU:
  New

Bug description:
  cmd_mode_sense
    https://git.qemu.org/?p=qemu.git;a=blob;f=hw/ide/atapi.c;hb=refs/heads/master#l852
  always reports 0x70 in byte 2 returned, indicating no CD-ROM present.

  If CD-ROM is present, should report 0x01 (or 0x11).
  If CD-ROM absent, should report 0x70.

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1863441/+subscriptions


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug 1863441] Re: cmd_mode_sense always reports 0x70, no CDROM present
  2020-02-15 20:48 [Bug 1863441] [NEW] cmd_mode_sense always reports 0x70, no CDROM present Benjamin David Lunt
                   ` (2 preceding siblings ...)
  2020-04-10  2:56 ` John Snow
@ 2020-04-11 12:18 ` Thomas Huth
  3 siblings, 0 replies; 5+ messages in thread
From: Thomas Huth @ 2020-04-11 12:18 UTC (permalink / raw)
  To: qemu-devel

** Changed in: qemu
       Status: New => Won't Fix

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1863441

Title:
  cmd_mode_sense always reports 0x70, no CDROM present

Status in QEMU:
  Won't Fix

Bug description:
  cmd_mode_sense
    https://git.qemu.org/?p=qemu.git;a=blob;f=hw/ide/atapi.c;hb=refs/heads/master#l852
  always reports 0x70 in byte 2 returned, indicating no CD-ROM present.

  If CD-ROM is present, should report 0x01 (or 0x11).
  If CD-ROM absent, should report 0x70.

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1863441/+subscriptions


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2020-04-11 12:26 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-02-15 20:48 [Bug 1863441] [NEW] cmd_mode_sense always reports 0x70, no CDROM present Benjamin David Lunt
2020-04-06 19:21 ` [Bug 1863441] " John Snow
2020-04-07  2:01 ` Benjamin David Lunt
2020-04-10  2:56 ` John Snow
2020-04-11 12:18 ` Thomas Huth

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.