Mailing List Archive

[Bug 1761] New: [xl]Fail to create multi-guests with NIC assigned
http://bugzilla.xensource.com/bugzilla/show_bug.cgi?id=1761

Summary: [xl]Fail to create multi-guests with NIC assigned
Product: Xen
Version: unstable
Platform: x86-64
OS/Version: Windows
Status: NEW
Severity: critical
Priority: P1
Component: Tools
AssignedTo: xen-bugs@lists.xensource.com
ReportedBy: yang.z.zhang@intel.com


Environment:
------------
Service Arch (ia32/ia32e/IA64): ia32e
Guest Arch (ia32/ia32e/IA64): is32e
Guest OS Type (Linux/Windows):Linux
Change Set: 23108
Hardware:Sandy bridget and Westmere-EP

Other:
xen-changeset: 23108:45eeeb6d0481
xen-date: Tue Mar 29 16:34:01 2011 +0100

pvops git:
commit bb1a15e55ec665a64c8a9c6bd699b1f16ac01ff4
Merge: df3a556... bd51e05...
Author: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Date: Tue Mar 29 15:17:46 2011 -0700

ioemu git:
commit e073e69457b4d99b6da0b6536296e3498f7f6599
Author: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Date: Fri Feb 11 17:54:51 2011 +0000




Bug detailed description:
--------------------------
I try to boot more than 10 guests and each guest with a VF assigned. I found it
always show erros when booting the 3rd/4th guest, but guest still create
successfully. After guest boot up, there have no VF in guest. It works fine
with xm.

Reproduce steps:
----------------
1.Prepare config file
2.Create the guest with one NIC assigned continuously.
3.We seen error information when created the third guest and guest showed white
screen.

Current result:
----------------
Fail to create guest

Expected result:
----------------
Create guest successfully

