All of lore.kernel.org
 help / color / mirror / Atom feed
* FC15: 32-bit PV guest crash on restore on x64_86 host
@ 2011-05-04 19:58 Igor Mammedov
  2011-05-04 20:19 ` Konrad Rzeszutek Wilk
  0 siblings, 1 reply; 9+ messages in thread
From: Igor Mammedov @ 2011-05-04 19:58 UTC (permalink / raw)
  To: xen-devel; +Cc: Konrad Rzeszutek Wilk, jeremy.fitzhardinge, stefano.stabellini

On restore 32bit PV guest crashes on x64_86 host, while  x64_86 PV guest
works as expected.

Bisecting of upstream kernel shows following offending commit:

commit 448f2831934381e9d3c4d93e700ba7bbe14612dc
Author: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Date:   Wed Dec 15 13:19:33 2010 +0000

     xen: add m2p override mechanism


More details from https://bugzilla.redhat.com/show_bug.cgi?id=700752

excerpt from hypervisor.log:

(XEN) mm.c:630:d16 Non-privileged (16) attempt to map I/O space 2712536c5e
(XEN) mm.c:3619:d16 ptwr_emulate: fixing up invalid PAE PTE c082712536c5e063
(XEN) /builddir/build/BUILD/kernel-2.6.18/xen/include/asm/mm.h:225:d16 Error
pfn 36c5b: rd=ffff8300afdca080, od=ffff8300af1f0080, caf=80000002,
taf=00000000e8000001
(XEN) mm.c:654:d16 Error getting mfn 36c5b (pfn 3b325b) from L1 entry
0000000036c5b063 for dom16
(XEN) mm.c:3619:d16 ptwr_emulate: fixing up invalid PAE PTE 0000000036c5b063
(XEN) Pagetable walk from 00000000eb40ff98:
(XEN)  L4[0x000] = 0000000066ad4027 0000000000027494
(XEN)  L3[0x003] = 0000000066eae027 0000000000027492
(XEN)  L2[0x15a] = 0000000237400067 0000000000001600
(XEN)  L1[0x00f] = 80000002373f8061 000000000002b40f
(XEN) domain_crash_sync called from entry.S
(XEN) Domain 16 (vcpu#0) crashed on cpu#1:
(XEN) ----[ Xen-3.1.2-257.el5  x86_64  debug=n  Not tainted ]----
(XEN) CPU:    1
(XEN) RIP:    0061:[<00000000c04047ee>]
(XEN) RFLAGS: 0000000000010213   CONTEXT: guest
(XEN) rax: 00000000f4d78000   rbx: 00000000eb4aea40   rcx: 000000000000007b
(XEN) rdx: 00000000eb4aea40   rsi: 00000000eb410024   rdi: 00000000c0827117
(XEN) rbp: 00000000eb40ffa0   rsp: 00000000eb40ffa0   r8:  0000000000000000
(XEN) r9:  0000000000000000   r10: 0000000000000000   r11: 0000000000000000
(XEN) r12: 0000000000000000   r13: 0000000000000000   r14: 0000000000000000
(XEN) r15: 0000000000000000   cr0: 000000008005003b   cr4: 00000000000006f0
(XEN) cr3: 0000000250002000   cr2: 00000000f4d78008
(XEN) ds: 007b   es: 007b   fs: 00d8   gs: 00e0   ss: 0069   cs: 0061
(XEN) Guest stack trace from esp=eb40ffa0:
(XEN)   eb41001c c0827152 36c5d063 80000002 36c5c063 80000002 36c5b062 00000000
(XEN)   00000008 eb4aea40 00000000 80000002 36c58063 80000002 36c57063 80000002
(XEN)   36c56063 80000002 36c55063 80000002 36c54063 80000002 36c53063 80000002
(XEN) mm.c:630:d0 Non-privileged (16) attempt to map I/O space 00000000

gdb guest kernel stack trace:
#0  0xc04047ee in xen_read_cr2 () at arch/x86/xen/mmu.c:1244
#1  0xc0827152 in read_cr2 (regs=0xeb410024, error_code=0)
     at
/usr/src/debug/kernel-2.6.38.fc15/linux-2.6.38.i686/arch/x86/include/asm/paravirt.h:64
#2  do_page_fault (regs=0xeb410024, error_code=0) at arch/x86/mm/fault.c:974
#3<signal handler called>
...

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: FC15: 32-bit PV guest crash on restore on x64_86 host
  2011-05-04 19:58 FC15: 32-bit PV guest crash on restore on x64_86 host Igor Mammedov
@ 2011-05-04 20:19 ` Konrad Rzeszutek Wilk
  2011-05-04 21:03   ` Igor Mammedov
  0 siblings, 1 reply; 9+ messages in thread
From: Konrad Rzeszutek Wilk @ 2011-05-04 20:19 UTC (permalink / raw)
  To: Igor Mammedov; +Cc: xen-devel, jeremy.fitzhardinge, stefano.stabellini

On Wed, May 04, 2011 at 09:58:01PM +0200, Igor Mammedov wrote:
> On restore 32bit PV guest crashes on x64_86 host, while  x64_86 PV guest
> works as expected.
> 
> Bisecting of upstream kernel shows following offending commit:

Can you try the patches in devel/p2m-e820-pci.v2
(git://git.kernel.org/pub/scm/linux/kernel/git/konrad/xen.git)



> 
> commit 448f2831934381e9d3c4d93e700ba7bbe14612dc
> Author: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
> Date:   Wed Dec 15 13:19:33 2010 +0000
> 
>     xen: add m2p override mechanism
> 
> 
> More details from https://bugzilla.redhat.com/show_bug.cgi?id=700752
> 
> excerpt from hypervisor.log:

Can you attach the full bootup log of the DomU? I am curios of the
memory layout. And also the guest config.

> 
> (XEN) mm.c:630:d16 Non-privileged (16) attempt to map I/O space 2712536c5e
> (XEN) mm.c:3619:d16 ptwr_emulate: fixing up invalid PAE PTE c082712536c5e063
> (XEN) /builddir/build/BUILD/kernel-2.6.18/xen/include/asm/mm.h:225:d16 Error
> pfn 36c5b: rd=ffff8300afdca080, od=ffff8300af1f0080, caf=80000002,
> taf=00000000e8000001
> (XEN) mm.c:654:d16 Error getting mfn 36c5b (pfn 3b325b) from L1 entry
> 0000000036c5b063 for dom16
> (XEN) mm.c:3619:d16 ptwr_emulate: fixing up invalid PAE PTE 0000000036c5b063
> (XEN) Pagetable walk from 00000000eb40ff98:
> (XEN)  L4[0x000] = 0000000066ad4027 0000000000027494
> (XEN)  L3[0x003] = 0000000066eae027 0000000000027492
> (XEN)  L2[0x15a] = 0000000237400067 0000000000001600
> (XEN)  L1[0x00f] = 80000002373f8061 000000000002b40f
> (XEN) domain_crash_sync called from entry.S
> (XEN) Domain 16 (vcpu#0) crashed on cpu#1:
> (XEN) ----[ Xen-3.1.2-257.el5  x86_64  debug=n  Not tainted ]----
> (XEN) CPU:    1
> (XEN) RIP:    0061:[<00000000c04047ee>]
> (XEN) RFLAGS: 0000000000010213   CONTEXT: guest
> (XEN) rax: 00000000f4d78000   rbx: 00000000eb4aea40   rcx: 000000000000007b
> (XEN) rdx: 00000000eb4aea40   rsi: 00000000eb410024   rdi: 00000000c0827117
> (XEN) rbp: 00000000eb40ffa0   rsp: 00000000eb40ffa0   r8:  0000000000000000
> (XEN) r9:  0000000000000000   r10: 0000000000000000   r11: 0000000000000000
> (XEN) r12: 0000000000000000   r13: 0000000000000000   r14: 0000000000000000
> (XEN) r15: 0000000000000000   cr0: 000000008005003b   cr4: 00000000000006f0
> (XEN) cr3: 0000000250002000   cr2: 00000000f4d78008
> (XEN) ds: 007b   es: 007b   fs: 00d8   gs: 00e0   ss: 0069   cs: 0061
> (XEN) Guest stack trace from esp=eb40ffa0:
> (XEN)   eb41001c c0827152 36c5d063 80000002 36c5c063 80000002 36c5b062 00000000
> (XEN)   00000008 eb4aea40 00000000 80000002 36c58063 80000002 36c57063 80000002
> (XEN)   36c56063 80000002 36c55063 80000002 36c54063 80000002 36c53063 80000002
> (XEN) mm.c:630:d0 Non-privileged (16) attempt to map I/O space 00000000
> 
> gdb guest kernel stack trace:
> #0  0xc04047ee in xen_read_cr2 () at arch/x86/xen/mmu.c:1244
> #1  0xc0827152 in read_cr2 (regs=0xeb410024, error_code=0)
>     at
> /usr/src/debug/kernel-2.6.38.fc15/linux-2.6.38.i686/arch/x86/include/asm/paravirt.h:64
> #2  do_page_fault (regs=0xeb410024, error_code=0) at arch/x86/mm/fault.c:974
> #3<signal handler called>
> ...
> 
> 
> 

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Re: FC15: 32-bit PV guest crash on restore on x64_86 host
  2011-05-04 20:19 ` Konrad Rzeszutek Wilk
@ 2011-05-04 21:03   ` Igor Mammedov
  2011-05-04 21:13     ` Konrad Rzeszutek Wilk
  0 siblings, 1 reply; 9+ messages in thread
