From mboxrd@z Thu Jan 1 00:00:00 1970 From: Avi Kivity Subject: Re: Panic when loading kvm-amd.ko Date: Sun, 17 Jun 2007 18:37:19 +0300 Message-ID: <4675552F.9000204@qumranet.com> References: <20070617152725.GA18777@hansmi.ch> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org To: Michael Hanselmann Return-path: In-Reply-To: <20070617152725.GA18777-ujPHhMiOvBLtRgLqZ5aouw@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 Michael Hanselmann wrote: > Hello > > When loading kvm-amd.ko on an HP DL-145 G5 with one AMD Opteron 2216 HE > (2 cores, 2.4 GHz), I get a kernel panic. I tried to find the exact > cause but was unable to do so. It doesn't crash when I add a "return" > before "wrmsrl(MSR_EFER, efer | MSR_EFER_SVME_MASK);" in > svm_hardware_enable. The backtrace always originates from different > functions, but ends up in interrupt handling every time. This isn't a > regression because it has been happening since at least > 2.6.20.something, but I never bothered to look into it. If you need any > more info, please let me know. > > I reproduced it with vanilla-2.6.21.5, vanilla-2.6.22-rc5 and current > KVM git. Architecture is x86_64. GCC version is "gcc (GCC) 3.4.6 (Gentoo > Hardened 3.4.6-r2, ssp-3.4.6-1.0, pie-8.7.10)". > This looks remarkably similar to http://thread.gmane.org/gmane.comp.emulators.kvm.devel/3399. The conclusion was > I went through my BIOS settings and found: > "Advanced BIOS Features" -> "CPU Feature" -> Virtualization > > However this was already set to "Enabled". I tried changing the value > to "Disabled" and now KVM works fine. Stupid ABIT... I suggest trying the same, as well as a bios upgrade. -- error compiling committee.c: too many arguments to function ------------------------------------------------------------------------- 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/