Error: (22, 'Invalid argument') XEN

Discussion in 'HOWTO-Related Questions' started by namit, May 21, 2007.

  1. namit

    namit New Member

    in relation to
    http://www.howtoforge.com/xen_3.0_ubuntu_dapper_drake?from=10&comments_per_page=10
    section 3.2

    I can boot up into the master (think you also call this dom) xen image.

    So everything working so far. The only difference i had to make to configs was that am using vmlinux-2.6.18.

    command i am running:
    cat /etc/xen/baseimage
    cat /var/log/xen/xen.log
    cat /boot/grub/menu.list
    Thanks
     
  2. namit

    namit New Member

    anyone anyone at all?
     
  3. falko

    falko Super Moderator ISPConfig Developer

  4. namit

    namit New Member

    yes tried that but still same problem

    This is what i wrote to xen team but no response yet.

    Hey all

    i have created a basefile and am doing xm create -c /etc/xen/baseimage and getting this error Error: (22, 'Invalid argument'). Been told it might be to do with kernel version but not sure what version i have or what to use or what version is loading or how to test this?

    I went by this tutorial
    http://www.howtoforge.com/xen_3.0_ubuntu_dapper_drake
    Just changing versions that where there.
    and bit of this
    http://www.howtoforge.com/debian_sarge_xen_3.0.3_p4

    can anyone help me?

    Base image file:
    # -*- mode: python; -*-
    kernel = "/boot/vmlinuz-2.6"
    ramdisk = "/boot/initrd.img-2.6.18-xen"
    memory = 128
    name = "baseimage"
    vif = ['bridge=xenbr0']
    disk = ['file:/xen-images/guest_base.img,hda1,w','file:/xen-images/guest_base-swap.img,hdb1,w']
    hostname = "baseimage"
    root = "/dev/hda1"
    extra = "4"

    [email protected]:~$ ls /boot/
    -rw-r--r-- 1 root root 414210 2007-04-15 09:07 abi-2.6.20-15-generic
    -rw-r--r-- 1 root root 414274 2007-05-23 03:24 abi-2.6.20-16-generic
    -rw-rw-r-- 1 root root 65725 2007-05-18 16:11 config-2.6.18-xen
    -rw-r--r-- 1 root root 83234 2007-04-15 06:33 config-2.6.20-15-generic
    -rw-r--r-- 1 root root 83217 2007-05-23 00:43 config-2.6.20-16-generic
    drwxr-xr-x 2 root root 4096 2007-05-28 21:07 grub
    -rw-r--r-- 1 root root 6028814 2007-05-20 18:11 initrd.img-2.6.18-xen
    -rw-r--r-- 1 root root 7179709 2007-04-28 13:13 initrd.img-2.6.20-15-generic
    -rw-r--r-- 1 root root 6842512 2007-04-15 12:56 initrd.img-2.6.20-15-generic.bak
    -rw-r--r-- 1 root root 6949019 2007-05-28 21:07 initrd.img-2.6.20-16-generic
    -rw-r--r-- 1 root root 94600 2006-10-20 12:44 memtest86+.bin
    -rw-rw-r-- 1 root root 789852 2007-05-18 16:11 System.map-2.6.18-xen
    -rw-r--r-- 1 root root 806942 2007-04-15 09:08 System.map-2.6.20-15-generic
    -rw-r--r-- 1 root root 806970 2007-05-23 03:26 System.map-2.6.20-16-generic
    -rw-r--r-- 1 root root 4193863 2007-05-18 16:11 vmlinux-syms-2.6.18-xen
    -rw-r--r-- 1 root root 1509667 2007-05-18 16:11 vmlinuz-2.6.18-xen
    -rw-r--r-- 1 root root 1745100 2007-04-15 09:07 vmlinuz-2.6.20-15-generic
    -rw-r--r-- 1 root root 1745836 2007-05-23 03:24 vmlinuz-2.6.20-16-generic
    lrwxrwxrwx 1 root root 18 2007-05-20 18:00 vmlinuz-2.6-xen -> vmlinuz-2.6.18-xen
    -rw-r--r-- 1 root root 240567 2007-03-24 16:03 xen-3.0-i386.gz
    -rw-r--r-- 1 root root 291304 2007-05-18 15:54 xen-3.1.0.gz
    lrwxrwxrwx 1 root root 12 2007-05-20 18:00 xen-3.1.gz -> xen-3.1.0.gz
    lrwxrwxrwx 1 root root 12 2007-05-20 18:00 xen-3.gz -> xen-3.1.0.gz
    lrwxrwxrwx 1 root root 12 2007-05-20 18:00 xen.gz -> xen-3.1.0.gz
    -rw-r--r-- 1 root root 3460518 2007-05-18 15:54 xen-syms-3.1.0



    [email protected]:~$ sudo xm list
    Password:
    Name ID Mem(MiB) VCPUs State Time(s)
    Domain-0 0 224 1 r----- 1761.2
     
  5. rajuyogesh

    rajuyogesh New Member

    Even I am getting the same error,
    Error: (22, 'Invalid argument')

    and the xend.log file also contains a similar log message.

    I dont think there is any problem with the configuration file, as I was able to start a guest domain with a similar config file in another Fedora machine.
     

Share This Page