Skip to contentSkip to conversation

Guest domains dying and resurrecting

DISCUSSION David F Barrera 3 participants 4 messages Oct 11, 2005 – Oct 12, 2005

lore
Share & tools
lore
#0 lore raw

http://bugzilla.xensource.com/bugzilla/show_bug.cgi?id=317

Summary: Guest domains dying and resurrecting
Product: Xen
Version: unstable
Platform: x86
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: Hypervisor
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected],[email protected]

I am seeing guest domains die and resurrect. This is happening on a non- PAE x86 SLES 9 SP2 build, using the following changeset:

changeset:   7313:4e335372ace8
tag:         tip
parent:      7312:713328270fb3
parent:      7308:959d33fbd660
user:        emellor@ewan
date:        Tue Oct 11 09:23:19 2005 +0100
summary:     Merged.

Machine: IBM xSeries 235, 1GB RAM, SCSI drives.

This is what 'xm list' shows initially:

Name              ID  Mem(MiB)  CPU  VCPUs  State   Time(s)
Domain-0           0       120    0      1  r-----    899.8
vm1                1       127    1      1  -b----    684.8
vm2                2       127    1      1  -b----    555.7

Later on, the domain IDs have incremented. I have neither manually stopped nor started any guest domains:

Name              ID  Mem(MiB)  CPU  VCPUs  State   Time(s)
Domain-0           0       121    0      1  r-----   1171.5
vm1                3       126    1      1  -b----    163.4
vm2                5       126    1      1  -b----     11.0

x235:/tmp/xen-unstable.hg # xm dmesg

(XEN)  Phys-Mach map: c0633000->c0652400
(XEN)  Start info:    c0653000->c0654000
(XEN)  Page tables:   c0654000->c0657000
(XEN)  Boot stack:    c0657000->c0658000
(XEN)  TOTAL:         c0000000->c0800000
(XEN)  ENTRY ADDRESS: c0100000

