Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757334AbYF2SCt (ORCPT ); Sun, 29 Jun 2008 14:02:49 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754945AbYF2SCh (ORCPT ); Sun, 29 Jun 2008 14:02:37 -0400 Received: from yumi.tdiedrich.de ([85.10.210.183]:54157 "EHLO mx.tdiedrich.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754862AbYF2SCg (ORCPT ); Sun, 29 Jun 2008 14:02:36 -0400 Date: Sun, 29 Jun 2008 20:02:04 +0200 From: Tobias Diedrich To: Chris Wright Cc: Avi Kivity , kvm@vger.kernel.org, linux-kernel@vger.kernel.org, "Roedel, Joerg" Subject: Re: kvm: unable to handle kernel NULL pointer dereference Message-ID: <20080629180203.GA9356@yamamaya.is-a-geek.org> Mail-Followup-To: Tobias Diedrich , Chris Wright , Avi Kivity , kvm@vger.kernel.org, linux-kernel@vger.kernel.org, "Roedel, Joerg" References: <20080601084802.GA3146@yamamaya.is-a-geek.org> <4846716E.5000506@qumranet.com> <20080604181019.GB10897@yamamaya.is-a-geek.org> <20080605042535.GC30402@sequoia.sous-sol.org> <20080605060931.GA11704@yamamaya.is-a-geek.org> <20080605072728.GF30402@sequoia.sous-sol.org> <20080605182847.GA12176@yamamaya.is-a-geek.org> <20080605183447.GL30402@sequoia.sous-sol.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20080605183447.GL30402@sequoia.sous-sol.org> User-Agent: Mutt/1.5.18 (2008-05-17) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1183 Lines: 38 Chris Wright wrote: > * Tobias Diedrich (ranma+kernel@tdiedrich.de) wrote: > > PM: Creating hibernation image: > > PM: Need to copy 126181 pages > > PM: Normal pages needed: 126181 + 1024 + 38, available pages: 397721 > > x86 PAT enabled: cpu 0, old 0x7040600070406, new 0x7010600070106 > > svm_cpu_init: svm_data is NULL on 0 > > Yeah, this is broken. What happens is: > > suspend: > hardware_disable > svm_hardware_disable > kfree(svm_data) > per_cpu(svm_data) = NULL > > resume: > hardware_enable > svm_hardware_enable > if(!svm_data) printk("svm_cpu_init: svm_data is NULL on 0") > > at this point it is broken. > > Same would happen on an SMP box by simply doing offline/online of a CPU. > This is definitely busted, looking into a patch. Any progress on this? Thanks, -- Tobias PGP: http://9ac7e0bc.uguu.de このメールは十割再利用されたビットで作られています。 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/