[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-users] Does it make sense to build xen source (4.0.1 rc5) in opensuse 11.3 ?


  • To: michael@xxxxxxx
  • From: Boris Derzhavets <bderzhavets@xxxxxxxxx>
  • Date: Sun, 1 Aug 2010 02:21:29 -0700 (PDT)
  • Cc: xen-users@xxxxxxxxxxxxxxxxxxx
  • Delivery-date: Sun, 01 Aug 2010 02:22:48 -0700
  • Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type; b=ibTiGECpwGdu0QLLp0hCKuN4rXNueSu0gfUiaeJoC7RwQiW1t9lIs65yr0phr+sKFD4ht7Z9sBFxJD+zuhJhDaXxdiKN4SvODEgLDZZI6gRgzbz44K4afYq+iuaUyuSwD1omTNyDwW7bAQJeX8MJoXdJZ22zjA61UJq/wv0w5Cs=;
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

Source of Xend on Suse 11.3  working with 2.6.34-12-xen :-

case "$1" in
  start)
        check $1
        echo -n "Starting xend "
        if [ ! -z "$XEND" ]; then
                echo -n "(already running pid $XEND) "
        else
                cleanup
        fi
        # Load XEN backend modules
        # Sidenote: They could be loaded later:
        # - netbk and blkbk when the dom0 hotplug events occur
        #   (in xen-network-common.sh and block-common.sh)
        # - xenblk when xend prepares for bootloader
        # 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
        modprobe blkbk 2>/dev/null || true
        modprobe xenblk 2>/dev/null || true
        modprobe netbk 2>/dev/null || true
        modprobe gntdev 2>/dev/null || true
        modprobe usbbk 2>/dev/null || true
        xend start
        await_daemons_up
        ;;
Source of Xend (4.0.1) working with pvops kernel :-

case "$1" in
  start)
        mkdir -p /var/lock/subsys
        touch /var/lock/subsys/xend
        test -z "$XENSTORED_ROOTDIR" || export XENSTORED_ROOTDIR
        test -z "$XENCONSOLED_TRACE" || export XENCONSOLED_TRACE
        [[ "$XENSTORED_TRACE" == @(yes|on|1) ]] && export XENSTORED_TRACE
        [[ "$XENBACKENDD_DEBUG" == @(yes|on|1) ]] && export XENBACKENDD_DEBUG
        xend start
        await_daemons_up
        ;;

So, you would have to get source of "kotd" kernel and hard link all modules from
"modprobe list"  otherwise you'll get "Hotplug scripts not working"  for now by another
reason. What,actually, happens with 2.6.34.1 with rebased patch set on systems like
Fedora and Ubuntu Lucid. CentOS 5.5 per Fajar has similar code in xend.

Boris.





_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.