(XEN) Scrubbing Free RAM: ...........done.
(XEN) *** Serial input -> DOM0 (type 'CTRL-a' three times to switch input to Xen).
(XEN) DOM1: (file=mm.c, line=462) Non-privileged attempt to map I/O space 00000000
(XEN) DOM1: (file=mm.c, line=462) Non-privileged attempt to map I/O space 000000c0
(XEN) DOM1: (file=mm.c, line=462) Non-privileged attempt to map I/O space 0000009f
(XEN) DOM1: (file=mm.c, line=462) Non-privileged attempt to map I/O space 00000000
(XEN) DOM1: (file=mm.c, line=462) Non-privileged attempt to map I/O space 000000c0
(XEN) DOM1: (file=mm.c, line=462) Non-privileged attempt to map I/O space 0000009f
(XEN) DOM1: (file=mm.c, line=462) Non-privileged attempt to map I/O space 00000000
(XEN) DOM1: (file=mm.c, line=462) Non-privileged attempt to map I/O space 000000c0
(XEN) DOM1: (file=mm.c, line=462) Non-privileged attempt to map I/O space 0000009f
(XEN) DOM1: (file=mm.c, line=462) Non-privileged attempt to map I/O space 00000000
(XEN) DOM1: (file=mm.c, line=462) Non-privileged attempt to map I/O space 000000c0
(XEN) DOM1: (file=mm.c, line=462) Non-privileged attempt to map I/O space 0000009f
(XEN) DOM2: (file=mm.c, line=462) Non-privileged attempt to map I/O space 00000000
(XEN) DOM2: (file=mm.c, line=462) Non-privileged attempt to map I/O space 000000c0
(XEN) DOM2: (file=mm.c, line=462) Non-privileged attempt to map I/O space 0000009f
(XEN) DOM2: (file=mm.c, line=462) Non-privileged attempt to map I/O space 00000000
(XEN) DOM2: (file=mm.c, line=462) Non-privileged attempt to map I/O space 000000c0
(XEN) DOM2: (file=mm.c, line=462) Non-privileged attempt to map I/O space 0000009f
(XEN) DOM2: (file=mm.c, line=462) Non-privileged attempt to map I/O space 00000000
(XEN) DOM2: (file=mm.c, line=462) Non-privileged attempt to map I/O space 000000c0
(XEN) DOM2: (file=mm.c, line=462) Non-privileged attempt to map I/O space 0000009f
(XEN) DOM2: (file=mm.c, line=462) Non-privileged attempt to map I/O space 00000000
(XEN) DOM2: (file=mm.c, line=462) Non-privileged attempt to map I/O space 000000c0
(XEN) DOM2: (file=mm.c, line=462) Non-privileged attempt to map I/O space 0000009f
(XEN) DOM2: (file=mm.c, line=462) Non-privileged attempt to map I/O space 000000f8
(XEN) gnttab_transfer: invalid pfn for mfn=7d45001
(XEN) gnttab_transfer: xen heap frame mfn=0
(XEN) gnttab_transfer: Bad page values 00003093: ed=ffbf5080(0), sd=ffbf5080,
caf=80000002, taf=f0000001
(XEN) DOM1: (file=mm.c, line=462) Non-privileged attempt to map I/O space 00000000
(XEN) DOM1: (file=mm.c, line=462) Non-privileged attempt to map I/O space 00000000
(XEN) DOM1: (file=mm.c, line=462) Non-privileged attempt to map I/O space 00000000
(XEN) DOM1: (file=mm.c, line=462) Non-privileged attempt to map I/O space 00000000
(XEN) DOM1: (file=mm.c, line=462) Non-privileged attempt to map I/O space 00000000
(XEN) DOM1: (file=mm.c, line=462) Non-privileged attempt to map I/O space 00000000
(XEN) DOM1: (file=mm.c, line=462) Non-privileged attempt to map I/O space 00000000
(XEN) DOM1: (file=mm.c, line=462) Non-privileged attempt to map I/O space 00000000
(XEN) DOM1: (file=mm.c, line=462) Non-privileged attempt to map I/O space 00000000
(XEN) DOM1: (file=mm.c, line=462) Non-privileged attempt to map I/O space 00000000
(XEN) DOM1: (file=mm.c, line=462) Non-privileged attempt to map I/O space 00000000
(XEN) DOM1: (file=mm.c, line=462) Non-privileged attempt to map I/O space 00000000
(XEN) DOM1: (file=mm.c, line=462) Non-privileged attempt to map I/O space 00000000
(XEN) DOM1: (file=mm.c, line=462) Non-privileged attempt to map I/O space 00000000
(XEN) DOM1: (file=mm.c, line=462) Non-privileged attempt to map I/O space 00000000
(XEN) DOM1: (file=mm.c, line=462) Non-privileged attempt to map I/O space 00000000
(XEN) DOM1: (file=mm.c, line=462) Non-privileged attempt to map I/O space 00000000
(XEN) DOM1: (file=mm.c, line=462) Non-privileged attempt to map I/O space 00000000
(XEN) DOM1: (file=mm.c, line=462) Non-privileged attempt to map I/O space 00000000
(XEN) DOM1: (file=mm.c, line=462) Non-privileged attempt to map I/O space 00000000
(XEN) DOM1: (file=mm.c, line=462) Non-privileged attempt to map I/O space 00000000
(XEN) DOM1: (file=mm.c, line=462) Non-privileged attempt to map I/O space 00000000
(XEN) DOM1: (file=mm.c, line=462) Non-privileged attempt to map I/O space 00000000
(XEN) DOM1: (file=mm.c, line=462) Non-privileged attempt to map I/O space 00000000
(XEN) DOM1: (file=mm.c, line=462) Non-privileged attempt to map I/O space 00000000
(XEN) DOM1: (file=mm.c, line=462) Non-privileged attempt to map I/O space 00000000
(XEN) DOM1: (file=mm.c, line=462) Non-privileged attempt to map I/O space 00000000
(XEN) DOM1: (file=mm.c, line=462) Non-privileged attempt to map I/O space 00000000
(XEN) DOM1: (file=mm.c, line=462) Non-privileged attempt to map I/O space 00000000
(XEN) DOM1: (file=mm.c, line=462) Non-privileged attempt to map I/O space 00000000
(XEN) DOM1: (file=mm.c, line=462) Non-privileged attempt to map I/O space 00000000
(XEN) DOM1: (file=mm.c, line=462) Non-privileged attempt to map I/O space 00000000
(XEN) DOM1: (file=mm.c, line=462) Non-privileged attempt to map I/O space 00000000
(XEN) DOM1: (file=mm.c, line=462) Non-privileged attempt to map I/O space 00000000
(XEN) DOM1: (file=mm.c, line=462) Non-privileged attempt to map I/O space 00000000
(XEN) DOM1: (file=mm.c, line=462) Non-privileged attempt to map I/O space 00000000
(XEN) DOM1: (file=mm.c, line=462) Non-privileged attempt to map I/O space 00000000
(XEN) DOM1: (file=mm.c, line=462) Non-privileged attempt to map I/O space 00000000
(XEN) DOM1: (file=mm.c, line=462) Non-privileged attempt to map I/O space 00000000
(XEN) DOM1: (file=mm.c, line=462) Non-privileged attempt to map I/O space 00000000
(XEN) DOM1: (file=mm.c, line=462) Non-privileged attempt to map I/O space 00000000
(XEN) DOM1: (file=mm.c, line=462) Non-privileged attempt to map I/O space 00000000
(XEN) DOM1: (file=mm.c, line=462) Non-privileged attempt to map I/O space 00000000
(XEN) DOM1: (file=mm.c, line=462) Non-privileged attempt to map I/O space 00000000
(XEN) DOM1: (file=mm.c, line=462) Non-privileged attempt to map I/O space 00000000
(XEN) DOM1: (file=mm.c, line=462) Non-privileged attempt to map I/O space 00000000
(XEN) DOM1: (file=mm.c, line=462) Non-privileged attempt to map I/O space 00000000
(XEN) DOM1: (file=mm.c, line=462) Non-privileged attempt to map I/O space 00000000
(XEN) DOM1: (file=mm.c, line=462) Non-privileged attempt to map I/O space 00000000
(XEN) DOM1: (file=mm.c, line=462) Non-privileged attempt to map I/O space 00000000
(XEN) DOM1: (file=mm.c, line=462) Non-privileged attempt to map I/O space 00000000
(XEN) DOM1: (file=mm.c, line=462) Non-privileged attempt to map I/O space 00000000
(XEN) DOM1: (file=mm.c, line=462) Non-privileged attempt to map I/O space 00000000
(XEN) DOM1: (file=mm.c, line=462) Non-privileged attempt to map I/O space 00000000
(XEN) DOM1: (file=mm.c, line=462) Non-privileged attempt to map I/O space 00000000
(XEN) DOM1: (file=mm.c, line=462) Non-privileged attempt to map I/O space 00000000
(XEN) DOM1: (file=mm.c, line=462) Non-privileged attempt to map I/O space 00000000
(XEN) DOM1: (file=mm.c, line=462) Non-privileged attempt to map I/O space 00000000
(XEN) DOM1: (file=mm.c, line=462) Non-privileged attempt to map I/O space 00000000
(XEN) DOM1: (file=mm.c, line=462) Non-privileged attempt to map I/O space 00000000
(XEN) DOM1: (file=mm.c, line=462) Non-privileged attempt to map I/O space 00000000
(XEN) DOM1: (file=mm.c, line=462) Non-privileged attempt to map I/O space 00000000
(XEN) DOM1: (file=mm.c, line=462) Non-privileged attempt to map I/O space 00000000
(XEN) DOM1: (file=mm.c, line=462) Non-privileged attempt to map I/O space 00000000
(XEN) (file=/tmp/xen-unstable.hg/xen/include/asm/mm.h, line=203) Error pfn 0:
rd=ffbe2080, od=ffbfb080, caf=80000002, taf=f0000002
(XEN) DOM1: (file=mm.c, line=350) Could not get page ref for pfn 0 (XEN) DOM1: (file=mm.c, line=2220) Could not get page for mach->phys update
(XEN) (file=grant_table.c, line=1016) Bad flags (0) or dom (0). (NB. expected dom 0)
(XEN) (file=grant_table.c, line=791) gnttab_transfer: Transferee has no reservation headroom (32653,32768) or provided a bad grant ref (00000001) or is
dying (11)
(XEN) DOM3: (file=mm.c, line=462) Non-privileged attempt to map I/O space 00000000
(XEN) DOM3: (file=mm.c, line=462) Non-privileged attempt to map I/O space 000000c0
(XEN) DOM3: (file=mm.c, line=462) Non-privileged attempt to map I/O space 0000009f
(XEN) DOM3: (file=mm.c, line=462) Non-privileged attempt to map I/O space 00000000
(XEN) DOM3: (file=mm.c, line=462) Non-privileged attempt to map I/O space 000000c0
(XEN) DOM3: (file=mm.c, line=462) Non-privileged attempt to map I/O space 0000009f
(XEN) DOM3: (file=mm.c, line=462) Non-privileged attempt to map I/O space 00000000
(XEN) DOM3: (file=mm.c, line=462) Non-privileged attempt to map I/O space 000000c0
(XEN) DOM3: (file=mm.c, line=462) Non-privileged attempt to map I/O space 0000009f
(XEN) DOM3: (file=mm.c, line=462) Non-privileged attempt to map I/O space 00000000
(XEN) DOM3: (file=mm.c, line=462) Non-privileged attempt to map I/O space 000000c0
(XEN) DOM3: (file=mm.c, line=462) Non-privileged attempt to map I/O space 0000009f
(XEN) DOM2: (file=mm.c, line=462) Non-privileged attempt to map I/O space 00000000
(XEN) DOM2: (file=mm.c, line=462) Non-privileged attempt to map I/O space 00000000
(XEN) DOM2: (file=mm.c, line=462) Non-privileged attempt to map I/O space 00000000
(XEN) DOM2: (file=mm.c, line=462) Non-privileged attempt to map I/O space 00000000
(XEN) DOM2: (file=mm.c, line=462) Non-privileged attempt to map I/O space 00000000
(XEN) DOM2: (file=mm.c, line=462) Non-privileged attempt to map I/O space 00000000
(XEN) DOM2: (file=mm.c, line=462) Non-privileged attempt to map I/O space 00000000
(XEN) DOM2: (file=mm.c, line=462) Non-privileged attempt to map I/O space 00000000
(XEN) DOM2: (file=mm.c, line=462) Non-privileged attempt to map I/O space 00000000
(XEN) DOM2: (file=mm.c, line=462) Non-privileged attempt to map I/O space 00000000
(XEN) DOM2: (file=mm.c, line=462) Non-privileged attempt to map I/O space 00000000
(XEN) DOM2: (file=mm.c, line=462) Non-privileged attempt to map I/O space 00000000
(XEN) DOM2: (file=mm.c, line=462) Non-privileged attempt to map I/O space 00000000
(XEN) DOM2: (file=mm.c, line=462) Non-privileged attempt to map I/O space 00000000
(XEN) DOM2: (file=mm.c, line=462) Non-privileged attempt to map I/O space 00000000
(XEN) DOM2: (file=mm.c, line=462) Non-privileged attempt to map I/O space 00000000
(XEN) DOM2: (file=mm.c, line=462) Non-privileged attempt to map I/O space 00000000
(XEN) DOM2: (file=mm.c, line=462) Non-privileged attempt to map I/O space 00000000
(XEN) DOM2: (file=mm.c, line=462) Non-privileged attempt to map I/O space 00000000
(XEN) DOM2: (file=mm.c, line=462) Non-privileged attempt to map I/O space 00000000
(XEN) DOM2: (file=mm.c, line=462) Non-privileged attempt to map I/O space 00000000
(XEN) DOM2: (file=mm.c, line=462) Non-privileged attempt to map I/O space 00000000
(XEN) DOM2: (file=mm.c, line=462) Non-privileged attempt to map I/O space 00000000
(XEN) DOM2: (file=mm.c, line=462) Non-privileged attempt to map I/O space 00000000
(XEN) DOM2: (file=mm.c, line=462) Non-privileged attempt to map I/O space 00000000
(XEN) DOM2: (file=mm.c, line=462) Non-privileged attempt to map I/O space 00000000
(XEN) DOM2: (file=mm.c, line=462) Non-privileged attempt to map I/O space 00000000
(XEN) DOM2: (file=mm.c, line=462) Non-privileged attempt to map I/O space 00000000
(XEN) DOM2: (file=mm.c, line=462) Non-privileged attempt to map I/O space 00000000
(XEN) DOM2: (file=mm.c, line=462) Non-privileged attempt to map I/O space 00000000
(XEN) DOM2: (file=mm.c, line=462) Non-privileged attempt to map I/O space 00000000
(XEN) DOM2: (file=mm.c, line=462) Non-privileged attempt to map I/O space 00000000
(XEN) DOM2: (file=mm.c, line=462) Non-privileged attempt to map I/O space 00000000
(XEN) DOM2: (file=mm.c, line=462) Non-privileged attempt to map I/O space 00000000
(XEN) DOM2: (file=mm.c, line=462) Non-privileged attempt to map I/O space 00000000
(XEN) DOM2: (file=mm.c, line=462) Non-privileged attempt to map I/O space 00000000
(XEN) DOM2: (file=mm.c, line=462) Non-privileged attempt to map I/O space 00000000
(XEN) DOM2: (file=mm.c, line=462) Non-privileged attempt to map I/O space 00000000
(XEN) DOM2: (file=mm.c, line=462) Non-privileged attempt to map I/O space 00000000
(XEN) DOM2: (file=mm.c, line=462) Non-privileged attempt to map I/O space 00000000
(XEN) DOM2: (file=mm.c, line=462) Non-privileged attempt to map I/O space 00000000
(XEN) DOM2: (file=mm.c, line=462) Non-privileged attempt to map I/O space 00000000
(XEN) DOM2: (file=mm.c, line=462) Non-privileged attempt to map I/O space 00000000
(XEN) DOM2: (file=mm.c, line=462) Non-privileged attempt to map I/O space 00000000
(XEN) DOM2: (file=mm.c, line=462) Non-privileged attempt to map I/O space 00000000
(XEN) DOM2: (file=mm.c, line=462) Non-privileged attempt to map I/O space 00000000
(XEN) DOM2: (file=mm.c, line=462) Non-privileged attempt to map I/O space 00000000
(XEN) DOM2: (file=mm.c, line=462) Non-privileged attempt to map I/O space 00000000
(XEN) DOM2: (file=mm.c, line=462) Non-privileged attempt to map I/O space 00000000
(XEN) DOM2: (file=mm.c, line=462) Non-privileged attempt to map I/O space 00000000
(XEN) DOM2: (file=mm.c, line=462) Non-privileged attempt to map I/O space 00000000
(XEN) DOM2: (file=mm.c, line=462) Non-privileged attempt to map I/O space 00000000
(XEN) DOM2: (file=mm.c, line=462) Non-privileged attempt to map I/O space 00000000
(XEN) DOM2: (file=mm.c, line=462) Non-privileged attempt to map I/O space 00000000
(XEN) DOM2: (file=mm.c, line=462) Non-privileged attempt to map I/O space 00000000
(XEN) DOM2: (file=mm.c, line=462) Non-privileged attempt to map I/O space 00000000
(XEN) DOM2: (file=mm.c, line=462) Non-privileged attempt to map I/O space 00000000
(XEN) DOM2: (file=mm.c, line=462) Non-privileged attempt to map I/O space 00000000
(XEN) DOM2: (file=mm.c, line=462) Non-privileged attempt to map I/O space 00000000
(XEN) DOM2: (file=mm.c, line=462) Non-privileged attempt to map I/O space 00000000
(XEN) DOM2: (file=mm.c, line=462) Non-privileged attempt to map I/O space 00000000
(XEN) DOM2: (file=mm.c, line=462) Non-privileged attempt to map I/O space 00000000
(XEN) DOM2: (file=mm.c, line=462) Non-privileged attempt to map I/O space 00000000
(XEN) DOM2: (file=mm.c, line=462) Non-privileged attempt to map I/O space 00000000
(XEN) (file=/tmp/xen-unstable.hg/xen/include/asm/mm.h, line=203) Error pfn 0:
rd=ff1ab080, od=ffbfb080, caf=80000002, taf=f0000002
(XEN) DOM2: (file=mm.c, line=350) Could not get page ref for pfn 0 (XEN) DOM2: (file=mm.c, line=2220) Could not get page for mach->phys update
(XEN) (file=grant_table.c, line=1016) Bad flags (0) or dom (0). (NB. expected dom 0)
(XEN) (file=grant_table.c, line=791) gnttab_transfer: Transferee has no reservation headroom (32527,32768) or provided a bad grant ref (00000001) or is
dying (11)
(XEN) DOM5: (file=mm.c, line=462) Non-privileged attempt to map I/O space 00000000
(XEN) DOM5: (file=mm.c, line=462) Non-privileged attempt to map I/O space 000000c0
(XEN) DOM5: (file=mm.c, line=462) Non-privileged attempt to map I/O space 0000009f
(XEN) DOM5: (file=mm.c, line=462) Non-privileged attempt to map I/O space 00000000
(XEN) DOM5: (file=mm.c, line=462) Non-privileged attempt to map I/O space 000000c0
(XEN) DOM5: (file=mm.c, line=462) Non-privileged attempt to map I/O space 0000009f
(XEN) DOM5: (file=mm.c, line=462) Non-privileged attempt to map I/O space 00000000
(XEN) DOM5: (file=mm.c, line=462) Non-privileged attempt to map I/O space 000000c0
(XEN) DOM5: (file=mm.c, line=462) Non-privileged attempt to map I/O space 0000009f
(XEN) DOM5: (file=mm.c, line=462) Non-privileged attempt to map I/O space 00000000
(XEN) DOM5: (file=mm.c, line=462) Non-privileged attempt to map I/O space 000000c0
(XEN) DOM5: (file=mm.c, line=462) Non-privileged attempt to map I/O space 0000009f
(XEN) DOM5: (file=mm.c, line=462) Non-privileged attempt to map I/O space 000000f8
--------------------------

