From mboxrd@z Thu Jan 1 00:00:00 1970 From: Avi Kivity Subject: Re: segfault after loading kvm-intel Date: Mon, 07 May 2007 17:01:41 +0300 Message-ID: <463F3145.7090903@qumranet.com> References: <463F234B.7000800@atrus.org> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------050605050708060101040709" Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org To: Nikolas Coukouma Return-path: In-Reply-To: <463F234B.7000800-rWB03dz7+ebYtjvyW6yDsg@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 This is a multi-part message in MIME format. --------------050605050708060101040709 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Nikolas Coukouma wrote: > I've had this happen with releases 22 and 23. I just tested releases 17 > and 21 without trouble. > > I've included all the information that I can think of. If anything else > would be helpful, please let me know. > > May 7 17:24:16 rffd kernel: [] vmx_init+0x6f/0xbf [kvm_intel] > May 7 17:24:16 rffd kernel: EIP: [] kunmap_high+0x18/0x7e > Please try the attached patch (cd into kernel/ directory, and apply with patch -p3) -- error compiling committee.c: too many arguments to function --------------050605050708060101040709 Content-Type: text/x-patch; name="kvm-fix-vmx-iobitmap-kmap-on-highmem.patch" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="kvm-fix-vmx-iobitmap-kmap-on-highmem.patch" diff --git a/drivers/kvm/vmx.c b/drivers/kvm/vmx.c index 1b6352a..804a623 100644 --- a/drivers/kvm/vmx.c +++ b/drivers/kvm/vmx.c @@ -2273,11 +2273,11 @@ static int __init vmx_init(void) iova = kmap(vmx_io_bitmap_a); memset(iova, 0xff, PAGE_SIZE); clear_bit(0x80, iova); - kunmap(iova); + kunmap(vmx_io_bitmap_a); iova = kmap(vmx_io_bitmap_b); memset(iova, 0xff, PAGE_SIZE); - kunmap(iova); + kunmap(vmx_io_bitmap_b); r = kvm_init_arch(&vmx_arch_ops, THIS_MODULE); if (r) --------------050605050708060101040709 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ --------------050605050708060101040709 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ kvm-devel mailing list kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org https://lists.sourceforge.net/lists/listinfo/kvm-devel --------------050605050708060101040709--