From: Boris Derzhavets Subject: Re: Attempt to build xen-unstable on Ubuntu 9.04 Server (Ubuntu Desktop installed) Date: Fri, 8 May 2009 10:40:02 -0700 (PDT) Message-ID: <347626.33558.qm@web56105.mail.re3.yahoo.com> References: <996173.56574.qm@web56106.mail.re3.yahoo.com> Reply-To: bderzhavets@yahoo.com Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1422697567==" Return-path: In-Reply-To: <996173.56574.qm@web56106.mail.re3.yahoo.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Alex Zeffertt Cc: xen-devel , Ian Jackson List-Id: xen-devel@lists.xenproject.org --===============1422697567== Content-Type: multipart/alternative; boundary="0-691886823-1241804402=:33558" --0-691886823-1241804402=:33558 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable =A0=A0=A0=A0 Notice, that direct port Xen 3.4 ( with 2.6.30-rc3-tip)=A0 to = F11 (preview) has been tested with no problems.=A0 Just no xen-lib and xen-= lib dependent packages: libvirt,libvirt-python,..=A0 is a must . =A0=A0=A0=A0 Problem been described seems to me as python 2.6 implementatio= n issue on Ubuntu 9.04 Server. Boris.=20 --- On Fri, 5/8/09, Boris Derzhavets wrote: From: Boris Derzhavets Subject: Re: [Xen-devel] Attempt to build xen-unstable on Ubuntu 9.04 Serve= r (Ubuntu Desktop installed) To: "Alex Zeffertt" Cc: "xen-devel" , "Ian Jackson" Date: Friday, May 8, 2009, 11:45 AM Follow your suggestion i was able to build Xen Host on Ubuntu 9.04 Server with the most recent Xen-3.4-rc4-pre and 2.6.30-rc3-tip pvops kernel via Jeremy's git repo. Due to newly built Xen Host dual boot with similar one on top of Ubuntu 8.1= 0 Server i just copied F10 PV profile to new Xen Host and attempted to run F10 PV :- # xm create -c f10.pyrun Name=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 ID=A0=A0 Mem VCPUs=A0=A0= =A0=A0=A0 State=A0=A0 Time(s) Domain-0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 0=A0 6034=A0=A0=A0=A0 4=A0=A0=A0= =A0 r-----=A0=A0=A0 138.5 F10PV=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 5=A0 2048=A0=A0=A0=A0 1=A0= =A0=A0=A0 --p---=A0=A0=A0=A0=A0 0.0 root@ServerJaunty:/home/boris/vm# xm unpause F10PV /usr/lib/python2.6/site-packages/xen/util/acmpolicy.py:20: DeprecationWarni= ng: the sha module is deprecated; use the hashlib module instead =A0 import sha # xm unpause F10PV PCI: Fatal: No config space access function found IO APIC resources could be not be allocated. Loading /lib/kbd/keymaps/i386/qwerty/us.map root@ServerJaunty:/home/boris/vm# Error: Device 0 (vif) could not be connec= ted. Hotplug scripts not working. Then i've tried to comment out vif in profile: PCI: Fatal: No config space access function found IO APIC resources could be not be allocated. Loading /lib/kbd/keymaps/i386/qwerty/us.map BUG: unable to handle kernel NULL pointer dereference at 0000000000000000 IP: [] backend_changed+0x2d5/0x3af [xen_blkfront] PGD 7d1a0067 PUD 7d1a1067 PMD 7d1b0067 PTE 0 Oops: 0000 [1] SMP=20 CPU 1=20 Modules linked in: xen_blkfront Pid: 19, comm: xenwatch Not tainted 2.6.27.19-170.2.35.fc10.x86_64 #1=20 RIP: e030:[]=A0 [] backend_changed+0x2d= 5/0x3af [xen_blkfront] RSP: e02b:ffff88007f40fdf0=A0 EFLAGS: 00010246 RAX: 0000000000000000 RBX: ffff88007d09b2c0 RCX: 0000000000000000 RDX: ffff88007f40fe28 RSI: 0000000000000005 RDI: ffff88007ff5f400 RBP: ffff88007f40fe80 R08: ffff88007f40fdd0 R09: ffff88007f40fcc0 R10: 0000000000000001 R11: ffff880000000018 R12: ffff88007ff5f400 R13: ffff88007d0be000 R14: 000000000000000a R15: ffffffff817e6eb4 FS:=A0 00007f80e570a6f0(0000) GS:ffff88007fc04880(0000) knlGS:0000000000000= 000 CS:=A0 e033 DS: 0000 ES: 0000 CR0: 000000008005003b CR2: 0000000000000000 CR3: 000000007d1a4000 CR4: 0000000000002660 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400 Process xenwatch (pid: 19, threadinfo ffff88007f40e000, task ffff88007ffd5c= 40) Stack:=A0 ffff88007f40fe00 ffff88007f40fe40 ffffffff816e2500 ffffffff816e25= 00 =A0ffffffff81458716 ffffffff8146545f ffff88007f40fe7c 0000000000000000 =A0000000000000000a ffff88007d09b2c0 ffff88007ff5f400 ffffffffa0002ac0 Call Trace: =A0[] otherend_changed+0x81/0x8a =A0[] xenwatch_thread+0x101/0x134 =A0[] ? autoremove_wake_function+0x0/0x38 =A0[] ? xenwatch_thread+0x0/0x134 =A0[] kthread+0x49/0x76 =A0[] child_rip+0xa/0x11 =A0[] ? restore_args+0x0/0x30 =A0[] ? child_rip+0x0/0x11 Code: 58 08 e9 97 00 00 00 49 8b 7d 00 48 c7 c2 b9 15 00 a0 be ed ff ff ff = 48 8b 4f 10 31 c0 e8 fe 75 1c e1 e9 cf 00 00 00 49 8b 45 08 <8b> 38 c1 e7 1= 4 0b 78 04 e8 5a 5c 0e e1 48 85 c0 48 89 c3 75 16=20 RIP=A0 [] backend_changed+0x2d5/0x3af [xen_blkfront] =A0RSP CR2: 0000000000000000 ---[ end trace 06219b74fe5c0c01 ]--- root@ServerJaunty:/home/boris/vm# Error: Device 51712 (vbd) could not be co= nnected. Hotplug scripts not work The image been used (on /dev/sdc) works fine with the same F10 PV @ Xen Host ( absolutly identical new one) , but been built on top of Ubuntu 8.10 = Server ( all servers 64-bit). Boris. --- On Wed, 5/6/09, Alex Zeffertt wrote: From: Alex Zeffertt Subject: Re: [Xen-devel] Attempt to build xen-unstable on Ubuntu 9.04 Serve= r (Ubuntu Desktop installed) To: "bderzhavets@yahoo.com" Cc: "Ian Jackson" , "xen-devel" Date: Wednesday, May 6, 2009, 12:37 PM Hi, It looks like the problem is that if you have python2.6 installed then xen-unstable.hg installs into /usr/lib/python2.6/site-packages/xen, but site-packages is no longer in the default path in python2.6. A hack which fixes this is to add the following two lines to /etc/python2.6/sitecustomize.py: import sys sys.path.append('/usr/lib/python2.6/site-packages') but I'm not sure what the proper fix would be... Regards, Alex PS This is also relevant https://bugs.launchpad.net/ubuntu/+source/python2.6/+bug/362570 _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel =0A=0A=0A --0-691886823-1241804402=:33558 Content-Type: text/html; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable
     Notice, that direct = port Xen 3.4 ( with 2.6.30-rc3-tip)  to F11 (preview) has been tested = with no problems.  Just no xen-lib and xen-lib dependent packages: lib= virt,libvirt-python,..  is a must .
     Proble= m been described seems to me as python 2.6 implementation issue on Ubuntu 9= .04 Server.