snippet of xend.log:

x235:/tmp/xen-unstable.hg # xm log | tail
[2005-10-11 16:10:15 xend] DEBUG (XendDomainInfo:817) XendDomainInfo.update done
on domain 3: {'vcpu_avail': 1, 'image': ['linux', ['kernel', '/boot/vmlinuz-2.6-xenU'], ['root', '/dev/sda9 ro'], ['vcpus', '1'], ['vcpus',
'1'], ['boot', 'c']], 'paused': 0, 'shutdown': 0, 'backend': [], 'dying': 0,
'on_reboot': 'restart', 'maxmem_KiB': 130028, 'cpu_weight': 1.0, 'blocked': 1,
'shutdown_reason': 0, 'start_time': 1129064038.3464611, 'on_poweroff':
'destroy', 'on_crash': 'restart', 'crashed': 0, 'running': 0, 'device':
[('vbd',
['vbd', ['uname', 'phy:sda9'], ['dev', '0809'], ['mode', 'w']]), ('vbd', ['vbd',
['uname', 'phy:sda8'], ['dev', '0808'], ['mode', 'w']]), ('vif', ['vif', ['mac',
'aa:00:00:54:7e:53']])], 'cpumap': [2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], 'bootloader': None, 'vcpu_to_cpu': [1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1], 'cpu_time':
163375805984L, 'ssidref': 0, 'memory_KiB': 130028, 'name': 'vm1', 'dom':
3,
'vcpus': 1, 'cpu': 1}
[2005-10-11 16:10:15 xend] DEBUG (XendDomainInfo:805) XendDomainInfo.update({'vcpu_to_cpu': [1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
-1, -1], 'cpu_time': 10995483377L, 'ssidref': 0, 'shutdown_reason': 0, 'dying':
0, 'dom': 5, 'running': 0, 'maxmem_kb': 130048, 'paused': 0, 'crashed':
0,
'vcpus': 1, 'shutdown': 0, 'mem_kb': 129724, 'cpumap': [2, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], 'blocked': 1}) on domain 5
[2005-10-11 16:10:15 xend] DEBUG (XendDomainInfo:817) XendDomainInfo.update done
on domain 5: {'vcpu_avail': 1, 'image': ['linux', ['kernel', '/boot/vmlinuz-2.6-xenU'], ['root', '/dev/sda11 ro'], ['vcpus', '1'], ['vcpus',
'1'], ['boot', 'c']], 'paused': 0, 'shutdown': 0, 'backend': [], 'dying': 0,
'on_reboot': 'restart', 'maxmem_KiB': 129724, 'cpu_weight': 1.0, 'blocked': 1,
'shutdown_reason': 0, 'start_time': 1129064464.6330609, 'on_poweroff':
'destroy', 'on_crash': 'restart', 'crashed': 0, 'running': 0, 'device':
[('vbd',
['vbd', ['uname', 'phy:sda10'], ['dev', '080A'], ['mode', 'w']]), ('vbd',
['vbd', ['uname', 'phy:sda11'], ['dev', '080B'], ['mode', 'w']]), ('vif',
['vif', ['mac', 'aa:00:00:44:ee:5a']])], 'cpumap': [2, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], 'bootloader': None, 'vcpu_to_cpu': [1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
-1], 'cpu_time': 10995483377L, 'ssidref': 0, 'memory_KiB': 129724, 'name':
'vm2', 'dom': 5, 'vcpus': 1, 'cpu': 1}
[2005-10-11 16:18:57 xend] DEBUG (XendDomainInfo:805) XendDomainInfo.update({'vcpu_to_cpu': [0, -1, -1, -1, -1, -1, -1, -1, -1, -1,
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
-1, -1], 'cpu_time': 1659447559704L, 'ssidref': 0, 'shutdown_reason': 0, 'dying': 0, 'dom': 0, 'running': 1, 'maxmem_kb': -4, 'paused': 0, 'crashed': 0,
'vcpus': 1, 'shutdown': 0, 'mem_kb': 124504, 'cpumap': [-1, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], 'blocked': 0}) on domain 0
[2005-10-11 16:18:57 xend] DEBUG (XendDomainInfo:817) XendDomainInfo.update done
on domain 0: {'vcpu_avail': 1, 'image': None, 'paused': 0, 'shutdown':
0,
'blocked': 0, 'dying': 0, 'on_reboot': 'restart', 'maxmem_KiB': 124504, 'cpu_weight': 1.0, 'backend': [], 'shutdown_reason': 0, 'on_poweroff':
'destroy', 'on_crash': 'restart', 'crashed': 0, 'running': 1, 'device':
[],
'cpumap': [-1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0], 'bootloader': None, 'vcpu_to_cpu': [0, -1, -1, -1,
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
-1, -1, -1, -1, -1, -1, -1, -1], 'cpu_time': 1659447559704L, 'ssidref':
0,
'memory_KiB': 124504, 'name': 'Domain-0', 'dom': 0, 'vcpus': 1, 'cpu':
None}
[2005-10-11 16:18:57 xend] DEBUG (XendDomainInfo:805) XendDomainInfo.update({'vcpu_to_cpu': [1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
-1, -1], 'cpu_time': 422284233074L, 'ssidref': 0, 'shutdown_reason': 0, 'dying':
0, 'dom': 3, 'running': 0, 'maxmem_kb': 130048, 'paused': 0, 'crashed':
0,
'vcpus': 1, 'shutdown': 0, 'mem_kb': 130016, 'cpumap': [2, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], 'blocked': 1}) on domain 3
[2005-10-11 16:18:57 xend] DEBUG (XendDomainInfo:817) XendDomainInfo.update done
on domain 3: {'vcpu_avail': 1, 'image': ['linux', ['kernel', '/boot/vmlinuz-2.6-xenU'], ['root', '/dev/sda9 ro'], ['vcpus', '1'], ['vcpus',
'1'], ['boot', 'c']], 'paused': 0, 'shutdown': 0, 'backend': [], 'dying': 0,
'on_reboot': 'restart', 'maxmem_KiB': 130016, 'cpu_weight': 1.0, 'blocked': 1,
'shutdown_reason': 0, 'start_time': 1129064038.3464611, 'on_poweroff':
'destroy', 'on_crash': 'restart', 'crashed': 0, 'running': 0, 'device':
[('vbd',
['vbd', ['uname', 'phy:sda9'], ['dev', '0809'], ['mode', 'w']]), ('vbd', ['vbd',
['uname', 'phy:sda8'], ['dev', '0808'], ['mode', 'w']]), ('vif', ['vif', ['mac',
'aa:00:00:54:7e:53']])], 'cpumap': [2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], 'bootloader': None, 'vcpu_to_cpu': [1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1], 'cpu_time':
422284233074L, 'ssidref': 0, 'memory_KiB': 130016, 'name': 'vm1', 'dom':
3,
'vcpus': 1, 'cpu': 1}
[2005-10-11 16:18:57 xend] DEBUG (XendDomainInfo:805) XendDomainInfo.update({'vcpu_to_cpu': [1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
-1, -1], 'cpu_time': 11815412462L, 'ssidref': 0, 'shutdown_reason': 0, 'dying':
0, 'dom': 5, 'running': 0, 'maxmem_kb': 130048, 'paused': 0, 'crashed':
0,
'vcpus': 1, 'shutdown': 0, 'mem_kb': 129216, 'cpumap': [2, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], 'blocked': 1}) on domain 5
[2005-10-11 16:18:57 xend] DEBUG (XendDomainInfo:817) XendDomainInfo.update done
on domain 5: {'vcpu_avail': 1, 'image': ['linux', ['kernel', '/boot/vmlinuz-2.6-xenU'], ['root', '/dev/sda11 ro'], ['vcpus', '1'], ['vcpus',
'1'], ['boot', 'c']], 'paused': 0, 'shutdown': 0, 'backend': [], 'dying': 0,
'on_reboot': 'restart', 'maxmem_KiB': 129216, 'cpu_weight': 1.0, 'blocked': 1,
'shutdown_reason': 0, 'start_time': 1129064464.6330609, 'on_poweroff':
'destroy', 'on_crash': 'restart', 'crashed': 0, 'running': 0, 'device':
[('vbd',
['vbd', ['uname', 'phy:sda10'], ['dev', '080A'], ['mode', 'w']]), ('vbd',
['vbd', ['uname', 'phy:sda11'], ['dev', '080B'], ['mode', 'w']]), ('vif',
['vif', ['mac', 'aa:00:00:44:ee:5a']])], 'cpumap': [2, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], 'bootloader': None, 'vcpu_to_cpu': [1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
-1], 'cpu_time': 11815412462L, 'ssidref': 0, 'memory_KiB': 129216, 'name':
'vm2', 'dom': 5, 'vcpus': 1, 'cpu': 1}

