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

Re: [Xen-devel] [RFC PATCHv1 0/2] Linux PVH dom0 memory setup



On Mon, 2 Jun 2014 18:09:41 +0100
David Vrabel <david.vrabel@xxxxxxxxxx> wrote:

> This is an RFC patch fixing up Linux's memory setup for PVH dom0 after
> the recent Xen change (x86: fix setup of PVH Dom0 memory map).
> 
> I've not tested it but this what I would want it to look like (i.e.,
> really simple).  Mukesh, Roger can you give it a test, please?

Hi David,

Sorry, it didn't work:

[   25.546053] audit: type=1404 audit(1401745598.015:2): selinux=0 
auid=4294967295 ses=4294967295
[   25.573154] systemd[1]: segfault at 0 ip 00007f5a9d772210 sp 
00007fff0c1b5a28 error 6 in libc-2.17.so[7f5a9d6c3000+1b6000]
[   25.595626] Kernel panic - not syncing: Attempted to kill init! 
exitcode=0x0000000b
[   25.595626] 
[   25.614155] CPU: 0 PID: 1 Comm: systemd Not tainted 3.15.0-rc3-latest #2
[   25.627636] Hardware name: Supermicro X8DTN/X8DTN, BIOS 4.6.3 02/26/2010
[   25.641154]  ffffffff81c44600 ffff8800444d1c08 ffffffff816d2501 
000000000000fffe
[   25.656047]  ffffffff8196bf88 ffff8800444d1c88 ffffffff816d2131 
ffff880000000010
[   25.670955]  ffff8800444d1c98 ffff8800444d1c38 ffff8800444cf270 
ffff8800444d1c88
[   25.685860] Call Trace:
[   25.690896]  [<ffffffff816d2501>] dump_stack+0x51/0x6b
[   25.701298]  [<ffffffff816d2131>] panic+0xbc/0x1f1
[   25.711007]  [<ffffffff8109e4c6>] do_exit+0xb96/0xba0
[   25.721260]  [<ffffffff8109e5e1>] do_group_exit+0x51/0x130
[   25.732357]  [<ffffffff810af9bf>] get_signal_to_deliver+0x23f/0x730
[   25.745012]  [<ffffffff8104c45f>] do_signal+0x4f/0x630
[   25.755411]  [<ffffffff810d4830>] ? set_next_entity+0x90/0xa0
[   25.767020]  [<ffffffff810d9a32>] ? pick_next_task_fair+0x452/0x460
[   25.779675]  [<ffffffff811b987f>] ? kmem_cache_free+0xdf/0x260
[   25.791460]  [<ffffffff816d2377>] ? printk+0x72/0x74
[   25.801514]  [<ffffffff810a51cb>] ? ns_capable+0x2b/0x60
[   25.812257]  [<ffffffff810cbabd>] ? finish_task_switch+0x4d/0x150
[   25.824566]  [<ffffffff816d2f14>] ? __schedule+0x354/0x7f0
[   25.835658]  [<ffffffff81043278>] ? xen_clocksource_read+0x28/0x40
[   25.848138]  [<ffffffff8104ca9d>] do_notify_resume+0x5d/0x80
[   25.859579]  [<ffffffff816db58c>] ? do_page_fault+0x2c/0x40
[   25.870843]  [<ffffffff816d79bc>] retint_signal+0x48/0x8c


I am in the middle of another debug right now, but here's some info that
might help:

BEFORE:

