Re: kvm errors when using greater than 3572m of memory

Izik Eidus
2007-12-07T19:14:37Z

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