Boris Derzhavets
2009-May-12 15:22 UTC
Re: [Xen-devel] Changeset 19594 for Xen 3.4 build on Ubuntu Server 9.04 causes pygrub doesn''t return any data anymore
>That is, I think the following config should work on those Ubuntu >systems > PYTHON=python > PYTHON_PREFIX_ARG='''' >although you may need to do > PREFIX=/usr/local >too.# make tools fails on Ubuntu 9.04 Server with Config.mk suggested above This one Config.mk (untouched) works fine:- PYTHON ?= python PYTHON_PREFIX_ARG ?= --prefix="$(PREFIX)" # The above requires that PREFIX contains *no spaces*. This variable is here # to permit the user to set PYTHON_PREFIX_ARG to '''' to workaround this bug: # https://bugs.launchpad.net/ubuntu/+bug/362570 When :- root@ServerJaunty:/usr/bin# ls -l pyt* lrwxrwxrwx 1 root root 9 2009-05-11 14:56 python -> python2.5 -rwxr-xr-x 1 root root 1399288 2009-04-04 15:28 python2.5 -rwxr-xr-x 1 root root 1419 2009-04-04 15:27 python2.5-config -rwxr-xr-x 1 root root 2579968 2009-04-18 22:52 python2.6 -rwxr-xr-x 1 root root 1452 2009-04-18 22:50 python2.6-config -rwxr-xr-x 1 root root 5585562 2009-04-18 22:51 python2.6-dbg -rwxr-xr-x 1 root root 1456 2009-04-18 22:51 python2.6-dbg-config lrwxrwxrwx 1 root root 13 2009-05-08 07:17 python-dbg -> python2.6-dbg lrwxrwxrwx 1 root root 20 2009-05-08 07:17 python-dbg-config -> python2.6-dbg-config Xen Host boots fine. Pygrub still fails. But it''s not a core issue (view attached report)!! Profile bellow fails as well with 2.6.30-rc3-tip :- root@ServerJaunty:/home/boris/kernel# cat f10.cfg memory = 1024 name = "FedoraPV" ramdisk="/home/boris/kernel/initrd-2.6.27.19-170.2.35.fc10.x86_64.img" kernel="/home/boris/kernel/vmlinuz-2.6.27.19-170.2.35.fc10.x86_64" root="/dev/VolGroup00/LogVol00 ro" extra = ''console=hvc0'' disk = [ ''phy:/dev/sdb7,xvda,w''] vif = [ ''bridge=eth1'' ] # xm create -c f10.cfg . . . . XENBUS: Device with no driver: device/vbd/51712 XENBUS: Device with no driver: device/vif/0 XENBUS: Device with no driver: device/console/0 Magic number: 1:252:3141 Freeing unused kernel memory: 1296k freed Write protecting the kernel read-only data: 4752k Mounting proc filesystem Mounting sysfs filesystem Creating /dev Creating initial device nodes Loading /lib/kbd/keymaps/i386/qwerty/us.map XENBUS: Timeout connecting to device: device/vbd/51712 (state 3) root@ServerJaunty:/home/boris/kernel# Error: Device 0 (vif) could not be connected. Hotplug scripts not working Backend support modules linked built-in with 2.6.30-rc3-tip kernel Boris. --- On Tue, 5/12/09, Ian Jackson <Ian.Jackson@eu.citrix.com> wrote: From: Ian Jackson <Ian.Jackson@eu.citrix.com> Subject: Re: [Xen-devel] Changeset 19594 for Xen 3.4 build on Ubuntu Server 9.04 causes pygrub doesn''t return any data anymore To: bderzhavets@yahoo.com Cc: "Keir Fraser" <keir.fraser@eu.citrix.com>, "xen-devel@lists.xensource.com" <xen-devel@lists.xensource.com> Date: Tuesday, May 12, 2009, 10:13 AM Boris Derzhavets writes ("[Xen-devel] Changeset 19594 for Xen 3.4 build on Ubuntu Server 9.04 causes pygrub doesn''t return any data anymore"):> I was able to rebuild xen& tools with only one line modified inConfig.mk :-> >PYTHON ?= /usr/bin/python2.5 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ This is the line you changed ? I''m afraid your message wasn''t very clear.> IF PYTHON_PREFIX_ARG ?=''''This is the feature I put in to let you override the --prefix specification from the Xen build system, specifically to try to work around the Ubuntu python installation bug. If it doesn''t work then something is wrong. Ian. _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Ian Jackson
2009-May-12 16:00 UTC
Re: [Xen-devel] Changeset 19594 for Xen 3.4 build on Ubuntu Server 9.04 causes pygrub doesn''t return any data anymore
Boris Derzhavets writes ("Re: [Xen-devel] Changeset 19594 for Xen 3.4 build
on Ubuntu Server 9.04 causes pygrub doesn''t return any data
anymore"):> >That is, I think the following config should work on those Ubuntu
> >systems
> > PYTHON=python
> > PYTHON_PREFIX_ARG=''''
> >although you may need to do
> > PREFIX=/usr/local
> >too.
>
> # make tools
>
> fails on Ubuntu 9.04 Server with
> Config.mk suggested above
I''m not sure I see where you quote the error message ?
> This one Config.mk (untouched) works fine:-
But if the default works, then I don''t understand why you were
changing it ?
Ian.
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
Boris Derzhavets
2009-May-12 16:24 UTC
Re: [Xen-devel] Changeset 19594 for Xen 3.4 build on Ubuntu Server 9.04 causes pygrub doesn''t return any data anymore
I returned to default after changing link under /usr/bin
python->python 2.5
That is not Ubuntu 9.04 default.
Regarding error with Config.mk, here it goes :-
PREFIX = /usr/local
PYTHON = python
PYTHON_PREFIX_ARG = ''''
# make tools
. . . . .
CC="gcc" CFLAGS="-O2 -fomit-frame-pointer -m64
-fno-strict-aliasing -std=gnu99 -Wall -Wstrict-prototypes -Wno-unused-value
-Wdeclaration-after-statement -D__XEN_TOOLS__ -MMD -MF .install.d
-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE " python setup.py install \
''''
--root="/usr/src/xen-unstable.hg/dist/install" --force
invalid command name ''''
make[3]: *** [install] Error 1
make[3]: Leaving directory `/usr/src/xen-unstable.hg/tools/python''
make[2]: *** [subdir-install-python] Error 2
make[2]: Leaving directory `/usr/src/xen-unstable.hg/tools''
make[1]: *** [subdirs-install] Error 2
make[1]: Leaving directory `/usr/src/xen-unstable.hg/tools''
make: *** [install-tools] Error 2
Boris.
--- On Tue, 5/12/09, Ian Jackson <Ian.Jackson@eu.citrix.com> wrote:
From: Ian Jackson <Ian.Jackson@eu.citrix.com>
Subject: Re: [Xen-devel] Changeset 19594 for Xen 3.4 build on Ubuntu Server 9.04
causes pygrub doesn''t return any data anymore
To: "Boris Derzhavets" <bderzhavets@yahoo.com>
Cc: "xen-devel@lists.xensource.com"
<xen-devel@lists.xensource.com>, "Keir Fraser"
<Keir.Fraser@eu.citrix.com>
Date: Tuesday, May 12, 2009, 12:00 PM
Boris Derzhavets writes ("Re: [Xen-devel] Changeset 19594 for Xen 3.4 build
on Ubuntu Server 9.04 causes pygrub doesn''t return any data
anymore"):> >That is, I think the following config should work on those Ubuntu
> >systems
> > PYTHON=python
> > PYTHON_PREFIX_ARG=''''
> >although you may need to do
> > PREFIX=/usr/local
> >too.
>
> # make tools
>
> fails on Ubuntu 9.04 Server with
> Config.mk suggested above
I''m not sure I see where you quote the error message ?
> This one Config.mk (untouched) works fine:-
But if the default works, then I don''t understand why you were
changing it ?
Ian.
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
Ian Jackson
2009-May-12 16:39 UTC
Re: [Xen-devel] Changeset 19594 for Xen 3.4 build on Ubuntu Server 9.04 causes pygrub doesn''t return any data anymore
Boris Derzhavets writes ("Re: [Xen-devel] Changeset 19594 for Xen 3.4 build
on Ubuntu Server 9.04 causes pygrub doesn''t return any data
anymore"):> invalid command name ''''
It looks like my documentation comment was misleading. It gives a
syntax valid only in the shell, and not in the Makefile.
Try
PYTHON_PREFIX_ARGin the Makefile.
Ian.
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
Boris Derzhavets
2009-May-12 17:11 UTC
Re: [Xen-devel] Changeset 19594 for Xen 3.4 build on Ubuntu Server 9.04 causes pygrub doesn''t return any data anymore
Yes, now
# make install-xen
# make install-tools
commit builds
Pygrub doesn''t work ( i believe default path is incorrect ) and hotplug
scripts don''t work as well . The last problem makes Xen Host dead.
I''ve tested Suse''s 2.6.27.5 kernel under Xen 3.4 .
It shows same behavior as 2.6.30-rc3-tip. Problem seems to be on Xen side.
Otherwise, backend drivers in both xen-ified and pvops kernel refuse to repond
DomU requests.
Something is wrong with python 2.5 setup on Ubuntu 9.04 Server.
Actually , it seems to be broken in the same way as python 2.6 installed
by default.
Boris.
--- On Tue, 5/12/09, Ian Jackson <Ian.Jackson@eu.citrix.com> wrote:
From: Ian Jackson <Ian.Jackson@eu.citrix.com>
Subject: Re: [Xen-devel] Changeset 19594 for Xen 3.4 build on Ubuntu Server 9.04
causes pygrub doesn''t return any data anymore
To: "bderzhavets@yahoo.com" <bderzhavets@yahoo.com>
Cc: "xen-devel@lists.xensource.com"
<xen-devel@lists.xensource.com>, "Keir Fraser"
<Keir.Fraser@eu.citrix.com>
Date: Tuesday, May 12, 2009, 12:39 PM
Boris Derzhavets writes ("Re: [Xen-devel] Changeset 19594 for Xen 3.4 build
on Ubuntu Server 9.04 causes pygrub doesn''t return any data
anymore"):> invalid command name ''''
It looks like my documentation comment was misleading. It gives a
syntax valid only in the shell, and not in the Makefile.
Try
PYTHON_PREFIX_ARGin the Makefile.
Ian.
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
Ian Jackson
2009-May-12 17:16 UTC
Re: [Xen-devel] Changeset 19594 for Xen 3.4 build on Ubuntu Server 9.04 causes pygrub doesn''t return any data anymore
Boris Derzhavets writes ("Re: [Xen-devel] Changeset 19594 for Xen 3.4 build
on Ubuntu Server 9.04 causes pygrub doesn''t return any data
anymore"):> Yes, now
> # make install-xen
> # make install-tools
> commit builds
Good.
> Pygrub doesn''t work ( i believe default path is incorrect ) and
> hotplug scripts don''t work as well . The last problem makes Xen
Host
> dead.
But xm create now appears to work ? It''s possible that the fix
didn''t
take properly for pygrub. Or perhaps that you are running a version
leftover from a previous attempt ?
> I''ve tested Suse''s 2.6.27.5 kernel under Xen 3.4 .
> It shows same behavior as 2.6.30-rc3-tip. Problem seems to be on Xen side.
> Otherwise, backend drivers in both xen-ified and pvops kernel refuse to
repond
What errors are in the hotplug logfile ?
Ian.
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
Boris Derzhavets
2009-May-12 18:14 UTC
Re: [Xen-devel] Changeset 19594 for Xen 3.4 build on Ubuntu Server 9.04 causes pygrub doesn''t return any data anymore
--- On Tue, 5/12/09, Ian Jackson <Ian.Jackson@eu.citrix.com> wrote:
From: Ian Jackson <Ian.Jackson@eu.citrix.com>
Subject: Re: [Xen-devel] Changeset 19594 for Xen 3.4 build on Ubuntu Server 9.04
causes pygrub doesn''t return any data anymore
To: "bderzhavets@yahoo.com" <bderzhavets@yahoo.com>
Cc: "xen-devel@lists.xensource.com"
<xen-devel@lists.xensource.com>, "Keir Fraser"
<Keir.Fraser@eu.citrix.com>
Date: Tuesday, May 12, 2009, 1:16 PM
Boris Derzhavets writes ("Re: [Xen-devel] Changeset 19594 for Xen 3.4 build
on Ubuntu Server 9.04 causes pygrub doesn''t return any data
anymore"):> Yes, now
> # make install-xen
> # make install-tools
> commit builds
Good.
> Pygrub doesn''t work ( i believe default path is incorrect ) and
> hotplug scripts don''t work as well . The last problem makes Xen
Host
> dead.
But xm create now appears to work ? It''s possible that the fix
didn''t
take properly for pygrub. Or perhaps that you are running a version
leftover from a previous attempt ?
*******************************************************
No "xm create -f DomU.cfg" doesn''t appear to work
( *.cfg profile has kernel,ramdisk,root,extra no pygrub
involvment). It''s not leftover due to :-
# make clean
# make uninstall
# make install-xen
# make install-tools
# reboot
******************************************************
> I''ve tested Suse''s 2.6.27.5 kernel under Xen 3.4 .
> It shows same behavior as 2.6.30-rc3-tip. Problem seems to be on Xen side.
> Otherwise, backend drivers in both xen-ified and pvops kernel refuse to
repond
What errors are in the hotplug logfile ?
***************************************
No hotplug.log at all.
DomU gets paused. Then it may be unpaused
or no , but some time later console reports
"(0) vif couldn''t be connected. Hotplug scripts
not working"
root@ServerJaunty:/var/log/xen# ls -l
total 636
-rw-r--r-- 1 root root 148858 2009-05-12 12:58 domain-builder-ng.log
-rw-r--r-- 1 root root 125338 2009-05-12 12:55 xend-debug.log
-rw-r--r-- 1 root root 357212 2009-05-12 12:59 xend.log
xend.log:-
[2009-05-12 12:58:09 3993] DEBUG (XendDomainInfo:1708)
XendDomainInfo.handleShutdownWatch
[2009-05-12 12:58:09 3993] DEBUG (DevController:139) Waiting for devices vif.
[2009-05-12 12:58:09 3993] DEBUG (DevController:144) Waiting for 0.
[2009-05-12 12:58:09 3993] DEBUG (DevController:629) hotplugStatusCallback
/local/domain/0/backend/vif/2/0/hotplug-status.
[2009-05-12 12:58:58 3993] INFO (XendDomain:1180) Domain FedoraPV (2) unpaused.
[2009-05-12 12:59:49 3993] DEBUG (XendDomainInfo:2723) XendDomainInfo.destroy:
domid=2
[2009-05-12 12:59:49 3993] DEBUG (XendDomainInfo:2198) Destroying device model
[2009-05-12 12:59:49 3993] DEBUG (XendDomainInfo:2205) Releasing devices
[2009-05-12 12:59:49 3993] DEBUG (XendDomainInfo:2218) Removing vif/0
[2009-05-12 12:59:49 3993] DEBUG (XendDomainInfo:1133)
XendDomainInfo.destroyDevice: deviceClass = vif, device = vif/0
[2009-05-12 12:59:49 3993] DEBUG (XendDomainInfo:2218) Removing vbd/51712
[2009-05-12 12:59:49 3993] DEBUG (XendDomainInfo:1133)
XendDomainInfo.destroyDevice: deviceClass = vbd, device = vbd/51712
[2009-05-12 12:59:49 3993] DEBUG (XendDomainInfo:2218) Removing console/0
Udev is in place:-
root@ServerJaunty:/var/log/xen# ps -ef|grep udev
root 1239 1 0 12:54 ? 00:00:00 /sbin/udevd --daemon
Bridge is correct.
Boris
*****************************************************************************************************************************
Ian.
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
Reasonably Related Threads
- Re: Changeset 19594 for Xen 3.4 build on Ubuntu Server 9.04 causes pygrub doesn''t return any data anymore
- vmx_update_guest_cr() losing EXCEPTION_BITMAP setting
- Third release candidate for Xen 4.0.1
- Xen 3.4 Hackery on Ubuntu 9.04 (aka Jaunty) Server
- RE: [spam] Re: Xen on Jaunty