qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [Bug 1089281] [NEW] kvm crash when writing on disk


From: xavy
Subject: [Qemu-devel] [Bug 1089281] [NEW] kvm crash when writing on disk
Date: Wed, 12 Dec 2012 10:19:06 -0000

Public bug reported:

When running the following command:

/usr/bin/kvm -S -M pc-1.0 -cpu qemu32 -enable-kvm -m 1024 -smp
1,sockets=1,cores=1,threads=1 -name winxp -uuid f86ef88f-b90e-699a-
74b8-9675063fc26e -nodefconfig -nodefaults -chardev
socket,id=charmonitor,path=/var/lib/libvirt/qemu/winxp.monitor,server,nowait
-mon chardev=charmonitor,id=monitor,mode=control -rtc base=utc -no-
shutdown -device lsi,id=scsi0,bus=pci.0,addr=0x4 -drive
file=/home/master/xpnew.iso,if=none,media=cdrom,id=drive-
ide0-0-0,readonly=on,format=raw -device ide-drive,bus=ide.0,unit=0,drive
=drive-ide0-0-0,id=ide0-0-0,bootindex=1 -drive
file=/var/lib/zentyal/machines/winxp/winxp.img,if=none,id=drive-
scsi0-0-0,format=qcow2 -device scsi-disk,bus=scsi0.0,scsi-id=0,drive
=drive-scsi0-0-0,id=scsi0-0-0 -netdev tap,fd=18,id=hostnet0 -device
rtl8139,netdev=hostnet0,id=net0,mac=b3:b8:a9:49:a2:f8,bus=pci.0,addr=0x3
-usb -device usb-mouse,id=input0 -vnc 0.0.0.0:0,password -k de -vga
cirrus -device virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x5


running a windows installation (for instance, it has crashed with other OS), 
when the guest OS installer has reached 60% of the copying files process, the 
following errors can be found, and KVM gets Force Closed (i am recollecting 
errors from different times I have tried to references to memory positions may 
vary)

syslog:

Nov 26 19:46:59 mikeboxx kernel: [2254718.689953] kvm6983 general
protection ip:7fc451d4be08 sp:7fc44991ab80 error:0 in
libc-2.15.so[7fc451ccd000+1b5000]

/var/log/libvirt/libvirtd.log:

2012-11-21 10:01:26.464+0000: 16050: error : qemuMonitorIO:603 :
internal error End of file from monitor

/var/log/libvirt/qemu/winxp-ajur.log

**enclosed as it has a long size due to the core dump


The linux kernel running is this one:

3.2.0-32-generic #51-Ubuntu SMP Wed Sep 26 21:33:09 UTC 2012 x86_64
x86_64 x86_64 GNU/Linux

Libvirtd versions are these:
address@hidden:/home/ebox-remote-support# dpkg -l | grep libvirt
ii  libvirt-bin                          0.9.8-2ubuntu17.4                      
    programs for the libvirt library
ii  libvirt0                             0.9.8-2ubuntu17.4                      
    library for interfacing with different virtualization systems

and KVM - QEMU versions are these ones:
address@hidden:/home/ebox-remote-support# dpkg -l | grep qemu
ii  qemu-common                          1.0+noroms-0ubuntu14.3                 
    qemu common functionality (bios, documentation, etc)
ii  qemu-kvm                             1.0+noroms-0ubuntu14.3                 
    Full virtualization on i386 and amd64 hardware
ii  qemu-utils                           1.0+noroms-0ubuntu14.3                 
    qemu utilities


I have checked bug  #1022901 in
https://bugs.launchpad.net/ubuntu/+source/qemu-kvm/+bug/1022901  due to
the similarity of the error "internal error End of file from monitor",
but the sintoms are not the same as long as the partition where the img
file resides has plenty of space and so does the img itself:

address@hidden:/home/ebox-remote-support# df -h
Filesystem      Size  Used Avail Use% Mounted on
/dev/sda1       226G  3.4G  211G   2% /

address@hidden:/home/ebox-remote-support# qemu-img info 
/var/lib/zentyal/machines/winxp/winxp.img 
image: /var/lib/zentyal/machines/winxp/winxp.img
file format: qcow2
virtual size: 11G (11559501824 bytes)
disk size: 384M
cluster_size: 65536


Can you help us to solve this? Case you needed any information else, please do 
not hesitate to ask for it

** Affects: qemu
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1089281

