Hello I see from my searches that people have asked similar questions to this already. I read through them, and I''ve tried the steps on my test server. I have just a simple dual core AMD 64bit. I installed Ubuntu 10.04 server on it, using LVM''s for some later design work. I want to set up dom0 and 4 domU''s, but I can''t get any version of xen to install. As I said, I read the previous posts here, and a zillion posts about installing xen on other sites, but none of the step-by-steps seem to work with mine. One of the last ones I tried was the post here by Thiago Martins, and before that I followed http://bderzhavets.blogspot.com/2010/04/set-up-ubuntu-10.html. I always get to around: make menuconfig # Enabled the dom0 support and the Xen backend as usual on Ubuntu 9.10, F12 make -j2 chmod g-s /usr/src -R make deb-pkg dpkg -i ../linux-image*2.6.32.10*.deb Here it tells me that the files or directory doesn''t exist. I also notice that a lot of errors show up after the make -j2, but it does finish. I know that I don''t know enough yet about each of these steps, so I might be missing something that is assumed to be known. Before I did this reinstall of the server, I was using Ubuntu 8.04, and I had no trouble installing, and running xen there. I''m not even too concerned for which version of xen I try. Of course with 8.04 server, I just did an apt-get to install everything. Could someone please take pity on me, and point me to a step-by step that might work; or possibly tell me what could be going wrong with what I''ve tried. Thank you. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Fajar A. Nugraha
2010-May-18 10:48 UTC
Re: [Xen-users] Another install xen on Ubuntu 10.04 question
On Tue, May 18, 2010 at 8:29 AM, Tom Potwin <wxman2@gmail.com> wrote:> I also notice > that a lot of errors show up after the make -j2, but it does finish.errors or warnings?> I know > that I don''t know enough yet about each of these steps, so I might be > missing something that is assumed to be known. Before I did this reinstall > of the server, I was using Ubuntu 8.04, and I had no trouble installing, and > running xen there. I''m not even too concerned for which version of xen I > try. Of course with 8.04 server, I just did an apt-get to install > everything. > > Could someone please take pity on me, and point me to a step-by step that > might work; or possibly tell me what could be going wrong with what I''ve > tried.The thing about parallell make (make -j) is that you might miss some errors and think they''re OK. try re-running make, but WITHOUT -j. In my case, it turns out the error was from make[2]: *** [drivers/xen/platform-pci.o] Error 1 and unselecting xen platform pci makes the error go away. -- Fajar _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Tom Potwin
2010-May-18 15:49 UTC
RE: [Xen-users] Another install xen on Ubuntu 10.04 question
Mark I tried downloading linux-image-2.6.32-bpo.4-xen-amd64_2.6.32-11~bpo50+1_amd64.deb off of that link. I then ran dpkg -i on it and it just started to give me errors which I can''t relay to you because we picked that time to have a power failure. Tom _____ From: Mark Pryor [mailto:tlviewer@yahoo.com] Sent: Monday, May 17, 2010 11:11 PM To: littimes@tlt.com Subject: Re: [Xen-users] Another install xen on Ubuntu 10.04 question Painless way. Adjust for your architecture. http://packages.debian.org/lenny-backports/linux-image-2.6.32-bpo.4-xen-amd6 4 Files are not found because of errors. There should be two files if it works. The most likely reason for build errors are incomplete depends. You must be missing some of the build packages - check the build requires again. -- Mark --- On Mon, 5/17/10, Tom Potwin <wxman2@gmail.com> wrote: From: Tom Potwin <wxman2@gmail.com> Subject: [Xen-users] Another install xen on Ubuntu 10.04 question To: xen-users@lists.xensource.com Date: Monday, May 17, 2010, 6:29 PM Hello I see from my searches that people have asked similar questions to this already. I read through them, and I''ve tried the steps on my test server. I have just a simple dual core AMD 64bit. I installed Ubuntu 10.04 server on it, using LVM''s for some later design work. I want to set up dom0 and 4 domU''s, but I can''t get any version of xen to install. As I said, I read the previous posts here, and a zillion posts about installing xen on other sites, but none of the step-by-steps seem to work with mine. One of the last ones I tried was the post here by Thiago Martins, and before that I followed http://bderzhavets.blogspot.com/2010/04/set-up-ubuntu-10.html. I always get to around: make menuconfig # Enabled the dom0 support and the Xen backend as usual on Ubuntu 9.10, F12 make -j2 chmod g-s /usr/src -R make deb-pkg dpkg -i ../linux-image*2.6.32.10*.deb Here it tells me that the files or directory doesn''t exist. I also notice that a lot of errors show up after the make -j2, but it does finish. I know that I don''t know enough yet about each of these steps, so I might be missing something that is assumed to be known. Before I did this reinstall of the server, I was using Ubuntu 8.04, and I had no trouble installing, and running xen there. I''m not even too concerned for which version of xen I try. Of course with 8.04 server, I just did an apt-get to install everything. Could someone please take pity on me, and point me to a step-by step that might work; or possibly tell me what could be going wrong with what I''ve tried. Thank you. -----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
Tom Potwin
2010-May-18 19:59 UTC
RE: [Xen-users] Another install xen on Ubuntu 10.04 question
Fajar I took your advice, and here are the results: make menuconfig make drivers/pci/xen-pcifront.c:373: error: variable âpci_frontend_opsâ has initializer but incomplete type drivers/pci/xen-pcifront.c:374: error: unknown field âenable_msiâ specified in initializer drivers/pci/xen-pcifront.c:374: warning: excess elements in struct initializer drivers/pci/xen-pcifront.c:374: warning: (near initialization for âpci_frontend_opsâ) drivers/pci/xen-pcifront.c:375: error: unknown field âdisable_msiâ specified in initializer drivers/pci/xen-pcifront.c:375: warning: excess elements in struct initializer drivers/pci/xen-pcifront.c:375: warning: (near initialization for âpci_frontend_opsâ) drivers/pci/xen-pcifront.c:376: error: unknown field âenable_msixâ specified in initializer drivers/pci/xen-pcifront.c:376: warning: excess elements in struct initializer drivers/pci/xen-pcifront.c:376: warning: (near initialization for âpci_frontend_opsâ) drivers/pci/xen-pcifront.c:377: error: unknown field âdisable_msixâ specified in initializer drivers/pci/xen-pcifront.c:377: warning: excess elements in struct initializer drivers/pci/xen-pcifront.c:377: warning: (near initialization for âpci_frontend_opsâ) drivers/pci/xen-pcifront.c: In function âpci_frontend_registrarâ: drivers/pci/xen-pcifront.c:383: error: âxen_pci_frontendâ undeclared (first use in this function) drivers/pci/xen-pcifront.c:383: error: (Each undeclared identifier is reported only once drivers/pci/xen-pcifront.c:383: error: for each function it appears in.) make[2]: *** [drivers/pci/xen-pcifront.o] Error 1 make[1]: *** [drivers/pci] Error 2 make: *** [drivers] Error 2 root@server2:/usr/src/linux-2.6-xen# make deb-pkg make KBUILD_SRC CHK include/linux/version.h CHK include/linux/utsrelease.h SYMLINK include/asm -> include/asm-x86 CALL scripts/checksyscalls.sh CHK include/linux/compile.h VDSOSYM arch/x86/vdso/vdso-syms.lds VDSOSYM arch/x86/vdso/vdso32-int80-syms.lds VDSOSYM arch/x86/vdso/vdso32-syscall-syms.lds VDSOSYM arch/x86/vdso/vdso32-sysenter-syms.lds VDSOSYM arch/x86/vdso/vdso32-syms.lds LD arch/x86/vdso/built-in.o LD arch/x86/built-in.o CC drivers/pci/xen-pcifront.o drivers/pci/xen-pcifront.c:373: error: variable âpci_frontend_opsâ has initializer but incomplete type drivers/pci/xen-pcifront.c:374: error: unknown field âenable_msiâ specified in initializer drivers/pci/xen-pcifront.c:374: warning: excess elements in struct initializer drivers/pci/xen-pcifront.c:374: warning: (near initialization for âpci_frontend_opsâ) drivers/pci/xen-pcifront.c:375: error: unknown field âdisable_msiâ specified in initializer drivers/pci/xen-pcifront.c:375: warning: excess elements in struct initializer drivers/pci/xen-pcifront.c:375: warning: (near initialization for âpci_frontend_opsâ) drivers/pci/xen-pcifront.c:376: error: unknown field âenable_msixâ specified in initializer drivers/pci/xen-pcifront.c:376: warning: excess elements in struct initializer drivers/pci/xen-pcifront.c:376: warning: (near initialization for âpci_frontend_opsâ) drivers/pci/xen-pcifront.c:377: error: unknown field âdisable_msixâ specified in initializer drivers/pci/xen-pcifront.c:377: warning: excess elements in struct initializer drivers/pci/xen-pcifront.c:377: warning: (near initialization for âpci_frontend_opsâ) drivers/pci/xen-pcifront.c: In function âpci_frontend_registrarâ: drivers/pci/xen-pcifront.c:383: error: âxen_pci_frontendâ undeclared (first use in this function) drivers/pci/xen-pcifront.c:383: error: (Each undeclared identifier is reported only once drivers/pci/xen-pcifront.c:383: error: for each function it appears in.) make[4]: *** [drivers/pci/xen-pcifront.o] Error 1 make[3]: *** [drivers/pci] Error 2 make[2]: *** [drivers] Error 2 make[1]: *** [deb-pkg] Error 2 make: *** [deb-pkg] Error 2 root@server2:/usr/src/linux-2.6-xen# dpkg -i ../linux-image*2.6.32.10*.deb dpkg: error processing ../linux-image*2.6.32.10*.deb (--install): cannot access archive: No such file or directory Errors were encountered while processing: ../linux-image*2.6.32.10*.deb Does any of that look familiar? Thanks, Tom -----Original Message----- From: Fajar A. Nugraha [mailto:fajar@fajar.net] Sent: Tuesday, May 18, 2010 6:49 AM To: littimes@tlt.com Cc: xen-users@lists.xensource.com Subject: Re: [Xen-users] Another install xen on Ubuntu 10.04 question On Tue, May 18, 2010 at 8:29 AM, Tom Potwin <wxman2@gmail.com> wrote:> I also notice > that a lot of errors show up after the make -j2, but it does finish.errors or warnings?> I know > that I don''t know enough yet about each of these steps, so I might be > missing something that is assumed to be known. Before I did this > reinstall of the server, I was using Ubuntu 8.04, and I had no trouble > installing, and running xen there. I''m not even too concerned for > which version of xen I try. Of course with 8.04 server, I just did an > apt-get to install everything. > > Could someone please take pity on me, and point me to a step-by step > that might work; or possibly tell me what could be going wrong with > what I''ve tried.The thing about parallell make (make -j) is that you might miss some errors and think they''re OK. try re-running make, but WITHOUT -j. In my case, it turns out the error was from make[2]: *** [drivers/xen/platform-pci.o] Error 1 and unselecting xen platform pci makes the error go away. -- Fajar _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Fajar A. Nugraha
2010-May-19 02:58 UTC
Re: [Xen-users] Another install xen on Ubuntu 10.04 question
On Wed, May 19, 2010 at 2:59 AM, Tom Potwin <wxman2@gmail.com> wrote:> Fajar > > I took your advice, and here are the results: > make menuconfig > make > > drivers/pci/xen-pcifront.c:373: error: variable âpci_frontend_opsâ has > initializer but incomplete type > drivers/pci/xen-pcifront.c:374: error: unknown field âenable_msiâ specified > in initializerThat indicates there''s an error when building pci frontend driver. Are you using pci passthrough? If not, the easy way is to just uncheck that option. -- Fajar _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Tom Potwin
2010-May-19 17:12 UTC
RE: [Xen-users] Another install xen on Ubuntu 10.04 question
Hi I unchecked the PCI options that errored, than ran it all again. I''m obviously doing something wrong still because it finished the make process with no errors, but make deb-pkg failed with a huge list of "mkdir: cannot create directory " fails. It finally concluded with a " No space left on device". I started with 10Gb, so I know I''m doing something wrong. I think it''s time to give up and go back to the old 8.04 server package. The only other thing I haven''t tried is switching Linux packages altogether. Maybe there is one as good as Ubuntu that xen can install without so many hoops. Thanks for the help, Tom -----Original Message----- From: Fajar A. Nugraha [mailto:fajar@fajar.net] Sent: Tuesday, May 18, 2010 10:59 PM To: littimes@tlt.com Cc: xen-users@lists.xensource.com Subject: Re: [Xen-users] Another install xen on Ubuntu 10.04 question On Wed, May 19, 2010 at 2:59 AM, Tom Potwin <wxman2@gmail.com> wrote:> Fajar > > I took your advice, and here are the results: > make menuconfig > make > > drivers/pci/xen-pcifront.c:373: error: variable âpci_frontend_opsâ has > initializer but incomplete type > drivers/pci/xen-pcifront.c:374: error: unknown field âenable_msiâ > specified in initializerThat indicates there''s an error when building pci frontend driver. Are you using pci passthrough? If not, the easy way is to just uncheck that option. -- Fajar _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Fajar A. Nugraha
2010-May-20 03:26 UTC
Re: [Xen-users] Another install xen on Ubuntu 10.04 question
On Thursday, May 20, 2010, Tom Potwin <wxman2@gmail.com> wrote:> Hi > > I unchecked the PCI options that errored, than ran it all again. I''m > obviously doing something wrong still because it finished the make process > with no errors, but make deb-pkg failed with a huge list of "mkdir: cannot > create directory " fails. It finally concluded with a " No space left on > device". I started with 10Gb, so I know I''m doing something wrong.that''s usually because you run out of dpace. try df -h or df -i.> > I think it''s time to give up and go back to the old 8.04 server package. The > only other thing I haven''t tried is switching Linux packages altogether. > Maybe there is one as good as Ubuntu that xen can install without so many > hoops.if you just want to create some domUs without the need of new features like scsi passthru, rhel/centos 5.5/4 is rock solid. -- Fajar _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Tom Potwin
2010-May-20 14:10 UTC
RE: [Xen-users] Another install xen on Ubuntu 10.04 question
I did check the drive and I had so many different versions of install, it had taken the whole drive up. I cleaned it off, and tried it once again, but now I''ve run out of time. I really need to get my servers rebuilt, so I surrendered. I went back to Ubuntu 8.04, and xen 3.3 went on with no problems. I really do hate setting up a new server without the latest software to begin with. Thanks for the help, Tom -----Original Message----- From: Fajar A. Nugraha [mailto:fajar@fajar.net] Sent: Wednesday, May 19, 2010 11:27 PM To: littimes@tlt.com Cc: xen-users@lists.xensource.com Subject: Re: [Xen-users] Another install xen on Ubuntu 10.04 question On Thursday, May 20, 2010, Tom Potwin <wxman2@gmail.com> wrote:> Hi > > I unchecked the PCI options that errored, than ran it all again. I''m > obviously doing something wrong still because it finished the make > process with no errors, but make deb-pkg failed with a huge list of > "mkdir: cannot create directory " fails. It finally concluded with a " > No space left on device". I started with 10Gb, so I know I''m doingsomething wrong. that''s usually because you run out of dpace. try df -h or df -i.> > I think it''s time to give up and go back to the old 8.04 server > package. The only other thing I haven''t tried is switching Linux packagesaltogether.> Maybe there is one as good as Ubuntu that xen can install without so > many hoops.if you just want to create some domUs without the need of new features like scsi passthru, rhel/centos 5.5/4 is rock solid. -- Fajar _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Fajar A. Nugraha
2010-May-21 02:18 UTC
Re: [Xen-users] Another install xen on Ubuntu 10.04 question
On Thu, May 20, 2010 at 9:10 PM, Tom Potwin <wxman2@gmail.com> wrote:> I went back to Ubuntu 8.04, and xen 3.3 went on with no > problems. I really do hate setting up a new server without the latest > software to begin with.Don''t hate your self for that :D Personally, I think Xen 4 (or rather, the dom0 kernel which can support newer kernel in Xen 4) is not ready for production yet. Using some newer features (like blktap2) on certain scenarios can cause problems, including kernel panic. I''m mostly using Xen 3.4 and Redhat''s Xen 3.1.2+ in production, with Xen 4 in dev environment. -- Fajar _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users