[    0.000000] Released 99 pages of unused memory
[    0.000000] Set 265132 page(s) to 1-1 mapping
[    0.000000] Populating 4b000-4b063 pfn range: 99 pages added
[    0.000000] e820: BIOS-provided physical RAM map:
[    0.000000] Xen: [mem 0x0000000000000000-0x000000000009cfff] usable
[    0.000000] Xen: [mem 0x000000000009d800-0x00000000000fffff] reserved
[    0.000000] Xen: [mem 0x0000000000100000-0x00000000bf30cfff] usable
[    0.000000] Xen: [mem 0x00000000bf30d000-0x00000000bf38cfff] ACPI NVS
[    0.000000] Xen: [mem 0x00000000bf38d000-0x00000000bf3a2fff] reserved
[    0.000000] Xen: [mem 0x00000000bf3a3000-0x00000000bf3a3fff] ACPI NVS
[    0.000000] Xen: [mem 0x00000000bf3a4000-0x00000000bf3b4fff] reserved
[    0.000000] Xen: [mem 0x00000000bf3b5000-0x00000000bf3b7fff] ACPI NVS
[    0.000000] Xen: [mem 0x00000000bf3b8000-0x00000000bf3defff] reserved
[    0.000000] Xen: [mem 0x00000000bf3df000-0x00000000bf3dffff] usable
[    0.000000] Xen: [mem 0x00000000bf3e0000-0x00000000bf3e0fff] ACPI NVS
[    0.000000] Xen: [mem 0x00000000bf3e1000-0x00000000bf415fff] reserved
[    0.000000] Xen: [mem 0x00000000bf416000-0x00000000bf41ffff] ACPI data
[    0.000000] Xen: [mem 0x00000000bf420000-0x00000000bf420fff] ACPI NVS
[    0.000000] Xen: [mem 0x00000000bf421000-0x00000000bf422fff] ACPI data
[    0.000000] Xen: [mem 0x00000000bf423000-0x00000000bf42afff] ACPI NVS
[    0.000000] Xen: [mem 0x00000000bf42b000-0x00000000bf453fff] reserved
[    0.000000] Xen: [mem 0x00000000bf454000-0x00000000bf656fff] ACPI NVS
[    0.000000] Xen: [mem 0x00000000bf657000-0x00000000bf7fffff] usable
[    0.000000] Xen: [mem 0x00000000c0000000-0x00000000cfffffff] reserved
[    0.000000] Xen: [mem 0x00000000fed1c000-0x00000000fed1ffff] reserved
[    0.000000] Xen: [mem 0x00000000fee00000-0x00000000feefffff] reserved
[    0.000000] Xen: [mem 0x00000000ff000000-0x00000000ffffffff] reserved
[    0.000000] Xen: [mem 0x0000000100000000-0x00000002bfffffff] usable
[    0.000000] Malformed early option 'loglevel'
[    0.000000] debug: ignoring loglevel setting.
[    0.000000] NX (Execute Disable) protection: active
[    0.000000] SMBIOS 2.6 present.
[    0.000000] DMI: Supermicro X8DTN/X8DTN, BIOS 4.6.3 02/26/2010
[    0.000000] e820: update [mem 0x00000000-0x00000fff] usable ==> reserved
[    0.000000] e820: remove [mem 0x000a0000-0x000fffff] usable
[    0.000000] e820: last_pfn = 0x2c0000 max_arch_pfn = 0x400000000
[    0.000000] e820: last_pfn = 0xbf800 max_arch_pfn = 0x400000000
[    0.000000] Scanning 1 areas for low memory corruption


AFTER:
[    0.000000] e820: BIOS-provided physical RAM map:
[    0.000000] Xen: [mem 0x0000000000000000-0x000000000009d7ff] usable
[    0.000000] Xen: [mem 0x000000000009d800-0x000000000009ffff] reserved
[    0.000000] Xen: [mem 0x00000000000e0000-0x00000000000fffff] reserved
[    0.000000] Xen: [mem 0x0000000000100000-0x000000004b061fff] usable
[    0.000000] Xen: [mem 0x00000000bf30d000-0x00000000bf38cfff] ACPI NVS
[    0.000000] Xen: [mem 0x00000000bf38d000-0x00000000bf3a2fff] reserved
[    0.000000] Xen: [mem 0x00000000bf3a3000-0x00000000bf3a3fff] ACPI NVS
[    0.000000] Xen: [mem 0x00000000bf3a4000-0x00000000bf3b4fff] reserved
[    0.000000] Xen: [mem 0x00000000bf3b5000-0x00000000bf3b7fff] ACPI NVS
[    0.000000] Xen: [mem 0x00000000bf3b8000-0x00000000bf3defff] reserved
[    0.000000] Xen: [mem 0x00000000bf3e0000-0x00000000bf3e0fff] ACPI NVS
[    0.000000] Xen: [mem 0x00000000bf3e1000-0x00000000bf415fff] reserved
[    0.000000] Xen: [mem 0x00000000bf416000-0x00000000bf41ffff] ACPI data
[    0.000000] Xen: [mem 0x00000000bf420000-0x00000000bf420fff] ACPI NVS
[    0.000000] Xen: [mem 0x00000000bf421000-0x00000000bf422fff] ACPI data
[    0.000000] Xen: [mem 0x00000000bf423000-0x00000000bf42afff] ACPI NVS
[    0.000000] Xen: [mem 0x00000000bf42b000-0x00000000bf453fff] reserved
[    0.000000] Xen: [mem 0x00000000bf454000-0x00000000bf656fff] ACPI NVS
[    0.000000] Xen: [mem 0x00000000c0000000-0x00000000cfffffff] reserved
[    0.000000] Xen: [mem 0x00000000fed1c000-0x00000000fed1ffff] reserved
[    0.000000] Xen: [mem 0x00000000ff000000-0x00000000ffffffff] reserved
[    0.000000] Xen: [mem 0x0000000180000000-0x00000002bfffffff] unusable
[    0.000000] Malformed early option 'loglevel'
[    0.000000] debug: ignoring loglevel setting.
[    0.000000] NX (Execute Disable) protection: active
[    0.000000] SMBIOS 2.6 present.
[    0.000000] DMI: Supermicro X8DTN/X8DTN, BIOS 4.6.3 02/26/2010
[    0.000000] e820: update [mem 0x00000000-0x00000fff] usable ==> reserved
[    0.000000] e820: remove [mem 0x000a0000-0x000fffff] usable
[    0.000000] e820: last_pfn = 0x4b062 max_arch_pfn = 0x400000000
[    0.000000] Scanning 1 areas for low memory corruption


I noticed the last_pfn is different, I wonder if that has something
to do with it.

thanks,
Mukesh

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


 


Rackspace

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