[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-users] Xen 4.4 - Error passing more than 4 bridges to a guest


  • To: xen-users@xxxxxxxxxxxxx
  • From: Bill Gercken <bgercken@xxxxxxxxx>
  • Date: Wed, 19 Nov 2014 20:14:33 -0500
  • Delivery-date: Thu, 20 Nov 2014 01:15:58 +0000
  • List-id: Xen user discussion <xen-users.lists.xen.org>

Thanks Mark.Â

I appreciate the tip. I had not checked out 4.5 yet.Â

-bill

On Wed, Nov 19, 2014 at 2:01 PM, Mark Pryor <tlviewer@xxxxxxxxx> wrote:
Hello,
I noticed a few things about your xen build:
>xen_majorÂÂÂÂÂÂÂÂÂÂÂÂÂ : 4
>xen_minorÂÂÂÂÂÂÂÂÂÂÂÂÂ : 4
>xen_extraÂÂÂÂÂÂÂÂÂÂÂÂÂ : .2-pre
>xen_versionÂÂÂÂÂÂÂÂÂÂÂ : 4.4.2-pre

that xen version has no support for systemd. Nor does it have a target to make an RPM. Move to 4.5
and you will have both of those. Since you are on rhel7 this might help, especially if you want to separate the build environment from the dom0.


On Tuesday, November 18, 2014 2:34 PM, Bill Gercken <bgercken@xxxxxxxxx> wrote:


Hello,
Â
I have an issue where passing more than 4 bridges to a guest causes guest startup to fail due to memory issues.
Â
The same guest configuration will start fine with 4 bridges passed.Â
Â
I have researched this quite a bit and have not found the solution. Any help is greatly appreciated.
Â
The error message that I am seeing is as follows.
Â
Thanks.
-bill
Â
ÂError Message:
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
[root@rhel7xen xen]# xl create rhel-vm5.hvm
Parsing config from rhel-vm5.hvm
libxl: error: libxl_dm.c:1371:device_model_spawn_outcome: domain 2 device model: spawn failed (rc=-3)
libxl: error: libxl_create.c:1186:domcreate_devmodel_started: device model did not start: -3
libxl: error: libxl_dm.c:1475:kill_device_model: Device Model already exited
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

Relevant info from xl dmesg:
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
(XEN) page_alloc.c:1468:d0 Over-allocation for domain 2: 1048833 > 1048832
(XEN) memory.c:158:d0 Could not allocate order=0 extent: id=2 memflags=0 (8 of 64)
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

Guest config file (rhel-vm5.hvm):
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
builder = "hvm"
memory = 4096
#maxmem = 512
vcpus = 1
name = "rhvm5-dev"
#vif = [ 'bridge=xenbr0' ]
vif = [
ÂÂÂÂÂÂÂ 'bridge=xenbr1',
ÂÂÂÂÂÂÂ 'bridge=xenbr2',
ÂÂÂÂÂÂÂ 'bridge=xenbr3',
ÂÂÂÂÂÂÂ 'bridge=xenbr4',
ÂÂÂÂÂÂÂ 'bridge=xenbr5',
ÂÂÂÂÂÂÂ 'bridge=xenbr6',
ÂÂÂÂÂÂÂ 'bridge=xenbr7'
ÂÂÂÂÂ ]
boot="c"
disk = [
ÂÂÂÂÂÂÂ '/dev/mapper/vg3-RHVM5_24G,,hda',
ÂÂÂÂÂÂÂ '/isos/rhel-server-6.5-x86_64-dvd.iso,,hdc:cdrom'
ÂÂÂÂÂÂÂ ]
serial='pty'
sdl=0
vnc=1
vnclisten="0.0.0.0"
vncpasswd="a"
usbdevice='tablet'
stdvga=1
monitor=1
# Support Physical Address Extension (enable for 64bit guest OS)
pae=1
# Advanced Configuration and Power Interface (default)
acpi=1
# Advanced programmable interrupt controller (default)
apic=1
# Enable or disbale xen platform pci
#ÂÂ - if you set this to zero it disables the PV driver (vif) and
#ÂÂ uses driver emulation.
xen_platform_pci=1
# Time Stamp Counter
tsc_mode="default"
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Â
[root@rhel7xen xen]# xl info -n
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
hostÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ : rhel7xen
releaseÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ : 3.10.51
versionÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ : #1 SMP Tue Aug 5 13:01:33 EDT 2014
machineÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ : x86_64
nr_cpusÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ : 12
max_cpu_idÂÂÂÂÂÂÂÂÂÂÂÂ : 11
nr_nodesÂÂÂÂÂÂÂÂÂÂÂÂÂÂ : 1
cores_per_socketÂÂÂÂÂÂ : 6
threads_per_coreÂÂÂÂÂÂ : 2
cpu_mhzÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ : 2300
hw_capsÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ : bfebfbff:2c100800:00000000:00003f00:17bee3ff:00000000:00000001:00000000
virt_capsÂÂÂÂÂÂÂÂÂÂÂÂÂ : hvm hvm_directio
total_memoryÂÂÂÂÂÂÂÂÂÂ : 65499
free_memoryÂÂÂÂÂÂÂÂÂÂÂ : 56465
sharing_freed_memoryÂÂ : 0
sharing_used_memoryÂÂÂ : 0
outstanding_claimsÂÂÂÂ : 0
free_cpusÂÂÂÂÂÂÂÂÂÂÂÂÂ : 0
cpu_topologyÂÂÂÂÂÂÂÂÂÂ :
cpu:ÂÂÂ coreÂÂÂ socketÂÂÂÂ node
 0: 0 0 0
 1: 0 0 0
 2: 1 0 0
 3: 1 0 0
 4: 2 0 0
 5: 2 0 0
 6: 3 0 0
 7: 3 0 0
 8: 4 0 0
 9: 4 0 0
Â10:ÂÂÂÂÂÂ 5ÂÂÂÂÂÂÂ 0ÂÂÂÂÂÂÂ 0
Â11:ÂÂÂÂÂÂ 5ÂÂÂÂÂÂÂ 0ÂÂÂÂÂÂÂ 0
numa_infoÂÂÂÂÂÂÂÂÂÂÂÂÂ :
node:ÂÂÂ memsizeÂÂÂ memfreeÂÂÂ distances
ÂÂ 0:ÂÂÂÂ 67584ÂÂÂÂÂ 56465ÂÂÂÂÂ 10
xen_majorÂÂÂÂÂÂÂÂÂÂÂÂÂ : 4
xen_minorÂÂÂÂÂÂÂÂÂÂÂÂÂ : 4
xen_extraÂÂÂÂÂÂÂÂÂÂÂÂÂ : .2-pre
xen_versionÂÂÂÂÂÂÂÂÂÂÂ : 4.4.2-pre
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ÂÂÂÂÂÂÂÂÂ : Fri Oct 17 15:57:42 2014 +0200 git:c8ed54e-dirty
xen_commandlineÂÂÂÂÂÂÂ : placeholder dom0_mem=8192M,max:8192M dom0_max_vcpus=1 dom0_vcpus_pin loglvl=all guest_loglvl=all
cc_compilerÂÂÂÂÂÂÂÂÂÂÂ : gcc (GCC) 4.8.2 20140120 (Red Hat 4.8.2-16)
cc_compile_byÂÂÂÂÂÂÂÂÂ : bgercken
cc_compile_domainÂÂÂÂÂ :
cc_compile_dateÂÂÂÂÂÂÂ : Fri Nov 14 13:37:30 EST 2014
xend_config_formatÂÂÂÂ : 4
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

Grub:
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
#
# XEN on 3.10.51 w/XSM/FLASK
#
menuentry 'RHEL Server 7 (3.10.51) Xen (4.4)(XSM/FLASK)' --class gnu-linux --class gnu --class os --class xen $menuentry_id_option 'xen-gnulinux-simple-' {
ÂÂ echoÂÂÂ 'Loading Xen 4.4 ...'
ÂÂ xen_opts="dom0_mem=8192M,max:8192M dom0_max_vcpus=1 dom0_vcpus_pin loglvl=all guest_loglvl=all"
ÂÂ # console_to_ring sync_console"
ÂÂ kern_args="placeholder root=/dev/mapper/vg0-lv_root ro net.ifnames=0"
ÂÂ kern_extras="rd_NO_LUKS rd_NO_MD rd_NO_DM xen-pciback.hide=(04:00.0)(04:00.1)(05:00.0)(05:00.1)(0b:00.0)(0b:00.1)(0c:00.0)(0c:00.1)"
ÂÂ multiboot /xen.gz placeholder ${xen_opts}
ÂÂ echo 'Loading Linux 3.10.51 ...'
ÂÂ module /vmlinuz-3.10.51 placeholder ${kern_args} ${kern_extras}
ÂÂ echo 'Loading initial ramdisk ...'
ÂÂ module --nounzip /initramfs-3.10.51.img
ÂÂ module /xenpolicy.24
}
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
[root@rhel7xen xen]# xl getenforce
Permissive
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxx
http://lists.xen.org/xen-users


_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxx
http://lists.xen.org/xen-users

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.