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

[Xen-users] Problems with HVM S3



Hello,

I am currently trying to suspend a HVM domU via ACPI. However, after "xl 
trigger vm s3suspend" the virtual machine freezes after 2-3 seconds (I get a 
prompt at xl console before that!), and keeps printing the following lines:

[  240.428145] INFO: task jbd2/xvda1-8:146 blocked for more than 120 seconds.
[  240.437649] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables 
this message.
[  240.448222] INFO: task flush-202:0:1886 blocked for more than 120 seconds.
[  240.457373] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables 
this message.

I am running a xen build from hg one or two weeks ago, and 3.4.4 linux on dom0 
and domU (I also tried linux 3.2 on domU, no change).

I attached the vm configuration, is there any documentation on how ACPI S3 is 
supposed to work? Can anybody explain those error messages, or tell me how to 
debug the problem?

Best regards,

Mathias Gottschlag



Contents of /etc/xen/debian-hvm.cfg:

kernel = "/usr/lib/xen/boot/hvmloader"

builder='hvm'

arch='x86_64'
memory = 2048
name = "debian-hvm"
vif = [ 'bridge=br,mac=00:16:3E:F1:E4:4E' ]
disk = [ 'file:/home/gottsch/domains/debian-hvm/debian-hvm.img,xvda,w' ]
device_model = '/usr/lib/xen/bin/qemu-dm'
# boot on floppy (a), hard disk (c) or CD-ROM (d)
# default: hard disk, cd-rom, floppy
boot="dc"

sdl=0
vnc=1
vnclisten="0.0.0.0"
vncconsole=1
vncpasswd='debian-hvm'
stdvga=0
serial='pty'
usbdevice='tablet'

on_poweroff = 'destroy'
on_reboot   = 'restart'
on_crash    = 'restart'

hpet = 1
hap = 1
acpi = 1
apic = 1
pae=1
acpi_s3 = 1
acpi_s4 = 1



Output from xl dmesg (probably irrelevant):