Signature · 8 lines
Regards,

David F Barrera
Linux Technology Center
Systems and Technology Group, IBM

"The wisest men follow their own direction. "
                                                        Euripides
#1 lore raw
Quoted 16 lines · David F Barrera

http://bugzilla.xensource.com/bugzilla/show_bug.cgi?id=317

Summary: Guest domains dying and resurrecting
Product: Xen
Version: unstable
Platform: x86
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: Hypervisor
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected],[email protected]

Quoted 4 lines

I am seeing guest domains die and resurrect. This is happening on a non- PAE x86 SLES 9 SP2 build, using the following changeset:

Hehe, does this make the domains "undead" :-)

Seriously though, have you updated your config files for the new reboot options? You may be seeing autorebooting which is actually a feature.

Regards,

Anthony Liguori

Quoted 601 lines
changeset:   7313:4e335372ace8
tag:         tip
parent:      7312:713328270fb3
parent:      7308:959d33fbd660
user:        emellor@ewan
date:        Tue Oct 11 09:23:19 2005 +0100
summary:     Merged.

Machine: IBM xSeries 235, 1GB RAM, SCSI drives.

This is what 'xm list' shows initially:

Name              ID  Mem(MiB)  CPU  VCPUs  State   Time(s)
Domain-0           0       120    0      1  r-----    899.8
vm1                1       127    1      1  -b----    684.8
vm2                2       127    1      1  -b----    555.7

Later on, the domain IDs have incremented. I have neither manually stopped nor started any guest domains:

Name              ID  Mem(MiB)  CPU  VCPUs  State   Time(s)
Domain-0           0       121    0      1  r-----   1171.5
vm1                3       126    1      1  -b----    163.4
vm2                5       126    1      1  -b----     11.0

x235:/tmp/xen-unstable.hg # xm dmesg

(XEN)  Phys-Mach map: c0633000->c0652400
(XEN)  Start info:    c0653000->c0654000
(XEN)  Page tables:   c0654000->c0657000
(XEN)  Boot stack:    c0657000->c0658000
(XEN)  TOTAL:         c0000000->c0800000
(XEN)  ENTRY ADDRESS: c0100000

