What's the state of dom0 S3? It doesn't work on latest xen
Hi,
I'm using a Lenovo T400, and it fails to go to S3, with the latest xen-unstable (which uses the 2.6.30-pvops kernel).
Does anyone know how to make it work?
Tom
Quoted 6 lines · Tom Rotenberg
Hi,
I'm using a Lenovo T400, and it fails to go to S3, with the latest xen-unstable (which uses the 2.6.30-pvops kernel).
Does anyone know how to make it work?
Hmm.. is xen-unstable checking out xen-tip/master instead of rebase/master?
rebase-master is at 2.6.31 atm..
-- Pasi
well, i don't know...
2.6.31 should support S3?
Quoted 16 lines · Pasi Kärkkäinen
Quoted 6 lines · Tom Rotenberg
Hi,
I'm using a Lenovo T400, and it fails to go to S3, with the latest xen-unstable (which uses the 2.6.30-pvops kernel).
Does anyone know how to make it work?Hmm.. is xen-unstable checking out xen-tip/master instead of rebase/master?
rebase-master is at 2.6.31 atm..
-- Pasi
Quoted 3 lines · Tom Rotenberg
well, i don't know...
2.6.31 should support S3?
I believe so.
J
Quoted 6 lines · Jeremy Fitzhardinge
Quoted 3 lines · Tom Rotenberg
well, i don't know...
2.6.31 should support S3?I believe so.
Current dom0 S3 should work with pci=nomsi. For msi case, we already have workaround which may be sent out soon. The formal solution for msi case which may require config space emulation need more consideration & discussion.
Jimmy
Quoted 2 lines · Gang
Current dom0 S3 should work with pci=nomsi. For msi case, we already have workaround which may be sent out soon. The formal solution for msi case which may require config space emulation need more consideration & discussion.
Actually I applied the MSI workaround today.
J
So, if i clone the latest xen unstable, and build it, it should work?
How should i send the machine to sleep? running 's2ram' causes a segmentation fault...
Quoted 8 lines · Jeremy Fitzhardinge
Quoted 2 lines · Gang
Current dom0 S3 should work with pci=nomsi. For msi case, we already have workaround which may be sent out soon. The formal solution for msi case which may require config space emulation need more consideration & discussion.
Actually I applied the MSI workaround today.
J
Quoted 2 lines · Tom Rotenberg
So, if i clone the latest xen unstable, and build it, it should work?
Well, although I got MSI device working after a S3 resume on my box, I just found it still lacking something. The hypervisor doesn't automatically restore the vectors to the physical devices, but only does that on a hypercall: physdev_restore_msi.
I guess that it works because the S3 during is short and the addr/data are still in the device?
Quoted 2 lines
How should i send the machine to sleep? running 's2ram' causes a segmentation fault...
I uses the following:
echo 0 > /sys/class/rtc/rtc0/wakealarm
echo +20 > /sys/class/rtc/rtc0/wakealarm
echo mem > /sys/power/state
Thanks,
Qing
Quoted 10 lines · Jeremy Fitzhardinge
Quoted 8 lines · Gang
Quoted 2 lines
Current dom0 S3 should work with pci=nomsi. For msi case, we already have workaround which may be sent out soon. The formal solution for msi case which may require config space emulation need more consideration & discussion.
Actually I applied the MSI workaround today.
? ?J
On which machine did u try it on?
what version of Xen & what version of the kernel were u using?
Quoted 34 lines · Qing He
Quoted 2 lines · Tom Rotenberg
So, if i clone the latest xen unstable, and build it, it should work?
Well, although I got MSI device working after a S3 resume on my box, I just found it still lacking something. The hypervisor doesn't automatically restore the vectors to the physical devices, but only does that on a hypercall:
physdev_restore_msi.I guess that it works because the S3 during is short and the addr/data are still in the device?
Quoted 2 lines
How should i send the machine to sleep? running 's2ram' causes a segmentation fault...
I uses the following:
echo 0 >/sys/class/rtc/rtc0/wakealarm
echo +20 >/sys/class/rtc/rtc0/wakealarm
echo mem >/sys/power/stateThanks,
QingQuoted 10 lines · Jeremy Fitzhardinge
Quoted 8 lines · Gang
Quoted 2 lines
Current dom0 S3 should work with pci=nomsi. For msi case, we already have workaround which may be sent out soon. The formal solution for msi case which may require config space emulation need more consideration & discussion.
Actually I applied the MSI workaround today.
? ?J