From: Igor Mammedov @ 2011-05-04 21:03 UTC (permalink / raw)
  To: xen-devel; +Cc: Konrad Rzeszutek Wilk

[-- Attachment #1: Type: text/plain, Size: 3890 bytes --]

On 05/04/2011 10:19 PM, Konrad Rzeszutek Wilk wrote:
> On Wed, May 04, 2011 at 09:58:01PM +0200, Igor Mammedov wrote:
>> On restore 32bit PV guest crashes on x64_86 host, while  x64_86 PV guest
>> works as expected.
>>
>> Bisecting of upstream kernel shows following offending commit:
> Can you try the patches in devel/p2m-e820-pci.v2
> (git://git.kernel.org/pub/scm/linux/kernel/git/konrad/xen.git)
>

devel/p2m-e820-pci.v2 branch isn't boots.

Could you point out any specific patches?

>
>> commit 448f2831934381e9d3c4d93e700ba7bbe14612dc
>> Author: Jeremy Fitzhardinge<jeremy.fitzhardinge@citrix.com>
>> Date:   Wed Dec 15 13:19:33 2010 +0000
>>
>>      xen: add m2p override mechanism
>>
>>
>> More details from https://bugzilla.redhat.com/show_bug.cgi?id=700752
>>
>> excerpt from hypervisor.log:
> Can you attach the full bootup log of the DomU? I am curios of the
> memory layout. And also the guest config.
>

config:

#cat /etc/xen/fc15
name = "fc15"
uuid = "197408d9-8aeb-b0b8-ee0a-8110e5d1b8e3"
maxmem = 1024
memory = 1024
vcpus = 1
bootloader = "/usr/bin/pygrub"
on_poweroff = "destroy"
on_reboot = "restart"
on_crash = "restart"
vfb = [ "type=vnc,vncunused=1,keymap=en-us" ]
disk = [ "phy:/dev/sdc,xvda,w" ]
vif = [ "mac=00:16:36:44:90:4e,bridge=xenbr0,script=vif-bridge" ]



domU bootup log is attached.

>> (XEN) mm.c:630:d16 Non-privileged (16) attempt to map I/O space 2712536c5e
>> (XEN) mm.c:3619:d16 ptwr_emulate: fixing up invalid PAE PTE c082712536c5e063
>> (XEN) /builddir/build/BUILD/kernel-2.6.18/xen/include/asm/mm.h:225:d16 Error
>> pfn 36c5b: rd=ffff8300afdca080, od=ffff8300af1f0080, caf=80000002,
>> taf=00000000e8000001
>> (XEN) mm.c:654:d16 Error getting mfn 36c5b (pfn 3b325b) from L1 entry
>> 0000000036c5b063 for dom16
>> (XEN) mm.c:3619:d16 ptwr_emulate: fixing up invalid PAE PTE 0000000036c5b063
>> (XEN) Pagetable walk from 00000000eb40ff98:
>> (XEN)  L4[0x000] = 0000000066ad4027 0000000000027494
>> (XEN)  L3[0x003] = 0000000066eae027 0000000000027492
>> (XEN)  L2[0x15a] = 0000000237400067 0000000000001600
>> (XEN)  L1[0x00f] = 80000002373f8061 000000000002b40f
>> (XEN) domain_crash_sync called from entry.S
>> (XEN) Domain 16 (vcpu#0) crashed on cpu#1:
>> (XEN) ----[ Xen-3.1.2-257.el5  x86_64  debug=n  Not tainted ]----
>> (XEN) CPU:    1
>> (XEN) RIP:    0061:[<00000000c04047ee>]
>> (XEN) RFLAGS: 0000000000010213   CONTEXT: guest
>> (XEN) rax: 00000000f4d78000   rbx: 00000000eb4aea40   rcx: 000000000000007b
>> (XEN) rdx: 00000000eb4aea40   rsi: 00000000eb410024   rdi: 00000000c0827117
>> (XEN) rbp: 00000000eb40ffa0   rsp: 00000000eb40ffa0   r8:  0000000000000000
>> (XEN) r9:  0000000000000000   r10: 0000000000000000   r11: 0000000000000000
>> (XEN) r12: 0000000000000000   r13: 0000000000000000   r14: 0000000000000000
>> (XEN) r15: 0000000000000000   cr0: 000000008005003b   cr4: 00000000000006f0
>> (XEN) cr3: 0000000250002000   cr2: 00000000f4d78008
>> (XEN) ds: 007b   es: 007b   fs: 00d8   gs: 00e0   ss: 0069   cs: 0061
>> (XEN) Guest stack trace from esp=eb40ffa0:
>> (XEN)   eb41001c c0827152 36c5d063 80000002 36c5c063 80000002 36c5b062 00000000
>> (XEN)   00000008 eb4aea40 00000000 80000002 36c58063 80000002 36c57063 80000002
>> (XEN)   36c56063 80000002 36c55063 80000002 36c54063 80000002 36c53063 80000002
>> (XEN) mm.c:630:d0 Non-privileged (16) attempt to map I/O space 00000000
>>
>> gdb guest kernel stack trace:
>> #0  0xc04047ee in xen_read_cr2 () at arch/x86/xen/mmu.c:1244
>> #1  0xc0827152 in read_cr2 (regs=0xeb410024, error_code=0)
>>      at
>> /usr/src/debug/kernel-2.6.38.fc15/linux-2.6.38.i686/arch/x86/include/asm/paravirt.h:64
>> #2  do_page_fault (regs=0xeb410024, error_code=0) at arch/x86/mm/fault.c:974
>> #3<signal handler called>
>> ...
>>
>>
>>
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@lists.xensource.com
> http://lists.xensource.com/xen-devel


[-- Attachment #2: guest-fc15.log --]
[-- Type: text/plain, Size: 18706 bytes --]

[    0.000000] Reserving virtual address space above 0xf5800000
[    0.000000] Initializing cgroup subsys cpuset
[    0.000000] Initializing cgroup subsys cpu
[    0.000000] Linux version 2.6.38.2-9.fc15.i686.PAEdebug (mockbuild@x86-09.phx2.fedoraproject.org) (gcc version 4.6.0 20110329 (Red Hat 4.6.0-1) (GCC) ) #1 SMP Wed Mar 30 16:40:57 UTC 2011
[    0.000000] ACPI in unprivileged domain disabled
[    0.000000] released 0 pages of unused memory
[    0.000000] BIOS-provided physical RAM map:
[    0.000000]  Xen: 0000000000000000 - 00000000000a0000 (usable)
[    0.000000]  Xen: 00000000000a0000 - 0000000000100000 (reserved)
[    0.000000]  Xen: 0000000000100000 - 0000000040800000 (usable)
[    0.000000] NX (Execute Disable) protection: active
[    0.000000] DMI not present or invalid.
[    0.000000] e820 update range: 0000000000000000 - 0000000000010000 (usable) ==> (reserved)
[    0.000000] e820 remove range: 00000000000a0000 - 0000000000100000 (usable)
[    0.000000] last_pfn = 0x40800 max_arch_pfn = 0x1000000
[    0.000000] initial memory mapped : 0 - 02f55000
[    0.000000] init_memory_mapping: 0000000000000000-000000002c9fe000
[    0.000000]  0000000000 - 002c9fe000 page 4k
[    0.000000] kernel direct mapping tables up to 2c9fe000 @ 14c4000-1631000
[    0.000000] RAMDISK: 01631000 - 02f55000
[    0.000000] 318MB HIGHMEM available.
[    0.000000] 713MB LOWMEM available.
[    0.000000]   mapped low ram: 0 - 2c9fe000
[    0.000000]   low ram: 0 - 2c9fe000
[    0.000000] Zone PFN ranges:
[    0.000000]   DMA      0x00000010 -> 0x00001000
[    0.000000]   Normal   0x00001000 -> 0x0002c9fe
[    0.000000]   HighMem  0x0002c9fe -> 0x00040800
[    0.000000] Movable zone start PFN for each node
[    0.000000] early_node_map[2] active PFN ranges
[    0.000000]     0: 0x00000010 -> 0x000000a0
[    0.000000]     0: 0x00000100 -> 0x00040800
[    0.000000] On node 0 totalpages: 264080
[    0.000000] free_area_init_node: node 0, pgdat c0b00400, node_mem_map ec1ed200
[    0.000000]   DMA zone: 32 pages used for memmap
[    0.000000]   DMA zone: 0 pages reserved
[    0.000000]   DMA zone: 3952 pages, LIFO batch:0
[    0.000000]   Normal zone: 1396 pages used for memmap
[    0.000000]   Normal zone: 177290 pages, LIFO batch:31
[    0.000000]   HighMem zone: 637 pages used for memmap
[    0.000000]   HighMem zone: 80773 pages, LIFO batch:15
[    0.000000] Using APIC driver default
[    0.000000] SFI: Simple Firmware Interface v0.81 http://simplefirmware.org
[    0.000000] SMP: Allowing 1 CPUs, 0 hotplug CPUs
[    0.000000] Local APIC disabled by BIOS -- you can enable it with "lapic"
[    0.000000] APIC: disable apic facility
[    0.000000] APIC: switched to apic NOOP
[    0.000000] nr_irqs_gsi: 16
[    0.000000] PM: Registered nosave memory: 00000000000a0000 - 0000000000100000
[    0.000000] Allocating PCI resources starting at 40800000 (gap: 40800000:bf800000)
[    0.000000] Booting paravirtualized kernel on Xen
[    0.000000] Xen version: 3.1.2-257.el5 (preserve-AD)
[    0.000000] setup_percpu: NR_CPUS:64 nr_cpumask_bits:64 nr_cpu_ids:1 nr_node_ids:1
[    0.000000] PERCPU: Embedded 333 pages/cpu @ec08b000 s1342656 r0 d21312 u1363968
[    0.000000] pcpu-alloc: s1342656 r0 d21312 u1363968 alloc=333*4096
[    0.000000] pcpu-alloc: [0] 0 
[    0.000000] register_vcpu_info failed: err=-38
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 262015
[    0.000000] Kernel command line:  ro root=UUID=78d7ed07-6f6c-407f-bf2a-ff9a218c63c8 rd_NO_LUKS rd_NO_LVM rd_NO_MD rd_NO_DM LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYTABLE=us console=tty0 console=hvc0 loglevel=9 selinux=0
[    0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
[    0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
[    0.000000] Initializing CPU#0
[    0.000000] allocated 5283520 bytes of page_cgroup
[    0.000000] please try 'cgroup_disable=memory' option if you don't want memory cgroups
[    0.000000] Initializing HighMem for node 0 (0002c9fe:00040800)
[    0.000000] Memory: 988084k/1056768k available (4266k kernel code, 60044k reserved, 2961k data, 1892k init, 317448k highmem)
[    0.000000] virtual kernel memory layout:
[    0.000000]     fixmap  : 0xf4d75000 - 0xf57ff000   (10792 kB)
[    0.000000]     pkmap   : 0xf4a00000 - 0xf4c00000   (2048 kB)
[    0.000000]     vmalloc : 0xed1fe000 - 0xf49fe000   ( 120 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xec9fe000   ( 713 MB)
[    0.000000]       .init : 0xc0b0f000 - 0xc0ce8000   (1892 kB)
[    0.000000]       .data : 0xc082a8e2 - 0xc0b0ee80   (2961 kB)
[    0.000000]       .text : 0xc0400000 - 0xc082a8e2   (4266 kB)
[    0.000000] SLUB: Genslabs=15, HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] Hierarchical RCU implementation.
[    0.000000] 	RCU dyntick-idle grace-period acceleration is enabled.
[    0.000000] 	RCU lockdep checking is enabled.
[    0.000000] 	RCU-based detection of stalled CPUs is disabled.
[    0.000000] NR_IRQS:2304
[    0.000000] CPU 0 irqstacks, hard=eb434000 soft=eb436000
[    0.000000] Console: colour dummy device 80x25
[    0.000000] console [tty0] enabled
[    0.000000] console [hvc0] enabled
[    0.000000] Lock dependency validator: Copyright (c) 2006 Red Hat, Inc., Ingo Molnar
[    0.000000] ... MAX_LOCKDEP_SUBCLASSES:  8
[    0.000000] ... MAX_LOCK_DEPTH:          48
[    0.000000] ... MAX_LOCKDEP_KEYS:        8191
[    0.000000] ... CLASSHASH_SIZE:          4096
[    0.000000] ... MAX_LOCKDEP_ENTRIES:     16384
[    0.000000] ... MAX_LOCKDEP_CHAINS:      32768
[    0.000000] ... CHAINHASH_SIZE:          16384
[    0.000000]  memory used by lock dependency info: 3823 kB
[    0.000000]  per task-struct memory footprint: 1920 bytes
[    0.000000] ODEBUG: 10 of 10 active objects replaced
[    0.000000] Xen: using vcpuop timer interface
[    0.000000] installing Xen timer for CPU 0
[    0.000000] Detected 2000.002 MHz processor.
[    0.000999] Calibrating delay loop (skipped), value calculated using timer frequency.. 4000.00 BogoMIPS (lpj=2000002)
[    0.000999] pid_max: default: 32768 minimum: 301
[    0.000999] Security Framework initialized
[    0.000999] SELinux:  Disabled at boot.
[    0.001443] Mount-cache hash table entries: 512
[    0.005650] Initializing cgroup subsys ns
[    0.005667] ns_cgroup deprecated: consider using the 'clone_children' flag without the ns_cgroup.
[    0.005703] Initializing cgroup subsys cpuacct
[    0.005808] Initializing cgroup subsys memory
[    0.006116] Initializing cgroup subsys devices
[    0.006134] Initializing cgroup subsys freezer
[    0.006149] Initializing cgroup subsys net_cls
[    0.006169] Initializing cgroup subsys blkio
[    0.006586] CPU: Physical Processor ID: 0
[    0.006600] CPU: Processor Core ID: 1
[    0.006943] SMP alternatives: switching to UP code
[    0.065225] Freeing SMP alternatives: 12k freed
[    0.065302] ftrace: allocating 23733 entries in 47 pages
[    0.067085] Performance Events: 
[    0.067111] no APIC, boot with the "lapic" boot parameter to force-enable it.
[    0.067141] no hardware sampling interrupt available.
[    0.067199] Broken PMU hardware detected, using software events only.
[    0.070533] NMI watchdog disabled (cpu0): hardware events not enabled
[    0.070574] Brought up 1 CPUs
[    0.070601] sizeof(vma)=92 bytes
[    0.070635] sizeof(page)=32 bytes
[    0.070650] sizeof(inode)=700 bytes
[    0.070673] sizeof(dentry)=164 bytes
[    0.070694] sizeof(ext3inode)=984 bytes
[    0.070718] sizeof(ext4inode)=1176 bytes
[    0.070746] sizeof(buffer_head)=56 bytes
[    0.070768] sizeof(skbuff)=192 bytes
[    0.070783] sizeof(task_struct)=5388 bytes
[    0.073155] devtmpfs: initialized
[    0.079524] atomic64 test passed for i586+ platform with CX8 and with SSE
[    0.079923] Grant table initialized
[    0.099474] Time: 165:165:165  Date: 165/165/65
[    0.100111] NET: Registered protocol family 16
[    0.101972] Extended Config Space enabled on 0 nodes
[    0.104013] PCI: setting up Xen PCI frontend stub
[    0.104032] PCI: pci_cache_line_size set to 64 bytes
[    0.122236] bio: create slab <bio-0> at 0
[    0.122999] ACPI: Interpreter disabled.
[    0.127061] xen_balloon: Initialising balloon driver.
[    0.127255] last_pfn = 0x40800 max_arch_pfn = 0x1000000
[    0.130518] vgaarb: loaded
[    0.131409] SCSI subsystem initialized
[    0.131829] libata version 3.00 loaded.
[    0.132427] usbcore: registered new interface driver usbfs
[    0.132571] usbcore: registered new interface driver hub
[    0.132960] usbcore: registered new device driver usb
[    0.133751] PCI: System does not support PCI
[    0.133769] PCI: System does not support PCI
[    0.135217] NetLabel: Initializing
[    0.135230] NetLabel:  domain hash size = 128
[    0.135245] NetLabel:  protocols = UNLABELED CIPSOv4
[    0.135505] NetLabel:  unlabeled traffic allowed by default
[    0.137548] Switching to clocksource xen
[    0.137986] Switched to NOHz mode on CPU #0
[    0.334659] pnp: PnP ACPI: disabled
[    0.369769] NET: Registered protocol family 2
[    0.371378] IP route cache hash table entries: 32768 (order: 5, 131072 bytes)
[    0.375926] TCP established hash table entries: 131072 (order: 8, 1048576 bytes)
[    0.378193] TCP bind hash table entries: 65536 (order: 9, 2883584 bytes)
[    0.393942] TCP: Hash tables configured (established 131072 bind 65536)
[    0.394077] TCP reno registered
[    0.394362] UDP hash table entries: 512 (order: 3, 49152 bytes)
[    0.394766] UDP-Lite hash table entries: 512 (order: 3, 49152 bytes)
[    0.396873] NET: Registered protocol family 1
[    0.396979] PCI: CLS 0 bytes, default 64
[    0.398239] Trying to unpack rootfs image as initramfs...
[    1.179325] Freeing initrd memory: 25744k freed
[    1.247362] DMA-API: preallocated 32768 debug entries
[    1.247386] DMA-API: debugging enabled by kernel config
[    1.247969] platform rtc_cmos: registered platform RTC device (no PNP device found)
[    1.249498] apm: BIOS not found.
[    1.250948] audit: initializing netlink socket (disabled)
[    1.251234] type=2000 audit(1304541860.680:1): initialized
[    1.282800] highmem bounce pool size: 64 pages
[    1.282871] HugeTLB registered 2 MB page size, pre-allocated 0 pages
[    1.331160] VFS: Disk quotas dquot_6.5.2
[    1.331838] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    1.338179] msgmni has been set to 1376
[    1.339622] cryptomgr_test used greatest stack depth: 6660 bytes left
[    1.340905] alg: No test for stdrng (krng)
[    1.340953] NET: Registered protocol family 38
[    1.341374] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 253)
[    1.341611] io scheduler noop registered
[    1.341623] io scheduler deadline registered
[    1.342168] io scheduler cfq registered (default)
[    1.342181] list_sort_test: start testing list_sort()
[    1.345420] pci_hotplug: PCI Hot Plug PCI Core version: 0.5
[    1.345846] pciehp: PCI Express Hot Plug Controller Driver version: 0.4
[    1.345861] acpiphp: ACPI Hot Plug PCI Controller Driver version: 0.5
[    1.363051] Console: switching to colour frame buffer device 100x37
[    1.376973] isapnp: Scanning for PnP cards...
[    1.735258] isapnp: No Plug & Play device found
[    1.740765] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
[    1.750230] Non-volatile memory driver v1.3
[    1.750339] Linux agpgart interface v0.103
[    1.780362] brd: module loaded
[    1.795330] loop: module loaded
[    1.801715] Fixed MDIO Bus: probed
[    1.806441] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    1.809967] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    1.813734] uhci_hcd: USB Universal Host Controller Interface driver
[    1.818480] i8042: PNP: No PS/2 controller found. Probing ports directly.
[    1.823711] mousedev: PS/2 mouse device common for all mice
[    1.832065] input: Xen Virtual Keyboard as /devices/virtual/input/input0
[    1.838382] input: Xen Virtual Pointer as /devices/virtual/input/input1
[    1.852788] rtc_cmos rtc_cmos: rtc core: registered rtc_cmos as rtc0
[    1.859491] rtc_cmos: probe of rtc_cmos failed with error -38
[    1.865992] device-mapper: uevent: version 1.0.3
[    1.870819] device-mapper: ioctl: 4.19.1-ioctl (2011-01-07) initialised: dm-devel@redhat.com
[    1.876389] cpuidle: using governor ladder
[    1.879802] cpuidle: using governor menu
[    1.886583] usbcore: registered new interface driver usbhid
[    1.889865] usbhid: USB HID core driver
[    1.893941] nf_conntrack version 0.5.0 (15841 buckets, 63364 max)
[    1.905686] ip_tables: (C) 2000-2006 Netfilter Core Team
[    1.909268] TCP cubic registered
[    1.912569] Initializing XFRM netlink socket
[    1.916055] NET: Registered protocol family 17
[    1.919740] Registering the dns_resolver key type
[    1.923619] Using IPI No-Shortcut mode
[    1.928695] PM: Hibernation image not present or could not be loaded.
[    1.932292] registered taskstats version 1
[    1.935779] IMA: No TPM chip found, activating TPM-bypass!
[    1.941384] XENBUS: Device with no driver: device/vbd/51712
[    1.943205] XENBUS: Device with no driver: device/vif/0
[    1.945028]   Magic number: 1:252:3141
[    1.946890] drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
[    1.950491] Initalizing network drop monitor service
[    1.957762] Freeing unused kernel memory: 1892k freed
[    1.969752] Write protecting the kernel text: 4268k
[    1.975385] Write protecting the kernel read-only data: 2096k
[    1.978803] NX-protecting the kernel data: 5972k
[    2.016529] mknod used greatest stack depth: 6432 bytes left
[    2.084306] systemd-timesta used greatest stack depth: 6324 bytes left
[    2.123089] ln used greatest stack depth: 6044 bytes left
mkdir: cannot create directory `/run': File exists
[    2.444214] dracut: dracut-009-6.fc15
[    2.583476] udevd used greatest stack depth: 5944 bytes left
[    2.588327] udev[83]: starting version 167
[    3.277460] setfont used greatest stack depth: 5896 bytes left
[    3.379342] dracut: Starting plymouth daemon
[    4.244107] blkfront: xvda: barriers disabled
[    4.251978]  xvda: xvda1 xvda2
[    4.990458] blkid used greatest stack depth: 5776 bytes left
[    5.362426] EXT4-fs (xvda1): INFO: recovery required on readonly filesystem
[    5.366498] EXT4-fs (xvda1): write access will be enabled during recovery
[    7.284564] EXT4-fs (xvda1): recovery complete
[    7.291642] EXT4-fs (xvda1): mounted filesystem with ordered data mode. Opts: (null)
[    7.299600] mount used greatest stack depth: 5248 bytes left
[    7.565163] dracut: Checking filesystems
[    7.569347] dracut: fsck -T -t noopts=_netdev -A -a
[    7.626447] dracut: /dev/xvda1: clean, 37969/577088 files, 1214136/2304000 blocks
[    7.631931] dracut: Remounting /dev/disk/by-uuid/78d7ed07-6f6c-407f-bf2a-ff9a218c63c8 with -o ro,
[    7.718359] EXT4-fs (xvda1): mounted filesystem with ordered data mode. Opts: (null)
[    7.747898] dracut: Mounted root filesystem /dev/xvda1
[    8.212558] dracut: Switching root
[    9.275093] systemd[1]: systemd 25 running in system mode. (+PAM +LIBWRAP +AUDIT +SELINUX +SYSVINIT +LIBCRYPTSETUP; fedora)
[    9.490985] NET: Registered protocol family 10
[    9.517263] systemd[1]: Set hostname to <dhcp-26-219.brq.redhat.com>.
[    9.681242] systemd-getty-generator[214]: Failed to create symlink from /lib/systemd/system/serial-getty@.service to /run/systemd/generator/getty.target.wants/serial-getty@hvc0.service: File exists
[    9.692568] systemd[1]: /lib/systemd/system-generators/systemd-getty-generator exited with exit status 1.
[   10.865577] systemd-readahead-replay[216]: Bumped block_nr parameter of /dev/xvda to 16384. This is a temporary hack and should be removed one day.
[   11.859580] udev[230]: starting version 167
[   11.916257] EXT4-fs (xvda1): re-mounted. Opts: (null)
[   13.508715] Initialising Xen virtual ethernet driver.
[   16.318230] Adding 1268732k swap on /dev/xvda2.  Priority:0 extents:1 across:1268732k SS
[   19.435954] ip used greatest stack depth: 5076 bytes left
[   20.245387] dhclient[487]: DHCPREQUEST on eth0 to 255.255.255.255 port 67
[   20.262761] dhclient[487]: DHCPACK from 10.34.27.253
[   21.136147] NET[547]: /sbin/dhclient-script : updated /etc/resolv.conf
[   21.280225] dhclient[487]: bound to 10.34.26.219 -- renewal in 37863 seconds.
Started Terminate Plymouth Boot Screen.
Started Wait for Plymouth Boot Screen to Quit.
Starting sshd: [  OK  ]\r[   24.335759] sshd (679): /proc/679/oom_adj is deprecated, please use /proc/679/oom_score_adj instead.
[   24.467840] sshd[679]: Server listening on 0.0.0.0 port 22.

[   24.499941] sshd[679]: Server listening on :: port 22.
Started LSB: Start up the OpenSSH server daemon.
Started LSB: Starts the RPCSEC GSS client daemon.
Starting NFS statd: Mounting other filesystems:  mount: sysfs already mounted or /sys busy
mount: according to mtab, /sys is already mounted on /sys
[FAILED]\r[   24.897287] rpc.statd[698]: Version 1.2.3 starting

[   24.974556] sm-notify[700]: Version 1.2.3 starting
Started LSB: Mount and unmount network filesystems..
Starting Permit User Sessions...
Started Permit User Sessions.
Starting Getty on tty6...
Started Getty on tty6.
Starting Getty on tty3...
Started Getty on tty3.
Starting Getty on tty1...
Started Getty on tty1.
Starting Getty on tty5...
Started Getty on tty5.
Starting Getty on tty4...
Started Getty on tty4.
Starting Getty on tty2...
Started Getty on tty2.
Starting Serial Getty on hvc0...
Starting RPC idmapd: Started Serial Getty on hvc0.
[  OK  ]
Started LSB: Start up the NFS file locking sevice.
[   25.839750] RPC: Registered udp transport module.
[   25.844301] RPC: Registered tcp transport module.
[   25.848456] RPC: Registered tcp NFSv4.1 backchannel transport module.
[  OK  ]
Started LSB: Starts the NFSv4 id mapping daemon.
[   26.302170] systemd[1]: Startup finished in 2s 81ms 846us (kernel) + 7s 471ms 327us (initrd) + 16s 743ms 473us (userspace) = 26s 296ms 646us.

Fedora release 15 (Lovelock)
Kernel 2.6.38.2-9.fc15.i686.PAEdebug on an i686 (hvc0)

dhcp-26-219.brq.redhat.com login: [   30.354084] eth0: no IPv6 routers present

Fedora release 15 (Lovelock)
Kernel 2.6.38.2-9.fc15.i686.PAEdebug on an i686 (hvc0)

dhcp-26-219.brq.redhat.com login: 

[-- Attachment #3: Type: text/plain, Size: 138 bytes --]

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Re: FC15: 32-bit PV guest crash on restore on x64_86 host
  2011-05-04 21:03   ` Igor Mammedov
@ 2011-05-04 21:13     ` Konrad Rzeszutek Wilk
  2011-05-05 13:32       ` Stefano Stabellini
  2011-05-05 21:28       ` Konrad Rzeszutek Wilk
  0 siblings, 2 replies; 9+ messages in thread
From: Konrad Rzeszutek Wilk @ 2011-05-04 21:13 UTC (permalink / raw)
  To: Igor Mammedov; +Cc: xen-devel

On Wed, May 04, 2011 at 11:03:04PM +0200, Igor Mammedov wrote:
> On 05/04/2011 10:19 PM, Konrad Rzeszutek Wilk wrote:
> >On Wed, May 04, 2011 at 09:58:01PM +0200, Igor Mammedov wrote:
> >>On restore 32bit PV guest crashes on x64_86 host, while  x64_86 PV guest
> >>works as expected.
> >>
> >>Bisecting of upstream kernel shows following offending commit:
> >Can you try the patches in devel/p2m-e820-pci.v2
> >(git://git.kernel.org/pub/scm/linux/kernel/git/konrad/xen.git)
> >
> 
> devel/p2m-e820-pci.v2 branch isn't boots.
> 
> Could you point out any specific patches?


a1fcd6e xen:p2m: Create entries in the P2M_MFN trees's to track 1-1 mappings
39fc738 xen/setup: Ignore E820_UNUSABLE when setting 1-1 mappings.

But the more I look at this I don't think those patches will help here at all.

This looks like a completle new failure. Let me try it on my box tomorrow
and see how it works out.
> 
> >
> >>commit 448f2831934381e9d3c4d93e700ba7bbe14612dc
> >>Author: Jeremy Fitzhardinge<jeremy.fitzhardinge@citrix.com>
> >>Date:   Wed Dec 15 13:19:33 2010 +0000
> >>
> >>     xen: add m2p override mechanism
> >>
> >>
> >>More details from https://bugzilla.redhat.com/show_bug.cgi?id=700752
> >>
> >>excerpt from hypervisor.log:
> >Can you attach the full bootup log of the DomU? I am curios of the
> >memory layout. And also the guest config.
> >
> 
> config:
> 
> #cat /etc/xen/fc15
> name = "fc15"
> uuid = "197408d9-8aeb-b0b8-ee0a-8110e5d1b8e3"
> maxmem = 1024
> memory = 1024
> vcpus = 1
> bootloader = "/usr/bin/pygrub"
> on_poweroff = "destroy"
> on_reboot = "restart"
> on_crash = "restart"
> vfb = [ "type=vnc,vncunused=1,keymap=en-us" ]
> disk = [ "phy:/dev/sdc,xvda,w" ]
> vif = [ "mac=00:16:36:44:90:4e,bridge=xenbr0,script=vif-bridge" ]
> 
> 
> 
> domU bootup log is attached.
> 
> >>(XEN) mm.c:630:d16 Non-privileged (16) attempt to map I/O space 2712536c5e
> >>(XEN) mm.c:3619:d16 ptwr_emulate: fixing up invalid PAE PTE c082712536c5e063
> >>(XEN) /builddir/build/BUILD/kernel-2.6.18/xen/include/asm/mm.h:225:d16 Error
> >>pfn 36c5b: rd=ffff8300afdca080, od=ffff8300af1f0080, caf=80000002,
> >>taf=00000000e8000001
> >>(XEN) mm.c:654:d16 Error getting mfn 36c5b (pfn 3b325b) from L1 entry
> >>0000000036c5b063 for dom16
> >>(XEN) mm.c:3619:d16 ptwr_emulate: fixing up invalid PAE PTE 0000000036c5b063
> >>(XEN) Pagetable walk from 00000000eb40ff98:
> >>(XEN)  L4[0x000] = 0000000066ad4027 0000000000027494
> >>(XEN)  L3[0x003] = 0000000066eae027 0000000000027492
> >>(XEN)  L2[0x15a] = 0000000237400067 0000000000001600
> >>(XEN)  L1[0x00f] = 80000002373f8061 000000000002b40f
> >>(XEN) domain_crash_sync called from entry.S
> >>(XEN) Domain 16 (vcpu#0) crashed on cpu#1:
> >>(XEN) ----[ Xen-3.1.2-257.el5  x86_64  debug=n  Not tainted ]----
> >>(XEN) CPU:    1
> >>(XEN) RIP:    0061:[<00000000c04047ee>]
> >>(XEN) RFLAGS: 0000000000010213   CONTEXT: guest
> >>(XEN) rax: 00000000f4d78000   rbx: 00000000eb4aea40   rcx: 000000000000007b
> >>(XEN) rdx: 00000000eb4aea40   rsi: 00000000eb410024   rdi: 00000000c0827117
> >>(XEN) rbp: 00000000eb40ffa0   rsp: 00000000eb40ffa0   r8:  0000000000000000
> >>(XEN) r9:  0000000000000000   r10: 0000000000000000   r11: 0000000000000000
> >>(XEN) r12: 0000000000000000   r13: 0000000000000000   r14: 0000000000000000
> >>(XEN) r15: 0000000000000000   cr0: 000000008005003b   cr4: 00000000000006f0
> >>(XEN) cr3: 0000000250002000   cr2: 00000000f4d78008
> >>(XEN) ds: 007b   es: 007b   fs: 00d8   gs: 00e0   ss: 0069   cs: 0061
> >>(XEN) Guest stack trace from esp=eb40ffa0:
> >>(XEN)   eb41001c c0827152 36c5d063 80000002 36c5c063 80000002 36c5b062 00000000
> >>(XEN)   00000008 eb4aea40 00000000 80000002 36c58063 80000002 36c57063 80000002
> >>(XEN)   36c56063 80000002 36c55063 80000002 36c54063 80000002 36c53063 80000002
> >>(XEN) mm.c:630:d0 Non-privileged (16) attempt to map I/O space 00000000
> >>
> >>gdb guest kernel stack trace:
> >>#0  0xc04047ee in xen_read_cr2 () at arch/x86/xen/mmu.c:1244
> >>#1  0xc0827152 in read_cr2 (regs=0xeb410024, error_code=0)
> >>     at
> >>/usr/src/debug/kernel-2.6.38.fc15/linux-2.6.38.i686/arch/x86/include/asm/paravirt.h:64
> >>#2  do_page_fault (regs=0xeb410024, error_code=0) at arch/x86/mm/fault.c:974
> >>#3<signal handler called>
> >>...
> >>
> >>
> >>
> >_______________________________________________
> >Xen-devel mailing list
> >Xen-devel@lists.xensource.com
> >http://lists.xensource.com/xen-devel
> 

> [    0.000000] Reserving virtual address space above 0xf5800000
> [    0.000000] Initializing cgroup subsys cpuset
> [    0.000000] Initializing cgroup subsys cpu
> [    0.000000] Linux version 2.6.38.2-9.fc15.i686.PAEdebug (mockbuild@x86-09.phx2.fedoraproject.org) (gcc version 4.6.0 20110329 (Red Hat 4.6.0-1) (GCC) ) #1 SMP Wed Mar 30 16:40:57 UTC 2011
> [    0.000000] ACPI in unprivileged domain disabled
> [    0.000000] released 0 pages of unused memory
> [    0.000000] BIOS-provided physical RAM map:
> [    0.000000]  Xen: 0000000000000000 - 00000000000a0000 (usable)
> [    0.000000]  Xen: 00000000000a0000 - 0000000000100000 (reserved)
> [    0.000000]  Xen: 0000000000100000 - 0000000040800000 (usable)
> [    0.000000] NX (Execute Disable) protection: active
> [    0.000000] DMI not present or invalid.
> [    0.000000] e820 update range: 0000000000000000 - 0000000000010000 (usable) ==> (reserved)
> [    0.000000] e820 remove range: 00000000000a0000 - 0000000000100000 (usable)
> [    0.000000] last_pfn = 0x40800 max_arch_pfn = 0x1000000
> [    0.000000] initial memory mapped : 0 - 02f55000
> [    0.000000] init_memory_mapping: 0000000000000000-000000002c9fe000
> [    0.000000]  0000000000 - 002c9fe000 page 4k
> [    0.000000] kernel direct mapping tables up to 2c9fe000 @ 14c4000-1631000
> [    0.000000] RAMDISK: 01631000 - 02f55000
> [    0.000000] 318MB HIGHMEM available.
> [    0.000000] 713MB LOWMEM available.
> [    0.000000]   mapped low ram: 0 - 2c9fe000
> [    0.000000]   low ram: 0 - 2c9fe000
> [    0.000000] Zone PFN ranges:
> [    0.000000]   DMA      0x00000010 -> 0x00001000
> [    0.000000]   Normal   0x00001000 -> 0x0002c9fe
> [    0.000000]   HighMem  0x0002c9fe -> 0x00040800
> [    0.000000] Movable zone start PFN for each node
> [    0.000000] early_node_map[2] active PFN ranges
> [    0.000000]     0: 0x00000010 -> 0x000000a0
> [    0.000000]     0: 0x00000100 -> 0x00040800
> [    0.000000] On node 0 totalpages: 264080
> [    0.000000] free_area_init_node: node 0, pgdat c0b00400, node_mem_map ec1ed200
> [    0.000000]   DMA zone: 32 pages used for memmap
> [    0.000000]   DMA zone: 0 pages reserved
> [    0.000000]   DMA zone: 3952 pages, LIFO batch:0
> [    0.000000]   Normal zone: 1396 pages used for memmap
> [    0.000000]   Normal zone: 177290 pages, LIFO batch:31
> [    0.000000]   HighMem zone: 637 pages used for memmap
> [    0.000000]   HighMem zone: 80773 pages, LIFO batch:15
> [    0.000000] Using APIC driver default
> [    0.000000] SFI: Simple Firmware Interface v0.81 http://simplefirmware.org
> [    0.000000] SMP: Allowing 1 CPUs, 0 hotplug CPUs
> [    0.000000] Local APIC disabled by BIOS -- you can enable it with "lapic"
> [    0.000000] APIC: disable apic facility
> [    0.000000] APIC: switched to apic NOOP
> [    0.000000] nr_irqs_gsi: 16
> [    0.000000] PM: Registered nosave memory: 00000000000a0000 - 0000000000100000
> [    0.000000] Allocating PCI resources starting at 40800000 (gap: 40800000:bf800000)
> [    0.000000] Booting paravirtualized kernel on Xen
> [    0.000000] Xen version: 3.1.2-257.el5 (preserve-AD)
> [    0.000000] setup_percpu: NR_CPUS:64 nr_cpumask_bits:64 nr_cpu_ids:1 nr_node_ids:1
> [    0.000000] PERCPU: Embedded 333 pages/cpu @ec08b000 s1342656 r0 d21312 u1363968
> [    0.000000] pcpu-alloc: s1342656 r0 d21312 u1363968 alloc=333*4096
> [    0.000000] pcpu-alloc: [0] 0 
> [    0.000000] register_vcpu_info failed: err=-38
> [    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 262015
> [    0.000000] Kernel command line:  ro root=UUID=78d7ed07-6f6c-407f-bf2a-ff9a218c63c8 rd_NO_LUKS rd_NO_LVM rd_NO_MD rd_NO_DM LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYTABLE=us console=tty0 console=hvc0 loglevel=9 selinux=0
> [    0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes)
> [    0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
> [    0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
> [    0.000000] Initializing CPU#0
> [    0.000000] allocated 5283520 bytes of page_cgroup
> [    0.000000] please try 'cgroup_disable=memory' option if you don't want memory cgroups
> [    0.000000] Initializing HighMem for node 0 (0002c9fe:00040800)
> [    0.000000] Memory: 988084k/1056768k available (4266k kernel code, 60044k reserved, 2961k data, 1892k init, 317448k highmem)
> [    0.000000] virtual kernel memory layout:
> [    0.000000]     fixmap  : 0xf4d75000 - 0xf57ff000   (10792 kB)
> [    0.000000]     pkmap   : 0xf4a00000 - 0xf4c00000   (2048 kB)
> [    0.000000]     vmalloc : 0xed1fe000 - 0xf49fe000   ( 120 MB)
> [    0.000000]     lowmem  : 0xc0000000 - 0xec9fe000   ( 713 MB)
> [    0.000000]       .init : 0xc0b0f000 - 0xc0ce8000   (1892 kB)
> [    0.000000]       .data : 0xc082a8e2 - 0xc0b0ee80   (2961 kB)
> [    0.000000]       .text : 0xc0400000 - 0xc082a8e2   (4266 kB)
> [    0.000000] SLUB: Genslabs=15, HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
> [    0.000000] Hierarchical RCU implementation.
> [    0.000000] 	RCU dyntick-idle grace-period acceleration is enabled.
> [    0.000000] 	RCU lockdep checking is enabled.
> [    0.000000] 	RCU-based detection of stalled CPUs is disabled.
> [    0.000000] NR_IRQS:2304
> [    0.000000] CPU 0 irqstacks, hard=eb434000 soft=eb436000
> [    0.000000] Console: colour dummy device 80x25
> [    0.000000] console [tty0] enabled
> [    0.000000] console [hvc0] enabled
> [    0.000000] Lock dependency validator: Copyright (c) 2006 Red Hat, Inc., Ingo Molnar
> [    0.000000] ... MAX_LOCKDEP_SUBCLASSES:  8
> [    0.000000] ... MAX_LOCK_DEPTH:          48
> [    0.000000] ... MAX_LOCKDEP_KEYS:        8191
> [    0.000000] ... CLASSHASH_SIZE:          4096
> [    0.000000] ... MAX_LOCKDEP_ENTRIES:     16384
> [    0.000000] ... MAX_LOCKDEP_CHAINS:      32768
> [    0.000000] ... CHAINHASH_SIZE:          16384
> [    0.000000]  memory used by lock dependency info: 3823 kB
> [    0.000000]  per task-struct memory footprint: 1920 bytes
> [    0.000000] ODEBUG: 10 of 10 active objects replaced
> [    0.000000] Xen: using vcpuop timer interface
> [    0.000000] installing Xen timer for CPU 0
> [    0.000000] Detected 2000.002 MHz processor.
> [    0.000999] Calibrating delay loop (skipped), value calculated using timer frequency.. 4000.00 BogoMIPS (lpj=2000002)
> [    0.000999] pid_max: default: 32768 minimum: 301
> [    0.000999] Security Framework initialized
> [    0.000999] SELinux:  Disabled at boot.
> [    0.001443] Mount-cache hash table entries: 512
> [    0.005650] Initializing cgroup subsys ns
> [    0.005667] ns_cgroup deprecated: consider using the 'clone_children' flag without the ns_cgroup.
> [    0.005703] Initializing cgroup subsys cpuacct
> [    0.005808] Initializing cgroup subsys memory
> [    0.006116] Initializing cgroup subsys devices
> [    0.006134] Initializing cgroup subsys freezer
> [    0.006149] Initializing cgroup subsys net_cls
> [    0.006169] Initializing cgroup subsys blkio
> [    0.006586] CPU: Physical Processor ID: 0
> [    0.006600] CPU: Processor Core ID: 1
> [    0.006943] SMP alternatives: switching to UP code
> [    0.065225] Freeing SMP alternatives: 12k freed
> [    0.065302] ftrace: allocating 23733 entries in 47 pages
> [    0.067085] Performance Events: 
> [    0.067111] no APIC, boot with the "lapic" boot parameter to force-enable it.
> [    0.067141] no hardware sampling interrupt available.
> [    0.067199] Broken PMU hardware detected, using software events only.
> [    0.070533] NMI watchdog disabled (cpu0): hardware events not enabled
> [    0.070574] Brought up 1 CPUs
> [    0.070601] sizeof(vma)=92 bytes
> [    0.070635] sizeof(page)=32 bytes
> [    0.070650] sizeof(inode)=700 bytes
> [    0.070673] sizeof(dentry)=164 bytes
> [    0.070694] sizeof(ext3inode)=984 bytes
> [    0.070718] sizeof(ext4inode)=1176 bytes
> [    0.070746] sizeof(buffer_head)=56 bytes
> [    0.070768] sizeof(skbuff)=192 bytes
> [    0.070783] sizeof(task_struct)=5388 bytes
> [    0.073155] devtmpfs: initialized
> [    0.079524] atomic64 test passed for i586+ platform with CX8 and with SSE
> [    0.079923] Grant table initialized
> [    0.099474] Time: 165:165:165  Date: 165/165/65
> [    0.100111] NET: Registered protocol family 16
> [    0.101972] Extended Config Space enabled on 0 nodes
> [    0.104013] PCI: setting up Xen PCI frontend stub
> [    0.104032] PCI: pci_cache_line_size set to 64 bytes
> [    0.122236] bio: create slab <bio-0> at 0
> [    0.122999] ACPI: Interpreter disabled.
> [    0.127061] xen_balloon: Initialising balloon driver.
> [    0.127255] last_pfn = 0x40800 max_arch_pfn = 0x1000000
> [    0.130518] vgaarb: loaded
> [    0.131409] SCSI subsystem initialized
> [    0.131829] libata version 3.00 loaded.
> [    0.132427] usbcore: registered new interface driver usbfs
> [    0.132571] usbcore: registered new interface driver hub
> [    0.132960] usbcore: registered new device driver usb
> [    0.133751] PCI: System does not support PCI
> [    0.133769] PCI: System does not support PCI
> [    0.135217] NetLabel: Initializing
> [    0.135230] NetLabel:  domain hash size = 128
> [    0.135245] NetLabel:  protocols = UNLABELED CIPSOv4
> [    0.135505] NetLabel:  unlabeled traffic allowed by default
> [    0.137548] Switching to clocksource xen
> [    0.137986] Switched to NOHz mode on CPU #0
> [    0.334659] pnp: PnP ACPI: disabled
> [    0.369769] NET: Registered protocol family 2
> [    0.371378] IP route cache hash table entries: 32768 (order: 5, 131072 bytes)
> [    0.375926] TCP established hash table entries: 131072 (order: 8, 1048576 bytes)
> [    0.378193] TCP bind hash table entries: 65536 (order: 9, 2883584 bytes)
> [    0.393942] TCP: Hash tables configured (established 131072 bind 65536)
> [    0.394077] TCP reno registered
> [    0.394362] UDP hash table entries: 512 (order: 3, 49152 bytes)
> [    0.394766] UDP-Lite hash table entries: 512 (order: 3, 49152 bytes)
> [    0.396873] NET: Registered protocol family 1
> [    0.396979] PCI: CLS 0 bytes, default 64
> [    0.398239] Trying to unpack rootfs image as initramfs...
> [    1.179325] Freeing initrd memory: 25744k freed
> [    1.247362] DMA-API: preallocated 32768 debug entries
> [    1.247386] DMA-API: debugging enabled by kernel config
> [    1.247969] platform rtc_cmos: registered platform RTC device (no PNP device found)
> [    1.249498] apm: BIOS not found.
> [    1.250948] audit: initializing netlink socket (disabled)
> [    1.251234] type=2000 audit(1304541860.680:1): initialized
> [    1.282800] highmem bounce pool size: 64 pages
> [    1.282871] HugeTLB registered 2 MB page size, pre-allocated 0 pages
> [    1.331160] VFS: Disk quotas dquot_6.5.2
> [    1.331838] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
> [    1.338179] msgmni has been set to 1376
> [    1.339622] cryptomgr_test used greatest stack depth: 6660 bytes left
> [    1.340905] alg: No test for stdrng (krng)
> [    1.340953] NET: Registered protocol family 38
> [    1.341374] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 253)
> [    1.341611] io scheduler noop registered
> [    1.341623] io scheduler deadline registered
> [    1.342168] io scheduler cfq registered (default)
> [    1.342181] list_sort_test: start testing list_sort()
> [    1.345420] pci_hotplug: PCI Hot Plug PCI Core version: 0.5
> [    1.345846] pciehp: PCI Express Hot Plug Controller Driver version: 0.4
> [    1.345861] acpiphp: ACPI Hot Plug PCI Controller Driver version: 0.5
> [    1.363051] Console: switching to colour frame buffer device 100x37
> [    1.376973] isapnp: Scanning for PnP cards...
> [    1.735258] isapnp: No Plug & Play device found
> [    1.740765] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
> [    1.750230] Non-volatile memory driver v1.3
> [    1.750339] Linux agpgart interface v0.103
> [    1.780362] brd: module loaded
> [    1.795330] loop: module loaded
> [    1.801715] Fixed MDIO Bus: probed
> [    1.806441] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
> [    1.809967] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
> [    1.813734] uhci_hcd: USB Universal Host Controller Interface driver
> [    1.818480] i8042: PNP: No PS/2 controller found. Probing ports directly.
> [    1.823711] mousedev: PS/2 mouse device common for all mice
> [    1.832065] input: Xen Virtual Keyboard as /devices/virtual/input/input0
> [    1.838382] input: Xen Virtual Pointer as /devices/virtual/input/input1
> [    1.852788] rtc_cmos rtc_cmos: rtc core: registered rtc_cmos as rtc0
> [    1.859491] rtc_cmos: probe of rtc_cmos failed with error -38
> [    1.865992] device-mapper: uevent: version 1.0.3
> [    1.870819] device-mapper: ioctl: 4.19.1-ioctl (2011-01-07) initialised: dm-devel@redhat.com
> [    1.876389] cpuidle: using governor ladder
> [    1.879802] cpuidle: using governor menu
> [    1.886583] usbcore: registered new interface driver usbhid
> [    1.889865] usbhid: USB HID core driver
> [    1.893941] nf_conntrack version 0.5.0 (15841 buckets, 63364 max)
> [    1.905686] ip_tables: (C) 2000-2006 Netfilter Core Team
> [    1.909268] TCP cubic registered
> [    1.912569] Initializing XFRM netlink socket
> [    1.916055] NET: Registered protocol family 17
> [    1.919740] Registering the dns_resolver key type
> [    1.923619] Using IPI No-Shortcut mode
> [    1.928695] PM: Hibernation image not present or could not be loaded.
> [    1.932292] registered taskstats version 1
> [    1.935779] IMA: No TPM chip found, activating TPM-bypass!
> [    1.941384] XENBUS: Device with no driver: device/vbd/51712
> [    1.943205] XENBUS: Device with no driver: device/vif/0
> [    1.945028]   Magic number: 1:252:3141
> [    1.946890] drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
> [    1.950491] Initalizing network drop monitor service
> [    1.957762] Freeing unused kernel memory: 1892k freed
> [    1.969752] Write protecting the kernel text: 4268k
> [    1.975385] Write protecting the kernel read-only data: 2096k
> [    1.978803] NX-protecting the kernel data: 5972k
> [    2.016529] mknod used greatest stack depth: 6432 bytes left
> [    2.084306] systemd-timesta used greatest stack depth: 6324 bytes left
> [    2.123089] ln used greatest stack depth: 6044 bytes left
> mkdir: cannot create directory `/run': File exists
> [    2.444214] dracut: dracut-009-6.fc15
> [    2.583476] udevd used greatest stack depth: 5944 bytes left
> [    2.588327] udev[83]: starting version 167
> [    3.277460] setfont used greatest stack depth: 5896 bytes left
> [    3.379342] dracut: Starting plymouth daemon
> [    4.244107] blkfront: xvda: barriers disabled
> [    4.251978]  xvda: xvda1 xvda2
> [    4.990458] blkid used greatest stack depth: 5776 bytes left
> [    5.362426] EXT4-fs (xvda1): INFO: recovery required on readonly filesystem
> [    5.366498] EXT4-fs (xvda1): write access will be enabled during recovery
> [    7.284564] EXT4-fs (xvda1): recovery complete
> [    7.291642] EXT4-fs (xvda1): mounted filesystem with ordered data mode. Opts: (null)
> [    7.299600] mount used greatest stack depth: 5248 bytes left
> [    7.565163] dracut: Checking filesystems
> [    7.569347] dracut: fsck -T -t noopts=_netdev -A -a
> [    7.626447] dracut: /dev/xvda1: clean, 37969/577088 files, 1214136/2304000 blocks
> [    7.631931] dracut: Remounting /dev/disk/by-uuid/78d7ed07-6f6c-407f-bf2a-ff9a218c63c8 with -o ro,
> [    7.718359] EXT4-fs (xvda1): mounted filesystem with ordered data mode. Opts: (null)
> [    7.747898] dracut: Mounted root filesystem /dev/xvda1
> [    8.212558] dracut: Switching root
> [    9.275093] systemd[1]: systemd 25 running in system mode. (+PAM +LIBWRAP +AUDIT +SELINUX +SYSVINIT +LIBCRYPTSETUP; fedora)
> [    9.490985] NET: Registered protocol family 10
> [    9.517263] systemd[1]: Set hostname to <dhcp-26-219.brq.redhat.com>.
> [    9.681242] systemd-getty-generator[214]: Failed to create symlink from /lib/systemd/system/serial-getty@.service to /run/systemd/generator/getty.target.wants/serial-getty@hvc0.service: File exists
> [    9.692568] systemd[1]: /lib/systemd/system-generators/systemd-getty-generator exited with exit status 1.
> [   10.865577] systemd-readahead-replay[216]: Bumped block_nr parameter of /dev/xvda to 16384. This is a temporary hack and should be removed one day.
> [   11.859580] udev[230]: starting version 167
> [   11.916257] EXT4-fs (xvda1): re-mounted. Opts: (null)
> [   13.508715] Initialising Xen virtual ethernet driver.
> [   16.318230] Adding 1268732k swap on /dev/xvda2.  Priority:0 extents:1 across:1268732k SS
> [   19.435954] ip used greatest stack depth: 5076 bytes left
> [   20.245387] dhclient[487]: DHCPREQUEST on eth0 to 255.255.255.255 port 67
> [   20.262761] dhclient[487]: DHCPACK from 10.34.27.253
> [   21.136147] NET[547]: /sbin/dhclient-script : updated /etc/resolv.conf
> [   21.280225] dhclient[487]: bound to 10.34.26.219 -- renewal in 37863 seconds.
> Started Terminate Plymouth Boot Screen.
> Started Wait for Plymouth Boot Screen to Quit.
> Starting sshd: [  OK  ]
[   24.335759] sshd (679): /proc/679/oom_adj is deprecated, please use /proc/679/oom_score_adj instead.
> [   24.467840] sshd[679]: Server listening on 0.0.0.0 port 22.
> 
> [   24.499941] sshd[679]: Server listening on :: port 22.
> Started LSB: Start up the OpenSSH server daemon.
> Started LSB: Starts the RPCSEC GSS client daemon.
> Starting NFS statd: Mounting other filesystems:  mount: sysfs already mounted or /sys busy
> mount: according to mtab, /sys is already mounted on /sys
> [FAILED]
[   24.897287] rpc.statd[698]: Version 1.2.3 starting
> 
> [   24.974556] sm-notify[700]: Version 1.2.3 starting
> Started LSB: Mount and unmount network filesystems..
> Starting Permit User Sessions...
> Started Permit User Sessions.
> Starting Getty on tty6...
> Started Getty on tty6.
> Starting Getty on tty3...
> Started Getty on tty3.
> Starting Getty on tty1...
> Started Getty on tty1.
> Starting Getty on tty5...
> Started Getty on tty5.
> Starting Getty on tty4...
> Started Getty on tty4.
> Starting Getty on tty2...
> Started Getty on tty2.
> Starting Serial Getty on hvc0...
> Starting RPC idmapd: Started Serial Getty on hvc0.
> [  OK  ]
> Started LSB: Start up the NFS file locking sevice.
> [   25.839750] RPC: Registered udp transport module.
> [   25.844301] RPC: Registered tcp transport module.
> [   25.848456] RPC: Registered tcp NFSv4.1 backchannel transport module.
> [  OK  ]
> Started LSB: Starts the NFSv4 id mapping daemon.
> [   26.302170] systemd[1]: Startup finished in 2s 81ms 846us (kernel) + 7s 471ms 327us (initrd) + 16s 743ms 473us (userspace) = 26s 296ms 646us.
> 
> Fedora release 15 (Lovelock)
> Kernel 2.6.38.2-9.fc15.i686.PAEdebug on an i686 (hvc0)
> 
> dhcp-26-219.brq.redhat.com login: [   30.354084] eth0: no IPv6 routers present
> 
> Fedora release 15 (Lovelock)
> Kernel 2.6.38.2-9.fc15.i686.PAEdebug on an i686 (hvc0)
> 
> dhcp-26-219.brq.redhat.com login: 

> _______________________________________________
> Xen-devel mailing list
> Xen-devel@lists.xensource.com
> http://lists.xensource.com/xen-devel

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Re: FC15: 32-bit PV guest crash on restore on x64_86 host
  2011-05-04 21:13     ` Konrad Rzeszutek Wilk
@ 2011-05-05 13:32       ` Stefano Stabellini
  2011-05-05 21:28       ` Konrad Rzeszutek Wilk
  1 sibling, 0 replies; 9+ messages in thread
From: Stefano Stabellini @ 2011-05-05 13:32 UTC (permalink / raw)
  To: Konrad Rzeszutek Wilk; +Cc: Igor Mammedov, xen-devel

On Wed, 4 May 2011, Konrad Rzeszutek Wilk wrote:
> On Wed, May 04, 2011 at 11:03:04PM +0200, Igor Mammedov wrote:
> > On 05/04/2011 10:19 PM, Konrad Rzeszutek Wilk wrote:
> > >On Wed, May 04, 2011 at 09:58:01PM +0200, Igor Mammedov wrote:
> > >>On restore 32bit PV guest crashes on x64_86 host, while  x64_86 PV guest
> > >>works as expected.
> > >>
> > >>Bisecting of upstream kernel shows following offending commit:
> > >Can you try the patches in devel/p2m-e820-pci.v2
> > >(git://git.kernel.org/pub/scm/linux/kernel/git/konrad/xen.git)
> > >
> >
> > devel/p2m-e820-pci.v2 branch isn't boots.
> >
> > Could you point out any specific patches?
> 
> 
> a1fcd6e xen:p2m: Create entries in the P2M_MFN trees's to track 1-1 mappings
> 39fc738 xen/setup: Ignore E820_UNUSABLE when setting 1-1 mappings.
> 

Also the following might help:

commit 706cc9d2a4cb9b03217e15b0bb3d117f4d5109ee
Author: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Date:   Wed Feb 2 18:32:59 2011 +0000

    xen/m2p: Check whether the MFN has IDENTITY_FRAME bit set..


> But the more I look at this I don't think those patches will help here at all.
> 
> This looks like a completle new failure. Let me try it on my box tomorrow
> and see how it works out.

I tried to repro the issue but I couldn't.

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Re: FC15: 32-bit PV guest crash on restore on x64_86 host
  2011-05-04 21:13     ` Konrad Rzeszutek Wilk
  2011-05-05 13:32       ` Stefano Stabellini
@ 2011-05-05 21:28       ` Konrad Rzeszutek Wilk
  2011-05-06 16:16         ` Igor Mammedov
  1 sibling, 1 reply; 9+ messages in thread
From: Konrad Rzeszutek Wilk @ 2011-05-05 21:28 UTC (permalink / raw)
  To: Igor Mammedov; +Cc: xen-devel

On Wed, May 04, 2011 at 05:13:20PM -0400, Konrad Rzeszutek Wilk wrote:
> On Wed, May 04, 2011 at 11:03:04PM +0200, Igor Mammedov wrote:
> > On 05/04/2011 10:19 PM, Konrad Rzeszutek Wilk wrote:
> > >On Wed, May 04, 2011 at 09:58:01PM +0200, Igor Mammedov wrote:
> > >>On restore 32bit PV guest crashes on x64_86 host, while  x64_86 PV guest
> > >>works as expected.

I tried this with 2.6.39-rc6 and could not reproduce this. Does it work
for you with 2.6.39-rc6? Or is it _only_ failing with 2.6.38?

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Re: FC15: 32-bit PV guest crash on restore on x64_86 host
  2011-05-05 21:28       ` Konrad Rzeszutek Wilk
@ 2011-05-06 16:16         ` Igor Mammedov
  2011-05-06 17:12           ` Konrad Rzeszutek Wilk
  0 siblings, 1 reply; 9+ messages in thread
From: Igor Mammedov @ 2011-05-06 16:16 UTC (permalink / raw)
  To: xen-devel

On 05/05/2011 11:28 PM, Konrad Rzeszutek Wilk wrote:
> On Wed, May 04, 2011 at 05:13:20PM -0400, Konrad Rzeszutek Wilk wrote:
>> On Wed, May 04, 2011 at 11:03:04PM +0200, Igor Mammedov wrote:
>>> On 05/04/2011 10:19 PM, Konrad Rzeszutek Wilk wrote:
>>>> On Wed, May 04, 2011 at 09:58:01PM +0200, Igor Mammedov wrote:
>>>>> On restore 32bit PV guest crashes on x64_86 host, while  x64_86 PV guest
>>>>> works as expected.
> I tried this with 2.6.39-rc6 and could not reproduce this. Does it work
> for you with 2.6.39-rc6? Or is it _only_ failing with 2.6.38?
>
>
It's failing with 2.6.39-rc6 as well. And 2.6.38 with suggested patches 
as well.

But since I do like fast builds, I've used fast PC with 2 NUMA nodes at 
least and
it turns out  that the bug is not reproducible on PC with only one cpu 
(HPZ800
1 socket config). So you can reproduce it if you try a PC with at least 
2 cpus
nodes.

> _______________________________________________
> Xen-devel mailing list
> Xen-devel@lists.xensource.com
> http://lists.xensource.com/xen-devel

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Re: FC15: 32-bit PV guest crash on restore on x64_86 host
  2011-05-06 16:16         ` Igor Mammedov
@ 2011-05-06 17:12           ` Konrad Rzeszutek Wilk
  2011-05-06 17:41             ` Igor Mammedov
  0 siblings, 1 reply; 9+ messages in thread
From: Konrad Rzeszutek Wilk @ 2011-05-06 17:12 UTC (permalink / raw)
  To: Igor Mammedov; +Cc: xen-devel

On Fri, May 06, 2011 at 06:16:26PM +0200, Igor Mammedov wrote:
> On 05/05/2011 11:28 PM, Konrad Rzeszutek Wilk wrote:
> >On Wed, May 04, 2011 at 05:13:20PM -0400, Konrad Rzeszutek Wilk wrote:
> >>On Wed, May 04, 2011 at 11:03:04PM +0200, Igor Mammedov wrote:
> >>>On 05/04/2011 10:19 PM, Konrad Rzeszutek Wilk wrote:
> >>>>On Wed, May 04, 2011 at 09:58:01PM +0200, Igor Mammedov wrote:
> >>>>>On restore 32bit PV guest crashes on x64_86 host, while  x64_86 PV guest
> >>>>>works as expected.
> >I tried this with 2.6.39-rc6 and could not reproduce this. Does it work
> >for you with 2.6.39-rc6? Or is it _only_ failing with 2.6.38?
> >
> >
> It's failing with 2.6.39-rc6 as well. And 2.6.38 with suggested
> patches as well.
> 
> But since I do like fast builds, I've used fast PC with 2 NUMA nodes
> at least and

Hmm, the guest is a single CPU one, so perhaps you are hitting a hypervisor
issue. What happens if you turn NUMA off on the hypervisor line?

> it turns out  that the bug is not reproducible on PC with only one
> cpu (HPZ800
> 1 socket config). So you can reproduce it if you try a PC with at
> least 2 cpus
> nodes.

Ok, I've an old IBM x366 that has four sockets - that should do it -
but will have to wait till next week when I am back from traveling.

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Re: FC15: 32-bit PV guest crash on restore on x64_86 host
  2011-05-06 17:12           ` Konrad Rzeszutek Wilk
@ 2011-05-06 17:41             ` Igor Mammedov
  0 siblings, 0 replies; 9+ messages in thread
From: Igor Mammedov @ 2011-05-06 17:41 UTC (permalink / raw)
  To: xen-devel

On 05/06/2011 07:12 PM, Konrad Rzeszutek Wilk wrote:
> On Fri, May 06, 2011 at 06:16:26PM +0200, Igor Mammedov wrote:
>> On 05/05/2011 11:28 PM, Konrad Rzeszutek Wilk wrote:
>>> On Wed, May 04, 2011 at 05:13:20PM -0400, Konrad Rzeszutek Wilk wrote:
>>>> On Wed, May 04, 2011 at 11:03:04PM +0200, Igor Mammedov wrote:
>>>>> On 05/04/2011 10:19 PM, Konrad Rzeszutek Wilk wrote:
>>>>>> On Wed, May 04, 2011 at 09:58:01PM +0200, Igor Mammedov wrote:
>>>>>>> On restore 32bit PV guest crashes on x64_86 host, while  x64_86 PV guest
>>>>>>> works as expected.
>>> I tried this with 2.6.39-rc6 and could not reproduce this. Does it work
>>> for you with 2.6.39-rc6? Or is it _only_ failing with 2.6.38?
>>>
>>>
>> It's failing with 2.6.39-rc6 as well. And 2.6.38 with suggested
>> patches as well.
>>
>> But since I do like fast builds, I've used fast PC with 2 NUMA nodes
>> at least and
> Hmm, the guest is a single CPU one, so perhaps you are hitting a hypervisor
> issue. What happens if you turn NUMA off on the hypervisor line?

Looks like removing numa=on from hypervisor init line helped, guest
stays alive after restore.

>> it turns out  that the bug is not reproducible on PC with only one
>> cpu (HPZ800
>> 1 socket config). So you can reproduce it if you try a PC with at
>> least 2 cpus
>> nodes.
> Ok, I've an old IBM x366 that has four sockets - that should do it -
> but will have to wait till next week when I am back from traveling.
>
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@lists.xensource.com
> http://lists.xensource.com/xen-devel

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2011-05-06 17:41 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-05-04 19:58 FC15: 32-bit PV guest crash on restore on x64_86 host Igor Mammedov
2011-05-04 20:19 ` Konrad Rzeszutek Wilk
2011-05-04 21:03   ` Igor Mammedov
2011-05-04 21:13     ` Konrad Rzeszutek Wilk
2011-05-05 13:32       ` Stefano Stabellini
2011-05-05 21:28       ` Konrad Rzeszutek Wilk
2011-05-06 16:16         ` Igor Mammedov
2011-05-06 17:12           ` Konrad Rzeszutek Wilk
2011-05-06 17:41             ` Igor Mammedov

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.