On Thu, Aug 20, 2009 at 06:08:28PM +0300, Pasi Kärkkäinen wrote:
On Thu, Aug 20, 2009 at 10:51:47AM +0100, Daniel P. Berrange wrote:
On Thu, Aug 20, 2009 at 12:47:50PM +0300, Pasi K?rkk?inen wrote:
On Thu, Aug 20, 2009 at 09:58:25AM +0100, Daniel P. Berrange wrote:
On Wed, Aug 19, 2009 at 11:48:54PM +0300, Pasi K?rkk?inen wrote:
Hello again!
I'm running Fedora 11 with 2.6.31-rc6 pv_ops Xen dom0 kernel and Xen 3.4.1. I'm able to succesfully install Fedora 11 and CentOS 5.3 PV guests with virt-install.
I just tried installing Fedora rawhide (F12) guest with virt-install, and the installation fails.
# virt-install --debug -n test3vm -r 512 --vcpus=1 -f /dev/vg_dom0test/test3vm --vnc -p -l "ftp://ftp.funet.fi/pub/mirrors/fedora.redhat.com/pub/fedora/linux/development/i386/os"
Log of the virt-install output available here: http://pasik.reaktio.net/fedora/virt-install-log-rawhide-on-f11.txt
Basicly it creates the domain, but it fails to start:
# xm list
Name ID Mem VCPUs State Time(s) Domain-0 0 986 2 r----- 595.1 test3vm 512 1 0.0
and virt-install gives these errors:
libvir: Xen error : Domain not found: xenUnifiedDomainLookupByID libvir: Xen error : Domain not found: xenUnifiedDomainLookupByName
Those are printed repeatedly over and over again.. until I cancel the installation with ctrl+c.
This message
Wed, 19 Aug 2009 21:20:40 DEBUG Launching console callback
shows that virt-install things it is working, and so spawned virt-viewer.
libvir: Xen error : Domain not found: xenUnifiedDomainLookupByName libvir: Xen error : Domain not found: xenUnifiedDomainLookupByID libvir: Xen error : Domain not found: xenUnifiedDomainLookupByName libvir: Xen error : Domain not found: xenUnifiedDomainLookupByID
are coming from virt-viewer program.
OK. That's good to know. I'll play with it a bit more today.
Maybe I should try updating to newer libvirt/virt-viewer first. From virt-preview repo?
That'd be a useful data point if you wish to try it.
Hmm.. it seems today I'm getting different error:
http://pasik.reaktio.net/fedora/virt-install-rawhide-on-f11-debuginfo2.txt http://pasik.reaktio.net/fedora/virt-install-rawhide-on-f11-debuginfo2-xm-lo...
virt-install output: Thu, 20 Aug 2009 18:02:47 ERROR POST operation failed: xend_post: error from xen daemon: (xend.err "Error creating domain: (2, 'Invalid kernel', 'xc_dom_find_loader: no loader found\n')")
"xm log": [2009-08-20 18:02:47 2161] ERROR (XendDomainInfo:2202) Device model destroy failed X86_Linux_ImageHandler instance has no attribute \047sentinel_lock\047
Something changed in the latest rawhide kernel?
# file vmlinuz-PAE vmlinuz-PAE: Linux kernel x86 boot executable bzImage, version 2.6.31-0.162.rc6.git2.fc12.i686, RO-rootFS, root_dev 0x902, swap_dev 0x2, Normal VGA
Any ideas?
I just tried without virt-install:
# cat test3vm.cfg name = "test3vm" uuid = "9cf2267d-9513-b9b7-bcd9-29f2962c7bd6" maxmem = 512 memory = 512 vcpus = 1 kernel = "/tmp/vmlinuz-PAE" ramdisk = "/tmp/initrd-PAE.img" on_poweroff = "destroy" on_reboot = "preserve" on_crash = "preserve" vfb = [ "type=vnc,vncunused=1" ] disk = [ "phy:vg_dom0test/test3vm,xvda,w" ] vif = [ "mac=00:16:4e:1b:ef:56,bridge=virbr0" ]
# xm create -f test3vm.cfg -c Using config file "./test3vm.cfg". Error: (2, 'Invalid kernel', 'xc_dom_find_loader: no loader found\n')
So same error.
# file /tmp/vmlinuz-PAE /tmp/vmlinuz-PAE: Linux kernel x86 boot executable bzImage, version 2.6.31-0.162.rc6.git2.fc12.i686, RO-rootFS, root_dev 0x902, swap_dev 0x2, Normal VGA
# grep CONFIG_KERNEL config-2.6.31-0.162.rc6.git2.fc12.i686.PAE
# CONFIG_KERNEL_GZIP is not set # CONFIG_KERNEL_BZIP2 is not set CONFIG_KERNEL_LZMA=y
OK, so the problem is the rawhide kernel is LZMA compressed. Wasn't this changed back to GZIP earlier?
-- Pasi