Been trying to get Xen working on this machine for over two weeks. Every time I end up against a brick wall again. Tried the xen LiveCD on this machine (Athlon 64 X2 running Suse Linux 10.1) and it worked. Had 3 vms working with no problem. The base Suse 10.1 xen kernel works up to a point, that is I can xm list and get the correct output, start a prebuilt guest, but it never comes up on screent. Try stopping it, it says it says vm does not exist. So, downloaded the xen-3.0.3_0-src tarball and follow instructions compiling. Do a make dist and get ... x86-put-note-sections-into-a-pt_note-segment-in-vmlinux.patch /bin/sh: patches/linux-2.6.16.29/x86-put-note-sections-into-a-pt_note-segment-in-vmlinux.patch: No such file or directory make[2]: *** [ref-linux-2.6.16.29/.valid-ref] Error 1 make[2]: Leaving directory `/home/afore/Downloads/xen-3.0.3_0-src'' make[1]: *** [linux-2.6-xen-install] Error 2 make[1]: Leaving directory `/home/afore/Downloads/xen-3.0.3_0-src'' make: *** [install-kernels] Error 1 It downloaded the 2.6.16.29 kernel files, unpacked them, then looks like it applied a bunch of patches up to the last one above. Other than that, the error message is unintelligible to me. Can anyone tell me what the problem is form the very cryptic error messages shown above? Art _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
> -----Original Message----- > From: xen-users-bounces@lists.xensource.com > [mailto:xen-users-bounces@lists.xensource.com] On Behalf Of Art Fore > Sent: 27 October 2006 13:43 > To: xen-users@lists.xensource.com > Subject: [Xen-users] Getting frustrated with Xen > > Been trying to get Xen working on this machine for over two > weeks. Every > time I end up against a brick wall again. > > Tried the xen LiveCD on this machine (Athlon 64 X2 running Suse Linux > 10.1) and it worked. Had 3 vms working with no problem. The base Suse > 10.1 xen kernel works up to a point, that is I can xm list and get the > correct output, start a prebuilt guest, but it never comes up on > screent. Try stopping it, it says it says vm does not exist. > > So, downloaded the xen-3.0.3_0-src tarball and follow instructions > compiling. Do a make dist and get > > ... x86-put-note-sections-into-a-pt_note-segment-in-vmlinux.patch > /bin/sh: > patches/linux-2.6.16.29/x86-put-note-sections-into-a-pt_note-segment-in-vmlinux.patch: No such file or directory> make[2]: *** [ref-linux-2.6.16.29/.valid-ref] Error 1 > make[2]: Leaving directory `/home/afore/Downloads/xen-3.0.3_0-src'' > make[1]: *** [linux-2.6-xen-install] Error 2 > make[1]: Leaving directory `/home/afore/Downloads/xen-3.0.3_0-src'' > make: *** [install-kernels] Error 1 > > It downloaded the 2.6.16.29 kernel files, unpacked them, then > looks like > it applied a bunch of patches up to the last one above. Other > than that, > the error message is unintelligible to me. Can anyone tell me what the > problem is form the very cryptic error messages shown above?That you don''t have the file called "x86-put-note-sections-into-a-pt_note-segment-in-vmlinux.patch" in your system. I have attached the version hg changeset 11884 (I doubt it''s changed since 3.0.3). But it really should be part of your source-code in the tarball [I haven''t tried the 3.0.3, since I''m usually "ahead" on the "unstable" version...]. You asked about this same file a little while ago, but it appears that it was in some other directory?? [Although it could be that they are stored elsewhere first, and created in the correct directory when needed, as some of the patches are probably version independent]. -- Mats> > Art > > > > > _______________________________________________ > 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
On Fri, 2006-10-27 at 15:15 +0200, Petersson, Mats wrote:> > > -----Original Message----- > > From: xen-users-bounces@lists.xensource.com > > [mailto:xen-users-bounces@lists.xensource.com] On Behalf Of Art Fore > > Sent: 27 October 2006 13:43 > > To: xen-users@lists.xensource.com > > Subject: [Xen-users] Getting frustrated with Xen > > > > Been trying to get Xen working on this machine for over two > > weeks. Every > > time I end up against a brick wall again. > > > > Tried the xen LiveCD on this machine (Athlon 64 X2 running Suse Linux > > 10.1) and it worked. Had 3 vms working with no problem. The base Suse > > 10.1 xen kernel works up to a point, that is I can xm list and get the > > correct output, start a prebuilt guest, but it never comes up on > > screent. Try stopping it, it says it says vm does not exist. > > > > So, downloaded the xen-3.0.3_0-src tarball and follow instructions > > compiling. Do a make dist and get > > > > ... x86-put-note-sections-into-a-pt_note-segment-in-vmlinux.patch > > /bin/sh: > > patches/linux-2.6.16.29/x86-put-note-sections-into-a-pt_note-s > egment-in-vmlinux.patch: No such file or directory > > make[2]: *** [ref-linux-2.6.16.29/.valid-ref] Error 1 > > make[2]: Leaving directory `/home/afore/Downloads/xen-3.0.3_0-src'' > > make[1]: *** [linux-2.6-xen-install] Error 2 > > make[1]: Leaving directory `/home/afore/Downloads/xen-3.0.3_0-src'' > > make: *** [install-kernels] Error 1 > > > > It downloaded the 2.6.16.29 kernel files, unpacked them, then > > looks like > > it applied a bunch of patches up to the last one above. Other > > than that, > > the error message is unintelligible to me. Can anyone tell me what the > > problem is form the very cryptic error messages shown above? > > That you don''t have the file called > "x86-put-note-sections-into-a-pt_note-segment-in-vmlinux.patch" > in your system. > > I have attached the version hg changeset 11884 (I doubt it''s changed > since 3.0.3). > > But it really should be part of your source-code in the tarball [I > haven''t tried the 3.0.3, since I''m usually "ahead" on the "unstable" > version...]. > > You asked about this same file a little while ago, but it appears that > it was in some other directory?? [Although it could be that they are > stored elsewhere first, and created in the correct directory when > needed, as some of the patches are probably version independent]. > > -- > MatsYeah, remembered it and found the file. Put it in the patches directory, then it went. Just updated Grub menu.lst and am in process of rebooting. Wish me luck. I need it. Art _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
bigfoot29@www.bios.kicks-ass.org
2006-Oct-27 14:48 UTC
[Xen-users] RE: Getting frustrated with Xen
> Send Xen-users mailing list submissions to > xen-users@lists.xensource.com > > To subscribe or unsubscribe via the World Wide Web, visit > http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users > or, via email, send a message with subject or body ''help'' to > xen-users-request@lists.xensource.com > > You can reach the person managing the list at > xen-users-owner@lists.xensource.com > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of Xen-users digest..." > >> > That you don''t have the file called > "x86-put-note-sections-into-a-pt_note-segment-in-vmlinux.patch" > in your system. > > I have attached the version hg changeset 11884 (I doubt it''s changed > since 3.0.3). > > But it really should be part of your source-code in the tarball [I > haven''t tried the 3.0.3, since I''m usually "ahead" on the "unstable" > version...]. > > You asked about this same file a little while ago, but it appears that > it was in some other directory?? [Although it could be that they are > stored elsewhere first, and created in the correct directory when > needed, as some of the patches are probably version independent]. > > -- > Mats >The file is in the tarball. When extracting it, it extracts 1 directory (xen-3.0.3-src or something) and 4 files directly. just copy these 4 files to the patch directory where xen make wants them to have. :) Hope, I was able to help... Regards, Bigfoot29 _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
> Yeah, remembered it and found the file. Put it in the patches > directory, > then it went. Just updated Grub menu.lst and am in process of > rebooting. > Wish me luck. I need it.Good luck... -- Mats> > Art_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Fri, 2006-10-27 at 15:15 +0200, Petersson, Mats wrote:> > > -----Original Message----- > > From: xen-users-bounces@lists.xensource.com > > [mailto:xen-users-bounces@lists.xensource.com] On Behalf Of Art Fore > > Sent: 27 October 2006 13:43 > > To: xen-users@lists.xensource.com > > Subject: [Xen-users] Getting frustrated with Xen > > > > Been trying to get Xen working on this machine for over two > > weeks. Every > > time I end up against a brick wall again. > > > > Tried the xen LiveCD on this machine (Athlon 64 X2 running Suse Linux > > 10.1) and it worked. Had 3 vms working with no problem. The base Suse > > 10.1 xen kernel works up to a point, that is I can xm list and get the > > correct output, start a prebuilt guest, but it never comes up on > > screent. Try stopping it, it says it says vm does not exist. > > > > So, downloaded the xen-3.0.3_0-src tarball and follow instructions > > compiling. Do a make dist and get > > > > ... x86-put-note-sections-into-a-pt_note-segment-in-vmlinux.patch > > /bin/sh: > > patches/linux-2.6.16.29/x86-put-note-sections-into-a-pt_note-s > egment-in-vmlinux.patch: No such file or directory > > make[2]: *** [ref-linux-2.6.16.29/.valid-ref] Error 1 > > make[2]: Leaving directory `/home/afore/Downloads/xen-3.0.3_0-src'' > > make[1]: *** [linux-2.6-xen-install] Error 2 > > make[1]: Leaving directory `/home/afore/Downloads/xen-3.0.3_0-src'' > > make: *** [install-kernels] Error 1 > > > > It downloaded the 2.6.16.29 kernel files, unpacked them, then > > looks like > > it applied a bunch of patches up to the last one above. Other > > than that, > > the error message is unintelligible to me. Can anyone tell me what the > > problem is form the very cryptic error messages shown above? > > That you don''t have the file called > "x86-put-note-sections-into-a-pt_note-segment-in-vmlinux.patch" > in your system. > > I have attached the version hg changeset 11884 (I doubt it''s changed > since 3.0.3). > > But it really should be part of your source-code in the tarball [I > haven''t tried the 3.0.3, since I''m usually "ahead" on the "unstable" > version...]. > > You asked about this same file a little while ago, but it appears that > it was in some other directory?? [Although it could be that they are > stored elsewhere first, and created in the correct directory when > needed, as some of the patches are probably version independent]. > > -- > Mats > > > > > Art > >Well, another brick wall. I copied the following as a new entry on /boot/grob/menu.lst title Xen 3.0 / XenLinux 2.6 kernel /boot/xen-3.0.gz console=vga module /boot/vmlinuz-2.6-xen root=<root-dev> ro console=tty0 module /boot/initrd-2.6-xen.img and modified it to: title Xen 3.0 / XenLinux 2.6 kernel /boot/xen-3.0.gz console=vga module /boot/vmlinuz-2.6-xen root=/dev/sda2 ro console=tty0 module /boot/initrd-2.6-xen.img Reboot, and I get /boot/initrd-2.6-xen.img: no such file and sure enough, there is no such file. Tried the # depmod 2.6.16-xen that seemed to go OK. Tried the mkinitrd -v -f --with=aacraid --with=sd_mod --with=scsi_mod initrd-2.6.16-xen.img 2.6.16-xen and got -v no valid option, so check man mkinitrd and seen a -V option. Thinking a typographical error, changed the -v to -V. Then get unrecognized --. Only thing I could find that might fit was -m, so tried mkinitrd -V -f -m initrd-2.6.16-xen.img 2.6.16-xen No luck there either. So, how does this work? The instructions sure do not. (Actually the 2.6.16-zen does not make sense at all) Art _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Fri, 2006-10-27 at 15:15 +0200, Petersson, Mats wrote:> > > -----Original Message----- > > From: xen-users-bounces@lists.xensource.com > > [mailto:xen-users-bounces@lists.xensource.com] On Behalf Of Art Fore > > Sent: 27 October 2006 13:43 > > To: xen-users@lists.xensource.com > > Subject: [Xen-users] Getting frustrated with Xen > > > > Been trying to get Xen working on this machine for over two > > weeks. Every > > time I end up against a brick wall again. > > > > Tried the xen LiveCD on this machine (Athlon 64 X2 running Suse Linux > > 10.1) and it worked. Had 3 vms working with no problem. The base Suse > > 10.1 xen kernel works up to a point, that is I can xm list and get the > > correct output, start a prebuilt guest, but it never comes up on > > screent. Try stopping it, it says it says vm does not exist. > > > > So, downloaded the xen-3.0.3_0-src tarball and follow instructions > > compiling. Do a make dist and get > > > > ... x86-put-note-sections-into-a-pt_note-segment-in-vmlinux.patch > > /bin/sh: > > patches/linux-2.6.16.29/x86-put-note-sections-into-a-pt_note-s > egment-in-vmlinux.patch: No such file or directory > > make[2]: *** [ref-linux-2.6.16.29/.valid-ref] Error 1 > > make[2]: Leaving directory `/home/afore/Downloads/xen-3.0.3_0-src'' > > make[1]: *** [linux-2.6-xen-install] Error 2 > > make[1]: Leaving directory `/home/afore/Downloads/xen-3.0.3_0-src'' > > make: *** [install-kernels] Error 1 > > > > It downloaded the 2.6.16.29 kernel files, unpacked them, then > > looks like > > it applied a bunch of patches up to the last one above. Other > > than that, > > the error message is unintelligible to me. Can anyone tell me what the > > problem is form the very cryptic error messages shown above? > > That you don''t have the file called > "x86-put-note-sections-into-a-pt_note-segment-in-vmlinux.patch" > in your system. > > I have attached the version hg changeset 11884 (I doubt it''s changed > since 3.0.3). > > But it really should be part of your source-code in the tarball [I > haven''t tried the 3.0.3, since I''m usually "ahead" on the "unstable" > version...]. > > You asked about this same file a little while ago, but it appears that > it was in some other directory?? [Although it could be that they are > stored elsewhere first, and created in the correct directory when > needed, as some of the patches are probably version independent]. > > -- > Mats > > > > > Art > >forgot to mention in the last email, booting into the 2..16-zen no longer works. Looks like I went from bad to worse. Art _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
> Well, another brick wall. I copied the following as a new entry > on /boot/grob/menu.lst > > title Xen 3.0 / XenLinux 2.6 > kernel /boot/xen-3.0.gz console=vga > module /boot/vmlinuz-2.6-xen root=<root-dev> ro console=tty0 > module /boot/initrd-2.6-xen.img > > and modified it to: > > title Xen 3.0 / XenLinux 2.6 > kernel /boot/xen-3.0.gz console=vga > module /boot/vmlinuz-2.6-xen root=/dev/sda2 ro console=tty0 > module /boot/initrd-2.6-xen.img > > Reboot, and I get /boot/initrd-2.6-xen.img: no such file and sure > enough, there is no such file. > > Tried the # depmod 2.6.16-xen that seemed to go OK. > Tried the > mkinitrd -v -f --with=aacraid --with=sd_mod --with=scsi_mod > initrd-2.6.16-xen.img 2.6.16-xen > > and got -v no valid option, so check man mkinitrd and seen a > -V option. > Thinking a typographical error, changed the -v to -V. Then get > unrecognized --. Only thing I could find that might fit was > -m, so tried > mkinitrd -V -f -m initrd-2.6.16-xen.img 2.6.16-xen > No luck there either. So, how does this work? The instructions sure do > not. (Actually the 2.6.16-zen does not make sense at all)Unfortunately, different distributors have different options for mkinitrd, so you''ll have to do "man mkinitrd" and see what the options are for manually forcing certain drivers into your initrd-file [assuming you actually NEED to have aacraid, sd_mod and scsi_mod in your initrd - you really shouldn''t need to specify them manually in normal cases - but if you know you need those, then it''s a good idea to force them in there just in case...]. On SuSE 9.x, you specify the moudles you want with -m, and -f, -v are both "meaningless". On FC4, -f means "force overwrite of initrd file", and -v means "print verbose information". It also has the --with options. Note also that mkinitrd is a shell-script, so whilst it may not be immediately obvious what it does, you can "just read it", rather than binary files that you have to find the source of. I also think you should specify 2.6.16.29-xen, but maybe that''s only when you build from unstable? Check what your version is called in /lib/modules/ - my machine has /lib/modules/2.6.16.29-xen and various older ones. You need to specify exactly the right version of linux, even if your initrd doesn''t have that name in it... -- Mats> > Art > >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Fri, 2006-10-27 at 17:28 +0200, Petersson, Mats wrote:> > Well, another brick wall. I copied the following as a new entry > > on /boot/grob/menu.lst > > > > title Xen 3.0 / XenLinux 2.6 > > kernel /boot/xen-3.0.gz console=vga > > module /boot/vmlinuz-2.6-xen root=<root-dev> ro console=tty0 > > module /boot/initrd-2.6-xen.img > > > > and modified it to: > > > > title Xen 3.0 / XenLinux 2.6 > > kernel /boot/xen-3.0.gz console=vga > > module /boot/vmlinuz-2.6-xen root=/dev/sda2 ro console=tty0 > > module /boot/initrd-2.6-xen.img > > > > Reboot, and I get /boot/initrd-2.6-xen.img: no such file and sure > > enough, there is no such file. > > > > Tried the # depmod 2.6.16-xen that seemed to go OK. > > Tried the > > mkinitrd -v -f --with=aacraid --with=sd_mod --with=scsi_mod > > initrd-2.6.16-xen.img 2.6.16-xen > > > > and got -v no valid option, so check man mkinitrd and seen a > > -V option. > > Thinking a typographical error, changed the -v to -V. Then get > > unrecognized --. Only thing I could find that might fit was > > -m, so tried > > mkinitrd -V -f -m initrd-2.6.16-xen.img 2.6.16-xen > > No luck there either. So, how does this work? The instructions sure do > > not. (Actually the 2.6.16-zen does not make sense at all) > > Unfortunately, different distributors have different options for > mkinitrd, so you''ll have to do "man mkinitrd" and see what the options > are for manually forcing certain drivers into your initrd-file [assuming > you actually NEED to have aacraid, sd_mod and scsi_mod in your initrd - > you really shouldn''t need to specify them manually in normal cases - but > if you know you need those, then it''s a good idea to force them in there > just in case...]. > > On SuSE 9.x, you specify the moudles you want with -m, and -f, -v are > both "meaningless". > On FC4, -f means "force overwrite of initrd file", and -v means "print > verbose information". It also has the --with options. Note also that > mkinitrd is a shell-script, so whilst it may not be immediately obvious > what it does, you can "just read it", rather than binary files that you > have to find the source of. > > I also think you should specify 2.6.16.29-xen, but maybe that''s only > when you build from unstable? Check what your version is called in > /lib/modules/ - my machine has /lib/modules/2.6.16.29-xen and various > older ones. You need to specify exactly the right version of linux, even > if your initrd doesn''t have that name in it... > > -- > MatsWell, the machine is dead in the water now. When I boot into the non xen kernnel, I get so many failures and cannot even go to run level 5. Why should those commands have done anything to the normal kernel? Guess I will have to do a reinstall to get back to where I was before. This is really the shits. (am doing this from my laptop now) Art _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
> -----Original Message----- > From: xen-users-bounces@lists.xensource.com > [mailto:xen-users-bounces@lists.xensource.com] On Behalf Of Art Fore > Sent: 27 October 2006 16:31 > To: xen-users@lists.xensource.com > Subject: RE: [Xen-users] Getting frustrated with Xen > > On Fri, 2006-10-27 at 17:28 +0200, Petersson, Mats wrote: > > > Well, another brick wall. I copied the following as a new entry > > > on /boot/grob/menu.lst > > > > > > title Xen 3.0 / XenLinux 2.6 > > > kernel /boot/xen-3.0.gz console=vga > > > module /boot/vmlinuz-2.6-xen root=<root-dev> ro > console=tty0 > > > module /boot/initrd-2.6-xen.img > > > > > > and modified it to: > > > > > > title Xen 3.0 / XenLinux 2.6 > > > kernel /boot/xen-3.0.gz console=vga > > > module /boot/vmlinuz-2.6-xen root=/dev/sda2 ro console=tty0 > > > module /boot/initrd-2.6-xen.img > > > > > > Reboot, and I get /boot/initrd-2.6-xen.img: no such file and sure > > > enough, there is no such file. > > > > > > Tried the # depmod 2.6.16-xen that seemed to go OK. > > > Tried the > > > mkinitrd -v -f --with=aacraid --with=sd_mod --with=scsi_mod > > > initrd-2.6.16-xen.img 2.6.16-xen > > > > > > and got -v no valid option, so check man mkinitrd and seen a > > > -V option. > > > Thinking a typographical error, changed the -v to -V. Then get > > > unrecognized --. Only thing I could find that might fit was > > > -m, so tried > > > mkinitrd -V -f -m initrd-2.6.16-xen.img 2.6.16-xen > > > No luck there either. So, how does this work? The > instructions sure do > > > not. (Actually the 2.6.16-zen does not make sense at all) > > > > Unfortunately, different distributors have different options for > > mkinitrd, so you''ll have to do "man mkinitrd" and see what > the options > > are for manually forcing certain drivers into your > initrd-file [assuming > > you actually NEED to have aacraid, sd_mod and scsi_mod in > your initrd - > > you really shouldn''t need to specify them manually in > normal cases - but > > if you know you need those, then it''s a good idea to force > them in there > > just in case...]. > > > > On SuSE 9.x, you specify the moudles you want with -m, and > -f, -v are > > both "meaningless". > > On FC4, -f means "force overwrite of initrd file", and -v > means "print > > verbose information". It also has the --with options. Note also that > > mkinitrd is a shell-script, so whilst it may not be > immediately obvious > > what it does, you can "just read it", rather than binary > files that you > > have to find the source of. > > > > I also think you should specify 2.6.16.29-xen, but maybe that''s only > > when you build from unstable? Check what your version is called in > > /lib/modules/ - my machine has /lib/modules/2.6.16.29-xen > and various > > older ones. You need to specify exactly the right version > of linux, even > > if your initrd doesn''t have that name in it... > > > > -- > > Mats > Well, the machine is dead in the water now. When I boot into > the non xen > kernnel, I get so many failures and cannot even go to run level 5. Why > should those commands have done anything to the normal kernel? Guess I > will have to do a reinstall to get back to where I was before. This is > really the shits. (am doing this from my laptop now)Hmm - did you by any chance accidentally update another initrd than the one you use for xen? Check the dates on the files. You may be able to rescue it by doing another mkinitrd... If you have separate initrd for the Xen installation and the normal one, you shouldn''t get any errors booting when you boot normal linux - I do that all the time [when my Xen doesn''t work at all, which happens now and again when you''re developing, it''s the only way to get another Xen on there to get it working again]. And yes, I''ve s***wed up the installation once or twice by overwriting the wrong file in one way or another... Not fun at all... :-( -- Mats> > Art > > > _______________________________________________ > 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
On Fri, 2006-10-27 at 17:48 +0200, Petersson, Mats wrote:> > > -----Original Message----- > > From: xen-users-bounces@lists.xensource.com > > [mailto:xen-users-bounces@lists.xensource.com] On Behalf Of Art Fore > > Sent: 27 October 2006 16:31 > > To: xen-users@lists.xensource.com > > Subject: RE: [Xen-users] Getting frustrated with Xen > > > > On Fri, 2006-10-27 at 17:28 +0200, Petersson, Mats wrote: > > > > Well, another brick wall. I copied the following as a new entry > > > > on /boot/grob/menu.lst > > > > > > > > title Xen 3.0 / XenLinux 2.6 > > > > kernel /boot/xen-3.0.gz console=vga > > > > module /boot/vmlinuz-2.6-xen root=<root-dev> ro > > console=tty0 > > > > module /boot/initrd-2.6-xen.img > > > > > > > > and modified it to: > > > > > > > > title Xen 3.0 / XenLinux 2.6 > > > > kernel /boot/xen-3.0.gz console=vga > > > > module /boot/vmlinuz-2.6-xen root=/dev/sda2 ro console=tty0 > > > > module /boot/initrd-2.6-xen.img > > > > > > > > Reboot, and I get /boot/initrd-2.6-xen.img: no such file and sure > > > > enough, there is no such file. > > > > > > > > Tried the # depmod 2.6.16-xen that seemed to go OK. > > > > Tried the > > > > mkinitrd -v -f --with=aacraid --with=sd_mod --with=scsi_mod > > > > initrd-2.6.16-xen.img 2.6.16-xen > > > > > > > > and got -v no valid option, so check man mkinitrd and seen a > > > > -V option. > > > > Thinking a typographical error, changed the -v to -V. Then get > > > > unrecognized --. Only thing I could find that might fit was > > > > -m, so tried > > > > mkinitrd -V -f -m initrd-2.6.16-xen.img 2.6.16-xen > > > > No luck there either. So, how does this work? The > > instructions sure do > > > > not. (Actually the 2.6.16-zen does not make sense at all) > > > > > > Unfortunately, different distributors have different options for > > > mkinitrd, so you''ll have to do "man mkinitrd" and see what > > the options > > > are for manually forcing certain drivers into your > > initrd-file [assuming > > > you actually NEED to have aacraid, sd_mod and scsi_mod in > > your initrd - > > > you really shouldn''t need to specify them manually in > > normal cases - but > > > if you know you need those, then it''s a good idea to force > > them in there > > > just in case...]. > > > > > > On SuSE 9.x, you specify the moudles you want with -m, and > > -f, -v are > > > both "meaningless". > > > On FC4, -f means "force overwrite of initrd file", and -v > > means "print > > > verbose information". It also has the --with options. Note also that > > > mkinitrd is a shell-script, so whilst it may not be > > immediately obvious > > > what it does, you can "just read it", rather than binary > > files that you > > > have to find the source of. > > > > > > I also think you should specify 2.6.16.29-xen, but maybe that''s only > > > when you build from unstable? Check what your version is called in > > > /lib/modules/ - my machine has /lib/modules/2.6.16.29-xen > > and various > > > older ones. You need to specify exactly the right version > > of linux, even > > > if your initrd doesn''t have that name in it... > > > > > > -- > > > Mats > > Well, the machine is dead in the water now. When I boot into > > the non xen > > kernnel, I get so many failures and cannot even go to run level 5. Why > > should those commands have done anything to the normal kernel? Guess I > > will have to do a reinstall to get back to where I was before. This is > > really the shits. (am doing this from my laptop now) > > Hmm - did you by any chance accidentally update another initrd than the > one you use for xen? Check the dates on the files. You may be able to > rescue it by doing another mkinitrd... > > If you have separate initrd for the Xen installation and the normal one, > you shouldn''t get any errors booting when you boot normal linux - I do > that all the time [when my Xen doesn''t work at all, which happens now > and again when you''re developing, it''s the only way to get another Xen > on there to get it working again]. > > And yes, I''ve s***wed up the installation once or twice by overwriting > the wrong file in one way or another... Not fun at all... :-( > > -- > Mats > >There are so many errors on booting I doubt that I can rescue it like you say, especially with the luck I am having lately. Is there EXACT and correct instructions for installing Xen 3.03 on Suse 10.1 any where? Every thing I have tried so far has ended up not working and I have not found anything specifically for Suse except for 9.3, but that did not work either. Now you see why I am so frustrated. (Just tried downloading the boot CD for network install of the Suse 10.1 since it is updated, even though I have the DVD. I get 1KB /sec on a 8 Mb dsl connection. That is how back the internet service is here in Taiwan.) Art _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Art Fore wrote:>>> title Xen 3.0 / XenLinux 2.6 >>> kernel /boot/xen-3.0.gz console=vga >>> module /boot/vmlinuz-2.6-xen root=/dev/sda2 ro console=tty0 >>> module /boot/initrd-2.6-xen.img >>>If "/boot" is on a separate partition from "/" you may need to take out the "/boot" from the path, at least that was a problem that I ran into at some point. I think it''s because the path is relative to the top of the partition that the files are on, and if /boot is a separate partition, then the files are at the top level of that filesystem, if that''s not too confusing. Some of the automatic scripts that are out there for setting up xen, like xenify.sh, seem to assume that /boot is not on a separate partition but part of /. I also ran into problems with "/" fs other than ext3 due to assumption of scripts, I am sure there is a way to fix it, but I don''t think the extra effort is really going to buy all that much extra performance. And of course as always, KNOPPIX is your friend :) or sometimes I used Ubuntu Desktop CD, then you can boot into the CD, mount your root partition and chroot to it. Also handy you can use the "--bind" or "-o bind" option to mount to make /proc and /dev (if you are using udev or devfs) available when you chroot to the root partition, for example: mkdir /mnt/sda1 mount /dev/sda1 /mnt/sda1 mount --bind /proc /mnt/sda1/proc mount --bind /dev /mnt/sda1/dev chroot /mnt/sda1 mount -a # do stuff, edit / run grub etc umount -a exit So far, I have had the best results with: 1. "/" of dom0 is a "real" partition and not LVM 2. /boot is a subdir in / and not on a separate partition 3. / is formatted with ext3 filesystem (not reiserfs) 4. allow 6.5 GB for / Luckily, I do not have to be frugal with disk space, in fact my partition layout really looks like this: sda1 /media/sda1 32 MB Dell Utility partition FAT32 sda2 / 6.5 GB ext3 sda3 /media/sda3 6.5 GB ext3 (2nd root partition for future upgrade) sda4 extended partition sda5 swap 512 MB sda6 LVM VolGroup0 remainder of space Jonathan _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
> There are so many errors on booting I doubt that I can rescue it like > you say, especially with the luck I am having lately.What kind of errors?> > Is there EXACT and correct instructions for installing Xen > 3.03 on Suse > 10.1 any where? Every thing I have tried so far has ended up > not working > and I have not found anything specifically for Suse except > for 9.3, but > that did not work either.No, I mentioned SuSE 9.x because that''s what I have on one of my non-Xen machines in my office - and I just wanted to give the details so that you know that it''s 9.x rather than 10.x just in case they are different. I don''t know if I can give you EXACT instructions, but I''ll do my best: 1. Download a suitable source-code. 3.0.3 tarball is probably as good as it gets today. 2. Compile it with "make world" or "make dist" (the latter if you''ve made changes to the Linux config settings). 3. If you''re building on the same machine as you''re planning to run Xen, do "make install" (could be as part of #2 above). If build machine and run-machine are not the same one: On build machine: "tar czf dist.tar.gz dist; scp dist.tar.gz <run-machine>:/someplace; ssh run-machine" On run machine: "cd /someplace; tar xzf dist.tar.gz; cd dist; ./install.sh" 4. Set up grub.conf (or menu.lst) to contain: kernel /boot/xen.gz module /boot/vmlinuz-xen ro root=<some disk> module /boot/initrd-xen.gz That''s about it.> > Now you see why I am so frustrated. (Just tried downloading > the boot CD > for network install of the Suse 10.1 since it is updated, > even though I > have the DVD. I get 1KB /sec on a 8 Mb dsl connection. That > is how back > the internet service is here in Taiwan.)Why are you trying to download a boot CD when you have the DVD? I doubt you''ll gain much from that [but yes, I''ve been trying to do the "wrong" thing more than once too!]. -- Mats> > Art > > > _______________________________________________ > 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
> -----Original Message----- > From: xen-users-bounces@lists.xensource.com > [mailto:xen-users-bounces@lists.xensource.com] On Behalf Of > Petersson, Mats > Sent: 27 October 2006 17:42 > To: art.fore@gmail.com; xen-users@lists.xensource.com > Subject: RE: [Xen-users] Getting frustrated with Xen > > > There are so many errors on booting I doubt that I can > rescue it like > > you say, especially with the luck I am having lately. > > What kind of errors? > > > > > Is there EXACT and correct instructions for installing Xen > > 3.03 on Suse > > 10.1 any where? Every thing I have tried so far has ended up > > not working > > and I have not found anything specifically for Suse except > > for 9.3, but > > that did not work either. > > No, I mentioned SuSE 9.x because that''s what I have on one of > my non-Xen > machines in my office - and I just wanted to give the details so that > you know that it''s 9.x rather than 10.x just in case they are > different. > > > I don''t know if I can give you EXACT instructions, but I''ll > do my best: > > 1. Download a suitable source-code. 3.0.3 tarball is probably > as good as > it gets today. > 2. Compile it with "make world" or "make dist" (the latter if you''ve > made changes to the Linux config settings). > 3. If you''re building on the same machine as you''re planning > to run Xen, > do "make install" (could be as part of #2 above). > If build machine and run-machine are not the same one: > On build machine: "tar czf dist.tar.gz dist; scp dist.tar.gz > <run-machine>:/someplace; ssh run-machine" > On run machine: "cd /someplace; tar xzf dist.tar.gz; cd dist; > ./install.sh"Ah: forgot: 3.5. ''mkinitrd /boot/initrd-xen.gz xen_kernel_version'' - you need to figure out how to tell mkinitrd how to build for a specific version of kernel, and specify that where it says "xen_kernel_version". As I don''t have SuSE 10.1 on any of my machines, I''m not able to tell you exactly how to do that...> > 4. Set up grub.conf (or menu.lst) to contain: > kernel /boot/xen.gz > module /boot/vmlinuz-xen ro root=<some disk> > module /boot/initrd-xen.gz > > That''s about it. > > > > > Now you see why I am so frustrated. (Just tried downloading > > the boot CD > > for network install of the Suse 10.1 since it is updated, > > even though I > > have the DVD. I get 1KB /sec on a 8 Mb dsl connection. That > > is how back > > the internet service is here in Taiwan.) > > Why are you trying to download a boot CD when you have the > DVD? I doubt > you''ll gain much from that [but yes, I''ve been trying to do > the "wrong" > thing more than once too!]. > > -- > Mats > > > > Art > > > > > > _______________________________________________ > > 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 > > >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Thorolf Godawa
2006-Oct-27 21:40 UTC
[Xen-users] Xen 3.0.2 on SuSE Linux 10.1 Howto (Was: Getting frustrated with Xen)
Hi, actually I''m not finished with this document, but because in the near future I don''t will have time to make it as I want. It still is based on Xen 3.0.2, the part with (live)-migration is not complete, I have a small monitoring script which is not finished yet but also should be included in this document and possibly there are a lot of errors in the document. It is based on the first release of SuSE Linux 10.1 but also worked with SLES 10 and possibly also with SL 10.1 reloaded. There also is a short description how to get running Xen on RHEL 4 and how to create several paravirtualized and HVM domains! But because I''ve seen several times questions in this mailing list that are covered with my Howto I release it like it is and hopefully s.b. can use it for his work: http://www.godacon.de/download/SL101_Xen_V12.pdf Corrections and suggestions are welcome to my email-address! Have fun, -- Chau y hasta luego, Thorolf _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Art Fore
2006-Oct-28 14:27 UTC
Re: [Xen-users] Xen 3.0.2 on SuSE Linux 10.1 Howto (Was: Getting frustrated with Xen)
Thanks for the info. Looks like it will help once I get 3.0.3 going. It was suggested to upgrade the Suse 10.1to 3.0.3 as I have Athlon X64 X2 and there were a lot of bugs fixed relating to this arch. Art On 10/28/06, Thorolf Godawa <nospam@godawa.de> wrote:> > Hi, > > actually I''m not finished with this document, but because in the near > future I don''t will have time to make it as I want. > > It still is based on Xen 3.0.2, the part with (live)-migration is not > complete, I have a small monitoring script which is not finished yet but > also should be included in this document and possibly there are a lot of > errors in the document. > > It is based on the first release of SuSE Linux 10.1 but also worked with > SLES 10 and possibly also with SL 10.1 reloaded. There also is a short > description how to get running Xen on RHEL 4 and how to create several > paravirtualized and HVM domains! > > But because I''ve seen several times questions in this mailing list that > are covered with my Howto I release it like it is and hopefully s.b. can > use it for his work: > > http://www.godacon.de/download/SL101_Xen_V12.pdf > > Corrections and suggestions are welcome to my email-address! > > Have fun, > -- > > Chau y hasta luego, > > Thorolf > > _______________________________________________ > 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
Art Fore
2006-Oct-29 01:02 UTC
RE: [Xen-users] Getting frustrated with Xen (giving up for the time being)
On Fri, 2006-10-27 at 15:15 +0200, Petersson, Mats wrote:> > > -----Original Message----- > > From: xen-users-bounces@lists.xensource.com > > [mailto:xen-users-bounces@lists.xensource.com] On Behalf Of Art Fore > > Sent: 27 October 2006 13:43 > > To: xen-users@lists.xensource.com > > Subject: [Xen-users] Getting frustrated with Xen > > > > Been trying to get Xen working on this machine for over two > > weeks. Every > > time I end up against a brick wall again. > > > > Tried the xen LiveCD on this machine (Athlon 64 X2 running Suse Linux > > 10.1) and it worked. Had 3 vms working with no problem. The base Suse > > 10.1 xen kernel works up to a point, that is I can xm list and get the > > correct output, start a prebuilt guest, but it never comes up on > > screent. Try stopping it, it says it says vm does not exist. > > > > So, downloaded the xen-3.0.3_0-src tarball and follow instructions > > compiling. Do a make dist and get > > > > ... x86-put-note-sections-into-a-pt_note-segment-in-vmlinux.patch > > /bin/sh: > > patches/linux-2.6.16.29/x86-put-note-sections-into-a-pt_note-s > egment-in-vmlinux.patch: No such file or directory > > make[2]: *** [ref-linux-2.6.16.29/.valid-ref] Error 1 > > make[2]: Leaving directory `/home/afore/Downloads/xen-3.0.3_0-src'' > > make[1]: *** [linux-2.6-xen-install] Error 2 > > make[1]: Leaving directory `/home/afore/Downloads/xen-3.0.3_0-src'' > > make: *** [install-kernels] Error 1 > > > > It downloaded the 2.6.16.29 kernel files, unpacked them, then > > looks like > > it applied a bunch of patches up to the last one above. Other > > than that, > > the error message is unintelligible to me. Can anyone tell me what the > > problem is form the very cryptic error messages shown above? > > That you don''t have the file called > "x86-put-note-sections-into-a-pt_note-segment-in-vmlinux.patch" > in your system. > > I have attached the version hg changeset 11884 (I doubt it''s changed > since 3.0.3). > > But it really should be part of your source-code in the tarball [I > haven''t tried the 3.0.3, since I''m usually "ahead" on the "unstable" > version...]. > > You asked about this same file a little while ago, but it appears that > it was in some other directory?? [Although it could be that they are > stored elsewhere first, and created in the correct directory when > needed, as some of the patches are probably version independent]. > > -- > MatsAfter starting over with a clean updated Suse 10.1 system, I did the following Copied the two patches into the patches directory. Done a make clean Then a make dist and make install Followed the instructions for the grub menu.lst, even tried installing it with YAST, System, Boot loader. No Difference. Anyhow, just doing the make install screwed up the default Suse Xen booting. Why? Also get the same thing when trying to boot with the new Xen kernel. Still can boot in non-zen kernel, so it seems to me the make dist, make install, and instructions are all screwed up for installing in Suse 10.1. I give up until someone with programming experience, the only programming experience I have is with Basic, gets this to operate with Suse 10.1 on Athlon 64 X2 processor with hypervisor and posts on the web detailed instructions on how to get it to work. Art _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Fri, 2006-10-27 at 15:15 +0200, Petersson, Mats wrote:> > > -----Original Message----- > > From: xen-users-bounces@lists.xensource.com > > [mailto:xen-users-bounces@lists.xensource.com] On Behalf Of Art Fore > > Sent: 27 October 2006 13:43 > > To: xen-users@lists.xensource.com > > Subject: [Xen-users] Getting frustrated with Xen > > > > Been trying to get Xen working on this machine for over two > > weeks. Every > > time I end up against a brick wall again. > > > > Tried the xen LiveCD on this machine (Athlon 64 X2 running Suse Linux > > 10.1) and it worked. Had 3 vms working with no problem. The base Suse > > 10.1 xen kernel works up to a point, that is I can xm list and get the > > correct output, start a prebuilt guest, but it never comes up on > > screent. Try stopping it, it says it says vm does not exist. > > > > So, downloaded the xen-3.0.3_0-src tarball and follow instructions > > compiling. Do a make dist and get > > > > ... x86-put-note-sections-into-a-pt_note-segment-in-vmlinux.patch > > /bin/sh: > > patches/linux-2.6.16.29/x86-put-note-sections-into-a-pt_note-s > egment-in-vmlinux.patch: No such file or directory > > make[2]: *** [ref-linux-2.6.16.29/.valid-ref] Error 1 > > make[2]: Leaving directory `/home/afore/Downloads/xen-3.0.3_0-src'' > > make[1]: *** [linux-2.6-xen-install] Error 2 > > make[1]: Leaving directory `/home/afore/Downloads/xen-3.0.3_0-src'' > > make: *** [install-kernels] Error 1 > > > > It downloaded the 2.6.16.29 kernel files, unpacked them, then > > looks like > > it applied a bunch of patches up to the last one above. Other > > than that, > > the error message is unintelligible to me. Can anyone tell me what the > > problem is form the very cryptic error messages shown above? > > That you don''t have the file called > "x86-put-note-sections-into-a-pt_note-segment-in-vmlinux.patch" > in your system. > > I have attached the version hg changeset 11884 (I doubt it''s changed > since 3.0.3). > > But it really should be part of your source-code in the tarball [I > haven''t tried the 3.0.3, since I''m usually "ahead" on the "unstable" > version...]. > > You asked about this same file a little while ago, but it appears that > it was in some other directory?? [Although it could be that they are > stored elsewhere first, and created in the correct directory when > needed, as some of the patches are probably version independent]. > > -- > Mats > > > > > Art > >In the process of checking to see if I can get the suse 3.0.2 xen going again without reinstalling: The make install changed the link on xen.gz (default suse xen file) to point to xen-3.0.3-0.gz Redone the link to point back to xen-3.0.2_09763-0.8.gz Now system will boot into the default suse xen kernel. Why does the make install overwrite an existing link? Seems to me that it should only create new ones, which it did except for the initrd which is non-existent. Art _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
I gave up on Xen, but then after fixing the problem with the initrd file he Xen screwed up and booting into the Xen kernel successfully I had other problems that I did not have before. I then uninstalled the Suse Xen kernel and was going to reinstall it, but thought, why not try the xen 3.0.3 install without the suse xen install. Tried that, but ha the same problem as before, could not find /dev/sda2 root disk. Finally found an email on the suse list about mkinitrd and using it as a sample, I ended up with /sbin/mkinitrd -k "vmlinux-2.6.16.29-xen" -i "initrd-xen-3.0.3 which created the file. I could then boot into the Xen kernel. Now, when I try to xm create a previous hvm file, i get the following: Error: Kernel image does not exist: /usr/lib/xen/boot/hvmloader This is an image from the Xen LiveCD that worked when I booted from the LiveCD. So, how do I get this hvmloader file? I notice there is a folder in the /xen-3.0.3_0-src/tools/firmware directory, but the only thing there is hvmloader.c. I also do not see this file on the Xen LiveCD! Please explain that one. Hit so many brick walls that my head hurts. Art _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Found a message about dev86, so finally found an rpm for Suse and installed it after having to also install bin86. Now I get the following from make install: make[3]: Entering directory `/home/afore/Downloads/xen-3.0.3_0-src/tools/firmware/vmxassist'' gcc -DNDEBUG -m32 -march=i686 -Wall -Wstrict-prototypes -Wdeclaration-after-statement -DDEBUG -DTEXTADDR=0x000D0000 -I. -I../../../tools/libxc -fno-builtin -O2 -msoft-float -c vm86.c In file included from /usr/include/features.h:346, from /usr/include/stdint.h:26, from vm86.h:24, from vm86.c:21: /usr/include/gnu/stubs.h:7:27: error: gnu/stubs-32.h: No such file or directory make[3]: *** [vm86.o] Error 1 make[3]: Leaving directory `/home/afore/Downloads/xen-3.0.3_0-src/tools/firmware/vmxassist'' make[2]: *** [all] Error 2 make[2]: Leaving directory `/home/afore/Downloads/xen-3.0.3_0-src/tools/firmware'' make[1]: *** [install] Error 2 make[1]: Leaving directory `/home/afore/Downloads/xen-3.0.3_0-src/tools'' make: *** [install-tools] Error 2 Now I really don''t have a clue as to what this means. I done a search on google and it said to use -disable-multilib. Tried that on the make install command line, it does not recognize it. I checked for /usr/include/gnu/ and there is no such stub-32.h there. Anyone else have a clue about this? Art _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Finally got the zen kernel compiled. the README file is wrong. I also needed to install bin86, dev86, and glibc -32bit. Doing a /sbin/mkinitrd -m "aacraid sd_mod scsi_mod" -k "vmlinuz-2.6.16.29-xen" -i "initrd-xen-3.0.3" results in kernel panic on boot Doing /sbin/mkinitrd -k "vmlinuz-2.6.16.29-xen" -i "initrd-xen-3.0.3" Allows me to boot into xen. Running xm create suse.hvm (for the img file from the Live CD) gets unrecognized boot device. running depmod -v 2.6.16.29-xen results in almost every *.ko needs something. Notice there are symsets and symtypes for the other kernels, but only exeuteables xen-syms-3.0.3-0 and vmlinux-syms-2.6/16/29-xen for the xen kernel. Why is this? could this be the problem with depmod? I do not think this kernel has ever been compiled for Athlon 64 X2 AMD2 socket. Otherwise, the README file would not be so wrong. Art _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Would anybody care to change the subject of this thread to anything more reasonable? "Frustration" is more suited for psychological treatment... Ulrich _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
It''s a 64-bit machine, isn''t it? I had the same problem on my 64-bit installation. I can''t remember now what I did to fix it - I think I copied the missing file(s) from a 32-bit machine - but I''m not sure. You could try "linux32 bash; make" to build it in 32-bit mode... -- Mats> -----Original Message----- > From: xen-users-bounces@lists.xensource.com > [mailto:xen-users-bounces@lists.xensource.com] On Behalf Of Art Fore > Sent: 29 October 2006 13:59 > To: xen-users@lists.xensource.com > Subject: RE: [Xen-users] Getting frustrated with Xen > > Found a message about dev86, so finally found an rpm for Suse > and installed it after having to also install bin86. > Now I get the following from make install: > make[3]: Entering directory > `/home/afore/Downloads/xen-3.0.3_0-src/tools/firmware/vmxassist'' > gcc -DNDEBUG -m32 -march=i686 -Wall -Wstrict-prototypes > -Wdeclaration-after-statement -DDEBUG > -DTEXTADDR=0x000D0000 -I. -I../../../tools/libxc -fno-builtin > -O2 -msoft-float -c vm86.c > In file included from /usr/include/features.h:346, > from /usr/include/stdint.h:26, > from vm86.h:24, > from vm86.c:21: > /usr/include/gnu/stubs.h:7:27: error: gnu/stubs-32.h: No such > file or directory > make[3]: *** [vm86.o] Error 1 > make[3]: Leaving directory > `/home/afore/Downloads/xen-3.0.3_0-src/tools/firmware/vmxassist'' > make[2]: *** [all] Error 2 > make[2]: Leaving directory > `/home/afore/Downloads/xen-3.0.3_0-src/tools/firmware'' > make[1]: *** [install] Error 2 > make[1]: Leaving directory > `/home/afore/Downloads/xen-3.0.3_0-src/tools'' > make: *** [install-tools] Error 2 > > Now I really don''t have a clue as to what this means. I done > a search on google and it said to use -disable-multilib. > Tried that on the make install command line, it does not recognize it. > I checked for /usr/include/gnu/ and there is no such stub-32.h there. > > Anyone else have a clue about this? > > Art > > > > _______________________________________________ > 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
On Mon, 2006-10-30 at 09:30 +0100, Ulrich Windl wrote:> Would anybody care to change the subject of this thread to anything more > reasonable? "Frustration" is more suited for psychological treatment... > > Ulrich > > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-usersThat is what I would need if I carried this any further. I have given up on 3.0.3. Only a genius could compile that program to work on an Athlon 64 X2 and that I am not, expecially in relation to programming. Hopefully, someone in the near future will come out with an RPM specifically for Suse 10.1. I know it works on this machine because the Xen 3.0.3 Live CD works perfectly. Just wished it worked under Suse 10.1 Art _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
I found the file quite by accident. It was glibc-32. Got through the intall, but then using xm create it came up with invalid disk image, sone that worked on the Live CD and the otheer WinXP that went up to a certain point before hanging the system. I have given up as mentioned in a previous email. The compile screws up so much on the mahine that I had to do another reinstall. I Am tired of that. Have to aay this is the worst package to compile I have ome aross so far. Art On Mon, 2006-10-30 at 11:24 +0100, Petersson, Mats wrote:> It''s a 64-bit machine, isn''t it? I had the same problem on my 64-bit > installation. I can''t remember now what I did to fix it - I think I > copied the missing file(s) from a 32-bit machine - but I''m not sure. > > You could try "linux32 bash; make" to build it in 32-bit mode... > > -- > Mats > > > -----Original Message----- > > From: xen-users-bounces@lists.xensource.com > > [mailto:xen-users-bounces@lists.xensource.com] On Behalf Of Art Fore > > Sent: 29 October 2006 13:59 > > To: xen-users@lists.xensource.com > > Subject: RE: [Xen-users] Getting frustrated with Xen > > > > Found a message about dev86, so finally found an rpm for Suse > > and installed it after having to also install bin86. > > Now I get the following from make install: > > make[3]: Entering directory > > `/home/afore/Downloads/xen-3.0.3_0-src/tools/firmware/vmxassist'' > > gcc -DNDEBUG -m32 -march=i686 -Wall -Wstrict-prototypes > > -Wdeclaration-after-statement -DDEBUG > > -DTEXTADDR=0x000D0000 -I. -I../../../tools/libxc -fno-builtin > > -O2 -msoft-float -c vm86.c > > In file included from /usr/include/features.h:346, > > from /usr/include/stdint.h:26, > > from vm86.h:24, > > from vm86.c:21: > > /usr/include/gnu/stubs.h:7:27: error: gnu/stubs-32.h: No such > > file or directory > > make[3]: *** [vm86.o] Error 1 > > make[3]: Leaving directory > > `/home/afore/Downloads/xen-3.0.3_0-src/tools/firmware/vmxassist'' > > make[2]: *** [all] Error 2 > > make[2]: Leaving directory > > `/home/afore/Downloads/xen-3.0.3_0-src/tools/firmware'' > > make[1]: *** [install] Error 2 > > make[1]: Leaving directory > > `/home/afore/Downloads/xen-3.0.3_0-src/tools'' > > make: *** [install-tools] Error 2 > > > > Now I really don''t have a clue as to what this means. I done > > a search on google and it said to use -disable-multilib. > > Tried that on the make install command line, it does not recognize it. > > I checked for /usr/include/gnu/ and there is no such stub-32.h there. > > > > Anyone else have a clue about this? > > > > Art > > > > > > > > _______________________________________________ > > 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
On 10/30/06, Art Fore <art.fore@gmail.com> wrote:> I found the file quite by accident. It was glibc-32. Got through the > intall, but then using xm create it came up with invalid disk image, > sone that worked on the Live CD and the otheer WinXP that went up to a > certain point before hanging the system. I have given up as mentioned in > a previous email. The compile screws up so much on the mahine that I had > to do another reinstall. I Am tired of that. Have to aay this is the > worst package to compile I have ome aross so far.I''m back after being unsubscribed after a month or so, and I have to say I''m already frustrated by a continuing theme (or themes). Xen is not a "package", per se, it is more of an *operating* *system*, and installing from source is not something to go into lightly. Did you really need to? I see so many times, in open source communities, notably on this list, where some straightforward methods could have saved time for the poster, and the ensuing responder(s). Sorry to be so blunt mid-thread. It just seems odd for it to have gotten to this point. For example, an error early on (not currently in front of me :-) about missing file during boot could be a fairly common problem referencing xen files with "/boot" in grub.conf - do other previous entries have it? No - grub these days typically references the /boot partition directly, so the context is /filename.... jerry _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Jerry Amundson wrote:> I''m back after being unsubscribed after a month or so, and I have to > say I''m already frustrated by a continuing theme (or themes). Xen is > not a "package", per se, it is more of an *operating* *system*, and > installing from source is not something to go into lightly. Did you > really need to?It seems like there are some unrealistic expectations. I have been doing Linux since the 45-floppy disk days, and I wouldn''t try to install Xen from source unless I really had to for some reason. Also it has been my impression Xen 3.0 is intended as beta-quality software and not pretending to be anything different, but for some reason, some people seem to have a very different impression and expectations to go along with it. I think it is purely the nature of the development cycle and where Xen 3.0 is at in its evolution and not some kind of deficiency or flaw, right now it''s just not something to get into if you don''t have a high tolerance for frustration.> gotten to this point. For example, an error early on (not currently in > front of me :-) about missing file during boot could be a fairly > common problem referencing xen files with "/boot" in grub.conf - do > other previous entries have it? No - grub these days typically > references the /boot partition directly, so the context is > /filename....I posted a message that pointed that out, but no one replied, so I don''t know if anybody noticed. I barely have time to read the mailing list. If someone has a bad attitude, I am more likely to just skip it. Jonathan _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Jonathan Dill wrote:> Jerry Amundson wrote: >> I''m back after being unsubscribed after a month or so, and I have to >> say I''m already frustrated by a continuing theme (or themes). Xen is >> not a "package", per se, it is more of an *operating* *system*, and >> installing from source is not something to go into lightly. Did you >> really need to? > It seems like there are some unrealistic expectations. I have been > doing Linux since the 45-floppy disk days, and I wouldn''t try to install > Xen from source unless I really had to for some reason.While I''d agree that building things from source is seldom the best first option, and I''m no linux guru by any stretch of the imagination, my first experience with Xen involved building 3.0.1 from source. With the exception of having trouble building for a non pae amd server on a pae dual-xeon box, it was plain sailing.> Also it has > been my impression Xen 3.0 is intended as beta-quality software and not > pretending to be anything different, but for some reason, some people > seem to have a very different impression and expectations to go along > with it.That''s because of the huge success you can have with it :) There are lots of things that Xen either doesn''t do, or does badly, but they''re being fixed at a good rate, and for a large number of situations it''s actually very good. Of course, ultimately, it needs people to do odd things with it to iron out all the quirks...> I think it is purely the nature of the development cycle and where Xen > 3.0 is at in its evolution and not some kind of deficiency or flaw, > right now it''s just not something to get into if you don''t have a high > tolerance for frustration.Again I feel I should comment that I''ve had very little frustration with it. With the HowTo''s around (Google is your friend) and these lists I''ve even had it running on a dual-xeon with VT and Win2k3 server installed, all within 24 hours of the box arriving. It''s not perfect, but it *can* work brilliantly.>> gotten to this point. For example, an error early on (not currently in >> front of me :-) about missing file during boot could be a fairly >> common problem referencing xen files with "/boot" in grub.conf - do >> other previous entries have it? No - grub these days typically >> references the /boot partition directly, so the context is >> /filename.... > I posted a message that pointed that out, but no one replied, so I don''t > know if anybody noticed. I barely have time to read the mailing list. > If someone has a bad attitude, I am more likely to just skip it.Maybe everyone just silently agreed. Or didn''t read it, I find time short for the lists in general :) -- Julian Davison Note: 1) This may have come from an address @cbhs.school.nz but isn''t necessarily the (or even an) official view of Christchurch Boys'' High School 2) While replying to this address may get into my mailbox it will almost certainly be filtered into a mailing list folder. To actually reach actual me, strip off the bit after the ''-'' in the name. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Art Fore wrote:> I found the file quite by accident. It was glibc-32. Got through the > intall, but then using xm create it came up with invalid disk image, > sone that worked on the Live CD and the otheer WinXP that went up to a > certain point before hanging the system. I have given up as mentioned in > a previous email. The compile screws up so much on the mahine that I had > to do another reinstall. I Am tired of that. Have to aay this is the > worst package to compile I have ome aross so far. > > ArtI wanted it to have sex with me and cook dinner, too. It just wouldn''t. To hell with Xen! -- Christopher G. Stach II _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users