WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

RE: [Xen-users] Ubuntu feisty dom0 and centos 5.1 domU problems

To: "William Heath" <wgheath@xxxxxxxxx>, <xen-users@xxxxxxxxxxxxxxxxxxx>, <michael.judd@xxxxxxxxxxxxx>
Subject: RE: [Xen-users] Ubuntu feisty dom0 and centos 5.1 domU problems
From: "Tait Clarridge" <Tait.Clarridge@xxxxxxxxxxxx>
Date: Wed, 2 Apr 2008 10:50:02 -0400
Delivery-date: Wed, 02 Apr 2008 07:51:16 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <f08ddf990804010122l419622c4hf11950384377a652@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AciT0Y16TwgTe86tSc+K0g1Sn/QhRAA/yg4g
Thread-topic: [Xen-users] Ubuntu feisty dom0 and centos 5.1 domU problems
Hi William,

What might help is moving /lib/tls to /lib/tls.disabled

I have read that this might prevent some problems. Give it a go and let me know 
if it helps.

Cheers,
Tait Clarridge

From: xen-users-bounces@xxxxxxxxxxxxxxxxxxx 
[mailto:xen-users-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of William Heath
Sent: Tuesday, April 01, 2008 4:22 AM
To: xen-users@xxxxxxxxxxxxxxxxxxx; michael.judd@xxxxxxxxxxxxx
Subject: [Xen-users] Ubuntu feisty dom0 and centos 5.1 domU problems

Hi All,

I managed to get centos 5.1 to install via the quickstart approach described 
here:

http://wiki.centos.org/HowTos/Xen/InstallingCentOSDomU

I then followed the post install instructions and have the following config 
file:

cat xen501
#kernel = "/boot/vmlinuz-xen-install"
#ramdisk = "/boot/initrd-xen-install"
#extra = "text ks=http://192.168.0.124/minimal-ks.cfg";
name = "xen501"
memory = "128"
disk = [ 'tap:aio:/data/vm/xen501.img,xvda,w', ]
vif = [ 'bridge=xenbr0', ]
bootloader="/usr/bin/pygrub"
vcpus=1
on_reboot = 'destroy'
on_crash = 'destroy'

I then did xm create xen501  and saw this:

Using config file "xen501".
*** glibc detected *** /usr/bin/python: double free or corruption (out): 
0xb7d25100 ***
======= Backtrace: =========
/lib/tls/i686/nosegneg/libc.so.6[0xb7e0f34d]
/lib/tls/i686/nosegneg/libc.so.6(cfree+0x90)[0xb7e12a00]
/usr/lib/python2.5/site-packages/grub/fsys/ext2/_pyext2.so[0xb7cb90c1]
/usr/bin/python(PyEval_EvalCodeEx+0x313)[0x80c9903]
/usr/bin/python(PyEval_EvalFrameEx+0x53f9)[0x80c8229]
/usr/bin/python(PyEval_EvalCodeEx+0x775)[0x80c9d65]
/usr/bin/python[0x8111fc1]
/usr/bin/python(PyObject_Call+0x27)[0x805c787]
/usr/bin/python[0x80628e4]
/usr/bin/python(PyObject_Call+0x27)[0x805c787]
/usr/bin/python(PyEval_CallObjectWithKeywords+0x6c)[0x80c1f7c]
/usr/bin/python(PyInstance_New+0x71)[0x8066031]
/usr/bin/python(PyObject_Call+0x27)[0x805c787]
/usr/bin/python(PyEval_EvalFrameEx+0x2031)[0x80c4e61]
/usr/bin/python(PyEval_EvalCodeEx+0x775)[0x80c9d65]
/usr/bin/python(PyEval_EvalCode+0x57)[0x80c9dd7]
/usr/bin/python(PyRun_FileExFlags+0xf8)[0x80e91d8]
/usr/bin/python(PyRun_SimpleFileExFlags+0x187)[0x80e9467]
/usr/bin/python(Py_Main+0x9c0)[0x8059330]
/usr/bin/python(main+0x22)[0x8058862]
/lib/tls/i686/nosegneg/libc.so.6(__libc_start_main+0xdc)[0xb7dbcebc]
/usr/bin/python[0x80587b1]
======= Memory map: ========
08048000-0813f000 r-xp 00000000 03:01 2115535    /usr/bin/python2.5
0813f000-08164000 rw-p 000f6000 03:01 2115535    /usr/bin/python2.5
08164000-08269000 rw-p 08164000 00:00 0          [heap]
b7b00000-b7b21000 rw-p b7b00000 00:00 0 
b7b21000-b7c00000 ---p b7b21000 00:00 0 
b7c2b000-b7c44000 r-xp 00000000 03:01 2359312    /lib/libext2fs.so.2.4
b7c44000-b7c45000 rw-p 00019000 03:01 2359312    /lib/libext2fs.so.2.4
b7c59000-b7c9e000 r-xp 00000000 03:01 2359529    /lib/libncursesw.so.5.5
b7c9e000-b7ca6000 rw-p 00045000 03:01 2359529    /lib/libncursesw.so.5.5
b7ca6000-b7ca7000 rw-p b7ca6000 00:00 0 
b7ca9000-b7cb4000 r-xp 00000000 03:01 2359360    /lib/libgcc_s.so.1
b7cb4000-b7cb5000 rw-p 0000a000 03:01 2359360    /lib/libgcc_s.so.1
b7cb5000-b7cb7000 r-xp 00000000 03:01 2359357    /lib/libcom_err.so.2.1
b7cb7000-b7cb8000 rw-p 00001000 03:01 2359357    /lib/libcom_err.so.2.1
b7cb8000-b7cba000 r-xp 00000000 03:01 2790229    
/usr/lib/python2.5/site-packages/grub/fsys/ext2/_pyext2.so
b7cba000-b7cbb000 rw-p 00001000 03:01 2790229    
/usr/lib/python2.5/site-packages/grub/fsys/ext2/_pyext2.so
b7cbb000-b7cca000 r-xp 00000000 03:01 2131070    
/usr/lib/python2.5/lib-dynload/_curses.so
b7cca000-b7ccb000 rw-p 0000f000 03:01 2131070    
/usr/lib/python2.5/lib-dynload/_curses.so
b7ccb000-b7ccf000 r-xp 00000000 03:01 2131043    
/usr/lib/python2.5/lib-dynload/collections.so
b7ccf000-b7cd0000 rw-p 00004000 03:01 2131043    
/usr/lib/python2.5/lib-dynload/collections.so
b7cd0000-b7cd3000 r-xp 00000000 03:01 2130051    
/usr/lib/python2.5/lib-dynload/cStringIO.so
b7cd3000-b7cd4000 rw-p 00003000 03:01 2130051    
/usr/lib/python2.5/lib-dynload/cStringIO.so
b7cd4000-b7cd7000 r-xp 00000000 03:01 2131687    
/usr/lib/python2.5/lib-dynload/time.so
b7cd7000-b7cd9000 rw-p 00002000 03:01 2131687    
/usr/lib/python2.5/lib-dynload/time.so
b7cd9000-b7cdb000 r-xp 00000000 03:01 2131679    
/usr/lib/python2.5/lib-dynload/fcntl.so
b7cdb000-b7cdc000 rw-p 00002000 03:01 2131679    
/usr/lib/python2.5/lib-dynload/fcntl.so
b7cdc000-b7ce0000 r-xp 00000000 03:01 2131685    
/usr/lib/python2.5/lib-dynload/strop.so
b7ce0000-b7ce2000 rw-p 00003000 03:01 2131685    
/usr/lib/python2.5/lib-dynload/strop.so
b7ce2000-b7ce9000 r--s 00000000 03:01 2115749    
/usr/lib/gconv/gconv-modules.cache
b7ce9000-b7d24000 r--p 00000000 03:01 2162690    
/usr/lib/locale/en_US.utf8/LC_CTYPE
b7d24000-b7da7000 rw-p b7d24000 00:00 0 
b7da7000-b7ee5000 r-xp 00000000 03:01 2362984    
/lib/tls/i686/nosegneg/libc-2.5.so
b7ee5000-b7ee6000 r--p 0013e000 03:01 2362984    
/lib/tls/i686/nosegneg/libc-2.5.so
b7ee6000-b7ee8000 rw-p 0013f000 03:01 2362984    
/lib/tls/i686/nosegneg/libc-2.5.so
b7ee8000-b7eeb000 rw-p b7ee8000 00:00 0 
b7eeb000-b7f10000 r-xp 00000000 03:01 2362988    
/lib/tls/i686/nosegneg/libm-2.5.so
b7f10000-b7f12000 rw-p 00024000 03:01 2362988    
/lib/tls/i686/nosegneg/libm-2.5.so
b7f12000-b7f14000 r-xp 00000000 03:01 2363003    
/lib/tls/i686/nosegneg/libutil-2.5.so
b7f14000-b7f16000 rw-p 00001000 03:01 2363003    
/lib/tls/i686/nosegneg/libutil-2.5.so
b7f16000-b7f17000 rw-p b7f16000 00:00 0 
b7f17000-b7f19000 r-xp 00000000 03:01 2362987    
/lib/tls/i686/nosegneg/libdl-2.5.so
b7f19000-b7f1b000 rw-p 00001000 03:01 2362987    
/lib/tls/i686/nosegneg/libdl-2.5.so
b7f1b000-b7f2f000 r-xp 00000000 03:01 2362998    
/lib/tls/i686/nosegneg/libpthread-2.5.so
b7f2f000-b7f31000 rw-p 00013000 03:01 2362998    
/lib/tls/i686/nosegneg/libpthread-2.5.so
b7f31000-b7f33000 rw-p b7f31000 00:00 0 
b7f35000-b7f37000 r-xp 00000000 03:01 2130047    
/usr/lib/python2.5/lib-dynload/_random.so
b7f37000-b7f38000 rw-p 00002000 03:01 2130047    
/usr/lib/python2.5/lib-dynload/_random.so
b7f38000-b7f3c000 r-xp 00000000 03:01 2131678    
/usr/lib/python2.5/lib-dynload/binascii.so
b7f3c000-b7f3d000 rw-p 00003000 03:01 2131678    
/usr/lib/python2.5/lib-dynload/binascii.so
b7f3d000-b7f40000 r-xp 00000000 03:01 2131682    
/usr/lib/python2.5/lib-dynload/math.so
b7f40000-b7f41000 rw-p 00002000 03:01 2131682    
/usr/lib/python2.5/lib-dynload/math.so
b7f41000-b7f46000 r-xp 00000000 03:01 2130050    
/usr/lib/python2.5/lib-dynload/_struct.so
b7f46000-b7f47000 rw-p 00005000 03:01 2130050    
/usr/lib/python2.5/lib-dynload/_struct.so
b7f47000-b7f49000 rw-p b7f47000 00:00 0 
b7f49000-b7f4a000 r-xp b7f49000 00:00 0          [vdso]
b7f4a000-b7f63000 r-xp 00000000 03:01 2359309    /lib/ld-2.5.so
b7f63000-b7f65000 rw-p 00019000 03:01 2359309    /lib/ld-2.5.so
bfc47000-bfc5d000 rw-p bfc47000 00:00 0          [stack]
No handlers could be found for logger "xend"
Error: Boot loader didn't return any data!
Usage: xm create <ConfigFile> [options] [vars]

Create a domain based on <ConfigFile>.

Options:

-h, --help           Print this help.
--help_config        Print the available configuration variables (vars)
                     for the configuration script.
-q, --quiet          Quiet.
--path=PATH          Search path for configuration scripts. The value of
                     PATH is a colon-separated directory list.
-f=FILE, --defconfig=FILE
                     Use the given Python configuration script.The
                     configuration script is loaded after arguments have
                     been processed. Each command-line option sets a
                     configuration variable named after its long option
                     name, and these variables are placed in the
                     environment of the script before it is loaded.
                     Variables for options that may be repeated have list
                     values. Other variables can be set using VAR=VAL on
                     the command line. After the script is loaded, option
                     values that were not set on the command line are
                     replaced by the values set in the script.
-F=FILE, --config=FILE
                     Domain configuration to use (SXP).
                     SXP is the underlying configuration format used by
                     Xen.
                     SXP configurations can be hand-written or generated
                     from Python configuration scripts, using the -n
                     (dryrun) option to print the configuration.
-n, --dryrun         Dry run - prints the resulting configuration in SXP
                     but does not create the domain.
-p, --paused         Leave the domain paused after it is created.
-c, --console_autoconnect
                     Connect to the console after the domain is created.




_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users