Re: [kvm-devel] Panic when loading kvm-amd.ko

2007-06-18 Thread Joerg Roedel
On Sun, Jun 17, 2007 at 09:31:15PM +0300, Avi Kivity wrote: > Michael Hanselmann wrote: > > > >> I suggest trying the same, as well as a bios upgrade. > >> > > > > Unfortunately, the BIOS doesn't allow me to configure anything like that > > and it's already the latest version released by HP. H

Re: [kvm-devel] Panic when loading kvm-amd.ko

2007-06-18 Thread Michael Hanselmann
Hi Joerg On Mon, Jun 18, 2007 at 12:55:43PM +0200, Joerg Roedel wrote: > can you send a dump of /proc/cpuinfo? I am interested in the processor > version and revision you use. Here it is: processor : 0 vendor_id : AuthenticAMD cpu family : 15 model : 65 model name

Re: [kvm-devel] Panic when loading kvm-amd.ko

2007-06-18 Thread Joerg Roedel
Michael, can you send a dump of /proc/cpuinfo? I am interested in the processor version and revision you use. Thanks, Joerg On Sun, Jun 17, 2007 at 09:31:15PM +0300, Avi Kivity wrote: > Michael Hanselmann wrote: > > > >> I suggest trying the same, as well as a bios upgrade. > >> > > > > U

Re: [kvm-devel] Panic when loading kvm-amd.ko

2007-06-18 Thread Avi Kivity
René Nussbaumer wrote: > Hello > > On Sun, Jun 17, 2007 at 05:27:25PM +0200, Michael Hanselmann wrote: > >> 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

Re: [kvm-devel] Panic when loading kvm-amd.ko

2007-06-18 Thread René Nussbaumer
Hello On Sun, Jun 17, 2007 at 05:27:25PM +0200, Michael Hanselmann wrote: > 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)". I've got a similiar backtr

Re: [kvm-devel] Panic when loading kvm-amd.ko

2007-06-17 Thread Avi Kivity
Michael Hanselmann wrote: > >> I suggest trying the same, as well as a bios upgrade. >> > > Unfortunately, the BIOS doesn't allow me to configure anything like that > and it's already the latest version released by HP. However, EFER.SVME > isn't set before enabling it (checked using "rdmsrl(MS

Re: [kvm-devel] Panic when loading kvm-amd.ko

2007-06-17 Thread Michael Hanselmann
On Sun, Jun 17, 2007 at 06:37:19PM +0300, Avi Kivity wrote: > >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...

Re: [kvm-devel] Panic when loading kvm-amd.ko

2007-06-17 Thread Avi Kivity
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

[kvm-devel] Panic when loading kvm-amd.ko

2007-06-17 Thread Michael Hanselmann
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