kvm: 7767: cpu0 unhandled rdmsr: 0xc0010001

Bug #957957 reported by Sasa Paporovic
68
This bug affects 14 people
Affects Status Importance Assigned to Milestone
qemu-kvm (Ubuntu)
Won't Fix
Low
Unassigned

Bug Description

I am on Ubuntu 11.10 64bit on a AMD T1100 system(6core).

Looking in the kernel logs shows suring running testdrive with precise desktop:

Mar 17 15:04:32 ubuntu kernel: [ 5049.354764] kvm: 7767: cpu0 unhandled rdmsr: 0xc0010001
Mar 17 15:25:45 ubuntu kernel: [ 6322.043247] kvm: 7767: cpu0 unhandled rdmsr: 0xc0010001

ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: qemu-kvm 0.14.1+noroms-0ubuntu6.2
ProcVersionSignature: Ubuntu 3.0.0-16.29-generic 3.0.20
Uname: Linux 3.0.0-16-generic x86_64
ApportVersion: 1.23-0ubuntu4
Architecture: amd64
Date: Sat Mar 17 16:14:06 2012
InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Release amd64+mac (20111011)
KvmCmdLine:
 UID PID PPID C SZ RSS PSR STIME TTY TIME CMD
 user 7767 6833 79 406794 1081556 1 15:04 ? 00:55:08 kvm -m 1024 -smp 6 -cdrom /home/user/.cache/testdrive/iso/ubuntu_precise-desktop-amd64.iso -drive file=/home/user/.cache/testdrive/img/testdrive-disk-1RO721.img,if=virtio,cache=writeback,index=0,boot=on -usb -usbdevice tablet -net nic,model=virtio -net user -soundhw es1370 -vga cirrus
MachineType: MICRO-STAR INTERNATIONAL CO.,LTD MS-7596
ProcEnviron:
 PATH=(custom, no User Name)
 LANG=de_DE.UTF-8
 SHELL=/bin/bash
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.0.0-16-generic root=UUID=ab49260a-c922-44e8-9686-9e7848aad0ab ro quiet splash vt.handoff=7
SourcePackage: qemu-kvm
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 09/03/2010
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: V1.8
dmi.board.asset.tag: To Be Filled By O.E.M.
dmi.board.name: 760GM -E51 (MS-7596)
dmi.board.vendor: MICRO-STAR INTERNATIONAL CO.,LTD
dmi.board.version: 1.0
dmi.chassis.asset.tag: To Be Filled By O.E.M.
dmi.chassis.type: 3
dmi.chassis.vendor: MICRO-STAR INTERNATIONAL CO.,LTD
dmi.chassis.version: 1.0
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvrV1.8:bd09/03/2010:svnMICRO-STARINTERNATIONALCO.,LTD:pnMS-7596:pvr1.0:rvnMICRO-STARINTERNATIONALCO.,LTD:rn760GM-E51(MS-7596):rvr1.0:cvnMICRO-STARINTERNATIONALCO.,LTD:ct3:cvr1.0:
dmi.product.name: MS-7596
dmi.product.version: 1.0
dmi.sys.vendor: MICRO-STAR INTERNATIONAL CO.,LTD

Revision history for this message
Sasa Paporovic (melchiaros) wrote :
Revision history for this message
Sasa Paporovic (melchiaros) wrote :

I additional attach the syslog.

Revision history for this message
Sasa Paporovic (melchiaros) wrote :
Revision history for this message
Serge Hallyn (serge-hallyn) wrote :

Thanks for reporting this bug.

Does the VM proceed to run ok?

Changed in qemu-kvm (Ubuntu):
importance: Undecided → Low
status: New → Incomplete
Revision history for this message
Sasa Paporovic (melchiaros) wrote :

Yes, looks like. It have a run of several hours. No heavy problems.

