
I see a valid and good point in the problem with maintaining a "bleeding edge" official build of Xen. I think this overlay idea is a good solution if someone is up for really maintaining it.trad511 wrote:What I'd like to suggest is putting mainline Xen (this means release + kernel version) in portage and the creation of an official Xen overlay for "buyer beware", unstable or third party (ie. FC) Xen ebuilds. Obviously this requires some thought and planning with regard to support and communication, but that's what I wanted this forum topic to be about. Comments? Questions? Suggestions?
That sounds like the way to go to me.trad511 wrote: What I'd like to suggest is putting mainline Xen (this means release + kernel version) in portage and the creation of an official Xen overlay for "buyer beware", unstable or third party (ie. FC) Xen ebuilds.
Code: Select all
linux-2.6.20.12-xen # make
...
CC drivers/xen/util.o
LD drivers/xen/privcmd/built-in.o
CC drivers/xen/xenbus/xenbus_xs.o
CC drivers/xen/xenbus/xenbus_probe.o
CC drivers/xen/xenbus/xenbus_backend_client.o
CC drivers/xen/xenbus/xenbus_probe_backend.o
CC drivers/xen/xenbus/xenbus_dev.o
LD drivers/xen/xenbus/xenbus_be.o
LD drivers/xen/xenbus/built-in.o
LD drivers/xen/built-in.o
LD drivers/built-in.o
GEN .version
CHK include/linux/compile.h
UPD include/linux/compile.h
CC init/version.o
LD init/built-in.o
LD .tmp_vmlinux1
arch/x86_64/kernel/built-in.o: In function `intel_bugs':
early-quirks.c:(.text+0xaf97): undefined reference to `quirk_intel_irqbalance'
make: *** [.tmp_vmlinux1] Error 1
You will need the SMP fix if you want your virtual machines to access more then 1 VCPU's. Thats all I found so far.CpuID wrote:hey sdrik, I just used the linux-2.6-xen.patch out of the 2.6.20 2925 srpm for fedora core 7, no other patches. patched against gentoo-sources 2.6.20-r8 and it built and booted first time with x86_64anything else your patchset has that I dont know about? only thing left to sort out is my missing phys_to_machine symbol for nvidia drivers, which shouldnt be too hard
patch 01 is the core xen patchCpuID wrote:hey sdrik, I just used the linux-2.6-xen.patch out of the 2.6.20 2925 srpm for fedora core 7, no other patches. patched against gentoo-sources 2.6.20-r8 and it built and booted first time with x86_64anything else your patchset has that I dont know about? only thing left to sort out is my missing phys_to_machine symbol for nvidia drivers, which shouldnt be too hard
I cannot reproduce your problem here, it must be specific to your .configtomekki wrote:Hi,
I just gave it a try and compiled a dom0 kernel on my x86_64 architecture.
It does not work:As told, it was not tested completely ...Code: Select all
linux-2.6.20.12-xen # make ... CC drivers/xen/util.o LD drivers/xen/privcmd/built-in.o CC drivers/xen/xenbus/xenbus_xs.o CC drivers/xen/xenbus/xenbus_probe.o CC drivers/xen/xenbus/xenbus_backend_client.o CC drivers/xen/xenbus/xenbus_probe_backend.o CC drivers/xen/xenbus/xenbus_dev.o LD drivers/xen/xenbus/xenbus_be.o LD drivers/xen/xenbus/built-in.o LD drivers/xen/built-in.o LD drivers/built-in.o GEN .version CHK include/linux/compile.h UPD include/linux/compile.h CC init/version.o LD init/built-in.o LD .tmp_vmlinux1 arch/x86_64/kernel/built-in.o: In function `intel_bugs': early-quirks.c:(.text+0xaf97): undefined reference to `quirk_intel_irqbalance' make: *** [.tmp_vmlinux1] Error 1
Code: Select all
tap:aio:/
Code: Select all
XENBUS: Timeout connecting to device: device/vbd/51712 (state 3)
XENBUS: Timeout connecting to device: device/vbd/51715 (state 3)
XENBUS: Timeout connecting to device: device/vbd/51714 (state 3)Code: Select all
file:/I don't need kernel 2.6.20 on Dom0 so I installed 2.6.18 and the problem above goes away. I still use the patched 2.6.20 for domU'szoltak wrote:Is anyone having problems using images viaI get an error:Code: Select all
tap:aio:/
File method works fineCode: Select all
XENBUS: Timeout connecting to device: device/vbd/51712 (state 3) XENBUS: Timeout connecting to device: device/vbd/51715 (state 3) XENBUS: Timeout connecting to device: device/vbd/51714 (state 3)Code: Select all
file:/
The images boot on a centos dom0 running 2.6.18
zoltak wrote:I don't need kernel 2.6.20 on Dom0 so I installed 2.6.18 and the problem above goes away. I still use the patched 2.6.20 for domU'szoltak wrote:Is anyone having problems using images viaI get an error:Code: Select all
tap:aio:/
File method works fineCode: Select all
XENBUS: Timeout connecting to device: device/vbd/51712 (state 3) XENBUS: Timeout connecting to device: device/vbd/51715 (state 3) XENBUS: Timeout connecting to device: device/vbd/51714 (state 3)Code: Select all
file:/
The images boot on a centos dom0 running 2.6.18
Has anyone else overcome this problem running 2.6.20 on Dom0 with tap:aio devices?
Code: Select all
arch/x86_64/kernel/built-in.o: In function `intel_bugs':
early-quirks.c:(.text+0xaf97): undefined reference to `quirk_intel_irqbalance'
make: *** [.tmp_vmlinux1] Error 1
Code: Select all
Bus options (PCI etc.) --->
[*] PCI support
To be honest, I just hashed this quirk out, as I dont have the hardware it relates to (according to the comments in the src)tomekki wrote:Hi,
I still can't compile a (domU) Kernel. I tried sdrik's and CpuID's patched version without success.
Fortunately, I was able to isolate the kernel option responsible for my previous error. Which was:The option which lets the compilation fail is:Code: Select all
arch/x86_64/kernel/built-in.o: In function `intel_bugs': early-quirks.c:(.text+0xaf97): undefined reference to `quirk_intel_irqbalance' make: *** [.tmp_vmlinux1] Error 1At least I can make my very first steps with XenCode: Select all
Bus options (PCI etc.) ---> [*] PCI support
However, I would like to have PCI available in my future domU machine.
Any Idea what might went wrong with the the PCI support?
The problem with disabling [*] PCI support is you disable support for other kernel options, and to be honest it's more likely that one of these dependant options is to blame than PCI support itself.CpuID wrote:To be honest, I just hashed this quirk out, as I dont have the hardware it relates to (according to the comments in the src) :) But yea, from what I can tell the quirk exists in i386 but wasnt replicated to amd64, but im reluctant to do so as im not experienced enough to know if its safe/what the implications are in the case you do have that hardware :Ptomekki wrote:Hi,
I still can't compile a (domU) Kernel. I tried sdrik's and CpuID's patched version without success.
Fortunately, I was able to isolate the kernel option responsible for my previous error. Which was:The option which lets the compilation fail is:Code: Select all
arch/x86_64/kernel/built-in.o: In function `intel_bugs': early-quirks.c:(.text+0xaf97): undefined reference to `quirk_intel_irqbalance' make: *** [.tmp_vmlinux1] Error 1At least I can make my very first steps with Xen :)Code: Select all
Bus options (PCI etc.) ---> [*] PCI support
However, I would like to have PCI available in my future domU machine.
Any Idea what might went wrong with the the PCI support?
Do a `svn update' or use `layman -s mescalito'tomekki wrote:Hi Mescalito,
i just tried your xen overlay and this time the compilation of a kernel 2.6.18 went smoothly.
Thanks, now I can start to use pci devices in domU. :)
You mentioned that you checked in kernel 2.6.20 patches in your repository.
I could find those under 'svn://thestonertree.com/mescalito/sys-kernel/xen-sources'. Could you give me a hint where to find the patch?
I agree, I would be also afraid that missing PCI support would bring some unexpected side effects.
Btw. CpuID, I hope that Santa is going to give you a nice 64 bit machine ;)
Greetings
Code: Select all
svn co svn://thestonertree.com/mescalito
[...]
A mescalito/app-emulation/xen/xen-3.1.0.ebuild
A mescalito/sys-kernel
A mescalito/sys-kernel/xen-sources
A mescalito/sys-kernel/xen-sources/metadata.xml
A mescalito/sys-kernel/xen-sources/files
A mescalito/sys-kernel/xen-sources/files/digest-xen-sources-2.6.18
A mescalito/sys-kernel/xen-sources/files/patch-2.6.18_to_xen-3.1.0.bz2
A mescalito/sys-kernel/xen-sources/Manifest
A mescalito/sys-kernel/xen-sources/ChangeLog
A mescalito/sys-kernel/xen-sources/xen-sources-2.6.18.ebuild
Checked out revision 5.