(XEN) Scrubbing Free RAM: ...........done.
(XEN) *** Serial input -> DOM0 (type 'CTRL-a' three times to switch input to Xen).
(XEN) DOM1: (file=mm.c, line=462) Non-privileged attempt to map I/O space 00000000
(XEN) DOM1: (file=mm.c, line=462) Non-privileged attempt to map I/O space 000000c0
(XEN) DOM1: (file=mm.c, line=462) Non-privileged attempt to map I/O space 0000009f
(XEN) DOM1: (file=mm.c, line=462) Non-privileged attempt to map I/O space 00000000
(XEN) DOM1: (file=mm.c, line=462) Non-privileged attempt to map I/O space 000000c0
(XEN) DOM1: (file=mm.c, line=462) Non-privileged attempt to map I/O space 0000009f
(XEN) DOM1: (file=mm.c, line=462) Non-privileged attempt to map I/O space 00000000
(XEN) DOM1: (file=mm.c, line=462) Non-privileged attempt to map I/O space 000000c0
(XEN) DOM1: (file=mm.c, line=462) Non-privileged attempt to map I/O space 0000009f
(XEN) DOM1: (file=mm.c, line=462) Non-privileged attempt to map I/O space 00000000
(XEN) DOM1: (file=mm.c, line=462) Non-privileged attempt to map I/O space 000000c0
(XEN) DOM1: (file=mm.c, line=462) Non-privileged attempt to map I/O space 0000009f
(XEN) DOM2: (file=mm.c, line=462) Non-privileged attempt to map I/O space 00000000
(XEN) DOM2: (file=mm.c, line=462) Non-privileged attempt to map I/O space 000000c0
(XEN) DOM2: (file=mm.c, line=462) Non-privileged attempt to map I/O space 0000009f
(XEN) DOM2: (file=mm.c, line=462) Non-privileged attempt to map I/O space 00000000
(XEN) DOM2: (file=mm.c, line=462) Non-privileged attempt to map I/O space 000000c0
(XEN) DOM2: (file=mm.c, line=462) Non-privileged attempt to map I/O space 0000009f
(XEN) DOM2: (file=mm.c, line=462) Non-privileged attempt to map I/O space 00000000
(XEN) DOM2: (file=mm.c, line=462) Non-privileged attempt to map I/O space 000000c0
(XEN) DOM2: (file=mm.c, line=462) Non-privileged attempt to map I/O space 0000009f
(XEN) DOM2: (file=mm.c, line=462) Non-privileged attempt to map I/O space 00000000
(XEN) DOM2: (file=mm.c, line=462) Non-privileged attempt to map I/O space 000000c0
(XEN) DOM2: (file=mm.c, line=462) Non-privileged attempt to map I/O space 0000009f
(XEN) DOM2: (file=mm.c, line=462) Non-privileged attempt to map I/O space 000000f8
(XEN) gnttab_transfer: invalid pfn for mfn=7d45001
(XEN) gnttab_transfer: xen heap frame mfn=0
(XEN) gnttab_transfer: Bad page values 00003093: ed=ffbf5080(0), sd=ffbf5080,
caf=80000002, taf=f0000001
(XEN) DOM1: (file=mm.c, line=462) Non-privileged attempt to map I/O space 00000000
(XEN) DOM1: (file=mm.c, line=462) Non-privileged attempt to map I/O space 00000000
(XEN) DOM1: (file=mm.c, line=462) Non-privileged attempt to map I/O space 00000000
(XEN) DOM1: (file=mm.c, line=462) Non-privileged attempt to map I/O space 00000000
(XEN) DOM1: (file=mm.c, line=462) Non-privileged attempt to map I/O space 00000000
(XEN) DOM1: (file=mm.c, line=462) Non-privileged attempt to map I/O space 00000000
(XEN) DOM1: (file=mm.c, line=462) Non-privileged attempt to map I/O space 00000000
(XEN) DOM1: (file=mm.c, line=462) Non-privileged attempt to map I/O space 00000000
(XEN) DOM1: (file=mm.c, line=462) Non-privileged attempt to map I/O space 00000000
(XEN) DOM1: (file=mm.c, line=462) Non-privileged attempt to map I/O space 00000000
(XEN) DOM1: (file=mm.c, line=462) Non-privileged attempt to map I/O space 00000000
(XEN) DOM1: (file=mm.c, line=462) Non-privileged attempt to map I/O space 00000000
(XEN) DOM1: (file=mm.c, line=462) Non-privileged attempt to map I/O space 00000000
(XEN) DOM1: (file=mm.c, line=462) Non-privileged attempt to map I/O space 00000000
(XEN) DOM1: (file=mm.c, line=462) Non-privileged attempt to map I/O space 00000000
(XEN) DOM1: (file=mm.c, line=462) Non-privileged attempt to map I/O space 00000000
(XEN) DOM1: (file=mm.c, line=462) Non-privileged attempt to map I/O space 00000000
(XEN) DOM1: (file=mm.c, line=462) Non-privileged attempt to map I/O space 00000000
(XEN) DOM1: (file=mm.c, line=462) Non-privileged attempt to map I/O space 00000000
(XEN) DOM1: (file=mm.c, line=462) Non-privileged attempt to map I/O space 00000000
(XEN) DOM1: (file=mm.c, line=462) Non-privileged attempt to map I/O space 00000000
(XEN) DOM1: (file=mm.c, line=462) Non-privileged attempt to map I/O space 00000000
(XEN) DOM1: (file=mm.c, line=462) Non-privileged attempt to map I/O space 00000000
(XEN) DOM1: (file=mm.c, line=462) Non-privileged attempt to map I/O space 00000000
(XEN) DOM1: (file=mm.c, line=462) Non-privileged attempt to map I/O space 00000000
(XEN) DOM1: (file=mm.c, line=462) Non-privileged attempt to map I/O space 00000000
(XEN) DOM1: (file=mm.c, line=462) Non-privileged attempt to map I/O space 00000000
(XEN) DOM1: (file=mm.c, line=462) Non-privileged attempt to map I/O space 00000000
(XEN) DOM1: (file=mm.c, line=462) Non-privileged attempt to map I/O space 00000000
(XEN) DOM1: (file=mm.c, line=462) Non-privileged attempt to map I/O space 00000000
(XEN) DOM1: (file=mm.c, line=462) Non-privileged attempt to map I/O space 00000000
(XEN) DOM1: (file=mm.c, line=462) Non-privileged attempt to map I/O space 00000000
(XEN) DOM1: (file=mm.c, line=462) Non-privileged attempt to map I/O space 00000000
(XEN) DOM1: (file=mm.c, line=462) Non-privileged attempt to map I/O space 00000000
(XEN) DOM1: (file=mm.c, line=462) Non-privileged attempt to map I/O space 00000000
(XEN) DOM1: (file=mm.c, line=462) Non-privileged attempt to map I/O space 00000000
(XEN) DOM1: (file=mm.c, line=462) Non-privileged attempt to map I/O space 00000000
(XEN) DOM1: (file=mm.c, line=462) Non-privileged attempt to map I/O space 00000000
(XEN) DOM1: (file=mm.c, line=462) Non-privileged attempt to map I/O space 00000000
(XEN) DOM1: (file=mm.c, line=462) Non-privileged attempt to map I/O space 00000000
(XEN) DOM1: (file=mm.c, line=462) Non-privileged attempt to map I/O space 00000000
(XEN) DOM1: (file=mm.c, line=462) Non-privileged attempt to map I/O space 00000000
(XEN) DOM1: (file=mm.c, line=462) Non-privileged attempt to map I/O space 00000000
(XEN) DOM1: (file=mm.c, line=462) Non-privileged attempt to map I/O space 00000000
(XEN) DOM1: (file=mm.c, line=462) Non-privileged attempt to map I/O space 00000000
(XEN) DOM1: (file=mm.c, line=462) Non-privileged attempt to map I/O space 00000000
(XEN) DOM1: (file=mm.c, line=462) Non-privileged attempt to map I/O space 00000000
(XEN) DOM1: (file=mm.c, line=462) Non-privileged attempt to map I/O space 00000000
(XEN) DOM1: (file=mm.c, line=462) Non-privileged attempt to map I/O space 00000000
(XEN) DOM1: (file=mm.c, line=462) Non-privileged attempt to map I/O space 00000000
(XEN) DOM1: (file=mm.c, line=462) Non-privileged attempt to map I/O space 00000000
(XEN) DOM1: (file=mm.c, line=462) Non-privileged attempt to map I/O space 00000000
(XEN) DOM1: (file=mm.c, line=462) Non-privileged attempt to map I/O space 00000000
(XEN) DOM1: (file=mm.c, line=462) Non-privileged attempt to map I/O space 00000000
(XEN) DOM1: (file=mm.c, line=462) Non-privileged attempt to map I/O space 00000000
(XEN) DOM1: (file=mm.c, line=462) Non-privileged attempt to map I/O space 00000000
(XEN) DOM1: (file=mm.c, line=462) Non-privileged attempt to map I/O space 00000000
(XEN) DOM1: (file=mm.c, line=462) Non-privileged attempt to map I/O space 00000000
(XEN) DOM1: (file=mm.c, line=462) Non-privileged attempt to map I/O space 00000000
(XEN) DOM1: (file=mm.c, line=462) Non-privileged attempt to map I/O space 00000000
(XEN) DOM1: (file=mm.c, line=462) Non-privileged attempt to map I/O space 00000000
(XEN) DOM1: (file=mm.c, line=462) Non-privileged attempt to map I/O space 00000000
(XEN) DOM1: (file=mm.c, line=462) Non-privileged attempt to map I/O space 00000000
(XEN) DOM1: (file=mm.c, line=462) Non-privileged attempt to map I/O space 00000000
(XEN) (file=/tmp/xen-unstable.hg/xen/include/asm/mm.h, line=203) Error pfn 0:
rd=ffbe2080, od=ffbfb080, caf=80000002, taf=f0000002
(XEN) DOM1: (file=mm.c, line=350) Could not get page ref for pfn 0 (XEN) DOM1: (file=mm.c, line=2220) Could not get page for mach->phys update
(XEN) (file=grant_table.c, line=1016) Bad flags (0) or dom (0). (NB. expected dom 0)
(XEN) (file=grant_table.c, line=791) gnttab_transfer: Transferee has no reservation headroom (32653,32768) or provided a bad grant ref (00000001) or is
dying (11)
(XEN) DOM3: (file=mm.c, line=462) Non-privileged attempt to map I/O space 00000000
(XEN) DOM3: (file=mm.c, line=462) Non-privileged attempt to map I/O space 000000c0
(XEN) DOM3: (file=mm.c, line=462) Non-privileged attempt to map I/O space 0000009f
(XEN) DOM3: (file=mm.c, line=462) Non-privileged attempt to map I/O space 00000000
(XEN) DOM3: (file=mm.c, line=462) Non-privileged attempt to map I/O space 000000c0
(XEN) DOM3: (file=mm.c, line=462) Non-privileged attempt to map I/O space 0000009f
(XEN) DOM3: (file=mm.c, line=462) Non-privileged attempt to map I/O space 00000000
(XEN) DOM3: (file=mm.c, line=462) Non-privileged attempt to map I/O space 000000c0
(XEN) DOM3: (file=mm.c, line=462) Non-privileged attempt to map I/O space 0000009f
(XEN) DOM3: (file=mm.c, line=462) Non-privileged attempt to map I/O space 00000000
(XEN) DOM3: (file=mm.c, line=462) Non-privileged attempt to map I/O space 000000c0
(XEN) DOM3: (file=mm.c, line=462) Non-privileged attempt to map I/O space 0000009f
(XEN) DOM2: (file=mm.c, line=462) Non-privileged attempt to map I/O space 00000000
(XEN) DOM2: (file=mm.c, line=462) Non-privileged attempt to map I/O space 00000000
(XEN) DOM2: (file=mm.c, line=462) Non-privileged attempt to map I/O space 00000000
(XEN) DOM2: (file=mm.c, line=462) Non-privileged attempt to map I/O space 00000000
(XEN) DOM2: (file=mm.c, line=462) Non-privileged attempt to map I/O space 00000000
(XEN) DOM2: (file=mm.c, line=462) Non-privileged attempt to map I/O space 00000000
(XEN) DOM2: (file=mm.c, line=462) Non-privileged attempt to map I/O space 00000000
(XEN) DOM2: (file=mm.c, line=462) Non-privileged attempt to map I/O space 00000000
(XEN) DOM2: (file=mm.c, line=462) Non-privileged attempt to map I/O space 00000000
(XEN) DOM2: (file=mm.c, line=462) Non-privileged attempt to map I/O space 00000000
(XEN) DOM2: (file=mm.c, line=462) Non-privileged attempt to map I/O space 00000000
(XEN) DOM2: (file=mm.c, line=462) Non-privileged attempt to map I/O space 00000000
(XEN) DOM2: (file=mm.c, line=462) Non-privileged attempt to map I/O space 00000000
(XEN) DOM2: (file=mm.c, line=462) Non-privileged attempt to map I/O space 00000000
(XEN) DOM2: (file=mm.c, line=462) Non-privileged attempt to map I/O space 00000000
(XEN) DOM2: (file=mm.c, line=462) Non-privileged attempt to map I/O space 00000000
(XEN) DOM2: (file=mm.c, line=462) Non-privileged attempt to map I/O space 00000000
(XEN) DOM2: (file=mm.c, line=462) Non-privileged attempt to map I/O space 00000000
(XEN) DOM2: (file=mm.c, line=462) Non-privileged attempt to map I/O space 00000000
(XEN) DOM2: (file=mm.c, line=462) Non-privileged attempt to map I/O space 00000000
(XEN) DOM2: (file=mm.c, line=462) Non-privileged attempt to map I/O space 00000000
(XEN) DOM2: (file=mm.c, line=462) Non-privileged attempt to map I/O space 00000000
(XEN) DOM2: (file=mm.c, line=462) Non-privileged attempt to map I/O space 00000000
(XEN) DOM2: (file=mm.c, line=462) Non-privileged attempt to map I/O space 00000000
(XEN) DOM2: (file=mm.c, line=462) Non-privileged attempt to map I/O space 00000000
(XEN) DOM2: (file=mm.c, line=462) Non-privileged attempt to map I/O space 00000000
(XEN) DOM2: (file=mm.c, line=462) Non-privileged attempt to map I/O space 00000000
(XEN) DOM2: (file=mm.c, line=462) Non-privileged attempt to map I/O space 00000000
(XEN) DOM2: (file=mm.c, line=462) Non-privileged attempt to map I/O space 00000000
(XEN) DOM2: (file=mm.c, line=462) Non-privileged attempt to map I/O space 00000000
(XEN) DOM2: (file=mm.c, line=462) Non-privileged attempt to map I/O space 00000000
(XEN) DOM2: (file=mm.c, line=462) Non-privileged attempt to map I/O space 00000000
(XEN) DOM2: (file=mm.c, line=462) Non-privileged attempt to map I/O space 00000000
(XEN) DOM2: (file=mm.c, line=462) Non-privileged attempt to map I/O space 00000000
(XEN) DOM2: (file=mm.c, line=462) Non-privileged attempt to map I/O space 00000000
(XEN) DOM2: (file=mm.c, line=462) Non-privileged attempt to map I/O space 00000000
(XEN) DOM2: (file=mm.c, line=462) Non-privileged attempt to map I/O space 00000000
(XEN) DOM2: (file=mm.c, line=462) Non-privileged attempt to map I/O space 00000000
(XEN) DOM2: (file=mm.c, line=462) Non-privileged attempt to map I/O space 00000000
(XEN) DOM2: (file=mm.c, line=462) Non-privileged attempt to map I/O space 00000000
(XEN) DOM2: (file=mm.c, line=462) Non-privileged attempt to map I/O space 00000000
(XEN) DOM2: (file=mm.c, line=462) Non-privileged attempt to map I/O space 00000000
(XEN) DOM2: (file=mm.c, line=462) Non-privileged attempt to map I/O space 00000000
(XEN) DOM2: (file=mm.c, line=462) Non-privileged attempt to map I/O space 00000000
(XEN) DOM2: (file=mm.c, line=462) Non-privileged attempt to map I/O space 00000000
(XEN) DOM2: (file=mm.c, line=462) Non-privileged attempt to map I/O space 00000000
(XEN) DOM2: (file=mm.c, line=462) Non-privileged attempt to map I/O space 00000000
(XEN) DOM2: (file=mm.c, line=462) Non-privileged attempt to map I/O space 00000000
(XEN) DOM2: (file=mm.c, line=462) Non-privileged attempt to map I/O space 00000000
(XEN) DOM2: (file=mm.c, line=462) Non-privileged attempt to map I/O space 00000000
(XEN) DOM2: (file=mm.c, line=462) Non-privileged attempt to map I/O space 00000000
(XEN) DOM2: (file=mm.c, line=462) Non-privileged attempt to map I/O space 00000000
(XEN) DOM2: (file=mm.c, line=462) Non-privileged attempt to map I/O space 00000000
(XEN) DOM2: (file=mm.c, line=462) Non-privileged attempt to map I/O space 00000000
(XEN) DOM2: (file=mm.c, line=462) Non-privileged attempt to map I/O space 00000000
(XEN) DOM2: (file=mm.c, line=462) Non-privileged attempt to map I/O space 00000000
(XEN) DOM2: (file=mm.c, line=462) Non-privileged attempt to map I/O space 00000000
(XEN) DOM2: (file=mm.c, line=462) Non-privileged attempt to map I/O space 00000000
(XEN) DOM2: (file=mm.c, line=462) Non-privileged attempt to map I/O space 00000000
(XEN) DOM2: (file=mm.c, line=462) Non-privileged attempt to map I/O space 00000000
(XEN) DOM2: (file=mm.c, line=462) Non-privileged attempt to map I/O space 00000000
(XEN) DOM2: (file=mm.c, line=462) Non-privileged attempt to map I/O space 00000000
(XEN) DOM2: (file=mm.c, line=462) Non-privileged attempt to map I/O space 00000000
(XEN) DOM2: (file=mm.c, line=462) Non-privileged attempt to map I/O space 00000000
(XEN) (file=/tmp/xen-unstable.hg/xen/include/asm/mm.h, line=203) Error pfn 0:
rd=ff1ab080, od=ffbfb080, caf=80000002, taf=f0000002
(XEN) DOM2: (file=mm.c, line=350) Could not get page ref for pfn 0 (XEN) DOM2: (file=mm.c, line=2220) Could not get page for mach->phys update
(XEN) (file=grant_table.c, line=1016) Bad flags (0) or dom (0). (NB. expected dom 0)
(XEN) (file=grant_table.c, line=791) gnttab_transfer: Transferee has no reservation headroom (32527,32768) or provided a bad grant ref (00000001) or is
dying (11)
(XEN) DOM5: (file=mm.c, line=462) Non-privileged attempt to map I/O space 00000000
(XEN) DOM5: (file=mm.c, line=462) Non-privileged attempt to map I/O space 000000c0
(XEN) DOM5: (file=mm.c, line=462) Non-privileged attempt to map I/O space 0000009f
(XEN) DOM5: (file=mm.c, line=462) Non-privileged attempt to map I/O space 00000000
(XEN) DOM5: (file=mm.c, line=462) Non-privileged attempt to map I/O space 000000c0
(XEN) DOM5: (file=mm.c, line=462) Non-privileged attempt to map I/O space 0000009f
(XEN) DOM5: (file=mm.c, line=462) Non-privileged attempt to map I/O space 00000000
(XEN) DOM5: (file=mm.c, line=462) Non-privileged attempt to map I/O space 000000c0
(XEN) DOM5: (file=mm.c, line=462) Non-privileged attempt to map I/O space 0000009f
(XEN) DOM5: (file=mm.c, line=462) Non-privileged attempt to map I/O space 00000000
(XEN) DOM5: (file=mm.c, line=462) Non-privileged attempt to map I/O space 000000c0
(XEN) DOM5: (file=mm.c, line=462) Non-privileged attempt to map I/O space 0000009f
(XEN) DOM5: (file=mm.c, line=462) Non-privileged attempt to map I/O space 000000f8
--------------------------

