Skip to contentSkip to conversation

problems with xm create

DISCUSSION Tim Newsham 2 participants 2 messages Jun 24, 2005

lore
Share & tools
lore
#0 lore raw

Hi,
I am having problems getting a domain to start using "xm create". I am
running unstable, I pulled today and rebuilt, installed and rebooted. (I also have a few loader patches, posted earlier).

I am able to start a domain using VM Tools and the following script:
dom=vm-create
vm-memory -m $dom 64m
vm-memory -i $dom 64m
vm-build.linux $dom /root/9hello noargs
vm-pause -u $dom

I'm using the following config file in /etc/xen/hello:
name = 'Hello'
kernel = '/root/9hello'
memory = 64
extra='''cmdline'''

Running "xm create hello" gives:
Using config file "/etc/xen/hello".
Error: Error creating domain: (12, 'Cannot allocate memory')

  # xm list
  Name              Id  Mem(MB)  CPU VCPU(s)  State  Time(s)  Console
  Domain-0           0      123    0      1   r----     91.1
  Domain-7           7       51    0      1   --p--      0.0

There is no useful diagnostic information in /var/log/xend*. Where should I be looking? Is there a useful way to trace and debug xend?

Tim Newsham
http://www.lava.net/~newsham/

#1 lore raw
Quoted 2 lines · Tim Newsham

I am having problems getting a domain to start using "xm create".
I am running unstable, I pulled today and rebuilt, installed and rebooted. (I also have a few loader patches, posted earlier).

Are your installed tools and Xen version in sync? Some structs got rearranged by recent checkins but didn't bump the interface version number. :-(

-- Keir