[arch-dev-public] Fwd: a kernel26-xen bug?
---------- Weitergeleitete Nachricht ---------- Betreff: a kernel26-xen bug? Datum: Sonntag 08 August 2010, 23:21:49 Von: VPSee <vpseecom@gmail.com> An: tpowa@archlinux.org Kopie: thomas@archlinux.org, raczkow@gmail.com Hi, I followed a guide to build a xen domu kernel for archlinux VPS: # makepkg --asroot # pacman -U kernel26-xen-2.6.34.1-1-i686.pkg.tar.xz # pacman -U kernel26-xen-headers-2.6.34.1-1-i686.pkg.tar.xz It's all fine, my i686 new kernel can run without a problem. The problem I found is that when I tried to increase the archlinux domu's memory to 1024MB, the new domu only accept 726048k: ---- top - 19:23:40 up 28 min, 1 user, load average: 0.00, 0.01, 0.00 Tasks: 41 total, 1 running, 40 sleeping, 0 stopped, 0 zombie Cpu(s): 0.0%us, 0.0%sy, 0.0%ni,100.0%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st Mem: 726048k total, 192192k used, 533856k free, 11108k buffers Swap: 0k total, 0k used, 0k free, 160220k cached ---- If I do "xm mem-set archlinux 512", the archlinux domu can decrease the memory to 512mb without a problem. If I do "xm mem-set archlinux 1024", the domu can only take 726048k. my xen configuration file for the domu is: ---- name = "arch" bootloader = "/usr/bin/pygrub" vcpus = 2 maxmem = "1024" memory = "1024" ---- I also get the same report from other users who are using our archlinux VPS. It's a strange problem. I first thought it's a 64/32bit mixed kernel and userland problem. Can you please give me a hint? Thanks, -- VPSee http://www.vpsee.com ------------------------------------------------------------- -- Tobias Powalowski Archlinux Developer & Package Maintainer (tpowa) http://www.archlinux.org tpowa@archlinux.org
On Wed, 2010-08-11 at 18:10 +0200, Tobias Powalowski wrote:
It's all fine, my i686 new kernel can run without a problem. The problem I found is that when I tried to increase the archlinux domu's memory to 1024MB, the new domu only accept 726048k:
Xen can't hot-add memory. A VM can't dynamically increase memory above the size it has been booted with.
participants (2)
-
Jan de Groot
-
Tobias Powalowski