I have a virtual machine landscape consisting of a CentOS 5.3 Dom0 with
Xen 3.1.2, some PV CentOS DomU's with PCI passthrough (same versions),
and I'm trying to implement a F10 DomU with PCI passthrough. I set
everything up for the passthrough, and the F10 guest can't see any of
the devices with lspci. If I boot a CentOS PV machine with the same PCI
passthrough configuration, the devices show up with lspci. I've seen
some posts in various places about this issue, but no solutions. How do
I implement this?
I have built a new set of kernel packages based on fedora rawhide
kernels and the xen/dom0/hackery branch of Jeremy's git repository
( http://git.kernel.org/?p=linux/kernel/git/jeremy/xen.git;a=summary ).
This batch (kernel-2.6.29-0.114.2.6.rc6.fc11) is available via the koji
build system at
These are really for development and debugging purposes only, as I am
still having problems getting them to boot, but others have reported more
success at getting kernels based on this git repository working, so you
might be lucky.
Note to install these packages on Fedora 10 you will need to have
rpm-4.6.0-1.fc10 installed (currently in updates-testing but it should be
available in updates soon) because of the change to SHA-256 file digest
hashing in recent Fedora 11 builds.
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
I just tried installing Fedora rawhide (F12) guest with virt-install, and the
# 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/develop..."
Log of the virt-install output available here:
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.
Any ideas how to debug that?
Some more debug info ("xm list --long test3vm" and "xenstore-ls") available from here:
Virt-install F12 PV hangs on 64-bit. Report attached.
--- On Sun, 8/23/09, Pasi Kärkkäinen <pasik(a)iki.fi> wrote:
From: Pasi Kärkkäinen <pasik(a)iki.fi>
Subject: Re: [Fedora-xen] BZIP2 and LZMA support patch for Xen PV domU bootloader
To: "Mark McLoughlin" <markmc(a)redhat.com>
Date: Sunday, August 23, 2009, 12:45 PM
On Thu, Aug 20, 2009 at 10:04:09PM +0300, Pasi Kärkkäinen wrote:
> On Thu, Aug 20, 2009 at 07:02:12PM +0100, Mark McLoughlin wrote:
> > On Thu, 2009-08-20 at 19:44 +0300, Pasi Kärkkäinen wrote:
> > > On Thu, Aug 20, 2009 at 05:05:17PM +0100, Mark McLoughlin wrote:
> > > > On Thu, 2009-08-20 at 18:41 +0300, Pasi Kärkkäinen wrote:
> > > >
> > > > > # 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?
> > > >
> > > > Thanks for pointing that out, see:
> > > >
> > > > https://bugzilla.redhat.com/show_bug.cgi?id=515831
> > > >
> > > > It got disabled on a branch for the F12 Alpha release, but never got
> > > > disabled on the devel/ branch. Should be fixed now.
> > > >
> > >
> > > Thanks. Now I'll just wait for the next kernel build.. :)
> > >
> > > (or try applying the patch Chris sent to support BZIP2 and LZMA for Xen PV bootloader).
> > Testing Chris's patch would certainly be a good idea. LZMA will come
> > back again in Fedora 13, so we should make sure to have the patch in
> > good shape by then
> I actually already 'ported' the patch to Xen 3.4.1 and made sure it
> compiles OK. I've included it (and extra gcc 4.4.0 compilefix) to this
> email, and also sent them to xen-devel.
> atm I'm trying to make the patch work/apply with Fedora xen-3.4.1-1 src.rpm ..
> and sorting out some fedora/rpm specific compilation failure..
Here's updated patch that actually works. I added it to xen-3.4.1-1.src.rpm
and verified the resulting rpms are able to boot lzma compressed kernels.
It's still not final patch, since the stubdom/pvgrub bzip2/lzma support is
not yet included in this patch (until the proper method for Makefile hacks
is determined upstream).
-----Inline Attachment Follows-----
Fedora-xen mailing list