Skip to contentSkip to conversation

issue moving guest from 3.2 to 4.01

Xen-users chris 1 participant 1 message Dec 22, 2010 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

chris

author
#1 lore raw

these are the first things i tried and they made no difference.

Quoted 162 lines · Mark Pryor

Chris,

Give dom0 some reasonable amount of RAM, and leave the rest for domU's
---------
on xen.gz line in grub add on end
kernel xen.gz placeholder dom0_mem=768M ; grub2 prefix might be different

Bios
-----
turn-off hyper-threading in bios
Enable HPET and set your arch (x86_64?)

dom0 config
--------
turn off save/restore in /etc/default/xendomains ; at least until things work right

domU
----
remove cpu=1
give more RAM 256->512   ; until things work

Quoted 134 lines · chris

From: chris <[email protected]>
Subject: Re: [Xen-users] issue moving guest from 3.2 to 4.01
To: "Mark Pryor" <[email protected]>
Cc: [email protected]
Date: Wednesday, December 22, 2010, 12:39 PM

# grep '^(' /etc/xen/xend-config.sxp
(vif-script vif-bridge)
(dom0-min-mem 196)
(enable-dom0-ballooning yes)
(total_available_memory 0)
(dom0-cpus 0)
(vnc-listen '0.0.0.0')
# xm info
host
   : mango
release
  : 2.6.32-5-xen-amd64
version
  : #1 SMP Fri Dec 10 17:41:50 UTC 2010
machine
  : x86_64
nr_cpus
  : 8
nr_nodes
   : 1
cores_per_socket       : 4
threads_per_core       : 2
cpu_mhz
  : 2800
hw_caps
  :
bfebfbff:28100800:00000000:00001b40:0098e3fd:00000000:00000001:00000000
virt_caps              :
hvm
total_memory           :
4087
free_memory            : 256
node_to_cpu            :
node0:0-7
node_to_memory         :
node0:256
node_to_dma32_mem      : node0:173
max_node_id            : 0
xen_major              :
4
xen_minor              :
0
xen_extra              :
.1
xen_caps
   : xen-3.0-x86_64 xen-3.0-x86_32p
hvm-3.0-x86_32
hvm-3.0-x86_32p hvm-3.0-x86_64
xen_scheduler          : credit
xen_pagesize           :
4096
platform_params        :
virt_start=0xffff800000000000
xen_changeset          :
unavailable
xen_commandline        : placeholder
cc_compiler            : gcc
version 4.4.5 20100824 (prerelease)
(Debian 4.4.4-11)
cc_compile_by          : waldi
cc_compile_domain      : debian.org
cc_compile_date        : Fri Sep
3 15:38:12 UTC 2010
xend_config_format     : 4

From the guest filesystem loop mounted at /mnt/tmp:

/mnt/tmp/lib/modules# ls
2.6.26-2-xen-amd64

I could try copying the modules for the newer domU kernel but would
that really cause an error that early on? I mean the kernel isn't even
starting so I don't think the modules are whats causing this.

Quoted 3 lines · Mark Pryor

--- On Wed, 12/22/10, chris <[email protected]>

Quoted 3 lines · wrote:
Quoted 3 lines

From: chris <[email protected]>
Subject: [Xen-users] issue moving guest from 3.2

to 4.01

Quoted 1 line
Quoted 1 line

To: "Xen-Users List" <[email protected]>,

"Xen-Devel List" <[email protected]>

Quoted 4 lines
Quoted 4 lines

Date: Wednesday, December 22, 2010, 10:59 AM
Hello,

I have a pv linux guest which works perfectly on

3.2 and

Quoted 2 lines
Quoted 2 lines

when I moved
the guest to the new server (debian squeeze, xen

4.0.1) I

Quoted 6 lines
Quoted 6 lines

cannot start
it, I get the following error:

# xm create vm-customer.cfg
Using config file "./vm-customer.cfg".
Error: (1, 'Internal error', 'launch_vm:

SETVCPUCONTEXT

Quoted 4 lines
Quoted 2 lines

failed (rc=-1)\n')

this looks to be a problem with dom0 config, not

domU.

Quoted 4 lines

It's easier to help if you post:

#grep '^(' /etc/xen/xend-config.sxp ;    (dom0-cpus

0) is a safe value

Quoted 5 lines

#xm info

in domU
#ls -al /lib/modules/   ; chances are the modules are

not compatible with dom0 kernel

Quoted 7 lines

--
Mark