snippet of xend.log:

x235:/tmp/xen-unstable.hg # xm log | tail
[2005-10-11 16:10:15 xend] DEBUG (XendDomainInfo:817) XendDomainInfo.update done
on domain 3: {'vcpu_avail': 1, 'image': ['linux', ['kernel', '/boot/vmlinuz-2.6-xenU'], ['root', '/dev/sda9 ro'], ['vcpus', '1'], ['vcpus',
'1'], ['boot', 'c']], 'paused': 0, 'shutdown': 0, 'backend': [], 'dying': 0,
'on_reboot': 'restart', 'maxmem_KiB': 130028, 'cpu_weight': 1.0, 'blocked': 1,
'shutdown_reason': 0, 'start_time': 1129064038.3464611, 'on_poweroff':
'destroy', 'on_crash': 'restart', 'crashed': 0, 'running': 0, 'device':
[('vbd',
['vbd', ['uname', 'phy:sda9'], ['dev', '0809'], ['mode', 'w']]), ('vbd', ['vbd',
['uname', 'phy:sda8'], ['dev', '0808'], ['mode', 'w']]), ('vif', ['vif', ['mac',
'aa:00:00:54:7e:53']])], 'cpumap': [2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], 'bootloader': None, 'vcpu_to_cpu': [1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1], 'cpu_time':
163375805984L, 'ssidref': 0, 'memory_KiB': 130028, 'name': 'vm1', 'dom':
3,
'vcpus': 1, 'cpu': 1}
[2005-10-11 16:10:15 xend] DEBUG (XendDomainInfo:805) XendDomainInfo.update({'vcpu_to_cpu': [1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
-1, -1], 'cpu_time': 10995483377L, 'ssidref': 0, 'shutdown_reason': 0, 'dying':
0, 'dom': 5, 'running': 0, 'maxmem_kb': 130048, 'paused': 0, 'crashed':
0,
'vcpus': 1, 'shutdown': 0, 'mem_kb': 129724, 'cpumap': [2, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], 'blocked': 1}) on domain 5
[2005-10-11 16:10:15 xend] DEBUG (XendDomainInfo:817) XendDomainInfo.update done
on domain 5: {'vcpu_avail': 1, 'image': ['linux', ['kernel', '/boot/vmlinuz-2.6-xenU'], ['root', '/dev/sda11 ro'], ['vcpus', '1'], ['vcpus',
'1'], ['boot', 'c']], 'paused': 0, 'shutdown': 0, 'backend': [], 'dying': 0,
'on_reboot': 'restart', 'maxmem_KiB': 129724, 'cpu_weight': 1.0, 'blocked': 1,
'shutdown_reason': 0, 'start_time': 1129064464.6330609, 'on_poweroff':
'destroy', 'on_crash': 'restart', 'crashed': 0, 'running': 0, 'device':
[('vbd',
['vbd', ['uname', 'phy:sda10'], ['dev', '080A'], ['mode', 'w']]), ('vbd',
['vbd', ['uname', 'phy:sda11'], ['dev', '080B'], ['mode', 'w']]), ('vif',
['vif', ['mac', 'aa:00:00:44:ee:5a']])], 'cpumap': [2, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], 'bootloader': None, 'vcpu_to_cpu': [1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
-1], 'cpu_time': 10995483377L, 'ssidref': 0, 'memory_KiB': 129724, 'name':
'vm2', 'dom': 5, 'vcpus': 1, 'cpu': 1}
[2005-10-11 16:18:57 xend] DEBUG (XendDomainInfo:805) XendDomainInfo.update({'vcpu_to_cpu': [0, -1, -1, -1, -1, -1, -1, -1, -1, -1,
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
-1, -1], 'cpu_time': 1659447559704L, 'ssidref': 0, 'shutdown_reason': 0, 'dying': 0, 'dom': 0, 'running': 1, 'maxmem_kb': -4, 'paused': 0, 'crashed': 0,
'vcpus': 1, 'shutdown': 0, 'mem_kb': 124504, 'cpumap': [-1, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], 'blocked': 0}) on domain 0
[2005-10-11 16:18:57 xend] DEBUG (XendDomainInfo:817) XendDomainInfo.update done
on domain 0: {'vcpu_avail': 1, 'image': None, 'paused': 0, 'shutdown':
0,
'blocked': 0, 'dying': 0, 'on_reboot': 'restart', 'maxmem_KiB': 124504, 'cpu_weight': 1.0, 'backend': [], 'shutdown_reason': 0, 'on_poweroff':
'destroy', 'on_crash': 'restart', 'crashed': 0, 'running': 1, 'device':
[],
'cpumap': [-1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0], 'bootloader': None, 'vcpu_to_cpu': [0, -1, -1, -1,
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
-1, -1, -1, -1, -1, -1, -1, -1], 'cpu_time': 1659447559704L, 'ssidref':
0,
'memory_KiB': 124504, 'name': 'Domain-0', 'dom': 0, 'vcpus': 1, 'cpu':
None}
[2005-10-11 16:18:57 xend] DEBUG (XendDomainInfo:805) XendDomainInfo.update({'vcpu_to_cpu': [1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
-1, -1], 'cpu_time': 422284233074L, 'ssidref': 0, 'shutdown_reason': 0, 'dying':
0, 'dom': 3, 'running': 0, 'maxmem_kb': 130048, 'paused': 0, 'crashed':
0,
'vcpus': 1, 'shutdown': 0, 'mem_kb': 130016, 'cpumap': [2, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], 'blocked': 1}) on domain 3
[2005-10-11 16:18:57 xend] DEBUG (XendDomainInfo:817) XendDomainInfo.update done
on domain 3: {'vcpu_avail': 1, 'image': ['linux', ['kernel', '/boot/vmlinuz-2.6-xenU'], ['root', '/dev/sda9 ro'], ['vcpus', '1'], ['vcpus',
'1'], ['boot', 'c']], 'paused': 0, 'shutdown': 0, 'backend': [], 'dying': 0,
'on_reboot': 'restart', 'maxmem_KiB': 130016, 'cpu_weight': 1.0, 'blocked': 1,
'shutdown_reason': 0, 'start_time': 1129064038.3464611, 'on_poweroff':
'destroy', 'on_crash': 'restart', 'crashed': 0, 'running': 0, 'device':
[('vbd',
['vbd', ['uname', 'phy:sda9'], ['dev', '0809'], ['mode', 'w']]), ('vbd', ['vbd',
['uname', 'phy:sda8'], ['dev', '0808'], ['mode', 'w']]), ('vif', ['vif', ['mac',
'aa:00:00:54:7e:53']])], 'cpumap': [2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], 'bootloader': None, 'vcpu_to_cpu': [1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1], 'cpu_time':
422284233074L, 'ssidref': 0, 'memory_KiB': 130016, 'name': 'vm1', 'dom':
3,
'vcpus': 1, 'cpu': 1}
[2005-10-11 16:18:57 xend] DEBUG (XendDomainInfo:805) XendDomainInfo.update({'vcpu_to_cpu': [1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
-1, -1], 'cpu_time': 11815412462L, 'ssidref': 0, 'shutdown_reason': 0, 'dying':
0, 'dom': 5, 'running': 0, 'maxmem_kb': 130048, 'paused': 0, 'crashed':
0,
'vcpus': 1, 'shutdown': 0, 'mem_kb': 129216, 'cpumap': [2, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], 'blocked': 1}) on domain 5
[2005-10-11 16:18:57 xend] DEBUG (XendDomainInfo:817) XendDomainInfo.update done
on domain 5: {'vcpu_avail': 1, 'image': ['linux', ['kernel', '/boot/vmlinuz-2.6-xenU'], ['root', '/dev/sda11 ro'], ['vcpus', '1'], ['vcpus',
'1'], ['boot', 'c']], 'paused': 0, 'shutdown': 0, 'backend': [], 'dying': 0,
'on_reboot': 'restart', 'maxmem_KiB': 129216, 'cpu_weight': 1.0, 'blocked': 1,
'shutdown_reason': 0, 'start_time': 1129064464.6330609, 'on_poweroff':
'destroy', 'on_crash': 'restart', 'crashed': 0, 'running': 0, 'device':
[('vbd',
['vbd', ['uname', 'phy:sda10'], ['dev', '080A'], ['mode', 'w']]), ('vbd',
['vbd', ['uname', 'phy:sda11'], ['dev', '080B'], ['mode', 'w']]), ('vif',
['vif', ['mac', 'aa:00:00:44:ee:5a']])], 'cpumap': [2, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], 'bootloader': None, 'vcpu_to_cpu': [1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
-1], 'cpu_time': 11815412462L, 'ssidref': 0, 'memory_KiB': 129216, 'name':
'vm2', 'dom': 5, 'vcpus': 1, 'cpu': 1}

