On Thu, 2013-07-25 at 10:20 +0400, Michael Tokarev wrote: 
> > [  242.483704] kvm [7790]: vcpu0 unhandled wrmsr: 0x6c4 data 0
> > [  242.988307] kvm [7790]: vcpu0 unhandled rdmsr: 0xe8
> > [  242.988312] kvm [7790]: vcpu0 unhandled rdmsr: 0xe7
> These are harmless (you provided these in your original report), --
> guest tries to read (or write) some model-specific CPU registers
> which are not emulated by qemu/kvm.  It is usually stuff like CPU
> frequency scaling, power management and similar, which is all
> handled by the host anyway.  It is definitely not related to the
> disk i/o errors.
Sure? Cause they seem to appear at the same time, when the guest tries
to mount root..


> Ok.  Please provide command line(s) which is used to start your guest.
As mentioned I use libvirt, and it seems to run: 
qemu-system-x86_64 -machine accel=kvm:tcg -name 
Debian-amd64-unstable_Base-Template -S -machine pc-1.1,accel=kvm,usb=off -cpu 
SandyBridge,+erms,+smep,+fsgsbase,+rdrand,+f16c,+osxsave,+pcid,+pdcm,+xtpr,+tm2,+est,+vmx,+ds_cpl,+monitor,+dtes64,+pbe,+tm,+ht,+ss,+acpi,+ds,+vme
 -m 2048 -realtime mlock=off -smp 1,sockets=1,cores=1,threads=1 -uuid 
b68a6e41-ae45-bbca-43f0-45219eb41044 -no-user-config -nodefaults -chardev 
socket,id=charmonitor,path=/var/lib/libvirt/qemu/Debian-amd64-unstable_Base-Template.monitor,server,nowait
 -mon chardev=charmonitor,id=monitor,mode=control -rtc base=utc -no-shutdown 
-boot menu=off -device piix3-usb-uhci,id=usb,bus=pci.0,addr=0x1.0x2 -device 
ahci,id=ahci0,bus=pci.0,addr=0x5 -drive 
file=/var/lib/libvirt/images/Debian-amd64-unstable_Base-Template.img,if=none,id=drive-sata0-0-0,format=raw
 -device ide-hd,bus=ahci0.0,drive=drive-sata0-0-0,id=sata0-0-0,bootindex=1 
-netdev tap,fd=25,id=hostnet0 -device 
e1000,netdev=hostnet0,id=net0,mac=52:54:00:02:32:71,bus=pci.0,addr=0x3 -chardev 
pty,id=charserial0 -device isa-serial,chardev=charserial0,id=serial0 -device 
usb-tablet,id=input0 -spice port=5900,addr=127.0.0.1,seamless-migration=on 
-device VGA,id=video0,bus=pci.0,addr=0x2 -device 
virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x4



> And please start from the real bugreport - at least indicate your
> environment, your host bitness, versions of packages which qemu
> uses and so on -- all this is collected automatically when you
> run `reportbug qemu-system-x86' (and it really is qemu-system-x86,
> not qemu which is a meta-package which does not depend on other
> packages).
Sure.. sorry for removing that before:
-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.10-1-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_DE.UTF-8, LC_CTYPE=en_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages qemu-system-x86 depends on:
ii  ipxe-qemu           1.0.0+git-20120202.f6840ba-3
ii  libaio1             0.3.109-4
ii  libasound2          1.0.27.2-1
ii  libbluetooth3       4.101-2
ii  libbrlapi0.6        4.5-3
ii  libc6               2.17-7
ii  libcurl3-gnutls     7.31.0-2
ii  libfdt1             1.3.0-4
ii  libglib2.0-0        2.36.3-3
ii  libgnutls26         2.12.23-5
ii  libiscsi1           1.4.0-3
ii  libjpeg8            8d-1
ii  libncurses5         5.9+20130608-1
ii  libpixman-1-0       0.26.0-4
ii  libpng12-0          1.2.49-4
ii  libpulse0           4.0-6
ii  libsasl2-2          2.1.25.dfsg1-14
ii  libsdl1.2debian     1.2.15-5
ii  libseccomp1         1.0.1-2
ii  libspice-server1    0.12.3-0nocelt1
ii  libssh2-1           1.4.3-1
ii  libtinfo5           5.9+20130608-1
ii  libusb-1.0-0        2:1.0.16-1
ii  libusbredirparser1  0.6-2
ii  libuuid1            2.20.1-5.5
ii  libvdeplug2         2.3.2-4
ii  libx11-6            2:1.6.0-1
ii  libxen-4.2          4.2.2-1
ii  libxenstore3.0      4.2.2-1
ii  qemu-keymaps        1.5.0+dfsg-5
ii  qemu-system-common  1.5.0+dfsg-5
ii  seabios             1.7.3-1
ii  vgabios             0.7a-3
ii  zlib1g              1:1.2.8.dfsg-1
Versions of packages qemu-system-x86 recommends:
ii  qemu-utils  1.5.0+dfsg-5

Versions of packages qemu-system-x86 suggests:
ii  kmod     9-3
pn  samba    <none>
ii  sgabios  0.0~svn8-1
pn  vde2     <none>

-- no debconf information



$ cat /proc/cpuinfo 
processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 58
model name : Intel(R) Core(TM) i7-3612QM CPU @ 2.10GHz
stepping : 9
microcode : 0x12
cpu MHz : 2289.000
cache size : 6144 KB
physical id : 0
siblings : 8
core id : 0
cpu cores : 4
apicid : 0
initial apicid : 0
fpu : yes
fpu_exception : yes
cpuid level : 13
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov
pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx
rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology
nonstop_tsc aperfmperf eagerfpu pni pclmulqdq dtes64 monitor ds_cpl vmx
est tm2 ssse3 cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic popcnt
tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm ida arat epb
xsaveopt pln pts dtherm tpr_shadow vnmi flexpriority ept vpid fsgsbase
smep erms
bogomips : 4190.18
clflush size : 64
cache_alignment : 64
address sizes : 36 bits physical, 48 bits virtual
power management:

processor : 1
vendor_id : GenuineIntel
cpu family : 6
model : 58
model name : Intel(R) Core(TM) i7-3612QM CPU @ 2.10GHz
stepping : 9
microcode : 0x12
cpu MHz : 1617.000
cache size : 6144 KB
physical id : 0
siblings : 8
core id : 0
cpu cores : 4
apicid : 1
initial apicid : 1
fpu : yes
fpu_exception : yes
cpuid level : 13
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov
pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx
rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology
nonstop_tsc aperfmperf eagerfpu pni pclmulqdq dtes64 monitor ds_cpl vmx
est tm2 ssse3 cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic popcnt
tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm ida arat epb
xsaveopt pln pts dtherm tpr_shadow vnmi flexpriority ept vpid fsgsbase
smep erms
bogomips : 4190.18
clflush size : 64
cache_alignment : 64
address sizes : 36 bits physical, 48 bits virtual
power management:

processor : 2
vendor_id : GenuineIntel
cpu family : 6
model : 58
model name : Intel(R) Core(TM) i7-3612QM CPU @ 2.10GHz
stepping : 9
microcode : 0x12
cpu MHz : 2646.000
cache size : 6144 KB
physical id : 0
siblings : 8
core id : 1
cpu cores : 4
apicid : 2
initial apicid : 2
fpu : yes
fpu_exception : yes
cpuid level : 13
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov
pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx
rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology
nonstop_tsc aperfmperf eagerfpu pni pclmulqdq dtes64 monitor ds_cpl vmx
est tm2 ssse3 cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic popcnt
tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm ida arat epb
xsaveopt pln pts dtherm tpr_shadow vnmi flexpriority ept vpid fsgsbase
smep erms
bogomips : 4190.18
clflush size : 64
cache_alignment : 64
address sizes : 36 bits physical, 48 bits virtual
power management:

processor : 3
vendor_id : GenuineIntel
cpu family : 6
model : 58
model name : Intel(R) Core(TM) i7-3612QM CPU @ 2.10GHz
stepping : 9
microcode : 0x12
cpu MHz : 1449.000
cache size : 6144 KB
physical id : 0
siblings : 8
core id : 1
cpu cores : 4
apicid : 3
initial apicid : 3
fpu : yes
fpu_exception : yes
cpuid level : 13
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov
pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx
rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology
nonstop_tsc aperfmperf eagerfpu pni pclmulqdq dtes64 monitor ds_cpl vmx
est tm2 ssse3 cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic popcnt
tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm ida arat epb
xsaveopt pln pts dtherm tpr_shadow vnmi flexpriority ept vpid fsgsbase
smep erms
bogomips : 4190.18
clflush size : 64
cache_alignment : 64
address sizes : 36 bits physical, 48 bits virtual
power management:

processor : 4
vendor_id : GenuineIntel
cpu family : 6
model : 58
model name : Intel(R) Core(TM) i7-3612QM CPU @ 2.10GHz
stepping : 9
microcode : 0x12
cpu MHz : 2499.000
cache size : 6144 KB
physical id : 0
siblings : 8
core id : 2
cpu cores : 4
apicid : 4
initial apicid : 4
fpu : yes
fpu_exception : yes
cpuid level : 13
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov
pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx
rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology
nonstop_tsc aperfmperf eagerfpu pni pclmulqdq dtes64 monitor ds_cpl vmx
est tm2 ssse3 cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic popcnt
tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm ida arat epb
xsaveopt pln pts dtherm tpr_shadow vnmi flexpriority ept vpid fsgsbase
smep erms
bogomips : 4190.18
clflush size : 64
cache_alignment : 64
address sizes : 36 bits physical, 48 bits virtual
power management:

processor : 5
vendor_id : GenuineIntel
cpu family : 6
model : 58
model name : Intel(R) Core(TM) i7-3612QM CPU @ 2.10GHz
stepping : 9
microcode : 0x12
cpu MHz : 2919.000
cache size : 6144 KB
physical id : 0
siblings : 8
core id : 2
cpu cores : 4
apicid : 5
initial apicid : 5
fpu : yes
fpu_exception : yes
cpuid level : 13
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov
pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx
rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology
nonstop_tsc aperfmperf eagerfpu pni pclmulqdq dtes64 monitor ds_cpl vmx
est tm2 ssse3 cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic popcnt
tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm ida arat epb
xsaveopt pln pts dtherm tpr_shadow vnmi flexpriority ept vpid fsgsbase
smep erms
bogomips : 4190.18
clflush size : 64
cache_alignment : 64
address sizes : 36 bits physical, 48 bits virtual
power management:

processor : 6
vendor_id : GenuineIntel
cpu family : 6
model : 58
model name : Intel(R) Core(TM) i7-3612QM CPU @ 2.10GHz
stepping : 9
microcode : 0x12
cpu MHz : 1197.000
cache size : 6144 KB
physical id : 0
siblings : 8
core id : 3
cpu cores : 4
apicid : 6
initial apicid : 6
fpu : yes
fpu_exception : yes
cpuid level : 13
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov
pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx
rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology
nonstop_tsc aperfmperf eagerfpu pni pclmulqdq dtes64 monitor ds_cpl vmx
est tm2 ssse3 cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic popcnt
tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm ida arat epb
xsaveopt pln pts dtherm tpr_shadow vnmi flexpriority ept vpid fsgsbase
smep erms
bogomips : 4190.18
clflush size : 64
cache_alignment : 64
address sizes : 36 bits physical, 48 bits virtual
power management:

processor : 7
vendor_id : GenuineIntel
cpu family : 6
model : 58
model name : Intel(R) Core(TM) i7-3612QM CPU @ 2.10GHz
stepping : 9
microcode : 0x12
cpu MHz : 2751.000
cache size : 6144 KB
physical id : 0
siblings : 8
core id : 3
cpu cores : 4
apicid : 7
initial apicid : 7
fpu : yes
fpu_exception : yes
cpuid level : 13
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov
pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx
rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology
nonstop_tsc aperfmperf eagerfpu pni pclmulqdq dtes64 monitor ds_cpl vmx
est tm2 ssse3 cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic popcnt
tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm ida arat epb
xsaveopt pln pts dtherm tpr_shadow vnmi flexpriority ept vpid fsgsbase
smep erms
bogomips : 4190.18
clflush size : 64
cache_alignment : 64
address sizes : 36 bits physical, 48 bits virtual
power management:




Well... if you need anything else... just ask..



>  o When you collect guest dmesg and similar, enable serial console.
>    On qemu side:
> 
>      qemu... -serial file:/some/where/pathname
> 
>    on guest (linux) side, in a bootloader:
> 
>      linux... console=ttyS0 console=tty1
> 
>    This will let you collect guest messages in a much easier way.
> 
>  o Please try different storage controller (IDE vs SATA vs VIRTIO),
>    to find out if the problem is in a common i/o layer or in a
>    particular I/O controller.
I'll try to try around with that... problem is that the initrd were
created with modules=dep... so the machine doesn't bot ide/virtio...



> No changes except of the kernel are relevant in the guest, because
> only the kernel "talks" with qemu.  And all guest kernels should
> Just Work (tm).
Yeah... well guest utils could have been relevant... but I haven't even
installed them... anyway.. just wanted to mention... that nothing has
changend in the guest


> This actually is just one change - adding a ton of upstream bugfixes
> between 1.5.0 and 1.5.1.  This is the current version of qemu which is
> used by all other current qemu users.
> 
> Another possible issue is toolchain problem (like, a gcc bug which
> results in wrong code generation).
> 
> > Is there some problem since the package has versions 1.5.0 but you
> > removed some patch from 1.5.1?
> 
> I don't understand what you're saying here.
What I meant is

$ qemu -version
QEMU emulator version 1.5.1 (Debian 1.5.0+dfsg-5), Copyright (c)
2003-2008 Fabrice Bellard

=> 1.5.1

But the package version is 1.5.0-5 ... (.0 vs. .1) so I just blindly
guessed there might have been some mix ups.



Thanks,
Chris.

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to