(XEN) HVM13: VGABios $Id: vgabios.c,v 1.67 2008/01/27 09:44:12 vruppert Exp $
(XEN) HVM14: HVM Loader
(XEN) HVM14: Detected Xen v4.2-unstable
(XEN) HVM14: Xenbus rings @0xfeffc000, event channel 3
(XEN) HVM14: System requested ROMBIOS
(XEN) HVM14: CPU speed is 3392 MHz
(XEN) irq.c:270: Dom14 PCI link 0 changed 0 -> 5
(XEN) HVM14: PCI-ISA link 0 routed to IRQ5
(XEN) irq.c:270: Dom14 PCI link 1 changed 0 -> 10
(XEN) HVM14: PCI-ISA link 1 routed to IRQ10
(XEN) irq.c:270: Dom14 PCI link 2 changed 0 -> 11
(XEN) HVM14: PCI-ISA link 2 routed to IRQ11
(XEN) irq.c:270: Dom14 PCI link 3 changed 0 -> 5
(XEN) HVM14: PCI-ISA link 3 routed to IRQ5
(XEN) HVM14: pci dev 01:2 INTD->IRQ5
(XEN) HVM14: pci dev 01:3 INTA->IRQ10
(XEN) HVM14: pci dev 03:0 INTA->IRQ5
(XEN) HVM14: pci dev 04:0 INTA->IRQ5
(XEN) HVM14: pci dev 02:0 bar 10 size 02000000: f0000008
(XEN) HVM14: pci dev 03:0 bar 14 size 01000000: f2000008
(XEN) HVM14: pci dev 02:0 bar 14 size 00001000: f3000000
(XEN) HVM14: pci dev 03:0 bar 10 size 00000100: 0000c001
(XEN) HVM14: pci dev 04:0 bar 10 size 00000100: 0000c101
(XEN) HVM14: pci dev 04:0 bar 14 size 00000100: f3001000
(XEN) HVM14: pci dev 01:2 bar 20 size 00000020: 0000c201
(XEN) HVM14: pci dev 01:1 bar 20 size 00000010: 0000c221
(XEN) HVM14: Multiprocessor initialisation:
(XEN) HVM14:  - CPU0 ... 36-bit phys ... fixed MTRRs ... var MTRRs [2/8] ... 
done.
(XEN) HVM14: Testing HVM environment:
(XEN) HVM14:  - REP INSB across page boundaries ... passed
(XEN) HVM14:  - GS base MSRs and SWAPGS ... passed
(XEN) HVM14: Passed 2 of 2 tests
(XEN) HVM14: Writing SMBIOS tables ...
(XEN) HVM14: Loading ROMBIOS ...
(XEN) HVM14: 12604 bytes of ROMBIOS high-memory extensions:
(XEN) HVM14:   Relocating to 0xfc001000-0xfc00413c ... done
(XEN) HVM14: Creating MP tables ...
(XEN) HVM14: Loading Cirrus VGABIOS ...
(XEN) HVM14: Loading PCI Option ROM ...
(XEN) HVM14:  - Manufacturer: http://ipxe.org
(XEN) HVM14:  - Product name: iPXE
(XEN) HVM14: Option ROMs:
(XEN) HVM14:  c0000-c8fff: VGA BIOS
(XEN) HVM14:  c9000-d8fff: Etherboot ROM
(XEN) HVM14: Loading ACPI ...
(XEN) HVM14: vm86 TSS at fc010300
(XEN) HVM14: BIOS map:
(XEN) HVM14:  f0000-fffff: Main BIOS
(XEN) HVM14: E820 table:
(XEN) HVM14:  [00]: 00000000:00000000 - 00000000:0009e000: RAM
(XEN) HVM14:  [01]: 00000000:0009e000 - 00000000:000a0000: RESERVED
(XEN) HVM14:  HOLE: 00000000:000a0000 - 00000000:000e0000
(XEN) HVM14:  [02]: 00000000:000e0000 - 00000000:00100000: RESERVED
(XEN) HVM14:  [03]: 00000000:00100000 - 00000000:7f800000: RAM
(XEN) HVM14:  HOLE: 00000000:7f800000 - 00000000:fc000000
(XEN) HVM14:  [04]: 00000000:fc000000 - 00000001:00000000: RESERVED
(XEN) HVM14: Invoking ROMBIOS ...
(XEN) HVM14: $Revision: 1.221 $ $Date: 2008/12/07 17:32:29 $
(XEN) stdvga.c:147:d14 entering stdvga and caching modes
(XEN) HVM14: VGABios $Id: vgabios.c,v 1.67 2008/01/27 09:44:12 vruppert Exp $
(XEN) HVM14: Bochs BIOS - build: 06/23/99
(XEN) HVM14: $Revision: 1.221 $ $Date: 2008/12/07 17:32:29 $
(XEN) HVM14: Options: apmbios pcibios eltorito PMM 
(XEN) HVM14: 
(XEN) HVM14: ata0-0: PCHS=16383/16/63 translation=lba LCHS=1024/255/63
(XEN) HVM14: ata0 master: QEMU HARDDISK ATA-7 Hard-Disk (16384 MBytes)
(XEN) HVM14: IDE time out
(XEN) HVM14: 
(XEN) HVM14: 
(XEN) HVM14: 
(XEN) HVM14: Press F12 for boot menu.
(XEN) HVM14: 
(XEN) HVM14: Booting from CD-Rom...
(XEN) HVM14: CDROM boot failure code : 0002
(XEN) HVM14: Boot from CD-Rom failed: could not read the boot disk
(XEN) HVM14: 
(XEN) HVM14: Booting from Hard Disk...
(XEN) HVM14: Booting from 0000:7c00
(XEN) irq.c:375: Dom14 callback via changed to Direct Vector 0xf3
(XEN) irq.c:270: Dom14 PCI link 0 changed 5 -> 0
(XEN) irq.c:270: Dom14 PCI link 1 changed 10 -> 0
(XEN) irq.c:270: Dom14 PCI link 2 changed 11 -> 0
(XEN) irq.c:270: Dom14 PCI link 3 changed 5 -> 0
(XEN) HVM14: S3 resume called 00fe 0x0009b000
(XEN) HVM14: S3 resume jump to 9b00:0000



_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxx
http://lists.xen.org/xen-users


 


Rackspace

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