Changed in qemu-kvm (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
Serge Hallyn (serge-hallyn) wrote :

Thanks for the information.

The messages themselves are debug messages, saying the kernel does not emulate those, so usespace will do so.

Since the VMs run fine, I'll mark the bug invalid.

(If you prefer to mark this Opinion, please go ahead - it has been discussed in similar bugs in Fedora that the debug messages should be eliminated. I don't know if, in more recent versions, they have)

Changed in qemu-kvm (Ubuntu):
status: Confirmed → Invalid
status: Invalid → Won't Fix
Revision history for this message
Serge Hallyn (serge-hallyn) wrote :

Actually I"ve marked it wontfix, as it's clear this is seen by some as a bug.

Note that if we were to fix it, the fix would be in the kernel (the 'linux' package), not qemu-kvm.

Revision history for this message
Sean Clarke (sean-clarke) wrote :

I receive these errors, however on my system(s) it is accompanied by a network dropout - Is this not a genuine bug related to debian bug #669184

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=669184

[37288.613730] kvm: 2620: cpu0 unhandled rdmsr: 0xc0010001
[37922.460334] nfs: server enterprise.sec-consulting.co.uk not responding, timed out
[38059.028832] kvm: 2509: cpu0 unhandled rdmsr: 0xc0010001
[38065.939026] kvm: 2475: cpu0 unhandled rdmsr: 0xc0010001
[38070.609781] kvm: 2539: cpu0 unhandled rdmsr: 0xc0010001
[38150.503415] kvm: 2509: cpu0 unhandled rdmsr: 0xc0010001
[38381.732951] kvm: 2509: cpu0 unhandled rdmsr: 0xc0010001
[38760.128451] nfs: server enterprise.sec-consulting.co.uk not responding, timed out
[38808.682890] kvm: 3126: cpu0 unhandled rdmsr: 0xc0010001

Other systems were connected to NFS server and they were fine so i assume dropout was on the KVM host that produced the above logs

Revision history for this message
Serge Hallyn (serge-hallyn) wrote :

Are you using vde?

Revision history for this message
Paul Gauret (pgauret) wrote :

For what it's worth, still getting the same kind of messages with the current Saucy (beta) kernel:

[ 42.759017] kvm [1793]: vcpu0 unhandled rdmsr: 0x345
[ 42.791187] kvm [1793]: vcpu0 unhandled wrmsr: 0x680 data 0
[ 42.791211] kvm [1793]: vcpu0 unhandled wrmsr: 0x6c0 data 0
[ 42.791228] kvm [1793]: vcpu0 unhandled wrmsr: 0x681 data 0
[ 42.791245] kvm [1793]: vcpu0 unhandled wrmsr: 0x6c1 data 0
[ 42.791262] kvm [1793]: vcpu0 unhandled wrmsr: 0x682 data 0
[ 42.791279] kvm [1793]: vcpu0 unhandled wrmsr: 0x6c2 data 0
[ 42.791296] kvm [1793]: vcpu0 unhandled wrmsr: 0x683 data 0
[ 42.791312] kvm [1793]: vcpu0 unhandled wrmsr: 0x6c3 data 0
[ 42.791330] kvm [1793]: vcpu0 unhandled wrmsr: 0x684 data 0
[ 42.791347] kvm [1793]: vcpu0 unhandled wrmsr: 0x6c4 data 0

# uname -a
Linux srv1 3.11.0-12-generic #19-Ubuntu SMP Wed Oct 9 16:20:46 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux

# ps -ef | grep 1793
106 1793 1 6 02:15 ? 00:00:23 qemu-system-x86_64 -machine accel=kvm:tcg -name vm6 -S -machine pc-i440fx-1.5,accel=kvm,usb=off -cpu SandyBridge,+erms,+smep,+fsgsbase,+rdrand,+f16c,+osxsave,+pcid,+pdcm,+xtpr,+tm2,+est,+smx,+vmx,+ds_cpl,+monitor,+dtes64,+pbe,+tm,+ht,+ss,+acpi,+ds,+vme -m 256 -realtime mlock=off -smp 4,sockets=4,cores=1,threads=1 -uuid 0c870de6-930b-c8da-09fd-f7c61879d986 -nographic -no-user-config -nodefaults -chardev socket,id=charmonitor,path=/var/lib/libvirt/qemu/vm6.monitor,server,nowait -mon chardev=charmonitor,id=monitor,mode=control -rtc base=utc -no-shutdown -device piix3-usb-uhci,id=usb,bus=pci.0,addr=0x1.0x2 -drive file=/dev/vm/vm6.img,if=none,id=drive-virtio-disk0,format=raw -device virtio-blk-pci,scsi=off,bus=pci.0,addr=0x4,drive=drive-virtio-disk0,id=virtio-disk0,bootindex=1 -netdev tap,fd=23,id=hostnet0,vhost=on,vhostfd=24 -device virtio-net-pci,netdev=hostnet0,id=net0,mac=52:54:00:4c:27:84,bus=pci.0,addr=0x3 -chardev pty,id=charserial0 -device isa-serial,chardev=charserial0,id=serial0 -device virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x5

vm is created with the following command line (note the cpu=host setting):

virt-install \
  --disk pool=vm,bus=virtio,size=${SIZE},sparse=false \
  -n ${NAME} \
  -r ${RAM} --connect qemu:///system \
  -l http://${MIRROR}/ubuntu/dists/${RELEASE}/main/installer-amd64/ \
  --initrd-inject=/etc/vm/scripts/preseed.cfg \
  --nographics \
  --autostart \
  --virt-type kvm \
  --network=bridge:${BRIDGE},model=virtio \
  --os-type=linux \
  --vcpus=4 \
  --cpu host \
  --extra-args="auto=true text console=tty0 console=ttyS0,115200n8 interface=eth0 hostname=${NAME} domain=${DOMAIN} netcfg/disable_autoconfig=true netcfg/get_ipaddress=${IP} netcfg/get_netmask=${NETMASK} netcfg/get_gateway=${GW} netcfg/get_nameservers=${DNS} netcfg/confirm_static=true"

Revision history for this message
unicorp99 (unicorp99) wrote :
Download full text (3.9 KiB)

bug in qemu-kvm

kvm: 5116: cpu0 unhandled rdmsr: 0xc0010001

cat /var/log/syslog | grep -i msr
Jan 2 04:06:10 br04 kernel: [ 41.718164] kvm: 4966: cpu0 unhandled rdmsr: 0xc0010001
Jan 2 04:13:09 br04 kernel: [ 39.274060] kvm [5057]: vcpu0 unhandled rdmsr: 0xc0010001
Jan 2 04:18:31 br04 kernel: [ 41.354130] kvm [5313]: vcpu0 unhandled rdmsr: 0xc0010001
Jan 2 04:50:28 br04 kernel: [ 42.597555] kvm [5334]: vcpu0 unimplemented perfctr wrmsr: 0xc0010004 data 0xabcd
Jan 2 04:53:05 br04 kernel: [ 33.581614] kvm: 5135: cpu0 unhandled rdmsr: 0xc0010001
Jan 2 05:06:10 br04 kernel: [ 36.954154] kvm [5253]: vcpu0 unhandled rdmsr: 0xc0010001
Jan 2 05:25:38 br04 kernel: [ 33.045732] kvm: 5145: cpu0 unhandled rdmsr: 0xc0010001
Jan 2 05:29:46 br04 kernel: [ 34.870194] kvm: 5116: cpu0 unhandled rdmsr: 0xc0010001

version of kernel: 3.2 last - debian
3.0.101, 3.12.35, 3.18.1 - ubuntu mainline

OS: debian 7.7 32 bit
kvm guest: debian 7.7 32 bit - kernel 3.2 last update

hw:

cat /proc/cpuinfo | grep -i name
  model name : AMD Athlon(tm) 64 X2 Dual Core Processor 4200+
  model name : AMD Athlon(tm) 64 X2 Dual Core Processor 4200+

dmidecode | grep -i asus
        Version: ASUS M2N-E ACPI BIOS Revision 5001

RAM: 4GB = 1GBx4 PC2-6400

cat /proc/mdstat
Personalities : [raid6] [raid5] [raid4]
md1 : active raid5 sdd2[0] sda2[4] sdb2[2] sdc2[1]
      5812959744 blocks super 1.2 level 5, 512k chunk, algorithm 2 [4/4] [UUUU]

md0 : active raid5 sdd1[0] sda1[4] sdb1[2] sdc1[1]
      47159808 blocks super 1.2 level 5, 512k chunk, algorithm 2 [4/4] [UUUU]

Disk /dev/md0: 48.3 GB, 48291643392 bytes
2 heads, 4 sectors/track, 11789952 cylinders, total 94319616 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 524288 bytes / 1572864 bytes
Disk identifier: 0x00000000

Disk /dev/md1: 5952.5 GB, 5952470777856 bytes
2 heads, 4 sectors/track, 1453239936 cylinders, total 11625919488 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 524288 bytes / 1572864 bytes
Disk identifier: 0x00000000

lspci
00:00.0 RAM memory: NVIDIA Corporation MCP55 Memory Controller (rev a1)
00:01.0 ISA bridge: NVIDIA Corporation MCP55 LPC Bridge (rev a2)
00:01.1 SMBus: NVIDIA Corporation MCP55 SMBus (rev a2)
00:02.0 USB controller: NVIDIA Corporation MCP55 USB Controller (rev a1)
00:02.1 USB controller: NVIDIA Corporation MCP55 USB Controller (rev a2)
00:04.0 IDE interface: NVIDIA Corporation MCP55 IDE (rev a1)
00:05.0 IDE interface: NVIDIA Corporation MCP55 SATA Controller (rev a2)
00:05.1 IDE interface: NVIDIA Corporation MCP55 SATA Controller (rev a2)
00:05.2 IDE interface: NVIDIA Corporation MCP55 SATA Controller (rev a2)
00:06.0 PCI bridge: NVIDIA Corporation MCP55 PCI bridge (rev a2)
00:06.1 Audio device: NVIDIA Corporation MCP55 High Definition Audio (rev a2)
00:08.0 Bridge: NVIDIA Corporation MCP55 Ethernet (rev a2)
00:18.0 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] HyperTransport Technology Configuration
00:18.1 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] A...

Read more...

Revision history for this message
unicorp99 (unicorp99) wrote :

on all kernel bug printed after "login:" string in 3-5 sec

also tested on:
uname -a
Linux br04 3.14.27-031427-generic #201412170558 SMP Wed Dec 17 11:18:06 UTC 2014 i686 GNU/Linux

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.