Skip to contentSkip to conversation

ATA IDENTIFY DEVICE word 64 doesn't describe available PIO modes

Qemu-devel Aurelien Jarno 1 participant 2 messages Jan 16, 2011 – Feb 20, 2011 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

** Changed in: qemu
Status: New => Fix Committed

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

Title:
  ATA IDENTIFY DEVICE word 64 doesn't describe available PIO modes

Status in QEMU:
  Fix Committed

Bug description:
  The IDENTIFY DEVICE data provided by Qemu ATA devices lacks good
  information in word 64.  Word 64 describes PIO mode capabilities.
  NetBSD guests (perhaps dubiously) expect to find PIO modes 3 and/or 4
  to be available before enabling Ultra DMA modes on the
  controller/device.  This leads to NetBSD guests using PIO mode 0.

  NetBSD guests will accept values in the range of 0x00 through 0x1f
  (though at least one bit must be set for DMA to be considered) in word
  64. Currently, ide_atapi_identify() sets this word to 0x3f in the
  USE_DMA_CDROM case and 0x01 otherwise. ide_identify() doesn't set this
  word at all.  I recommend that these both be adjusted to 0x3, which
  parallels many real drives in the wild, as well as what a ATA8-ACS
  draft says SATA drives should have in word 64.
#2 lore raw
In reply to a message not in the archive

** Changed in: qemu
Status: Fix Committed => Fix Released

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

Title:
  ATA IDENTIFY DEVICE word 64 doesn't describe available PIO modes

Status in QEMU:
  Fix Released

Bug description:
  The IDENTIFY DEVICE data provided by Qemu ATA devices lacks good
  information in word 64.  Word 64 describes PIO mode capabilities.
  NetBSD guests (perhaps dubiously) expect to find PIO modes 3 and/or 4
  to be available before enabling Ultra DMA modes on the
  controller/device.  This leads to NetBSD guests using PIO mode 0.

  NetBSD guests will accept values in the range of 0x00 through 0x1f
  (though at least one bit must be set for DMA to be considered) in word
  64. Currently, ide_atapi_identify() sets this word to 0x3f in the
  USE_DMA_CDROM case and 0x01 otherwise. ide_identify() doesn't set this
  word at all.  I recommend that these both be adjusted to 0x3, which
  parallels many real drives in the wild, as well as what a ATA8-ACS
  draft says SATA drives should have in word 64.