[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] Powerdown problem on XEN | ACPI S5


I admit, I don't know how the gentoo build system works, but the general idea here is that you want to revert those 2 commits, and apply the third.

If you don't have a git tree, you can download the two commits from these two links

You'll want to apply them in reverse
patch -p1 -R < c79c498.patch
patch -p1 -R < 8eaffa67.patch

Then apply the patch from 

I hope this helps.


On Wed, Aug 14, 2013 at 5:56 PM, Atom2 <ariel.atom2@xxxxxxxxxx> wrote:
Hi Ben & Konrad,
thanks for your suggestions. I have to admit, I don't fully understand the commit system yet and don't know how to apply that to my gentoo sources. But I read through the thread that Ben has posted and thought, given that Ben had linked the issue to the Intel i915 driver, I'll try something that crossed my mind:

lspci lists the Intel IGD as follows:
00:02.0 VGA compatible controller: Intel Corporation Xeon E3-1200 Processor Family Integrated Graphics Controller (rev 09)

So my thought process was if the IGD is to blame, I'll just exclude that from the dom0 by adding it to the xen-pciback.hide list on the module line of grub. This line now reads as follows (NOTE: all other devices except the first one (00:02.0) have been there already before my latest try):

module  /boot/gentoo-3.9.5-hardened-xen rootfstype=ext4 root=/dev/sda6 \


Clearly this meant that after the dom0 (gentoo hardened) was started, there was no more console output available. So I had to use ssh to login. But once I started a (remote) 'shutdown -h now' from the login bash and ... the system actually powerd off.

I guess this really proves that the (in-kernel) i915-driver which, given that the IGD is no longer available, could not have been active in the dom0, is to blame for the powerdown issue.

I am not sure whether that brings us any further in resolving the issue, but it might make sense to involve someone responsibel for the Intel IGD driver? Also I could not find much documentation for the i915.modeset kernel parameter- probably there's something in there that could help?

What are your thoughts on this.

And as always thanks for your input so far and also thanks in advance for your continued help and ideas.

Am 14.08.13 22:37, schrieb Konrad Rzeszutek Wilk:

On Wed, Aug 14, 2013 at 04:34:21PM -0400, Ben Guthro wrote:
This hang looks exactly like this one that I posted about in June:

This ended up being an interaction with the i915 driver in the kernel, and
pvops use of PAT.

If you revert the following linux commit:

And probably also need to revert

and then apply:

You may get good results.
It helped me with a similar problem, at least.


On Wed, Aug 14, 2013 at 4:24 PM, Atom2 <ariel.atom2@xxxxxxxxxx> wrote:

Am 14.08.13 22:18, schrieb Andrew Cooper:

Ok thanks.

Do you mind confirming whether S5 works with "iommu=off" on the Xen
command line?


  Yes, that works: The system powers off after issuing
         shutdown -h now
from the dom0.

Xen-devel mailing list

Xen-devel mailing list

Xen-devel mailing list

Xen-devel mailing list



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.