From mboxrd@z Thu Jan 1 00:00:00 1970 From: Peter Lieven Subject: Re: unhandled wrmsr Date: Wed, 02 Jun 2010 15:22:48 +0200 Message-ID: <4C065B28.8080003@dlh.net> References: <4C065257.5010809@amd.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: QUOTED-PRINTABLE Cc: Dave Young , "kvm@vger.kernel.org" To: Andre Przywara Return-path: Received: from zion.dlh.net ([91.198.192.1]:53449 "EHLO mail.dlh.net" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1753207Ab0FBNW5 (ORCPT ); Wed, 2 Jun 2010 09:22:57 -0400 In-Reply-To: <4C065257.5010809@amd.com> Sender: kvm-owner@vger.kernel.org List-ID: Andre Przywara wrote: > Dave Young wrote: >> Hi, >> >> With today's git version (qemu-kvm), I got following message in=20 >> kernel dmesg >> >> [168344.215605] kvm: 27289: cpu0 unhandled wrmsr: 0x198 data 0 > Are you sure about that? 0x198 is an Intel architectural perfmon MSR=20 > and it is read-only. The Linux kernel source I grep'ed obeys this and= =20 > does only rdmsr. > You can work around this by changing the error to a warning with: > # modprobe kvm ignore_msrs=3D1 > > I'd like to see more details about the guest Linux kernel, at least=20 > the version you used to see why there is a wrmsr on this address. Bes= t=20 > is you provide the kernel (just the vmlinuz file) somewhere so that w= e=20 > can reproduce this. Also the qemu-kvm command line would be interesti= ng. I see the same with Ubuntu 10.04 64-bit (2.6.32-21-server) cmdline: /usr/bin/qemu-kvm-devel -net=20 tap,vlan=3D141,script=3Dno,downscript=3Dno,ifname=3Dtap0 -net=20 nic,vlan=3D141,model=3De1000,macaddr=3D52:54:00:ff:00:73 -drive=20 format=3Dhost_device,file=3D/dev/mapper/iqn.2001-05.com.equallogic:0-8a= 0906-c0c61b105-db8000e7e954bf65-migration-test-2,if=3Dide,boot=3Don,cac= he=3Dnone,aio=3Dnative =20 -m 1024 -cpu qemu64,model_id=3D'Intel(R) Xeon(R) CPU E5520 @= =20 2.27GHz',-kvmclock -monitor tcp:0:4001,server,nowait -vnc :1 -name=20 'migration-test-10-04' -boot order=3Ddc,menu=3Don -k de -pidfile=20 /var/run/qemu/vm-156.pid -mem-path /hugepages -mem-prealloc -rtc=20 base=3Dutc,clock=3Dhost -usb -usbdevice tablet > > Regards, > Andre. > >> >> bash-3.1$ /home/dave/tmp/qemu-system-x86_64 --version >> QEMU emulator version 0.12.50 (qemu-kvm-devel), Copyright (c) >> 2003-2008 Fabrice Bellard >> >> >> bash-3.1$ uname -a >> Linux darkstar 2.6.35-rc1 #35 SMP Mon May 31 16:50:15 CST 2010 x86_6= 4 >> Intel(R) Core(TM)2 Duo CPU E7500 @ 2.93GHz GenuineIntel GNU/Lin= ux >> >> host distribution is slackware64-13.0 >> >> 0.12.3 works well >> >> BTW the guest is a tiny core linux image >> > --=20 Mit freundlichen Gr=C3=BC=C3=9Fen/Kind Regards Peter Lieven =2E....................................................................= =2E.................................... KAMP Netzwerkdienste GmbH Vestische Str. 89-91 | 46117 Oberhausen Tel: +49 (0) 208.89 402-50 | Fax: +49 (0) 208.89 402-40 mailto:pl@kamp.de | http://www.kamp.de Gesch=C3=A4ftsf=C3=BChrer: Heiner Lante | Michael Lante Amtsgericht Duisburg | HRB Nr. 12154 USt-Id-Nr.: DE 120607556 =2E....................................................................= =2E...................................=20