Re: [opensuse-virtual] help launching a Centos 5.5 Xen PV guest on an OpenSuse 11.2 Dom0 host ?
0bo0 <0.bugs.only.0@gmail.com> 06/03/10 7:23 AM >>> p.s. Unrelated, but worth mentioning -- at some point in the last few weeks' (maybe longer) of system/kernel/xen upgrades, service "xend" stopped launching on boot. a bit of digging about led me to an apparently NEW requirement, the need for:
lsmod | grep evt evtchn 38288 4
for whatever reason, not getting auto-added to initrd @ kernel upgrades/
adding that module to /etc/sysconfig/kernel cures the problem.
This certainly isn't with the 11.2 kernel, is it? On the HEAD (Factory) one we did such a change, but there still is no need to load the driver through /etc/sysconfig/kernel (as that would result in also attempting to load the [non-existing] driver on native boots). Instead, the proper place is in xend's startup script, as was also done by us in preparation to that kernel side change. Jan -- To unsubscribe, e-mail: opensuse-virtual+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-virtual+help@opensuse.org
On Fri, Jun 4, 2010 at 12:10 AM, Jan Beulich <jbeulich@novell.com> wrote:
This certainly isn't with the 11.2 kernel, is it? On the HEAD (Factory) one we did such a change, but there still is no need to load the driver through /etc/sysconfig/kernel (as that would result in also attempting to load the [non-existing] driver on native boots). Instead, the proper place is in xend's startup script, as was also done by us in preparation to that kernel side change.
heh. i'm getting lost as to what's been (not) done where ... *I* currently have uname -a Linux server 2.6.34-42-xen #1 SMP 2010-06-01 15:17:00 +0200 x86_64 x86_64 x86_64 GNU/Linux lsb_release -a LSB Version: core-2.0-noarch:core-3.2-noarch:core-4.0-noarch:core-2.0-x86_64:core-3.2-x86_64:core-4.0-x86_64:desktop-4.0-amd64:desktop-4.0-noarch:graphics-2.0-amd64:graphics-2.0-noarch:graphics-3.2-amd64:graphics-3.2-noarch:graphics-4.0-amd64:graphics-4.0-noarch Distributor ID: SUSE LINUX Description: openSUSE 11.2 (x86_64) Release: 11.2 Codename: n/a where, grep -i base Kernel_112.repo XEN4.repo Kernel_112.repo:baseurl=http://download.opensuse.org/repositories/Kernel:/HEAD/openSUSE_11.2 XEN4.repo:baseurl=http://download.opensuse.org/repositories/Virtualization/openSUSE_11.2 -- To unsubscribe, e-mail: opensuse-virtual+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-virtual+help@opensuse.org
0bo0 wrote:
On Fri, Jun 4, 2010 at 12:10 AM, Jan Beulich <jbeulich@novell.com> wrote:
This certainly isn't with the 11.2 kernel, is it? On the HEAD (Factory) one we did such a change, but there still is no need to load the driver through /etc/sysconfig/kernel (as that would result in also attempting to load the [non-existing] driver on native boots). Instead, the proper place is in xend's startup script, as was also done by us in preparation to that kernel side change.
heh. i'm getting lost as to what's been (not) done where ...
*I* currently have
uname -a Linux server 2.6.34-42-xen #1 SMP 2010-06-01 15:17:00 +0200 x86_64 x86_64 x86_64 GNU/Linux
So you are using the kernel that includes the change, but a xen that doesn't (as mentioned yesterday). The current "HEAD" xen is not building for 11.2 and the repo contains the last good HEAD build of xen on Apr 3, which does not have the change to load evtchn driver. You can add the following to xend init script or build the HEAD xen for 11.2 by disabling building of KMPs. # but for now it's safest to have them loaded when xend starts in dom0. + modprobe evtchn 2>/dev/null || true modprobe blktap 2>/dev/null || true -- To unsubscribe, e-mail: opensuse-virtual+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-virtual+help@opensuse.org
On Fri, Jun 4, 2010 at 10:17 AM, Jim Fehlig <jfehlig@novell.com> wrote:
So you are using the kernel that includes the change, but a xen that doesn't (as mentioned yesterday).
yes. simply responding to Jan's question.
The current "HEAD" xen is not building for 11.2 and the repo contains the last good HEAD build of xen on Apr 3, which does not have the change to load evtchn driver.
clear. & understand that it's being followed up ...
You can add the following to xend init script or build the HEAD xen for 11.2 by disabling building of KMPs.
# but for now it's safest to have them loaded when xend starts in dom0. + modprobe evtchn 2>/dev/null || true modprobe blktap 2>/dev/null || true
either that in a /etc/init.d/xen.startup script, OR adding evtchn to /etc/sysconfig/kernel seems to do the trick here ... thanks. -- To unsubscribe, e-mail: opensuse-virtual+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-virtual+help@opensuse.org
participants (3)
-
0bo0
-
Jan Beulich
-
Jim Fehlig