qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Stefan Hajnoczi <stefanha@gmail.com>
To: Bug 1576347 <1576347@bugs.launchpad.net>
Cc: qemu-devel@nongnu.org, Keith Busch <keith.busch@intel.com>
Subject: Re: [Qemu-devel] [Bug 1576347] [NEW] Only one NVMe device is usable in Windows (10) guest
Date: Fri, 29 Apr 2016 10:10:39 +0100	[thread overview]
Message-ID: <20160429091039.GC20753@stefanha-x1.localdomain> (raw)
In-Reply-To: <20160428174421.24544.77308.malonedeb@gac.canonical.com>

[-- Attachment #1: Type: text/plain, Size: 3772 bytes --]

On Thu, Apr 28, 2016 at 05:44:21PM -0000, Tom Yan wrote:

CCing Keith Busch <keith.busch@intel.com>, maintainer of QEMU NVMe.
Maybe he has an idea.

> Public bug reported:
> 
> Full command: qemu-system-x86_64 -enable-kvm -cpu host -smp cores=4 -m
> 4G -net bridge -net nic -full-screen -drive
> file=ovmf_x64.bin,format=raw,if=pflash -drive
> file=disks/win16_ide.img,format=raw,cache=none,aio=native -drive
> file=disks/one.img,if=none,format=qcow2,id=one -drive
> file=disks/two.img,if=none,format=qcow2,id=two -device
> nvme,drive=one,serial=E86C3CFC43518D6F -device
> nvme,drive=two,serial=2BDAC262CF831698
> 
> QEMU version: 2.5.0
> 
> Kernel: 4.5.1 (Arch Linux)
> 
> When there are two NVMe devices specified, only the second one will be
> usable in Windows. The following error is shown under "Device status" of
> the failed NVMe controller in Device Manager:
> 
> "This device cannot start. (Code 10)
> 
> The I/O device is configured incorrectly or the configuration parameters
> to the driver are incorrect."
> 
> The only thing seems suspicious to me is that the nvme emulation in qemu
> does not have WWN/EUI-64 set for the devices, though I have no idea at
> all whether that is mandatory:
> 
> "C:\Windows\system32>sg_vpd -i PD1
> Device Identification VPD page:
>   Addressed logical unit:
>     designator type: SCSI name string,  code set: UTF-8
>       SCSI name string:
>       8086QEMU NVMe Ctrl                          00012BDAC262CF831698
> 
> C:\Windows\system32>sg_vpd -p sn PD1
> Unit serial number VPD page:
>   Unit serial number: 0000_0000_0000_0000."
> 
> ** Affects: qemu
>      Importance: Undecided
>          Status: New
> 
> ** Attachment added: "Screenshot of Device Manager and the error."
>    https://bugs.launchpad.net/bugs/1576347/+attachment/4650548/+files/01.PNG
> 
> -- 
> You received this bug notification because you are a member of qemu-
> devel-ml, which is subscribed to QEMU.
> https://bugs.launchpad.net/bugs/1576347
> 
> Title:
>   Only one NVMe device is usable in Windows (10) guest
> 
> Status in QEMU:
>   New
> 
> Bug description:
>   Full command: qemu-system-x86_64 -enable-kvm -cpu host -smp cores=4 -m
>   4G -net bridge -net nic -full-screen -drive
>   file=ovmf_x64.bin,format=raw,if=pflash -drive
>   file=disks/win16_ide.img,format=raw,cache=none,aio=native -drive
>   file=disks/one.img,if=none,format=qcow2,id=one -drive
>   file=disks/two.img,if=none,format=qcow2,id=two -device
>   nvme,drive=one,serial=E86C3CFC43518D6F -device
>   nvme,drive=two,serial=2BDAC262CF831698
> 
>   QEMU version: 2.5.0
> 
>   Kernel: 4.5.1 (Arch Linux)
> 
>   When there are two NVMe devices specified, only the second one will be
>   usable in Windows. The following error is shown under "Device status"
>   of the failed NVMe controller in Device Manager:
> 
>   "This device cannot start. (Code 10)
> 
>   The I/O device is configured incorrectly or the configuration
>   parameters to the driver are incorrect."
> 
>   The only thing seems suspicious to me is that the nvme emulation in
>   qemu does not have WWN/EUI-64 set for the devices, though I have no
>   idea at all whether that is mandatory:
> 
>   "C:\Windows\system32>sg_vpd -i PD1
>   Device Identification VPD page:
>     Addressed logical unit:
>       designator type: SCSI name string,  code set: UTF-8
>         SCSI name string:
>         8086QEMU NVMe Ctrl                          00012BDAC262CF831698
> 
>   C:\Windows\system32>sg_vpd -p sn PD1
>   Unit serial number VPD page:
>     Unit serial number: 0000_0000_0000_0000."
> 
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/qemu/+bug/1576347/+subscriptions
> 

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 473 bytes --]

  parent reply	other threads:[~2016-04-29  9:10 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-04-28 17:44 [Qemu-devel] [Bug 1576347] [NEW] Only one NVMe device is usable in Windows (10) guest Tom Yan
2016-04-28 17:45 ` [Qemu-devel] [Bug 1576347] " Tom Yan
2016-04-28 17:49 ` Tom Yan
2016-04-28 17:49 ` Tom Yan
2016-04-29  2:32 ` Tom Yan
2016-04-29  3:08 ` Tom Yan
2016-04-29  3:29 ` Tom Yan
2016-04-29  9:10 ` Stefan Hajnoczi [this message]
2016-05-04 22:20   ` [Qemu-devel] [Bug 1576347] [NEW] " Keith Busch
2016-05-04 22:42   ` Keith Busch
2016-12-12  9:26 ` [Qemu-devel] [Bug 1576347] " Tom Yan
2017-08-16 21:18 ` Sergey Blagodurov
2018-02-01  8:53 ` Marshall Porter
2020-11-19 20:54 ` Thomas Huth
2021-01-19  4:17 ` Launchpad Bug Tracker

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20160429091039.GC20753@stefanha-x1.localdomain \
    --to=stefanha@gmail.com \
    --cc=1576347@bugs.launchpad.net \
    --cc=keith.busch@intel.com \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).