From mboxrd@z Thu Jan 1 00:00:00 1970 From: Izik Eidus Subject: Re: kvm errors when using greater than 3572m of memory Date: Fri, 07 Dec 2007 21:14:37 +0200 Message-ID: <47599B9D.5020504@qumranet.com> References: <20071207190704.GG6205@thunderkeys.net> <475999CF.2030208@qumranet.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org To: Brian Almeida Return-path: In-Reply-To: <475999CF.2030208-atKUWr5tajBWk0Htik3J/w@public.gmane.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: kvm-devel-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org Errors-To: kvm-devel-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org List-Id: kvm.vger.kernel.org Izik Eidus wrote: > Brian Almeida wrote: >> Hi, >> >> I get the following error when I give -m 3752 or higher: >> >> stormcrow:/data/kvm# kvm -no-acpi -m 3572 -cdrom >> /data/iso/w2k3_server_ent_r2_disc1.iso -boot d -usbdevice tablet >> tharkun.img create_kernel_phys_mem: Invalid argumentset_vram_mapping: >> cannot >> allocate memory: Invalid argument >> NULL vram_pointe > great :), > for to be able to run with above 4giga at "safe" way right now you > need kvm module above 46 > is it possible that you use the module from the 2.6.22 kernel? and not > the module from the kvm-54 package? > > please tell me what happen if you run it with -m 4096 >> If I do -m 3751 I get no error and it works: >> stormcrow:/data/kvm# kvm -no-acpi -m 3571 -cdrom >> /data/iso/w2k3_server_ent_r2_disc1.iso -boot d -usbdevice tablet >> tharkun.img >> If I go up a little bit higher, the message changes: >> stormcrow:/data/kvm# kvm -no-acpi -m 3600 -cdrom >> /data/iso/w2k3_server_ent_r2_disc1.iso -boot d -usbdevice tablet >> tharkun.img qemu: could not load PC BIOS '/usr/share/kvm/bios.bin' >> >> shmmax is set to 4g: >> stormcrow:/data/kvm# cat /proc/sys/kernel/shmmax 4294967296 >> >> I'm using kvm 54 from Debian unstable on 2.6.22-3-amd64. Any other >> debugging info can be provided upon request. >> >> Thanks, >> >> Brian >> >> ------------------------------------------------------------------------- >> >> SF.Net email is sponsored by: >> Check out the new SourceForge.net Marketplace. >> It's the best place to buy or sell services for >> just about anything Open Source. >> http://sourceforge.net/services/buy/index.php >> _______________________________________________ >> kvm-devel mailing list >> kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org >> https://lists.sourceforge.net/lists/listinfo/kvm-devel > > yea it does look like the reason is that you use old kvm module version, i ran it on my box with 3572 mb of ram and it work ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php