Boris.

--- On Fri, 5/8/09, Boris Derzhavets <= i><bderzhavets@yahoo.com> wrote:
= From: Boris Derzhavets <bderzhavets@yahoo.com>
Subject: Re: [Xen-d= evel] Attempt to build xen-unstable on Ubuntu 9.04 Server (Ubuntu Desktop i= nstalled)
To: "Alex Zeffertt" <alex.zeffertt@eu.citrix.com>
Cc:= "xen-devel" <xen-devel@lists.xensource.com>, "Ian Jackson" <Ian.Jackson@eu.citrix.com>
Date: Friday, May 8, 2009, 11:45 AM
Follow your suggestion i was able to build Xe= n Host on Ubuntu 9.04 Server
with the most recent Xen-3.4-rc4-pre and 2.= 6.30-rc3-tip pvops kernel via
Jeremy's git repo.
Due to newly built X= en Host dual boot with similar one on top of Ubuntu 8.10 Server i just copi= ed F10 PV profile to new Xen Host and attempted to run
F10 PV :-

= # xm create -c f10.pyrun

Name         = ;            &n= bsp;            = ;      ID   Mem VCPUs   &= nbsp;  State   Time(s)
Domain-0         &= nbsp;           &nbs= p;            &= nbsp;  0  6034     4     = r-----    138.5
F10PV      =             &nb= sp;            =          5  2048  &n= bsp;  1     --p---      0= .0

root@ServerJaunty:/home/boris/vm# xm unpause F10PV
/usr/lib/py= thon2.6/site-packages/xen/util/acmpolicy.py:20: DeprecationWarning: the sha= module is deprecated; use the hashlib module instead
  import sha<= br>
# xm unpause F10PV

PCI: Fatal: No config space access function found
IO APIC resources could be not be allocated.
Loading = /lib/kbd/keymaps/i386/qwerty/us.map
root@ServerJaunty:/home/boris/vm# Er= ror: Device 0 (vif) could not be connected. Hotplug scripts not working.
Then i've tried to comment out vif in profile:


PCI: Fatal: = No config space access function found
IO APIC resources could be not be = allocated.
Loading /lib/kbd/keymaps/i386/qwerty/us.map
BUG: unable to= handle kernel NULL pointer dereference at 0000000000000000
IP: [<fff= fffffa00010e5>] backend_changed+0x2d5/0x3af [xen_blkfront]
PGD 7d1a00= 67 PUD 7d1a1067 PMD 7d1b0067 PTE 0
Oops: 0000 [1] SMP
CPU 1
Modu= les linked in: xen_blkfront
Pid: 19, comm: xenwatch Not tainted 2.6.27.1= 9-170.2.35.fc10.x86_64 #1
RIP: e030:[<ffffffffa00010e5>]  [&= lt;ffffffffa00010e5>] backend_changed+0x2d5/0x3af [xen_blkfront]
RSP:= e02b:ffff88007f40fdf0  EFLAGS: 00010246
RAX: 0000000000000000 RBX: ffff88007d09b2c0 RCX: 0000000000000000
RDX: ffff8= 8007f40fe28 RSI: 0000000000000005 RDI: ffff88007ff5f400
RBP: ffff88007f4= 0fe80 R08: ffff88007f40fdd0 R09: ffff88007f40fcc0
R10: 0000000000000001 = R11: ffff880000000018 R12: ffff88007ff5f400
R13: ffff88007d0be000 R14: 0= 00000000000000a R15: ffffffff817e6eb4
FS:  00007f80e570a6f0(0000) G= S:ffff88007fc04880(0000) knlGS:0000000000000000
CS:  e033 DS: 0000 = ES: 0000 CR0: 000000008005003b
CR2: 0000000000000000 CR3: 000000007d1a40= 00 CR4: 0000000000002660
DR0: 0000000000000000 DR1: 0000000000000000 DR2= : 0000000000000000
DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000= 000000000400
Process xenwatch (pid: 19, threadinfo ffff88007f40e000, tas= k ffff88007ffd5c40)
Stack:  ffff88007f40fe00 ffff88007f40fe40 fffff= fff816e2500 ffffffff816e2500
 ffffffff81458716 ffffffff8146545f fff= f88007f40fe7c 0000000000000000
 000000000000000a ffff88007d09b2c0 ffff88007ff5f400 ffffffffa0002ac0
Call Trace:
 = ;[<ffffffff811ca80a>] otherend_changed+0x81/0x8a
 [<ffffff= ff811c9438>] xenwatch_thread+0x101/0x134
 [<ffffffff8105553d&= gt;] ? autoremove_wake_function+0x0/0x38
 [<ffffffff811c9337>= ] ? xenwatch_thread+0x0/0x134
 [<ffffffff810551f7>] kthread+0= x49/0x76
 [<ffffffff81011719>] child_rip+0xa/0x11
 [&= lt;ffffffff81010a37>] ? restore_args+0x0/0x30
 [<ffffffff8101= 170f>] ? child_rip+0x0/0x11


Code: 58 08 e9 97 00 00 00 49 8b = 7d 00 48 c7 c2 b9 15 00 a0 be ed ff ff ff 48 8b 4f 10 31 c0 e8 fe 75 1c e1 = e9 cf 00 00 00 49 8b 45 08 <8b> 38 c1 e7 14 0b 78 04 e8 5a 5c 0e e1 4= 8 85 c0 48 89 c3 75 16
RIP  [<ffffffffa00010e5>] backend_cha= nged+0x2d5/0x3af [xen_blkfront]
 RSP <ffff88007f40fdf0>
CR= 2: 0000000000000000
---[ end trace 06219b74fe5c0c01 ]---
root@ServerJaunty:/home/boris/vm# Error: Device 51712 (vbd) could = not be connected. Hotplug scripts not work

The image been used (on /= dev/sdc) works fine with the same F10 PV @ Xen
Host ( absolutly identica= l new one) , but been built on top of Ubuntu 8.10 Server ( all servers 64-b= it).

Boris.

--- On Wed, 5/6/09, Alex Zeffertt <alex.= zeffertt@eu.citrix.com> wrote:
From:= Alex Zeffertt <alex.zeffertt@eu.citrix.com>
Subject: Re: [Xen-dev= el] Attempt to build xen-unstable on Ubuntu 9.04 Server (Ubuntu Desktop ins= talled)
To: "bderzhavets@yahoo.com" <bderzhavets@yahoo.com>
Cc:= "Ian Jackson" <Ian.Jackson@eu.citrix.com>, "xen-devel" <xen-devel= @lists.xensource.com>
Date: Wednesday, May 6, 2009, 12:37 PM

<= pre>Hi,

It looks like the problem is that if you have python2.6
installed then
xen-unstable.hg installs into /usr/lib/pyt= hon2.6/site-packages/xen, but
site-packages is no longer in the default = path in python2.6.

A hack which fixes this is to add the following t= wo lines to
/etc/python2.6/sitecustomize.py:

import sys
sy= s.path.append('/usr/lib/python2.6/site-packages')


but I'm not su= re what the proper fix would be...

Regards,

Alex

PS Th= is is also relevant
https://bugs.launchpad.net/ubuntu/+source/python2.6/= +bug/362570

_______________________________________________
Xen-dev= el mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.= com/xen-devel

=0A=0A --0-691886823-1241804402=:33558-- --===============1422697567== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --===============1422697567==--