kernel-packages team mailing list archive
-
kernel-packages team
-
Mailing list archive
-
Message #77603
[Bug 1304001] Re: xen:balloon errors in 14.04 beta
Can you try this patch?
8<----------------------
xen/balloon: cancel ballooning if adding new memory failed
If the balloon driver is adding additional memory regions to the
balloon and add_memory() fails it will likely continuously fail so
cancel the balloon operation.
Signed-off-by: David Vrabel <david.vrabel@xxxxxxxxxx>
---
drivers/xen/balloon.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/xen/balloon.c b/drivers/xen/balloon.c
index 5c660c7..45aca60 100644
--- a/drivers/xen/balloon.c
+++ b/drivers/xen/balloon.c
@@ -230,8 +230,8 @@ static enum bp_state reserve_additional_memory(long credit)
rc = add_memory(nid, hotplug_start_paddr, balloon_hotplug << PAGE_SHIFT);
if (rc) {
- pr_info("%s: add_memory() failed: %i\n", __func__, rc);
- return BP_EAGAIN;
+ pr_info("cannot add additional memory (%i)\n", rc);
+ return BP_ECANCELED;
}
balloon_hotplug -= credit;
--
1.7.10.4
--
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1304001
Title:
xen:balloon errors in 14.04 beta
Status in “linux” package in Ubuntu:
Confirmed
Bug description:
Xen balloon errors on HVM instances on EC2 (Xen 4.2.amazon):
ubuntu@ip-10-63-20-99:~$ uname -a
Linux ip-10-63-20-99 3.13.0-23-generic #45-Ubuntu SMP Fri Apr 4 06:58:38 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
ubuntu@ip-10-63-20-99:~$ dmesg |grep xen
[ 0.000000] xen:events: Xen HVM callback vector for event delivery is enabled
[ 0.494613] xen:balloon: Initialising balloon driver
[ 0.496046] xen_balloon: Initialising balloon driver
[ 0.500077] xen:balloon: reserve_additional_memory: add_memory() failed: -17
[ 0.541047] Switched to clocksource xen
[ 0.562579] xen: --> pirq=16 -> irq=8 (gsi=8)
[ 0.562622] xen: --> pirq=17 -> irq=12 (gsi=12)
[ 0.562649] xen: --> pirq=18 -> irq=1 (gsi=1)
[ 0.562673] xen: --> pirq=19 -> irq=6 (gsi=6)
[ 0.562705] xen: --> pirq=20 -> irq=4 (gsi=4)
[ 0.920527] xen: --> pirq=21 -> irq=47 (gsi=47)
[ 0.920596] xen:grant_table: Grant tables using version 1 layout
[ 1.029661] xen_netfront: Initialising Xen virtual ethernet driver
[ 1.236083] xenbus_probe_frontend: Device with no driver: device/vfb/0
[ 2.516067] xen:balloon: reserve_additional_memory: add_memory() failed: -17
[ 6.533941] xen:balloon: reserve_additional_memory: add_memory() failed: -17
[ 14.560075] xen:balloon: reserve_additional_memory: add_memory() failed: -17
[ 30.592064] xen:balloon: reserve_additional_memory: add_memory() failed: -17
[ 62.688153] xen:balloon: reserve_additional_memory: add_memory() failed: -17
[ 94.752164] xen:balloon: reserve_additional_memory: add_memory() failed: -17
[ 126.816161] xen:balloon: reserve_additional_memory: add_memory() failed: -17
[ 158.880084] xen:balloon: reserve_additional_memory: add_memory() failed: -17
[ 190.944069] xen:balloon: reserve_additional_memory: add_memory() failed: -17
[ 223.008141] xen:balloon: reserve_additional_memory: add_memory() failed: -17
[ 255.072112] xen:balloon: reserve_additional_memory: add_memory() failed: -17
[ 287.136190] xen:balloon: reserve_additional_memory: add_memory() failed: -17
[ 319.200053] xen:balloon: reserve_additional_memory: add_memory() failed: -17
[ 351.264164] xen:balloon: reserve_additional_memory: add_memory() failed: -17
[ 383.328080] xen:balloon: reserve_additional_memory: add_memory() failed: -17
[ 415.392077] xen:balloon: reserve_additional_memory: add_memory() failed: -17
[ 447.456112] xen:balloon: reserve_additional_memory: add_memory() failed: -17
[ 479.520128] xen:balloon: reserve_additional_memory: add_memory() failed: -17
[ 511.584110] xen:balloon: reserve_additional_memory: add_memory() failed: -17
[ 543.648181] xen:balloon: reserve_additional_memory: add_memory() failed: -17
[ 575.712070] xen:balloon: reserve_additional_memory: add_memory() failed: -17
[ 607.776178] xen:balloon: reserve_additional_memory: add_memory() failed: -17
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1304001/+subscriptions
References