xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
From: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
To: Loke Bharti <lbharti@gmx.de>
Cc: xen-devel@lists.xensource.com
Subject: ACPI S3 resume with Xen and Linux not working (will work in Linux v3.11) Was: Re: Re: crash on resume after suspend
Date: Tue, 25 Jun 2013 10:11:37 -0400	[thread overview]
Message-ID: <20130625141137.GC28113@phenom.dumpdata.com> (raw)
In-Reply-To: <trinity-8b9ec428-e5b7-4321-b157-a2c06ce68566-1372144508543@3capp-gmx-bs28>

On Tue, Jun 25, 2013 at 09:15:08AM +0200, Loke Bharti wrote:
> Sorry, I wasn't specific. It is the host. And the system is a Ubuntu 13.04 x64 with xen 4.2.2 compiled from source. The system suspends just fine, but fails to do so when done after booting with xen. I don't know how to get serial console after a resume crash.
> 

CC-ing xen-devel back. Please don't drop that.

> The system suspends as it should, but resets when resume is triggered. On resume, no display comes up, but the hard drive indicator ticks once, and then the system resets. Being a laptop it is necessary to be able to be suspended. VT-d is enabled.
> 
> I had tried qubes os, which is based on xen, and that used to suspend just fine, though I could never boot  with Virtualization enabled. Probably some kernel flag, but I want to the achieve the same feat using an Ubuntu system.
> 
> Because the system resets, there is no log of resume, as far as I could see. There is a log, when the resume has succeeded, but that won't help. When booted with xen, the loaded modules of course include xen-specific modules, but the kvm modules are missing, which are loaded when without xen.
> 
> But I suppose, we would need resume log to be able to troubleshoot. How should I get it?

ACPI S3 resume is not yet working (but will with Linux 3.11) b/c the
patches to allow that functionality had not been merged upstream.


