PV Guest Crash on Boot on Oracle VM Server with More Than 64G Memory (Doc ID 1093160.1)

Last updated on MARCH 08, 2017

Applies to:

Oracle VM - Version: 2.2 and later   [Release: OVM22 and later ]
Linux x86

Symptoms

Guest crashes on boot on the ovm2.2 server with 128G memory.

Example of crash on EL5u3 guest:
Upon booting the OVM image, the system fails on boot with the final error:
Call Trace:
[<c045f3e6>] free_pgtables+0x69/0x76
[<c046599c>] free_pages_and_swap_cache+0x6b/0x7f
[<c0460630>] exit_mmap+0xb0/0xe4
[<c041d7fb>] mmput+0x25/0x69
[<c047875b>] flush_old_exec+0x629/0x8af
[<c046d687>] get_unused_fd+0x54/0xb5
[<c0495935>] load_elf_binary+0x494/0x160b
[<c045f177>] get_user_pages+0x3f9/0x499
[<c0610228>] _spin_lock_irqsave+0x8/0x28
[<c0459602>] page_address+0x7a/0x81
[<c0459d07>] kmap_high+0x1c/0x2b1
[<c0610228>] _spin_lock_irqsave+0x8/0x28
[<c0459602>] page_address+0x7a/0x81
[<c0459b68>] kunmap_high+0x14/0x8e
[<c0477df7>] copy_strings+0x169/0x173
[<c04776c3>] search_binary_handler+0x99/0x219
[<c0479491>] do_execve+0x13b/0x1b2
[<c040337d>] sys_execve+0x2a/0x4a
[<c0405413>] syscall_call+0x7/0xb
=======================
Code: 8b 03 f6 c4 40 74 1d 85 d2 74 0d b0 01 86 82 80 11 00 00 e8 a4 2a fc ff 89 d8 e8 8b ff ff ff e9 b8 00 00 00 8b 43 04 85 c0 75 08 <0f> 0b 36 01 6a 08 63 c0 f0 ff 4b 04 0f 94 c0 84 c0 0f 84 9c 00
EIP: [<c0455c3b>] release_pages+0x4e/0x137 SS:ESP 0069:c0cb2dbc
<0>Kernel panic - not syncing: Fatal exception

And logs for EL4 PV guest crash:
kernel BUG at mm/page_alloc.c:208!
invalid operand: 0000 [#1]
SMP
Modules linked in:
CPU: 0
EIP: 0061:[<c013f5d4>] Tainted: G B VLI
EFLAGS: 00010002 (2.6.9-67.0.22.0.2.ELxenU)
EIP is at free_pages_bulk+0x13c/0x1d2
eax: 00000001 ebx: 0102d4a5 ecx: c029fd80 edx: e15a9480
esi: 00000000 edi: e15a9480 ebp: c029fd80 esp: ed49bed4
ds: 007b es: 007b ss: 0068
Process udev (pid: 9, threadinfo=ed49b000 task=ed484070)
Stack: e15a94a0 ffffffff 00816a52 c029ff88 00000000 c1000000 c029ff88 00000001
c029fd80 e15a9580 ed49b000 00000000 c013fa9b c029fd80 00000000 c02a0110
00000000 c029fd80 00000000 e15a9580 00000010 c79fd240 c0149647 e15a9580
Call Trace:
[<c013fa9b>] free_hot_cold_page+0x10e/0x165
[<c0149647>] clear_page_tables+0x2fc/0x371
[<c014fc47>] exit_mmap+0xb3/0x15b
[<c011abad>] mmput+0x52/0x77
[<c011e9a5>] do_exit+0x1f4/0x3ec
[<c011ec91>] sys_exit_group+0x0/0x11
[<c010740f>] syscall_call+0x7/0xb
Code: b8 01 00 00 00 8b 7c 24 14 d3 e0 31 d8 c1 e0 05 01 c7 89 d8 c1 e0 05 03 44 24 14 89 04 24 57 55 e8 52 fd ff ff 59 85 c0 5a 74 08 <0f> 0b d0 00 71 8a 27 c0 ff 34 24 55 e8 3b fd ff ff 59 85 c0 5a
<0>Fatal exception: panic in 5 seconds
Bad page state at free_hot_cold_page (in process 'hotplug', page e15a9660)
flags:0x00000000 mapping:00000000 mapcount:1 count:0
Backtrace:
[<c013f3c5>] bad_page+0x5c/0x8d
[<c013fa3f>] free_hot_cold_page+0xb2/0x165
[<c0149647>] clear_page_tables+0x2fc/0x371
[<c014fc47>] exit_mmap+0xb3/0x15b
[<c011abad>] mmput+0x52/0x77
[<c0164810>] exec_mmap+0x1df/0x200
[<c015ad67>] vfs_read+0xcf/0xd8
[<c01648df>] flush_old_exec+0x46/0x256
[<c015a418>] get_unused_fd+0x2d/0xae
[<c018141b>] load_elf_binary+0x594/0xd49
[<c0148557>] kmap_high+0x19/0x21c
[<c014876d>] kunmap_high+0x13/0x95
[<c01487d2>] kunmap_high+0x78/0x95
[<c0164157>] copy_strings+0x22f/0x23a
[<c0180e87>] load_elf_binary+0x0/0xd49
[<c01653d1>] search_binary_handler+0xb4/0x229
[<c01656be>] do_execve+0x178/0x210
[<c0105da0>] sys_execve+0x2c/0x8e
[<c010740f>] syscall_call+0x7/0xb



Changes

Installed EL5u3 (or EL4U6) PV guest on Oracle VM 2.2 server with more than 64G physical memory.

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms