Public bug reported:

Binary package hint: qemu-kvm

Hi,
  I've just upgraded my Linux to Kubuntu 9.10 (i386).
  I'm using  KVM and virt-manager on it.
  Unfortunately my VM boxes became corrupted after I install new software on 
these or create some files.

  Here is the VM definition:

$ virsh dumpxml ubuntu
Connecting to uri: qemu:///system               
<domain type='kvm' id='27'>                     
  <name>ubuntu</name>                           
  <uuid>00000000-0000-4000-0000-111111111111</uuid>
  <memory>524288</memory>                          
  <currentMemory>524288</currentMemory>            
  <vcpu>1</vcpu>                                   
  <os>                                             
    <type arch='i686' machine='pc-0.11'>hvm</type>
    <boot dev='hd'/>
  </os>
  <features>
    <acpi/>
  </features>
  <clock offset='utc'/>
  <on_poweroff>destroy</on_poweroff>
  <on_reboot>restart</on_reboot>
  <on_crash>destroy</on_crash>
  <devices>
    <emulator>/usr/bin/kvm</emulator>
    <disk type='file' device='disk'>
      <source file='/dev/mapper/vm-ubuntu'/>
      <target dev='hda' bus='ide'/>
    </disk>
    <disk type='file' device='cdrom'>
      <source 
file='/home/tomnowak/Desktop/Software/linux/ubuntu/ubuntu-9.10-server-i386.iso'/>
      <target dev='hdc' bus='ide'/>
      <readonly/>
    </disk>
    <interface type='network'>
      <mac address='00:50:56:11:11:11'/>
      <source network='default'/>
      <target dev='vnet0'/>
      <model type='e1000'/>
    </interface>
    <input type='mouse' bus='ps2'/>
    <graphics type='vnc' port='5911' autoport='no' listen='127.0.0.1'/>
    <video>
      <model type='vga' vram='8192' heads='1'/>
    </video>
  </devices>
  <seclabel type='dynamic' model='apparmor'>
    <label>libvirt-00000000-0000-4000-0000-111111111111</label>
    <imagelabel>libvirt-00000000-0000-4000-0000-111111111111</imagelabel>
  </seclabel>
</domain>

I'm trying to install Ubuntu Server Edition 9.10 but after a few reset
there is a problem with swap partition on the screen while booting:

>>>
One or more of the mounts listed in /etc/fstab cannot yet be mounted:
(ESC for recovery shell)
swap: waiting for UUID=903d9649-0587-45b1-a501-8c02d71f43fc
<<<

Then when trying to recreate swap on /dev/sda5 I get:

>>>
r...@ubuntu:~# fdisk -l

Disk /dev/sda: 10.7 GB, 10737418240 bytes
255 heads, 63 sectors/track, 1305 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x000dd054

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1        1243     9984366   83  Linux
/dev/sda2            1244        1305      498015    5  Extended
/dev/sda5            1244        1305      497983+  82  Linux swap / Solaris
r...@ubuntu:~# swapon -a
swapon: cannot find the device for UUID=903d9649-0587-45b1-a501-8c02d71f43fc
r...@ubuntu:~# swapon /dev/sda5
swapon: /dev/sda5: read swap header failed: Invalid argument
r...@ubuntu:~# mkswap /dev/sda5
Setting up swapspace version 1, size = 497976 KiB
no label, UUID=38153005-9024-4eee-b1b9-99c3b0cfee62
r...@ubuntu:~# swapon /dev/sda5
swapon: /dev/sda5: read swap header failed: Invalid argument
<<<<

Later I tried to install some software:
# apt-get install azureus
and during the package installation I saw strange characters on the screen and 
everything stopped working.
After a reset system was dead - the grub stopped booting - it seems my entire 
virtual disk became totally corrupted.
>>>
GRUB loading.
error: invalid arch independent ELF magic
grub rescue>
<<<

The above message is almost every time different

I've tried different disk types: ide, scsi, virtio - always the same.
Also the same when trying to install Kubuntu 9.10 under KVM.

** Affects: qemu-kvm (Ubuntu)
     Importance: Undecided
         Status: New

-- 
KVM machines became corrupted after reboot
https://bugs.launchpad.net/bugs/469419
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to qemu-kvm in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs

Reply via email to