#2 lore raw
In reply to David F Barrera

[email protected] wrote on 10/11/2005 04:28:56 PM:

Quoted 17 lines
changeset:   7313:4e335372ace8
tag:         tip
parent:      7312:713328270fb3
parent:      7308:959d33fbd660
user:        emellor@ewan
date:        Tue Oct 11 09:23:19 2005 +0100
summary:     Merged.

Machine: IBM xSeries 235, 1GB RAM, SCSI drives.

This is what 'xm list' shows initially:

Name              ID  Mem(MiB)  CPU  VCPUs  State   Time(s)
Domain-0           0       120    0      1  r-----    899.8
vm1                1       127    1      1  -b----    684.8
vm2                2       127    1      1  -b----    555.7
Quoted 8 lines

Later on, the domain IDs have incremented. I have neither manually stopped nor started any guest domains:

Name              ID  Mem(MiB)  CPU  VCPUs  State   Time(s)
Domain-0           0       121    0      1  r-----   1171.5
vm1                3       126    1      1  -b----    163.4
vm2                5       126    1      1  -b----     11.0

This is because the domains crashed and then were restarted. In the domain config file (in /etc/xen), the default is:
on_crash = restart
You can set on_crash = preserve to prevent the domains from being restarted after they crash.

Quoted 8 lines

