Unity + Skylake + Hyper-V xf86EnableIOPorts: failed to set IOPL for I/O (Operation not permitted)

Bug #1605798 reported by Joshua R. Poulson
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
xorg (Ubuntu)
Confirmed
Medium
Unassigned

Bug Description

Customer using Lenovo P50 (Skylake) and Surface Book (Skylake) laptops tried to start unity in a guest VM on Hyper-V. Kernel 4.4.0-31 started as expected, Hyper-V drivers loaded as expected including the framebuffer driver, plenty of memory and vCPUs allocated, but x.org fails with xf86EnableIOPorts: failed to set IOPL for I/O (Operation not permitted), resulting in "no screens found".

However, when customer used KDE (kubuntu 16.04 with similar kernel) on these same systems got a UI as expected. Customer also has no issues on non-skylake laptop.

No unexpected messages seen in dmesg and syslog.

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in xorg (Ubuntu):
status: New → Confirmed
Revision history for this message
Mark Harris (mark-d-harris) wrote :

Ubuntu 14.04, 15.10, and Kubuntu 16.04.1 runs correctly as a Windows 10586 Hyper-V gen2 VM on a Lenovo P50 host. Ubuntu 16.04 fails and does not. It presents the login screen and then displays failures and no desktop. Attached screenshot 1.png shows 3 VM windows and the 16.04 presenting the error dialogs. (the errors flash and only display momentarily).

Revision history for this message
Mark Harris (mark-d-harris) wrote :

Adding dmesg attachment.

Revision history for this message
Mark Harris (mark-d-harris) wrote :
  • syslog Edit (968.8 KiB, application/octet-stream)

Adding syslog attachment.

Revision history for this message
Joseph Salisbury (jsalisbury) wrote :

@Mark Harris, it's been a while since the last comment. Does this bug still exist with the lastest updates?

tags: added: kernel-da-key
Revision history for this message
Mark Harris (mark-d-harris) wrote : RE: [Bug 1605798] Re: Unity + Skylake + Hyper-V xf86EnableIOPorts: failed to set IOPL for I/O (Operation not permitted)

Sorry for the delay.. Yes, I just built a new VM using 16.04.2 and it seems to be fine.

Thanks!

Mark

-----Original Message-----
From: <email address hidden> [mailto:<email address hidden>] On Behalf Of Joseph Salisbury
Sent: Thursday, May 18, 2017 12:45 PM
To: Mark Harris <email address hidden>
Subject: [Bug 1605798] Re: Unity + Skylake + Hyper-V xf86EnableIOPorts: failed to set IOPL for I/O (Operation not permitted)

@Mark Harris, it's been a while since the last comment. Does this bug still exist with the lastest updates?

** Tags added: kernel-da-key

--
You received this bug notification because you are subscribed to the bug report.
https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fbugs.launchpad.net%2Fbugs%2F1605798&data=02%7C01%7Cmark.d.harris%40microsoft.com%7C5b109efd696a4cb1165208d49e0e90e9%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C636307232777628818&sdata=aTamibhsahF%2Bt2WQZF43sTMhaCX23%2FDjdl1h81co8Y8%3D&reserved=0

Title:
  Unity + Skylake + Hyper-V xf86EnableIOPorts: failed to set IOPL for
  I/O (Operation not permitted)

Status in xorg package in Ubuntu:
  Confirmed

Bug description:
  Customer using Lenovo P50 (Skylake) and Surface Book (Skylake) laptops
  tried to start unity in a guest VM on Hyper-V. Kernel 4.4.0-31 started
  as expected, Hyper-V drivers loaded as expected including the
  framebuffer driver, plenty of memory and vCPUs allocated, but x.org
  fails with xf86EnableIOPorts: failed to set IOPL for I/O (Operation
  not permitted), resulting in "no screens found".

  However, when customer used KDE (kubuntu 16.04 with similar kernel) on
  these same systems got a UI as expected. Customer also has no issues
  on non-skylake laptop.

  No unexpected messages seen in dmesg and syslog.

To manage notifications about this bug go to:
https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fbugs.launchpad.net%2Fubuntu%2F%2Bsource%2Fxorg%2F%2Bbug%2F1605798%2F%2Bsubscriptions&data=02%7C01%7Cmark.d.harris%40microsoft.com%7C5b109efd696a4cb1165208d49e0e90e9%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C636307232777628818&sdata=BKjEnVGJMmj8wOtrF2UPygODliANcM0K4PkurhADnnI%3D&reserved=0

Revision history for this message
Joseph Salisbury (jsalisbury) wrote :

Thanks for the update, Mark. Would you say this bug is resolved?

Changed in xorg (Ubuntu):
importance: Undecided → Medium
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.