[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [Xen-users] DomU sees only 512MB RAM with PCI-passthrough
On Sun, May 26, 2013 at 12:59:56PM +0200, Christian Holpert wrote: > At 20:31 25.05.2013, Konrad Rzeszutek Wilk wrote: > >For the earlyprintk=xen just add it along with the xencons_... > > I needed to recompile xen first with debug flag set. Now I get > results from earlyprintk. > > Please find attached: > xl_dmesg_512: domU (32bit) booting fine with memory = 512 > xl_dmesg_2048: domU (32bit) silently crashing with memory = 2048 > Both tests with your patch active and no other changes in between. So with a 2048 guest it boots for me. Here is the diff between your kernel and mine: Reserving virtual address space above 0xf5800000 Reserving virtual address space above 0xf5800000 Initializing cgroup subsys cpuset Initializing cgroup subsys cpuset Initializing cgroup subsys cpu Initializing cgroup subsys cpu Linux version 3.8.13-gentoo (root@nodi) (gcc version 4.7.3 (G | Initializing cgroup subsys cpuacct > Linux version 3.10.0-rc3upstream-00894-g597e694 (konrad@build ACPI in unprivileged domain disabled ACPI in unprivileged domain disabled Freeing 20000-80000 pfn range: 393216 pages freed Freeing 20000-80000 pfn range: 393216 pages freed Released 393216 pages of unused memory Released 393216 pages of unused memory Set 917504 page(s) to 1-1 mapping Set 917504 page(s) to 1-1 mapping Populating 100000-160000 pfn range: 393216 pages added Populating 100000-160000 pfn range: 393216 pages added e820: BIOS-provided physical RAM map: e820: BIOS-provided physical RAM map: Xen: [mem 0x0000000000000000-0x000000000009ffff] usable Xen: [mem 0x0000000000000000-0x000000000009ffff] usable Xen: [mem 0x00000000000a0000-0x00000000000fffff] reserved Xen: [mem 0x00000000000a0000-0x00000000000fffff] reserved Xen: [mem 0x0000000000100000-0x000000001fffffff] usable Xen: [mem 0x0000000000100000-0x000000001fffffff] usable Xen: [mem 0x0000000020000000-0x00000000201fffff] reserved Xen: [mem 0x0000000020000000-0x00000000201fffff] reserved Xen: [mem 0x0000000020200000-0x0000000040003fff] unusable | Xen: [mem 0x0000000020200000-0x000000003fffffff] unusable Xen: [mem 0x0000000040004000-0x0000000040004fff] reserved | Xen: [mem 0x0000000040000000-0x00000000401fffff] reserved Xen: [mem 0x0000000040005000-0x00000000d9cbefff] unusable | Xen: [mem 0x0000000040200000-0x00000000c6cd3fff] unusable Xen: [mem 0x00000000d9cbf000-0x00000000da285fff] reserved | Xen: [mem 0x00000000c6cd4000-0x00000000c6d1cfff] ACPI NVS Xen: [mem 0x00000000da286000-0x00000000da505fff] ACPI NVS | Xen: [mem 0x00000000c6d1d000-0x00000000c6d27fff] ACPI data Xen: [mem 0x00000000da506000-0x00000000da50afff] ACPI data | Xen: [mem 0x00000000c6d28000-0x00000000c6d28fff] ACPI NVS Xen: [mem 0x00000000da50b000-0x00000000da54dfff] ACPI NVS | Xen: [mem 0x00000000c6d29000-0x00000000c6d49fff] reserved Xen: [mem 0x00000000da54e000-0x00000000dad55fff] unusable | Xen: [mem 0x00000000c6d4a000-0x00000000c6d4bfff] unusable Xen: [mem 0x00000000dad56000-0x00000000daff1fff] reserved | Xen: [mem 0x00000000c6d4c000-0x00000000c6d6cfff] ACPI NVS Xen: [mem 0x00000000daff2000-0x00000000daffffff] unusable | Xen: [mem 0x00000000c6d6d000-0x00000000c6d8ffff] reserved Xen: [mem 0x00000000db800000-0x00000000df9fffff] reserved | Xen: [mem 0x00000000c6d90000-0x00000000c6d9cfff] ACPI NVS Xen: [mem 0x00000000f8000000-0x00000000fbffffff] reserved | Xen: [mem 0x00000000c6d9d000-0x00000000c6d9ffff] reserved Xen: [mem 0x00000000fec00000-0x00000000fec00fff] reserved | Xen: [mem 0x00000000c6da0000-0x00000000c6db0fff] ACPI NVS Xen: [mem 0x00000000fed00000-0x00000000fed03fff] reserved | Xen: [mem 0x00000000c6db1000-0x00000000c6ddcfff] reserved Xen: [mem 0x00000000fed1c000-0x00000000fed1ffff] reserved | Xen: [mem 0x00000000c6ddd000-0x00000000c6e1ffff] ACPI NVS > Xen: [mem 0x00000000c6e20000-0x00000000c6ffffff] unusable > Xen: [mem 0x00000000c7800000-0x00000000cf9fffff] reserved > Xen: [mem 0x00000000fed1c000-0x00000000fed3ffff] reserved Xen: [mem 0x00000000fee00000-0x00000000fee00fff] reserved Xen: [mem 0x00000000fee00000-0x00000000fee00fff] reserved Xen: [mem 0x00000000ff000000-0x00000000ffffffff] reserved Xen: [mem 0x00000000ff000000-0x00000000ffffffff] reserved Xen: [mem 0x0000000100000000-0x000000015fffffff] usable Xen: [mem 0x0000000100000000-0x000000015fffffff] usable bootconsole [xenboot0] enabled < NX (Execute Disable) protection: active NX (Execute Disable) protection: active DMI not present or invalid. DMI not present or invalid. e820: last_pfn = 0x160000 max_arch_pfn = 0x1000000 e820: last_pfn = 0x160000 max_arch_pfn = 0x1000000 init_memory_mapping: [mem 0x00000000-0x2d3fdfff] | Scanning 1 areas for low memory corruption (XEN) mm.c:864:d6 Non-privileged (6) attempt to map I/O space | init_memory_mapping: [mem 0x00000000-0x000fffff] (XEN) mm.c:5317:d6 ptwr_emulate: could not get_page_from_l1e( | init_memory_mapping: [mem 0x1fe00000-0x1fffffff] BUG: unable to handle kernel NULL pointer dereference at (n | init_memory_mapping: [mem 0x1c000000-0x1fdfffff] IP: [<c157fe96>] xen_set_pte_init+0x3b/0x43 | init_memory_mapping: [mem 0x00100000-0x1bffffff] *pdpt = 0000000000000000 *pde = c2c2c2c2c2c2c2c2 | RAMDISK: [mem 0x01b51000-0x107b0fff] Oops: 0003 [#1] SMP | 4908MB HIGHMEM available. Modules linked in: | 723MB LOWMEM available. Pid: 0, comm: swapper Not tainted 3.8.13-gentoo #1 | mapped low ram: 0 - 20000000 EIP: e019:[<c157fe96>] EFLAGS: 00010046 CPU: 0 | low ram: 0 - 2d3fe000 EIP is at xen_set_pte_init+0x3b/0x43 | Zone ranges: EAX: c2380000 EBX: 00000000 ECX: 20000403 EDX: 20000403 | DMA [mem 0x00001000-0x00ffffff] ESI: 00020001 EDI: 00000000 EBP: 20000403 ESP: c1545e18 | Normal [mem 0x01000000-0x2d3fdfff] DS: e021 ES: e021 FS: 00d8 GS: 00e0 SS: e021 | HighMem [mem 0x2d3fe000-0x5fffffff] CR0: 80050033 CR2: 00000000 CR3: 015ec000 CR4: 00002660 | Movable zone start for each node DR0: 00000000 DR1: 00000000 DR2: 00000000 DR3: 00000000 | Early memory node ranges DR6: ffff0ff0 DR7: 00000400 | node 0: [mem 0x00001000-0x0009ffff] Process swapper (pid: 0, ti=c1544000 task=c1550120 task.ti=c1 | node 0: [mem 0x00100000-0x1fffffff] Stack: | node 0: [mem 0x00000000-0x5fffffff] 00000000 20000403 00000000 00020000 e0000000 c158f111 000000 | Using APIC driver default c15ec018 00000003 c15ec018 00000003 20000000 00000000 0002d3 | smpboot: Allowing 4 CPUs, 0 hotplug CPUs 00000100 c2380000 00000001 00000000 fffe0000 0016d000 000000 | Local APIC disabled by BIOS -- you can enable it with "lapic" Call Trace: | APIC: disable apic facility [<c158f111>] ? kernel_physical_mapping_init+0x1cc/0x2a5 | APIC: switched to apic NOOP [<c14211d9>] ? init_memory_mapping+0x1f9/0x4f0 | PM: Registered nosave memory: 00000000000a0000 - 000000000010 [<c158204d>] ? setup_arch+0x764/0xa37 | PM: Registered nosave memory: 0000000020000000 - 000000002020 [<c1431bd5>] ? printk+0x37/0x3b | PM: Registered nosave memory: 0000000020200000 - 000000004000 [<c157d6de>] ? start_kernel+0xbb/0x31b | e820: [mem 0xcfa00000-0xfed1bfff] available for PCI devices [<c157f269>] ? xen_start_kernel+0x650/0x65a | Booting paravirtualized kernel on Xen [<c140905e>] ? sctp_assoc_rm_peer+0xde/0x200 | Xen version: 4.3-unstable (preserve-AD) Code: 81 e6 00 f0 ff ff 0f ac fe 0c 53 31 db 89 0c 24 31 c9 4 | setup_percpu: NR_CPUS:8 nr_cpumask_bits:8 nr_cpu_ids:4 nr_nod EIP: [<c157fe96>] xen_set_pte_init+0x3b/0x43 SS:ESP e021:c154 | PERCPU: Embedded 14 pages/cpu @dd343000 s35520 r0 d21824 u573 CR2: 0000000000000000 | Built 1 zonelists in Zone order, mobility grouping on. Total ---[ end trace a7919e7f17c0a725 ]--- | Kernel command line: console=hvc0 Kernel panic - not syncing: Attempted to kill the idle task! | PID hash table entries: 2048 (order: 1, 8192 bytes) > Dentry cache hash table entries: 65536 (order: 6, 262144 byte > Inode-cache hash table entries: 32768 (order: 5, 131072 bytes > Initializing CPU#0 > xsave: enabled xstate_bv 0x7, cntxt size 0x340 > Initializing HighMem for node 0 (0002d3fe:00160000) > Memory: 1796596k/5767168k available (5818k kernel code, 30016 > virtual kernel memory layout: Can you try the v3.10 or v3.9 and see how it works for you? _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |