[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



4.5 is not yet released (we've had 4.5.0-rc2 so far). Any moving to
using it should bear that in mind. Of course we always welcome testing
of release candidates, but you should be aware that they are candidates,
not releases.

IMHO it is very unlikely that systemd support or RPM packaging will make
any different to passing more than 4 bridges to the guest. My guess is
that you are ending up with emulated devices and that qemu has a
limitation. See
http://lists.xen.org/archives/html/xen-users/2014-11/msg00062.html

Ian.

 On Wed, 2014-11-19 at 20:14 -0500, Bill Gercken wrote:
> 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



_______________________________________________
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®.