x235:/tmp/xen-unstable.hg # xm dmesg

(XEN)  Phys-Mach map: c0633000->c0652400
(XEN)  Start info:    c0653000->c0654000
(XEN)  Page tables:   c0654000->c0657000
(XEN)  Boot stack:    c0657000->c0658000
(XEN)  TOTAL:         c0000000->c0800000
(XEN)  ENTRY ADDRESS: c0100000
Quoted 5 lines

(XEN) Scrubbing Free RAM: ...........done.
(XEN) *** Serial input -> DOM0 (type 'CTRL-a' three times to switch input to Xen).
(XEN) DOM1: (file=mm.c, line=462) Non-privileged attempt to map I/O space 00000000

I have seen this error previously on my system. After making sure that the domain config file is correct(several options have been changed), and doing a 'make mrproper' before rebuilding Xen stuff, this error went away (at least on my system).

Regards,

Khoa H.

#3 lore raw

Thanks for the reply. My concern is why the domains are crashing. I'll try to get more detail, as I saw the same situation this morning on the same machine.

Quoted 63 lines · Khoa Huynh

[email protected] wrote on 10/11/2005 04:28:56 PM:

Quoted 17 lines
changeset:   7313:4e335372ace8
tag:         tip
parent:      7312:713328270fb3
parent:      7308:959d33fbd660
user:        emellor@ewan
date:        Tue Oct 11 09:23:19 2005 +0100
summary:     Merged.

Machine: IBM xSeries 235, 1GB RAM, SCSI drives.

This is what 'xm list' shows initially:

Name              ID  Mem(MiB)  CPU  VCPUs  State   Time(s)
Domain-0           0       120    0      1  r-----    899.8
vm1                1       127    1      1  -b----    684.8
vm2                2       127    1      1  -b----    555.7
Quoted 8 lines

Later on, the domain IDs have incremented. I have neither manually stopped nor started any guest domains:

Name              ID  Mem(MiB)  CPU  VCPUs  State   Time(s)
Domain-0           0       121    0      1  r-----   1171.5
vm1                3       126    1      1  -b----    163.4
vm2                5       126    1      1  -b----     11.0

This is because the domains crashed and then were restarted. In the domain config file (in /etc/xen), the default is:
on_crash = restart
You can set on_crash = preserve to prevent the domains from being restarted after they crash.

Quoted 8 lines

x235:/tmp/xen-unstable.hg # xm dmesg

(XEN)  Phys-Mach map: c0633000->c0652400
(XEN)  Start info:    c0653000->c0654000
(XEN)  Page tables:   c0654000->c0657000
(XEN)  Boot stack:    c0657000->c0658000
(XEN)  TOTAL:         c0000000->c0800000
(XEN)  ENTRY ADDRESS: c0100000
Quoted 5 lines

(XEN) Scrubbing Free RAM: ...........done.
(XEN) *** Serial input -> DOM0 (type 'CTRL-a' three times to switch input to Xen).
(XEN) DOM1: (file=mm.c, line=462) Non-privileged attempt to map I/O space 00000000

I have seen this error previously on my system. After making sure that the domain config file is correct(several options have been changed), and doing a 'make mrproper' before rebuilding Xen stuff, this error went away (at least on my system).

Regards,

Khoa H.

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

Signature · 8 lines
Regards,

David F Barrera
Linux Technology Center
Systems and Technology Group, IBM

"The wisest men follow their own direction. "
                                                        Euripides