> 
> > Gesendet: Montag, 24. Juni 2013 um 15:52 Uhr
> > Von: "Konrad Rzeszutek Wilk" <konrad.wilk@oracle.com>
> > An: "Loke Bharti" <lbharti@gmx.de>
> > Cc: xen-users@lists.xen.org, xen-devel@lists.xen.org
> > Betreff: Re: [Xen-devel] crash on resume after suspend
> >
> > On Mon, Jun 24, 2013 at 03:45:45AM +0200, Loke Bharti wrote:
> > > Hi. I am using xen 4.2.2, the system runs okay. But when I suspend it, it does so, but crashes on trying to resume.
> > 
> > Hey,
> > 
> > Could you be a bit more specific please? Is this the guest?
> > The host? How does it crash? Do you have a serial console with
> > its output?
> > 
> > > Here is lsmod output:
> > > Module Size Used by
> > > xen_pciback 52011 0
> > > xen_netback 27468 0
> > > xen_blkback 26998 0
> > > xen_gntalloc 13144 0
> > > xen_gntdev 17403 1
> > > xen_evtchn 13132 1
> > > xenfs 12985 1
> > > xen_privcmd 13177 5 xenfs
> > > parport_pc 28152 0
> > > ppdev 17073 0
> > > rfcomm 42641 12
> > > bnep 18036 2
> > > ext2 72837 1
> > > tpm_infineon 17410 0
> > > coretemp 13355 0
> > > joydev 17377 0
> > > hp_wmi 18048 0
> > > sparse_keymap 13890 1 hp_wmi
> > > snd_hda_codec_analog 93738 1
> > > arc4 12615 2
> > > iwldvm 241834 0
> > > mac80211 606457 1 iwldvm
> > > tpm_tis 18675 1
> > > snd_hda_intel 39619 2
> > > snd_hda_codec 136453 2 snd_hda_intel,snd_hda_codec_analog
> > > snd_hwdep 13602 1 snd_hda_codec
> > > snd_pcm 97451 2 snd_hda_codec,snd_hda_intel
> > > snd_page_alloc 18710 2 snd_pcm,snd_hda_intel
> > > snd_seq_midi 13324 0
> > > snd_seq_midi_event 14899 1 snd_seq_midi
> > > snd_rawmidi 30180 1 snd_seq_midi
> > > hp_accel 26012 0
> > > lis3lv02d 20111 1 hp_accel
> > > input_polldev 13896 1 lis3lv02d
> > > snd_seq 61554 2 snd_seq_midi_event,snd_seq_midi
> > > snd_seq_device 14497 3 snd_seq,snd_rawmidi,snd_seq_midi
> > > snd_timer 29425 2 snd_pcm,snd_seq
> > > mac_hid 13205 0
> > > snd 68876 13 snd_hwdep,snd_timer,snd_pcm,snd_seq,snd_rawmidi,snd_hda_codec,snd_hda_intel,snd_seq_device,snd_hda_codec_analog
> > > iwlwifi 173477 1 iwldvm
> > > btusb 22474 0
> > > cfg80211 510937 3 iwlwifi,mac80211,iwldvm
> > > bluetooth 228619 22 bnep,btusb,rfcomm
> > > lpc_ich 17061 0
> > > psmouse 95870 0
> > > soundcore 12680 1 snd
> > > mei 41158 0
> > > serio_raw 13215 0
> > > lp 17759 0
> > > parport 46345 3 lp,ppdev,parport_pc
> > > microcode 22881 0
> > > xts 12885 1
> > > gf128mul 14951 1 xts
> > > dm_crypt 22820 1
> > > mmc_block 27090 2
> > > i915 600351 3
> > > firewire_ohci 40103 0
> > > sdhci_pci 18590 0
> > > firewire_core 64508 1 firewire_ohci
> > > crc_itu_t 12707 1 firewire_core
> > > sdhci 32522 1 sdhci_pci
> > > i2c_algo_bit 13413 1 i915
> > > video 19390 1 i915
> > > wmi 19070 1 hp_wmi
> > > drm_kms_helper 49394 1 i915
> > > ahci 25731 1
> > > drm 286313 4 i915,drm_kms_helper
> > > libahci 31364 1 ahci
> > > pata_acpi 13038 0
> > > e1000e 198787 0
> > > 
> > > _______________________________________________
> > > Xen-devel mailing list
> > > Xen-devel@lists.xen.org
> > > http://lists.xen.org/xen-devel
> > > 
> > 

  parent reply	other threads:[~2013-06-25 14:11 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <trinity-76a3666d-4122-428f-a8fb-cef5a661c1ca-1372037932782@3capp-gmx-bs03>
2013-06-24  1:45 ` crash on resume after suspend Loke Bharti
     [not found] ` <trinity-077724aa-764e-4d98-8a65-40d62b68efef-1372038345049@3capp-gmx-bs03>
2013-06-24 13:52   ` Konrad Rzeszutek Wilk
     [not found]     ` <trinity-8b9ec428-e5b7-4321-b157-a2c06ce68566-1372144508543@3capp-gmx-bs28>
2013-06-25 14:11       ` Konrad Rzeszutek Wilk [this message]
2013-06-26  8:47         ` ACPI S3 resume with Xen and Linux not working (will work in Linux v3.11) Was: Re: " Cui, Dexuan
2013-06-26 13:13           ` Konrad Rzeszutek Wilk
2013-06-28 11:27             ` Cui, Dexuan
2013-06-28 11:55               ` Pasi Kärkkäinen
2013-06-28 12:28                 ` Ben Guthro
2013-06-28 14:44                   ` Cui, Dexuan
2013-07-02  1:50                     ` Cui, Dexuan

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=20130625141137.GC28113@phenom.dumpdata.com \
    --to=konrad.wilk@oracle.com \
    --cc=lbharti@gmx.de \
    --cc=xen-devel@lists.xensource.com \
    /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).