Basic root-causing log:
----------------------------- Comment #1 From linyou.cong@intel.com 2011-04-11
17:11:59 (-) [reply] ------- Created an attachment (id=1143)
--> (http://bugzilla.xensource.com/bugzilla/attachment.cgi?id=1143&action=view) [details]
config_file.log------- Comment #2 From linyou.cong@intel.com 2011-04-11
17:12:45 (-) [reply] ------- Created an attachment (id=1144)
--> (http://bugzilla.xensource.com/bugzilla/attachment.cgi?id=1144&action=view) [details]
dmesg.log------- Comment #3 From linyou.cong@intel.com 2011-04-11 17:13:19 (-)
[reply] ------- Created an attachment (id=1145)
--> (http://bugzilla.xensource.com/bugzilla/attachment.cgi?id=1145&action=view) [details]
qemu.log------- Comment #4 From linyou.cong@intel.com 2011-04-11 17:13:45 (-)
[reply] ------- Created an attachment (id=1146)
--> (http://bugzilla.xensource.com/bugzilla/attachment.cgi?id=1146&action=view) [details]
xl_dmesg.log------- Comment #5 From linyou.cong@intel.com 2011-04-11 17:57:05
(-) [reply] ------- Sorry, It Should be created the guest with one NIC(vf NIC ,
pci or
pcie NIC) assigned continuously in the "bug detailed description",rather than
"vif NIC". It was my fault for writing.


For this issue, sometimes I found that it showed different error information
from the attachment "error.log" as following:
[root@vt-nhm7 ~]# xl cr xmexample.hvm
Parsing config file xmexample.hvm
xc: info: VIRTUAL MEMORY ARRANGEMENT:
Loader: 0000000000100000->0000000000179710
TOTAL: 0000000000000000->000000001f800000
ENTRY ADDRESS: 0000000000100000
xc: info: PHYSICAL MEMORY ALLOCATION:
4KB PAGES: 0x0000000000000200
2MB PAGES: 0x00000000000000fb
1GB PAGES: 0x0000000000000000
*** glibc detected *** xl: malloc(): memory corruption (fast):
0x0000000001327760 ***
======= Backtrace: =========
/lib64/libc.so.6[0x36cc8739ac]
/lib64/libc.so.6(__libc_malloc+0x6e)[0x36cc874cde]
/usr/lib64/libxenstore.so.3.0[0x3a3aa024cf]
/usr/lib64/libxenstore.so.3.0[0x3a3aa02967]
/usr/lib64/libxenstore.so.3.0[0x3a3aa0310f]
/usr/lib64/libxenstore.so.3.0(xs_read+0x14)[0x3a3aa0343b]
/usr/lib64/libxenlight.so.1.0[0x3a3b61919d]
/usr/lib64/libxenlight.so.1.0[0x3a3b613aee]
/usr/lib64/libxenlight.so.1.0[0x3a3b61492a]
/usr/lib64/libxenlight.so.1.0[0x3a3b61104d]
/usr/lib64/libxenlight.so.1.0(libxl_domain_create_new+0x35)[0x3a3b6111e9]
xl[0x40954c]
xl[0x40e553]
xl[0x404e37]
/lib64/libc.so.6(__libc_start_main+0xf4)[0x36cc81d994]
xl[0x404a19]
======= Memory map: ========
00400000-0041a000 r-xp 00000000 08:02 4200933
/usr/sbin/xl
0061a000-0061d000 rw-p 0001a000 08:02 4200933
/usr/sbin/xl
01321000-01326000 rw-p 00000000 00:00 0 [heap]
01326000-01327000 rw-p 00000000 00:00 0 [heap]
01327000-01328000 rw-p 00000000 00:00 0 [heap]
01328000-01329000 rw-p 00000000 00:00 0 [heap]
01329000-01348000 rw-p 00000000 00:00 0 [heap]
41d8f000-41d90000 ---p 00000000 00:00 0
41d90000-42590000 rw-p 00000000 00:00 0
36cb800000-36cb81c000 r-xp 00000000 08:02 11818018
/lib64/ld-2.5.so
36cba1b000-36cba1c000 r--p 0001b000 08:02 11818018
/lib64/ld-2.5.so
36cba1c000-36cba1d000 rw-p 0001c000 08:02 11818018
/lib64/ld-2.5.so
36cc800000-36cc94e000 r-xp 00000000 08:02 11818019
/lib64/libc-2.5.so
36cc94e000-36ccb4d000 ---p 0014e000 08:02 11818019
/lib64/libc-2.5.so
36ccb4d000-36ccb51000 r--p 0014d000 08:02 11818019
/lib64/libc-2.5.so
36ccb51000-36ccb52000 rw-p 00151000 08:02 11818019
/lib64/libc-2.5.so
36ccb52000-36ccb57000 rw-p 00000000 00:00 0
36ccc00000-36ccc02000 r-xp 00000000 08:02 11818021
/lib64/libdl-2.5.so
36ccc02000-36cce02000 ---p 00002000 08:02 11818021
/lib64/libdl-2.5.so
36cce02000-36cce03000 r--p 00002000 08:02 11818021
/lib64/libdl-2.5.so
36cce03000-36cce04000 rw-p 00003000 08:02 11818021
/lib64/libdl-2.5.so
36cd400000-36cd416000 r-xp 00000000 08:02 11818022
/lib64/libpthread-2.5.so
36cd416000-36cd615000 ---p 00016000 08:02 11818022
/lib64/libpthread-2.5.so
36cd615000-36cd616000 r--p 00015000 08:02 11818022
/lib64/libpthread-2.5.so
36cd616000-36cd617000 rw-p 00016000 08:02 11818022
/lib64/libpthread-2.5.so
36cd617000-36cd61b000 rw-p 00000000 00:00 0
36cd800000-36cd814000 r-xp 00000000 08:02 4198180
/usr/lib64/libz.so.1.2.3
36cd814000-36cda13000 ---p 00014000 08:02 4198180
/usr/lib64/libz.so.1.2.3
36cda13000-36cda14000 rw-p 00013000 08:02 4198180
/usr/lib64/libz.so.1.2.3
36d8600000-36d8603000 r-xp 00000000 08:02 11818020
/lib64/libuuid.so.1.2
36d8603000-36d8803000 ---p 00003000 08:02 11818020
/lib64/libuuid.so.1.2
36d8803000-36d8804000 rw-p 00003000 08:02 11818020
/lib64/libuuid.so.1.2
36d9a00000-36d9a02000 r-xp 00000000 08:02 11818043
/lib64/libutil-2.5.so
36d9a02000-36d9c01000 ---p 00002000 08:02 11818043
/lib64/libutil-2.5.so
36d9c01000-36d9c02000 r--p 00001000 08:02 11818043
/lib64/libutil-2.5.so
36d9c02000-36d9c03000 rw-p 00002000 08:02 11818043
/lib64/libutil-2.5.so
36db600000-36db60f000 r-xp 00000000 08:02 4220784
/usr/lib64/libbz2.so.1.0.3
36db60f000-36db80e000 ---p 0000f000 08:02 4220784
/usr/lib64/libbz2.so.1.0.3
36db80e000-36db810000 rw-p 0000e000 08:02 4220784
/usr/lib64/libbz2.so.1.0.3
3a3a600000-3a3a620000 r-xp 00000000 08:02 4204778
/usr/lib64/libxenctrl.so.4.0.0
3a3a620000-3a3a81f000 ---p 00020000 08:02 4204778
/usr/lib64/libxenctrl.so.4.0.0
3a3a81f000-3a3a820000 rw-p 0001f000 08:02 4204778
/usr/lib64/libxenctrl.so.4.0.0
3a3aa00000-3a3aa05000 r-xp 00000000 08:02 4200205
/usr/lib64/libxenstore.so.3.0.0
3a3aa05000-3a3ac04000 ---p 00005000 08:02 4200205
/usr/lib64/libxenstore.so.3.0.0
3a3ac04000-3a3ac05000 rw-p 00004000 08:02 4200205
/usr/lib64/libxenstore.so.3.0.0
3a3ac05000-3a3ac08000 rw-p 00000000 00:00 0
3a3ae00000-3a3ae25000 r-xp 00000000 08:02 4204780
/usr/lib64/libxenguest.so.4.0.0
3a3ae25000-3a3b025000 ---p 00025000 08:02 4204780
/usr/lib64/libxenguest.so.4.0.0
3a3b025000-3a3b027000 rw-p 00025000 08:02 4204780
/usr/lib64/libxenguest.so.4.0.0
3a3b200000-3a3b206000 r-xp 00000000 08:02 4204787
/usr/lib64/libblktapctl.so.1.0.0
3a3b206000-3a3b406000 ---p 00006000 08:02 4204787
/usr/lib64/libblktapctl.so.1.0.0
3a3b406000-3a3b407000 rw-p 00006000 08:02 4204787
/usr/lib64/libblktapctl.so.1.0.0
3a3b600000-3a3b627000 r-xp 00000000 08:02 4199518
/usr/lib64/libxenlight.so.1.0.0
3a3b627000-3a3b827000 ---p 00027000 08:02 4199518
/usr/lib64/libxenlight.so.1.0.0
3a3b827000-3a3b828000 rw-p 00027000 08:02 4199518
/usr/lib64/libxenlight.so.1.0.0
3a3ba00000-3a3ba07000 r-xp 00000000 08:02 4201309
/usr/lib64/libxlutil.so.1.0.0
3a3ba07000-3a3bc07000 ---p 00007000 08:02 4201309
/usr/lib64/libxlutil.so.1.0.0
3a3bc07000-3a3bc08000 rw-p 00007000 08:02 4201309
/usr/lib64/libxlutil.so.1.0.0
7fa7cd2d2000-7fa7cd2df000 r-xp 00000000 08:02 11818036
/lib64/libgcc_s-4.1.2-20080825.so.1
7fa7cd2df000-7fa7cd4df000 ---p 0000d000 08:02 11818036
/lib64/libgcc_s-4.1.2-20080825.so.1
7fa7cd4df000-7fa7cd4e0000 rw-p 0000d000 08:02 11818036
/lib64/libgcc_s-4.1.2-20080825.so.1
7fa7cd4fd000-7fa7cd503000 rw-p 00000000 00:00 0 Aborted


--
Configure bugmail: http://bugzilla.xensource.com/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

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