I decided to give this a try as I''m out of fun things to do, but I''m at my wits end on this one. I have compiled a 2.6.30 kernel with Xen enabled, and compiled and installed Xen 3.4 from source. 2 major problems I have noticed is that after configuring grub per the documentation I''ve found, it either reboots my PC after grub loads the config, or stays at a black screen. The second problem is the error below: Traceback (most recent call last): File "/usr/sbin/xm", line 8, in <module> from xen.xm import main ImportError: No module named xen.xm Sincerely, Jason T. Ruiz _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
>Traceback (mostrecent call last):> File "/usr/sbin/xm", line 8, in<module>> from xen.xm import main >ImportError: Nomodule named xen.xm Set in Config.mk PYTHON = python PYTHON_PREFIX_ARG Tuning Config.mk results Xen packages to be placed into /usr/local/lib/python2.6/dist-packages due to Changeset 19594 in xen-3.4-testing.hg. Otherwise, Xen packages would go to /usr/lib/python2.6/site-packages, which is not default location for python 2.6 on Ubuntu 9.04 ( vs F11 ). Thus you won’t be able to start xend in Dom0. Same thing happens when building Xen Unstable on Ubuntu 9.04 Server. If you need more details for pvops kernel :- http://bderzhavets.wordpress.com/2009/06/25/setup-xen-3-4-1-dom0-on-top-of-ubuntu-9-04-server-via-marc-a-dahlhauss-udev-patch/ If you need more details for xenified kernel :- http://bderzhavets.wordpress.com/2009/07/07/building-xenified-2-6-30-1-kernel-via-xen-patches-2-6-30-2-tar-bz2/ Boris. --- On Thu, 7/16/09, Ruiz, Jason T <jason.t.ruiz@verizon.com> wrote: From: Ruiz, Jason T <jason.t.ruiz@verizon.com> Subject: [Xen-users] Xen on Jaunty To: xen-users@lists.xensource.com Date: Thursday, July 16, 2009, 9:23 AM I decided to give this a try as I''m out of fun things to do, but I''m at my wits end on this one. I have compiled a 2.6.30 kernel with Xen enabled, and compiled and installed Xen 3.4 from source. 2 major problems I have noticed is that after configuring grub per the documentation I''ve found, it either reboots my PC after grub loads the config, or stays at a black screen. The second problem is the error below: Traceback (most recent call last): File "/usr/sbin/xm", line 8, in <module> from xen.xm import main ImportError: No module named xen.xm Sincerely, Jason T. Ruiz -----Inline Attachment Follows----- _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
In other words, to build Xen 3.4.1 you have to understand what Changeset 19594 does. To build Xen 3.4.0 you also have to back port CS 19668 to be able detect properly udev 141. I am not sure what version of Xen you''ve tried to build on Jaunty. Boris. --- On Thu, 7/16/09, Boris Derzhavets <bderzhavets@yahoo.com> wrote: From: Boris Derzhavets <bderzhavets@yahoo.com> Subject: Re: [Xen-users] Xen on Jaunty To: xen-users@lists.xensource.com, "Jason TRuiz" <jason.t.ruiz@verizon.com> Date: Thursday, July 16, 2009, 10:09 AM>Traceback (mostrecent call last):> File "/usr/sbin/xm", line 8, in<module>> from xen.xm import main >ImportError: Nomodule named xen.xm Set in Config.mk PYTHON = python PYTHON_PREFIX_ARG Tuning Config.mk results Xen packages to be placed into /usr/local/lib/python2.6/dist-packages due to Changeset 19594 in xen-3.4-testing.hg. Otherwise, Xen packages would go to /usr/lib/python2.6/site-packages, which is not default location for python 2.6 on Ubuntu 9.04 ( vs F11 ). Thus you won’t be able to start xend in Dom0. Same thing happens when building Xen Unstable on Ubuntu 9.04 Server. If you need more details for pvops kernel :- http://bderzhavets.wordpress.com/2009/06/25/setup-xen-3-4-1-dom0-on-top-of-ubuntu-9-04-server-via-marc-a-dahlhauss-udev-patch/ If you need more details for xenified kernel :- http://bderzhavets.wordpress.com/2009/07/07/building-xenified-2-6-30-1-kernel-via-xen-patches-2-6-30-2-tar-bz2/ Boris. --- On Thu, 7/16/09, Ruiz, Jason T <jason.t.ruiz@verizon.com> wrote: From: Ruiz, Jason T <jason.t.ruiz@verizon.com> Subject: [Xen-users] Xen on Jaunty To: xen-users@lists.xensource.com Date: Thursday, July 16, 2009, 9:23 AM I decided to give this a try as I''m out of fun things to do, but I''m at my wits end on this one. I have compiled a 2.6.30 kernel with Xen enabled, and compiled and installed Xen 3.4 from source. 2 major problems I have noticed is that after configuring grub per the documentation I''ve found, it either reboots my PC after grub loads the config, or stays at a black screen. The second problem is the error below: Traceback (most recent call last): File "/usr/sbin/xm", line 8, in <module> from xen.xm import main ImportError: No module named xen.xm Sincerely, Jason T. Ruiz -----Inline Attachment Follows----- _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users -----Inline Attachment Follows----- _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
It''s 3.4.0 from their site. I''ve fixed the python issue, I think, but I''m not sure about udev now. I did apply the patch found in the link Boris provided. What sucks is this machine is at home, and I am of course at work, so any issues when modifying grub, I gotta wait til I get home. Sincerely, Jason T. Ruiz ________________________________ From: Boris Derzhavets [mailto:bderzhavets@yahoo.com] Sent: Thursday, July 16, 2009 11:05 AM To: xen-users@lists.xensource.com; Ruiz, Jason T Subject: [spam] Re: [Xen-users] Xen on Jaunty In other words, to build Xen 3.4.1 you have to understand what Changeset 19594 does. To build Xen 3.4.0 you also have to back port CS 19668 to be able detect properly udev 141. I am not sure what version of Xen you''ve tried to build on Jaunty. Boris. --- On Thu, 7/16/09, Boris Derzhavets <bderzhavets@yahoo.com> wrote: From: Boris Derzhavets <bderzhavets@yahoo.com> Subject: Re: [Xen-users] Xen on Jaunty To: xen-users@lists.xensource.com, "Jason TRuiz" <jason.t.ruiz@verizon.com> Date: Thursday, July 16, 2009, 10:09 AM>Traceback (most recent call last): > File "/usr/sbin/xm", line 8, in <module> > from xen.xm import main >ImportError: No module named xen.xmSet in Config.mk PYTHON = python PYTHON_PREFIX_ARG Tuning Config.mk results Xen packages to be placed into /usr/local/lib/python2.6/dist-packages due to Changeset 19594 in xen-3.4-testing.hg. Otherwise, Xen packages would go to /usr/lib/python2.6/site-packages, which is not default location for python 2.6 on Ubuntu 9.04 ( vs F11 ). Thus you won''t be able to start xend in Dom0. Same thing happens when building Xen Unstable on Ubuntu 9.04 Server. If you need more details for pvops kernel :- http://bderzhavets.wordpress.com/2009/06/25/setup-xen-3-4-1-dom0-on-top- of-ubuntu-9-04-server-via-marc-a-dahlhauss-udev-patch/ If you need more details for xenified kernel :- http://bderzhavets.wordpress.com/2009/07/07/building-xenified-2-6-30-1-k ernel-via-xen-patches-2-6-30-2-tar-bz2/ Boris. --- On Thu, 7/16/09, Ruiz, Jason T <jason.t.ruiz@verizon.com> wrote: From: Ruiz, Jason T <jason.t.ruiz@verizon.com> Subject: [Xen-users] Xen on Jaunty To: xen-users@lists.xensource.com Date: Thursday, July 16, 2009, 9:23 AM I decided to give this a try as I''m out of fun things to do, but I''m at my wits end on this one. I have compiled a 2.6.30 kernel with Xen enabled, and compiled and installed Xen 3.4 from source. 2 major problems I have noticed is that after configuring grub per the documentation I''ve found, it either reboots my PC after grub loads the config, or stays at a black screen. The second problem is the error below: Traceback (most recent call last): File "/usr/sbin/xm", line 8, in <module> from xen.xm import main ImportError: No module named xen.xm Sincerely, Jason T. Ruiz -----Inline Attachment Follows----- _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users -----Inline Attachment Follows----- _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Didn''t reboot properly. Maybe I''m misunderstanding the kernel part, using a vanilla 2.6.30 with all of the xen stuff enabled should work, correct? Sincerely, Jason T. Ruiz IT Service Desk Tier II ________________________________ From: Boris Derzhavets [mailto:bderzhavets@yahoo.com] Sent: Thursday, July 16, 2009 11:05 AM To: xen-users@lists.xensource.com; Ruiz, Jason T Subject: [spam] Re: [Xen-users] Xen on Jaunty In other words, to build Xen 3.4.1 you have to understand what Changeset 19594 does. To build Xen 3.4.0 you also have to back port CS 19668 to be able detect properly udev 141. I am not sure what version of Xen you''ve tried to build on Jaunty. Boris. --- On Thu, 7/16/09, Boris Derzhavets <bderzhavets@yahoo.com> wrote: From: Boris Derzhavets <bderzhavets@yahoo.com> Subject: Re: [Xen-users] Xen on Jaunty To: xen-users@lists.xensource.com, "Jason TRuiz" <jason.t.ruiz@verizon.com> Date: Thursday, July 16, 2009, 10:09 AM>Traceback (most recent call last): > File "/usr/sbin/xm", line 8, in <module> > from xen.xm import main >ImportError: No module named xen.xmSet in Config.mk PYTHON = python PYTHON_PREFIX_ARG Tuning Config.mk results Xen packages to be placed into /usr/local/lib/python2.6/dist-packages due to Changeset 19594 in xen-3.4-testing.hg. Otherwise, Xen packages would go to /usr/lib/python2.6/site-packages, which is not default location for python 2.6 on Ubuntu 9.04 ( vs F11 ). Thus you won''t be able to start xend in Dom0. Same thing happens when building Xen Unstable on Ubuntu 9.04 Server. If you need more details for pvops kernel :- http://bderzhavets.wordpress.com/2009/06/25/setup-xen-3-4-1-dom0-on-top- of-ubuntu-9-04-server-via-marc-a-dahlhauss-udev-patch/ If you need more details for xenified kernel :- http://bderzhavets.wordpress.com/2009/07/07/building-xenified-2-6-30-1-k ernel-via-xen-patches-2-6-30-2-tar-bz2/ Boris. --- On Thu, 7/16/09, Ruiz, Jason T <jason.t.ruiz@verizon.com> wrote: From: Ruiz, Jason T <jason.t.ruiz@verizon.com> Subject: [Xen-users] Xen on Jaunty To: xen-users@lists.xensource.com Date: Thursday, July 16, 2009, 9:23 AM I decided to give this a try as I''m out of fun things to do, but I''m at my wits end on this one. I have compiled a 2.6.30 kernel with Xen enabled, and compiled and installed Xen 3.4 from source. 2 major problems I have noticed is that after configuring grub per the documentation I''ve found, it either reboots my PC after grub loads the config, or stays at a black screen. The second problem is the error below: Traceback (most recent call last): File "/usr/sbin/xm", line 8, in <module> from xen.xm import main ImportError: No module named xen.xm Sincerely, Jason T. Ruiz -----Inline Attachment Follows----- _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users -----Inline Attachment Follows----- _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users