PVHVM Guest Boot Delayed by Xen Balloon Driver

(Doc ID 2311468.1)

Last updated on SEPTEMBER 27, 2017

Applies to:

Oracle VM - Version 3.3.1 and later
Linux x86-64

Symptoms

When created PVHVM guest with different "maxmem" and "memory" settings, the VM bootup may looks "hung".

System log may shows some "task <task_name>:<pid> blocked for more than 120 seconds" messages.

Mar 13 00:55:00 localhost kernel: INFO: task lvm:268 blocked for more than 120 seconds.
Mar 13 00:55:00 localhost kernel: "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
Mar 13 00:55:00 localhost kernel: lvm D f27cfe88 0 268 261 0x00000000
Mar 13 00:55:00 localhost kernel: f27cfe98 00000082 00000002 f27cfe88 0001c994 00000000 ffffffff 00000000
Mar 13 00:55:00 localhost kernel: c0b956c0 c0b956c0 c0b956c0 c0b956c0 c05feca4 00000000 c0b956c0 f71286c0
Mar 13 00:55:00 localhost kernel: f6701060 c0a93060 f27cfe54 c0448376 f3ce6e54 f7128704 f6701060 f6701368
Mar 13 00:55:00 localhost kernel: Call Trace:
Mar 13 00:55:00 localhost kernel: [<c05feca4>] ? rb_erase+0xb4/0x120
Mar 13 00:55:00 localhost kernel: [<c0448376>] ? __dequeue_entity+0x26/0x50
Mar 13 00:55:00 localhost kernel: [<c0411d65>] ? __switch_to+0xd5/0x2e0
Mar 13 00:55:00 localhost kernel: [<c044eb85>] ? finish_task_switch+0x45/0xd0
Mar 13 00:55:00 localhost kernel: [<c08720c5>] schedule+0x35/0x50
Mar 13 00:55:00 localhost kernel: [<c08724ad>] schedule_timeout+0x19d/0x260
Mar 13 00:55:00 localhost kernel: [<c044e8fe>] ? try_to_wake_up+0x1be/0x220
Mar 13 00:55:00 localhost kernel: [<c0871efa>] wait_for_common+0xda/0x130
Mar 13 00:55:00 localhost kernel: [<c044e960>] ? try_to_wake_up+0x220/0x220
Mar 13 00:55:00 localhost kernel: [<c0872027>] wait_for_completion+0x17/0x20
Mar 13 00:55:00 localhost kernel: [<c0471b20>] flush_work+0x30/0x40
Mar 13 00:55:00 localhost kernel: [<c0471580>] ? cpumask_weight+0x20/0x20
Mar 13 00:55:00 localhost kernel: [<c047296e>] schedule_on_each_cpu+0x9e/0xd0
Mar 13 00:55:00 localhost kernel: [<c04f36f0>] ? lru_add_drain+0xd0/0xd0
Mar 13 00:55:00 localhost kernel: [<c04f2f52>] lru_add_drain_all+0x12/0x20
Mar 13 00:55:00 localhost kernel: [<c050deed>] sys_mlock+0x3d/0x100
Mar 13 00:55:00 localhost kernel: [<c087b19f>] sysenter_do_call+0x12/0x28

Note: The above "task lvm" is an example, the tasks could be different in different system.

The bootup procedure is slow, it may take 30 minutes to bootup a 4GB "maxmem" PVHVM.

Note that 32 bit Linux OS could be more slower than 64 bit.

Changes

 

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