Title:
  kvm crash when writing on disk

Status in QEMU:
  New

Bug description:
  When running the following command:

  /usr/bin/kvm -S -M pc-1.0 -cpu qemu32 -enable-kvm -m 1024 -smp
  1,sockets=1,cores=1,threads=1 -name winxp -uuid f86ef88f-b90e-699a-
  74b8-9675063fc26e -nodefconfig -nodefaults -chardev
  socket,id=charmonitor,path=/var/lib/libvirt/qemu/winxp.monitor,server,nowait
  -mon chardev=charmonitor,id=monitor,mode=control -rtc base=utc -no-
  shutdown -device lsi,id=scsi0,bus=pci.0,addr=0x4 -drive
  file=/home/master/xpnew.iso,if=none,media=cdrom,id=drive-
  ide0-0-0,readonly=on,format=raw -device ide-
  drive,bus=ide.0,unit=0,drive=drive-ide0-0-0,id=ide0-0-0,bootindex=1
  -drive file=/var/lib/zentyal/machines/winxp/winxp.img,if=none,id
  =drive-scsi0-0-0,format=qcow2 -device scsi-disk,bus=scsi0.0,scsi-
  id=0,drive=drive-scsi0-0-0,id=scsi0-0-0 -netdev tap,fd=18,id=hostnet0
  -device
  rtl8139,netdev=hostnet0,id=net0,mac=b3:b8:a9:49:a2:f8,bus=pci.0,addr=0x3
  -usb -device usb-mouse,id=input0 -vnc 0.0.0.0:0,password -k de -vga
  cirrus -device virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x5

  
  running a windows installation (for instance, it has crashed with other OS), 
when the guest OS installer has reached 60% of the copying files process, the 
following errors can be found, and KVM gets Force Closed (i am recollecting 
errors from different times I have tried to references to memory positions may 
vary)

  syslog:

  Nov 26 19:46:59 mikeboxx kernel: [2254718.689953] kvm6983 general
  protection ip:7fc451d4be08 sp:7fc44991ab80 error:0 in
  libc-2.15.so[7fc451ccd000+1b5000]

  /var/log/libvirt/libvirtd.log:

  2012-11-21 10:01:26.464+0000: 16050: error : qemuMonitorIO:603 :
  internal error End of file from monitor

  /var/log/libvirt/qemu/winxp-ajur.log

  **enclosed as it has a long size due to the core dump

  
  The linux kernel running is this one:

  3.2.0-32-generic #51-Ubuntu SMP Wed Sep 26 21:33:09 UTC 2012 x86_64
  x86_64 x86_64 GNU/Linux

  Libvirtd versions are these:
  address@hidden:/home/ebox-remote-support# dpkg -l | grep libvirt
  ii  libvirt-bin                          0.9.8-2ubuntu17.4                    
      programs for the libvirt library
  ii  libvirt0                             0.9.8-2ubuntu17.4                    
      library for interfacing with different virtualization systems

  and KVM - QEMU versions are these ones:
  address@hidden:/home/ebox-remote-support# dpkg -l | grep qemu
  ii  qemu-common                          1.0+noroms-0ubuntu14.3               
      qemu common functionality (bios, documentation, etc)
  ii  qemu-kvm                             1.0+noroms-0ubuntu14.3               
      Full virtualization on i386 and amd64 hardware
  ii  qemu-utils                           1.0+noroms-0ubuntu14.3               
      qemu utilities


  I have checked bug  #1022901 in
  https://bugs.launchpad.net/ubuntu/+source/qemu-kvm/+bug/1022901  due
  to the similarity of the error "internal error End of file from
  monitor", but the sintoms are not the same as long as the partition
  where the img file resides has plenty of space and so does the img
  itself:

  address@hidden:/home/ebox-remote-support# df -h
  Filesystem      Size  Used Avail Use% Mounted on
  /dev/sda1       226G  3.4G  211G   2% /

  address@hidden:/home/ebox-remote-support# qemu-img info 
/var/lib/zentyal/machines/winxp/winxp.img 
  image: /var/lib/zentyal/machines/winxp/winxp.img
  file format: qcow2
  virtual size: 11G (11559501824 bytes)
  disk size: 384M
  cluster_size: 65536

  
  Can you help us to solve this? Case you needed any information else, please 
do not hesitate to ask for it

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1089281/+subscriptions



reply via email to

[Prev in Thread] Current Thread [Next in Thread]