From mboxrd@z Thu Jan 1 00:00:00 1970 From: Avi Kivity Subject: Re: out of memory page request Date: Fri, 05 Oct 2007 15:14:13 +0200 Message-ID: <470638A5.3020609@qumranet.com> References: <9c21eeae0710032143j3ed5f43dgc3858a8fde6806d1@mail.gmail.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: David Brown Return-path: In-Reply-To: <9c21eeae0710032143j3ed5f43dgc3858a8fde6806d1-JsoAwUIsXosN+BqQ9rBEUg@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 David Brown wrote: > I just noticed something bad, I forgot to pass the -m argument when > starting my kvm session. So I tried to load an initrd that was 100+M > into the default memory size which is smaller using an etherboot image > for the rtl8139 card. Obviously this is my bad but I got a kernel > oopse and it froze the qemu process and wouldn't release the memory > back to the system. > > Could this be handled a little more cleanly? Maybe kill the qemu > process and hand the memory back to the system saying that it couldn't > allocate the memory or something? > > [ 5487.411029] Unable to handle kernel paging request at ffff810213a9ad04 RIP: > [ 5487.411036] [] :kvm:ioapic_mmio_write+0x59/0xa0 > Can you run 'gdb /path/to/kvm.ko' and post the output of 'disassemble ioapic_mmio_write' please? -- Any sufficiently difficult bug is indistinguishable from a feature. ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/