newer dom0 kernel
Some weeks (months?) back I think I remember discussion about starting to focus on a newer Linux kernel for dom0, and about a hg tree for it, but now I can't find the discussion. Is there a hg tree for this yet or did I imagine the whole thing?
Thanks
James
Quoted 5 lines · James Harper
Some weeks (months?) back I think I remember discussion about starting to focus on a newer Linux kernel for dom0, and about a hg tree for it, but now I can't find the discussion. Is there a hg tree for this yet or did I imagine the whole thing?
xen-unstable switched to using pv_ops dom0 kernel (git tree).
Or did you mean the talks about community supported xenlinux forward-port tree, based on the novell/opensuse patches?
-- Pasi
Quoted 7 lines · On Tuesday 22 September 2009 14:10:09 Pasi Kärkkäinen wrote:
Quoted 4 lines · James Harper
Some weeks (months?) back I think I remember discussion about starting to focus on a newer Linux kernel for dom0, and about a hg tree for it, but now I can't find the discussion. Is there a hg tree for this yet or did I imagine the whole thing?
xen-unstable switched to using
pv_opsdom0 kernel (git tree).
From which version will the mainstream kernel have dom0 support? Every time I check it only has domU support.
Thanks,
Joost
Quoted 7 lines · J. Roeleveld
Quoted 6 lines · On Tuesday 22 September 2009 14:10:09 Pasi Kärkkäinen wrote:
Quoted 4 lines · James Harper
Some weeks (months?) back I think I remember discussion about starting to focus on a newer Linux kernel for dom0, and about a hg tree for it, but now I can't find the discussion. Is there a hg tree for this yet or did I imagine the whole thing?
Quoted 5 lines
Quoted 1 line
xen-unstable switched to using
pv_opsdom0 kernel (git tree).From which version will the mainstream kernel have dom0 support? Every time I check it only has domU support.
Well, pv_ops based dom0 patches are still under development to get them less intrusive and acceptable to upstream Linux kernel.
If you want to help feel free to contribute. Just a couple of days ago Jeremy announced the new xen/master tree, which people should test, and hopefully send patches against.
This is the work that will be sent for upstream inclusion later.
-- Pasi
If I run: hg clone http://xenbits.xensource.com/xen-unstable.hg I'll get the most recent work? with the latest pvops dom0? Linux 2.6.31? 2009/9/22 Pasi Kärkkäinen <[email protected]>
Quoted 26 lines · J. Roeleveld
Quoted 3 lines · On Tuesday 22 September 2009 14:10:09 Pasi Kärkkäinen wrote:
Quoted 2 lines · James Harper
Quoted 1 line
Some weeks (months?) back I think I remember discussion about
starting
Quoted 1 line
Quoted 1 line
Quoted 1 line
to focus on a newer Linux kernel for dom0, and about a hg tree for
it,
Quoted 1 line
Quoted 1 line
Quoted 1 line
but now I can't find the discussion. Is there a hg tree for this yet
or
Quoted 7 lines
Quoted 3 lines
Quoted 1 line
did I imagine the whole thing?
xen-unstable switched to using
pv_opsdom0 kernel (git tree).From which version will the mainstream kernel have dom0 support? Every time I check it only has domU support.
Well,
pv_opsbased dom0 patches are still under development to get them less intrusive and acceptable to upstream Linux kernel.If you want to help feel free to contribute. Just a couple of days ago Jeremy announced the new xen/master tree, which people should test, and hopefully send patches against.
This is the work that will be sent for upstream inclusion later.
Quoted 8 lines
-- Pasi
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel
Re: newer dom0 kernel / xen-unstable git kernel tree
Quoted 2 lines · Thiago Camargo Martins Cordeiro
If I run: hg clone http://xenbits.xensource.com/xen-unstable.hg I'll get the most recent work? with the latest pvops dom0? Linux 2.6.31?
I'm not sure if xen-unstable.hg points to the latest git tree yet? Keir?
You can always get the latest git dom0 kernel tree based on the instruction here:
http://wiki.xensource.com/xenwiki/XenParavirtOps
-- Pasi
Re: newer dom0 kernel / xen-unstable git kernel tree
Gotcha!
To make use of the latest pv_ops dom0 need I the xen-unstable tree? Or can I use the Xen 3.4.1 / 3.3.2 from xen.org?
Thanks!
Thiago
2009/9/22 Pasi Kärkkäinen <[email protected]>
Quoted 6 lines
Quoted 1 line · Thiago Camargo Martins Cordeiro
If I run: hg clone http://xenbits.xensource.com/xen-unstable.hg I'll
get
Quoted 1 line
the most recent work? with the latest pvops dom0? Linux 2.6.31?
Quoted 9 lines
I'm not sure if xen-unstable.hg points to the latest git tree yet? Keir?
You can always get the latest git dom0 kernel tree based on the instruction here:
http://wiki.xensource.com/xenwiki/XenParavirtOps-- Pasi
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel
Re: newer dom0 kernel / xen-unstable git kernel tree
Quoted 4 lines · Thiago Camargo Martins Cordeiro
Gotcha!
To make use of the latest
pv_opsdom0 need I the xen-unstable tree? Or can I use the Xen 3.4.1 / 3.3.2 from xen.org <http://xen.org>?
There's no close tie between dom0 and Xen itself; it should work with any fairly recent version of Xen (and if it doesn't that's interesting information).
J
Re: newer dom0 kernel / xen-unstable git kernel tree
Quoted 10 lines · Jeremy Fitzhardinge
Quoted 4 lines · Thiago Camargo Martins Cordeiro
Gotcha!
To make use of the latest
pv_opsdom0 need I the xen-unstable tree? Or can I use the Xen 3.4.1 / 3.3.2 from xen.org <http://xen.org>?There's no close tie between dom0 and Xen itself; it should work with any fairly recent version of Xen (and if it doesn't that's interesting information).
Works for me with Xen 3.4.1 hypervisor.
Earlier I used it with Xen 3.3.1.
-- Pasi
Re: newer dom0 kernel / xen-unstable git kernel tree
Quoted 7 lines · Pasi Kärkkäinen
Quoted 6 lines · Jeremy Fitzhardinge
Quoted 4 lines · Thiago Camargo Martins Cordeiro
Gotcha!
To make use of the latest
pv_opsdom0 need I the xen-unstable tree? Or can I use the Xen 3.4.1 / 3.3.2 from xen.org <http://xen.org>?
Quoted 9 lines
Quoted 4 lines
There's no close tie between dom0 and Xen itself; it should work with any fairly recent version of Xen (and if it doesn't that's interesting information).
Works for me with Xen 3.4.1 hypervisor.
Earlier I used it with Xen 3.3.1.
.. but I forgot to mention that 3.3.1 needs some extra (backported) patches.
So Xen 3.4.x or newer is a safe choise.
See: http://wiki.xensource.com/xenwiki/XenParavirtOps
-- Pasi
RE: newer dom0 kernel / xen-unstable git kernel tree
Quoted 5 lines
So Xen 3.4.x or newer is a safe choise.
Following instructions there:
To check out a working tree, use:
$ git clone git://git.kernel.org/pub/scm/linux/kernel/git/jeremy/xen.git linux-2.6-xen $ cd linux-2.6-xen $ git checkout origin/xen/master -b xen/master
The last line says "fatal: A branch named 'xen/master' already exists."
Is this a problem? I think the wiki should at least mention it...
Thanks
James
Re: newer dom0 kernel / xen-unstable git kernel tree
Quoted 10 lines · James Harper
Quoted 5 lines
So Xen 3.4.x or newer is a safe choise.
Following instructions there:
To check out a working tree, use:
Quoted 8 lines
$ git clone git://git.kernel.org/pub/scm/linux/kernel/git/jeremy/xen.git linux-2.6-xen $ cd linux-2.6-xen $ git checkout origin/xen/master -b xen/masterThe last line says "fatal: A branch named 'xen/master' already exists."
Is this a problem? I think the wiki should at least mention it...
Actually I removed that 'git checkout origin/xen/master -b xen/master' from the Wiki page yesterday..
It seems it's not needed anymore.
-- Pasi
RE: newer dom0 kernel / xen-unstable git kernel tree
Quoted 15 lines
Quoted 9 lines
Quoted 3 lines
Following instructions there:
To check out a working tree, use:
$ git clone git://git.kernel.org/pub/scm/linux/kernel/git/jeremy/xen.gitlinux-2.6-xen
Quoted 5 lines
$ cd linux-2.6-xen $ git checkout origin/xen/master -b xen/masterThe last line says "fatal: A branch named 'xen/master' already exists."
Quoted 8 lines
Quoted 2 lines
Is this a problem? I think the wiki should at least mention it...
Actually I removed that 'git checkout origin/xen/master -b xen/master' from the Wiki page yesterday..
It seems it's not needed anymore.
Hehe. I had the page open in my browser since yesterday and have only just had time now to go through and do the checkout. Guess I should have hit refresh :)
James
RE: newer dom0 kernel / xen-unstable git kernel tree
Quoted 2 lines
# git clone git://git.kernel.org/pub/scm/linux/kernel/git/jeremy/xen.git # cd linux-2.6-xen
#git branch.
Boris.
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel
RE: newer dom0 kernel / xen-unstable git kernel tree
In reply to Pasi KärkkäinenQuoted 26 lines
-----Original Message-----
From: [email protected] [mailto:xen-devel- [email protected]] On Behalf Of Pasi Kärkkäinen
Sent: Wednesday, 23 September 2009 16:58
To: Jeremy Fitzhardinge
Cc: J. Roeleveld; [email protected]; Thiago Camargo Martins Cordeiro; [email protected]
Subject: Re: [Xen-devel] newer dom0 kernel / xen-unstable git kernel treeQuoted 14 lines · Pasi Kärkkäinen
Quoted 10 lines · Jeremy Fitzhardinge
Quoted 4 lines · Thiago Camargo Martins Cordeiro
Gotcha!
To make use of the latest
pv_opsdom0 need I the xen-unstable tree? Or can I use the Xen 3.4.1 / 3.3.2 from xen.org <http://xen.org>?There's no close tie between dom0 and Xen itself; it should work with any fairly recent version of Xen (and if it doesn't that's interesting information).
Works for me with Xen 3.4.1 hypervisor.
Quoted 9 lines
Quoted 2 lines
Earlier I used it with Xen 3.3.1.
.. but I forgot to mention that 3.3.1 needs some extra (backported) patches.
So Xen 3.4.x or newer is a safe choise.
drivers/built-in.o: In function `processor_cntl_xen_prepare':
(.text+0x50aba): undefined reference to acpi_processor_get_performance_info' drivers/built-in.o: In function processor_cntl_xen_prepare':
(.text+0x50ad9): undefined reference to acpi_processor_get_psd' drivers/built-in.o: In function xenfb_init':
xen-fbfront.c:(.init.text+0xd62): undefined reference to __xenbus_register_frontend' drivers/built-in.o: In function xenkbd_init':
xen-kbdfront.c:(.init.text+0x7b48): undefined reference to `__xenbus_register_frontend'
make: *** [.tmp_vmlinux1] Error 1
Is there a .config file that is known to work?
James
Re: newer dom0 kernel / xen-unstable git kernel tree
Quoted 46 lines · James Harper
Quoted 26 lines
-----Original Message-----
From: [email protected] [mailto:xen-devel- [email protected]] On Behalf Of Pasi Kärkkäinen
Sent: Wednesday, 23 September 2009 16:58
To: Jeremy Fitzhardinge
Cc: J. Roeleveld; [email protected]; Thiago Camargo Martins Cordeiro; [email protected]
Subject: Re: [Xen-devel] newer dom0 kernel / xen-unstable git kernel treeQuoted 14 lines · Pasi Kärkkäinen
Quoted 10 lines · Jeremy Fitzhardinge
Quoted 4 lines · Thiago Camargo Martins Cordeiro
Gotcha!
To make use of the latest
pv_opsdom0 need I the xen-unstable tree? Or can I use the Xen 3.4.1 / 3.3.2 from xen.org <http://xen.org>?There's no close tie between dom0 and Xen itself; it should work with any fairly recent version of Xen (and if it doesn't that's interesting information).
Works for me with Xen 3.4.1 hypervisor.
Quoted 9 lines
Quoted 2 lines
Earlier I used it with Xen 3.3.1.
.. but I forgot to mention that 3.3.1 needs some extra (backported) patches.
So Xen 3.4.x or newer is a safe choise.
drivers/built-in.o: In function `processor_cntl_xen_prepare':
(.text+0x50aba): undefined reference toacpi_processor_get_performance_info' drivers/built-in.o: In functionprocessor_cntl_xen_prepare':
(.text+0x50ad9): undefined reference toacpi_processor_get_psd' drivers/built-in.o: In functionxenfb_init':
xen-fbfront.c:(.init.text+0xd62): undefined reference to__xenbus_register_frontend' drivers/built-in.o: In functionxenkbd_init':
xen-kbdfront.c:(.init.text+0x7b48): undefined reference to `__xenbus_register_frontend'
make: *** [.tmp_vmlinux1] Error 1
Quoted 2 lines
Is there a .config file that is known to work?
Here's my (working) .config for 2.6.31-rc8:
http://pasik.reaktio.net/xen/pv_ops-dom0-debug/config-2.6.31-rc8-rebase-master-no-highpte
Sorry I don't have the 2.6.31-final .config online atm.
That's for 32bit PAE. It's originally based on some 2.6.29 fedora kernel .config, and changed many times pretty randomly after that.. good luck :)
You could also grab http://fedorapeople.org/~myoung/dom0/ kernel and extract the .config from them..
-- Pasi
RE: newer dom0 kernel / xen-unstable git kernel tree
Quoted 6 lines
Quoted 3 lines
drivers/built-in.o: In function `processor_cntl_xen_prepare':
(.text+0x50aba): undefined reference to`acpi_processor_get_performance_info'
Quoted 2 lines
drivers/built-in.o: In function `processor_cntl_xen_prepare':
(.text+0x50ad9): undefined reference to `acpi_processor_get_psd'
This was caused by CONFIG_ACPI_PROCESSOR=m instead of CONFIG_ACPI_PROCESSOR=y
I started my .config from the Debian 2.6.26 kernel, which likes pretty much everything as modules.
Are you interested in hearing about these sorts of problems?
James
RE: newer dom0 kernel / xen-unstable git kernel tree
In reply to Pasi KärkkäinenQuoted 8 lines
Quoted 2 lines
drivers/built-in.o: In function `xenfb_init':
xen-fbfront.c:(.init.text+0xd62): undefined reference to`__xenbus_register_frontend'
Quoted 2 lines
drivers/built-in.o: In function `xenkbd_init':
xen-kbdfront.c:(.init.text+0x7b48): undefined reference to`__xenbus_register_frontend'
Quoted 2 lines
make: *** [.tmp_vmlinux1] Error 1
if CONFIG_XEN_BLKDEV_FRONTEND=m and CONFIG_XEN_NETDEV_FRONTEND=m then it seems to force CONFIG_XEN_XENBUS_FRONTEND=m, which is incompatible with xenfb and xenkbd being built into the kernel...
James
Re: newer dom0 kernel / xen-unstable git kernel tree
Quoted 2 lines · James Harper
if
CONFIG_XEN_BLKDEV_FRONTEND=mandCONFIG_XEN_NETDEV_FRONTEND=mthen it seems to forceCONFIG_XEN_XENBUS_FRONTEND=m, which is incompatible with xenfb and xenkbd being built into the kernel...
Yeah, that config stuff is a mess ATM, and needs a bit of love and close attention. Again, non-modular is the quick fix.
J
RE: newer dom0 kernel / xen-unstable git kernel tree
In reply to Pasi KärkkäinenQuoted 15 lines
Quoted 2 lines
drivers/built-in.o: In function `processor_cntl_xen_prepare':
(.text+0x50aba): undefined reference to`acpi_processor_get_performance_info'
Quoted 4 lines
drivers/built-in.o: In function `processor_cntl_xen_prepare':
(.text+0x50ad9): undefined reference toacpi_processor_get_psd' drivers/built-in.o: In functionxenfb_init':
xen-fbfront.c:(.init.text+0xd62): undefined reference to`__xenbus_register_frontend'
Quoted 2 lines
drivers/built-in.o: In function `xenkbd_init':
xen-kbdfront.c:(.init.text+0x7b48): undefined reference to`__xenbus_register_frontend'
Quoted 4 lines
make: *** [.tmp_vmlinux1] Error 1
Is there a .config file that is known to work?
As per previous emails I fixed up those problems with config changes (mostly incompatibilities between things compiled into the kernel depending on things compiled as modules) and tested it in a DomU, which worked, and then in Dom0, which also worked. I needed to mount xenfs on /proc/xen but other than that everything "just worked".
Thanks
James
Re: newer dom0 kernel / xen-unstable git kernel tree
In reply to James HarperQuoted 10 lines · James Harper
drivers/built-in.o: In function `processor_cntl_xen_prepare':
(.text+0x50aba): undefined reference toacpi_processor_get_performance_info' drivers/built-in.o: In functionprocessor_cntl_xen_prepare':
(.text+0x50ad9): undefined reference toacpi_processor_get_psd' drivers/built-in.o: In functionxenfb_init':
xen-fbfront.c:(.init.text+0xd62): undefined reference to__xenbus_register_frontend' drivers/built-in.o: In functionxenkbd_init':
xen-kbdfront.c:(.init.text+0x7b48): undefined reference to `__xenbus_register_frontend'
make: *** [.tmp_vmlinux1] Error 1
Quoted 2 lines
Is there a .config file that is known to work?
There's a known problem with making ACPI modular. Compiling them builting (=y) should work.
J
Re: newer dom0 kernel / xen-unstable git kernel tree
In reply to Pasi KärkkäinenQuoted 2 lines · Pasi Kärkkäinen
.. but I forgot to mention that 3.3.1 needs some extra (backported) patches.
They're for the toolstack rather than Xen itself, right?
J
Re: newer dom0 kernel / xen-unstable git kernel tree
Quoted 6 lines · Jeremy Fitzhardinge
Quoted 2 lines · Pasi Kärkkäinen
.. but I forgot to mention that 3.3.1 needs some extra (backported) patches.
They're for the toolstack rather than Xen itself, right?
I think stock Xen 3.3.1 is missing Xen hypervisor dom0 kernel bzImage loader, and the tools are missing sysfs memory ballooning stuff..
-- Pasi
Re: newer dom0 kernel / xen-unstable git kernel tree
Quoted 1 line · Pasi Kärkkäinen
I think stock Xen 3.3.1 is missing Xen hypervisor dom0 kernel bzImage loader,
OK. That can be worked around, but it is a bit awkward.
Quoted 3 lines
and
the tools are missing sysfs memory ballooning stuff..
Right. Also the xentop change.
J