[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-users] DomU sees only 512MB RAM with PCI-passthrough
Hello, I'm using Xen 4.2.0 on a gentoo 3.4.11-System, all 32bit PAE.I can assign as much memory as needed to my domU with one exception. This domU is the only one that has a PCI device passed through via config file: kernel = "/boot/kernel-3.4.11-xenU" vcpus = 3 vcpu_avail = 3 memory = 2048 name = "nodi" on_reboot = "restart" vif = [ 'mac=aa:00:00:48:44:af' ]disk = [ '/opt/xen/nodi.img,raw,xvda1,w', '/opt/xen/swap.nodi,raw,xvda2,w', 'phy:/dev/sdb5,xvda3,w', '/opt/xen/GBSpace.img,raw,xvda4,w' ] root = "/dev/xvda1 rootfstype=ext4 rootfsflags=barrier=0"extra = "console=hvc0 xencons=hvc xen-fbfront.video=6,1024,768 xenfb.video=6,1024,768 noirqdebug elevator=noop" vfb = [ 'vnc=1,vncdisplay=10,vnclisten=0.0.0.0,keymap=de' ] pci = [ '01:02.0' ] pci_msitranslate = 1When I start up this domU (xl start nodi.cfg) it will get 512MB only. When I comment out the pci-line, then memory ist correct with 2048MB. The cheat-mode works, though. I can start the domain with pci commented out and xen # xl pci-attach nodi 01:02.0 assign the device immediately after startup. PCI works and memory is 2048MB. nodi ~ # lspci 00:00.0 Network controller: AVM GmbH A1 ISDN [Fritz] (rev 02) nodi ~ # cat /proc/meminfo MemTotal: 2069168 kB MemFree: 1814776 kB [...] Can anybody tell me, how to debug this? Or is this a feature? xen ~ # xl info nodi host : xen release : 3.4.11-gentoo version : #7 SMP Mon Dec 3 20:37:13 CET 2012 machine : i686 nr_cpus : 4 max_cpu_id : 3 nr_nodes : 1 cores_per_socket : 4 threads_per_core : 1 cpu_mhz : 3392hw_caps : bfebfbff:28100000:00000000:00007f40:77bae3ff:00000000:00000001:00000281 virt_caps : hvm hvm_directio total_memory : 15778 free_memory : 5893 sharing_freed_memory : 72057594037927935 sharing_used_memory : 72057594037927935 free_cpus : 0 xen_major : 4 xen_minor : 2 xen_extra : .0 xen_caps : xen-3.0-x86_32p hvm-3.0-x86_32 hvm-3.0-x86_32p xen_scheduler : credit xen_pagesize : 4096 platform_params : virt_start=0xf5800000 xen_changeset : unavailable xen_commandline : vtd=1 iommu=1 vga=gfx-1024x768x16 msi=1 dom0_mem=2560M cc_compiler : gcc (Gentoo 4.6.3 p1.8, pie-0.5.2) 4.6.3 cc_compile_by : cc_compile_domain : APO43287A.LOCAL cc_compile_date : Tue Dec 11 15:58:25 CET 2012 xend_config_format : 4 Please tell me, if you need more logs. Thanks, Christian -- Markt-Apotheke Christian Holpert e.K., Mömbris http://www.marktapotheke.org - info@xxxxxxxxxxxxxxxxx http://www.blue-essentials-shop.de - info@xxxxxxxxxxxxxxxxxxxxxxx Apotheker Christian Holpert Im Markthof 5 63776 Mömbris Tel.: 06029-1379 Fax: 9986589 Amtsgericht Aschaffenburg, HR.A, Registernummer 2165 _______________________________________________ Xen-users mailing list Xen-users@xxxxxxxxxxxxx http://lists.xen.org/xen-users
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |