I downloaded xen-4.0.1 from and as a normal user did make world KERNELS="linux-2.6-xen0 linux-2.6-xenU" after throwing some messages select-repository: Searching `.:..'' for linux-2.6.18-xen.hg select-repository: Ignoring `.'' Unable to determine path to Linux source tree. Falling back to linux-2.6.18-xen Mercurial repository. Cloning http://xenbits.xensource.com/linux-2.6.18-xen.hg to linux-2.6.18-xen.hg. /bin/sh: hg: not found make[3]: *** [linux-2.6.18-xen.hg/.valid-src] Error 127 make[3]: Leaving directory `/home/tapas/xen-4.0.1'' make[2]: *** [linux-2.6-xen0-install] Error 2 make[2]: Leaving directory `/home/tapas/xen-4.0.1'' make[1]: *** [install-kernels] Error 1 make[1]: Leaving directory `/home/tapas/xen-4.0.1'' make: *** [world] Error 2 It closes. What do I do next? -- http://mightydreams.blogspot.com _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Hi, On Wed, Feb 16, Tapas Mishra wrote:> select-repository: Searching `.:..'' for linux-2.6.18-xen.hg > select-repository: Ignoring `.'' > Unable to determine path to Linux source tree. > Falling back to linux-2.6.18-xen Mercurial repository. > Cloning http://xenbits.xensource.com/linux-2.6.18-xen.hg to linux-2.6.18-xen.hg. > /bin/sh: hg: not foundthe mercurial tool hg is missing. I don''t know which distribution you use. On opensuse and debian you have to install the "mercurial" package. -- Kind regards Dieter -- I do not get viruses because I do not use MS software. If you use Outlook then please do not put my email address in your address-book so that WHEN you get a virus it won''t use my address in the>From field._______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Wed, Feb 16, 2011 at 2:27 PM, Dieter Bloms <xensource.com@bloms.de> wrote:> Hi, > > On Wed, Feb 16, Tapas Mishra wrote: > >> select-repository: Searching `.:..'' for linux-2.6.18-xen.hg >> select-repository: Ignoring `.'' >> Unable to determine path to Linux source tree. >> Falling back to linux-2.6.18-xen Mercurial repository. >> Cloning http://xenbits.xensource.com/linux-2.6.18-xen.hg to linux-2.6.18-xen.hg. >> /bin/sh: hg: not found > > the mercurial tool hg is missing. > I don''t know which distribution you use. > On opensuse and debian you have to install the "mercurial" package. >Thanks I was following instructions here. https://help.ubuntu.com/community/Xen -- _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Wed, Feb 16, 2011 at 3:31 PM, Tapas Mishra <mightydreams@gmail.com> wrote:> On Wed, Feb 16, 2011 at 2:27 PM, Dieter Bloms <xensource.com@bloms.de> wrote: >> Hi, >> >> On Wed, Feb 16, Tapas Mishra wrote: >> >>> select-repository: Searching `.:..'' for linux-2.6.18-xen.hg >>> select-repository: Ignoring `.'' >>> Unable to determine path to Linux source tree. >>> Falling back to linux-2.6.18-xen Mercurial repository. >>> Cloning http://xenbits.xensource.com/linux-2.6.18-xen.hg to linux-2.6.18-xen.hg. >>> /bin/sh: hg: not found >> >> the mercurial tool hg is missing. >> I don''t know which distribution you use. >> On opensuse and debian you have to install the "mercurial" package. >> > Thanks I was following instructions here.Ok now when I type make world I get following error http://pastebin.com/bFjm7hWy _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Wed, Feb 16, 2011 at 5:42 PM, Tapas Mishra <mightydreams@gmail.com> wrote:> Ok now when I type make world > I get following error > > http://pastebin.com/bFjm7hWyThe error awk: line 2: function gensub never defined /home/tapas/xen-4.0.1/linux-2.6.18-xen.hg/scripts/Makefile.build:74: *** ''Your awk program does not define gensub. Use gawk or another awk with gensub''. Stop. looks weird. Perhaps you should follow the error warning and install gawk? Anyway, since you''re going to use 4.0.1, I actually recommend NOT append KERNELS="linux-2.6-xen0 linux-2.6-xenU" (which would install 2.6.18, but instead run make xen make tools make stubdom make install-xen make install-tools make install-stubdom and then compile dom0 kernel following http://wiki.xensource.com/xenwiki/XenParavirtOps. ... or perhaps a "make world" (without anything after that) might do all the steps, but I prefer doing it one by one so I can see which part actually fails :P -- Fajar _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Hi, On Wed, Feb 16, Tapas Mishra wrote:> Ok now when I type make world > I get following error > > http://pastebin.com/bFjm7hWyyou have to use an awk version which defines "gensub" as mentioned in the error messages. Which distribution do you use for compiling ? -- Kind regards Dieter -- I do not get viruses because I do not use MS software. If you use Outlook then please do not put my email address in your address-book so that WHEN you get a virus it won''t use my address in the>From field._______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Wed, Feb 16, 2011 at 4:23 PM, Fajar A. Nugraha <list@fajar.net> wrote:> On Wed, Feb 16, 2011 at 5:42 PM, Tapas Mishra <mightydreams@gmail.com> wrote: >> Ok now when I type make world >> I get following error >> >> http://pastebin.com/bFjm7hWy > > The error > awk: line 2: function gensub never defined > /home/tapas/xen-4.0.1/linux-2.6.18-xen.hg/scripts/Makefile.build:74: > *** ''Your awk program does not define gensub. Use gawk or another awk > with gensub''. Stop. > > looks weird. Perhaps you should follow the error warning and install gawk? > > Anyway, since you''re going to use 4.0.1, I actually recommend NOT > append KERNELS="linux-2.6-xen0 linux-2.6-xenU" (which would install > 2.6.18, but instead run > > make xen > make tools > make stubdom > make install-xen > make install-tools > make install-stubdom >Ok upto here things worked very well but I installed apt-get build-dep xen-3.3 as this archive msg says http://www.gossamer-threads.com/lists/xen/users/185290> and then compile dom0 kernel following > http://wiki.xensource.com/xenwiki/XenParavirtOps.I want to know if I can get a default .config file to compile a dom0 kernel for 32 bit and 64 bit or I use the .config of my host OS (which right now does not have Xen) in /boot> ... or perhaps a "make world" (without anything after that) might do > all the steps, but I prefer doing it one by one so I can see which > part actually fails :P > >On Wed, Feb 16, 2011 at 4:27 PM, Dieter Bloms <xensource.com@bloms.de> wrote:> Hi, > > On Wed, Feb 16, Tapas Mishra wrote: > >> Ok now when I type make world >> I get following error >> >> http://pastebin.com/bFjm7hWy > > you have to use an awk version which defines "gensub" as mentioned in > the error messages.I am not very good when such error messages come but by what Fajar said I was able to proceed.> > Which distribution do you use for compiling ?I am using Ubuntu 9.04 32 bit desktop edition -- http://mightydreams.blogspot.com _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Wed, Feb 16, 2011 at 8:20 PM, Tapas Mishra <mightydreams@gmail.com> wrote:>> make install-stubdom >> > Ok upto here things worked very well but > I installed apt-get build-dep xen-3.3 > as this archive msg says > http://www.gossamer-threads.com/lists/xen/users/185290 > >> and then compile dom0 kernel following >> http://wiki.xensource.com/xenwiki/XenParavirtOps. > I want to know if I can get a default .config file to compile a dom0 > kernel for 32 bit and 64 bit > or I use the .config of my host OS (which right now does not have Xen) in /bootDepends on what you need. For example, for my RHEL5 test box I use Oracle''s kernel-uek (2.6.32) as a base and add these xen-specific options: CONFIG_XEN=y CONFIG_XEN_PVHVM=y CONFIG_XEN_MAX_DOMAIN_MEMORY=128 CONFIG_XEN_SAVE_RESTORE=y CONFIG_XEN_DEBUG_FS=y CONFIG_SWIOTLB_XEN=y CONFIG_MICROCODE_XEN=y CONFIG_XEN_DOM0=y CONFIG_XEN_PRIVILEGED_GUEST=y CONFIG_XEN_DOM0_PCI=y CONFIG_XEN_PCI_PASSTHROUGH=y CONFIG_PCI_XEN=y CONFIG_XEN_PCIDEV_FRONTEND=y CONFIG_XEN_BLKDEV_FRONTEND=y CONFIG_NETXEN_NIC=m CONFIG_XEN_NETDEV_FRONTEND=m CONFIG_XEN_KBDDEV_FRONTEND=y CONFIG_HVC_XEN=y CONFIG_XEN_FBDEV_FRONTEND=y CONFIG_XEN_BALLOON=y CONFIG_XEN_SCRUB_PAGES=y CONFIG_XEN_DEV_EVTCHN=y CONFIG_XEN_BACKEND=y CONFIG_XEN_NETDEV_BACKEND=m CONFIG_XEN_BLKDEV_BACKEND=m CONFIG_XEN_BLKDEV_TAP=m CONFIG_XEN_BLKBACK_PAGEMAP=m CONFIG_XEN_PCIDEV_BACKEND=m CONFIG_XEN_PCIDEV_BACKEND_VPCI=y CONFIG_XENFS=y CONFIG_XEN_COMPAT_XENFS=y CONFIG_XEN_SYS_HYPERVISOR=y CONFIG_XEN_MCE=y CONFIG_XEN_XENBUS_FRONTEND=y CONFIG_XEN_GNTDEV=y CONFIG_XEN_S3=y CONFIG_ACPI_PROCESSOR_XEN=y CONFIG_XEN_PLATFORM_PCI=m Not all of them need to be set manually, the above was just a snippet of my .config which contains "XEN". When customizing the kernel config I use "make menuconfig", and search where a particular config option would be (using "/"). Since you use Ubuntu, you might want to start with the default ubuntu kernel config (/boot/config*) then adjust as necessary.>> you have to use an awk version which defines "gensub" as mentioned in >> the error messages. > I am not very good when such error messages > come but by what Fajar said I was able to proceed.If you still get similar error, try "apt-get install gawk">> >> Which distribution do you use for compiling ? > I am using Ubuntu 9.04 32 bit desktop editionThats quite old, and not supported anymore (see https://wiki.ubuntu.com/LTS) If you have time, I suggest you try newer version. Personally, I''m sticking with these combination for my test server: - RHEL5.6 - Gitco''s Xen 4.0.1 rpm - pv_ops kernel from JF''s xen/stable-2.6.32.x - native zfs (https://github.com/zfs-linux) plus a patch from https://github.com/behlendorf/zfs/issues/#issue/97 RHEL6 should be good as well, but I haven''t got time to play with it. -- Fajar _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Wed, Feb 16, 2011 at 7:08 PM, Fajar A. Nugraha <list@fajar.net> wrote:> On Wed, Feb 16, 2011 at 8:20 PM, Tapas Mishra <mightydreams@gmail.com> wrote: >>> make install-stubdom >>> >> Ok upto here things worked very well but >> I installed apt-get build-dep xen-3.3 >> as this archive msg says >> http://www.gossamer-threads.com/lists/xen/users/185290 >> >>> and then compile dom0 kernel following >>> http://wiki.xensource.com/xenwiki/XenParavirtOps. >> I want to know if I can get a default .config file to compile a dom0 >> kernel for 32 bit and 64 bitI have missed some part of instructions from above link since before doing a make world I did not copied the /boot/config to /usr/src/xen-4.0.1 as I got following error sed: can''t read linux-2.6-pvops.git/Makefile: No such file or directory make[3]: *** [build-linux-2.6-pvops_x86_32/include/linux/autoconf.h] Error 2 make[3]: Leaving directory `/usr/src/xen-4.0.1'' make[2]: *** [linux-2.6-pvops-install] Error 2 make[2]: Leaving directory `/usr/src/xen-4.0.1'' make[1]: *** [install-kernels] Error 1 make[1]: Leaving directory `/usr/src/xen-4.0.1'' make: *** [world] Error 2 root@tapas:/usr/src/xen-4.0.1# cp /boot/config-2.6.28-11-generic /usr/src/xen-4.0.1/ uname -a shows me Linux tapas 2.6.28-11-generic and on the link I see links to config files for 32 bit PAE with some different kernel versions. Should I use those on the link or the config in my boot and then proceed again. It is Ubuntu 9.04 32 bit _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Wed, Feb 16, 2011 at 7:08 PM, Fajar A. Nugraha <list@fajar.net> wrote:> On Wed, Feb 16, 2011 at 8:20 PM, Tapas Mishra <mightydreams@gmail.com> wrote: >>> make install-stubdom >>> >> Ok upto here things worked very well but >> I installed apt-get build-dep xen-3.3 >> as this archive msg says >> http://www.gossamer-threads.com/lists/xen/users/185290 >> >>> and then compile dom0 kernel following >>> http://wiki.xensource.com/xenwiki/XenParavirtOps. >> I want to know if I can get a default .config file to compile a dom0 >> kernel for 32 bit and 64 bit >> or I use the .config of my host OS (which right now does not have Xen) in /boot > > Depends on what you need. For example, for my RHEL5 test box I use > Oracle''s kernel-uek (2.6.32) as a base and add these xen-specific > options: > > CONFIG_XEN=y > CONFIG_XEN_PVHVM=y > CONFIG_XEN_MAX_DOMAIN_MEMORY=128 > CONFIG_XEN_SAVE_RESTORE=y > CONFIG_XEN_DEBUG_FS=y > CONFIG_SWIOTLB_XEN=y > CONFIG_MICROCODE_XEN=y > CONFIG_XEN_DOM0=y > CONFIG_XEN_PRIVILEGED_GUEST=y > CONFIG_XEN_DOM0_PCI=y > CONFIG_XEN_PCI_PASSTHROUGH=y > CONFIG_PCI_XEN=y > CONFIG_XEN_PCIDEV_FRONTEND=y > CONFIG_XEN_BLKDEV_FRONTEND=y > CONFIG_NETXEN_NIC=m > CONFIG_XEN_NETDEV_FRONTEND=m > CONFIG_XEN_KBDDEV_FRONTEND=y > CONFIG_HVC_XEN=y > CONFIG_XEN_FBDEV_FRONTEND=y > CONFIG_XEN_BALLOON=y > CONFIG_XEN_SCRUB_PAGES=y > CONFIG_XEN_DEV_EVTCHN=y > CONFIG_XEN_BACKEND=y > CONFIG_XEN_NETDEV_BACKEND=m > CONFIG_XEN_BLKDEV_BACKEND=m > CONFIG_XEN_BLKDEV_TAP=m > CONFIG_XEN_BLKBACK_PAGEMAP=m > CONFIG_XEN_PCIDEV_BACKEND=m > CONFIG_XEN_PCIDEV_BACKEND_VPCI=y > CONFIG_XENFS=y > CONFIG_XEN_COMPAT_XENFS=y > CONFIG_XEN_SYS_HYPERVISOR=y > CONFIG_XEN_MCE=y > CONFIG_XEN_XENBUS_FRONTEND=y > CONFIG_XEN_GNTDEV=y > CONFIG_XEN_S3=y > CONFIG_ACPI_PROCESSOR_XEN=y > CONFIG_XEN_PLATFORM_PCI=m > > Not all of them need to be set manually, the above was just a snippet > of my .config which contains "XEN". > > When customizing the kernel config I use "make menuconfig", and search > where a particular config option would be (using "/"). > Since you use Ubuntu, you might want to start with the default ubuntu > kernel config (/boot/config*) then adjust as necessary.Ok 2-3 hours before I did this mistake I did make world without using config from /boot so I failed and got errors. Next time I did make clean but this time my internet connection got disconnected so it hanged here git clone -o xen -n git://git.kernel.org/pub/scm/linux/kernel/git/jeremy/xen.git linux-2.6-pvops.git.tmp Initialized empty Git repository in /usr/src/xen-4.0.1/linux-2.6-pvops.git.tmp/.git/ remote: Counting objects: 1942112, done. remote: Compressing objects: 100% (318994/318994), done. Receiving objects: 7% (149253/1942112), 55.19 MiB | 75 KiB/s I think these files are already present is there a way to by pass this because now if I type make world and things begin from scratch again then it again will start downloading things from internet which keeps disconnecting. Is there a way to get rid of this situation. -- http://mightydreams.blogspot.com _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Wed, Feb 16, 2011 at 7:08 PM, Fajar A. Nugraha <list@fajar.net> wrote:> On Wed, Feb 16, 2011 at 8:20 PM, Tapas Mishra <mightydreams@gmail.com> wrote: >>> make install-stubdom >>> >> Ok upto here things worked very well but >> I installed apt-get build-dep xen-3.3 >> as this archive msg says >> http://www.gossamer-threads.com/lists/xen/users/185290 >> >>> and then compile dom0 kernel following >>> http://wiki.xensource.com/xenwiki/XenParavirtOps. >> I want to know if I can get a default .config file to compile a dom0 >> kernel for 32 bit and 64 bit >> or I use the .config of my host OS (which right now does not have Xen) in /boot > > Depends on what you need. For example, for my RHEL5 test box I use > Oracle''s kernel-uek (2.6.32) as a base and add these xen-specific > options: > > CONFIG_XEN=y > CONFIG_XEN_PVHVM=y > CONFIG_XEN_MAX_DOMAIN_MEMORY=128 > CONFIG_XEN_SAVE_RESTORE=y > CONFIG_XEN_DEBUG_FS=y > CONFIG_SWIOTLB_XEN=y > CONFIG_MICROCODE_XEN=y > CONFIG_XEN_DOM0=y > CONFIG_XEN_PRIVILEGED_GUEST=y > CONFIG_XEN_DOM0_PCI=y > CONFIG_XEN_PCI_PASSTHROUGH=y > CONFIG_PCI_XEN=y > CONFIG_XEN_PCIDEV_FRONTEND=y > CONFIG_XEN_BLKDEV_FRONTEND=y > CONFIG_NETXEN_NIC=m > CONFIG_XEN_NETDEV_FRONTEND=m > CONFIG_XEN_KBDDEV_FRONTEND=y > CONFIG_HVC_XEN=y > CONFIG_XEN_FBDEV_FRONTEND=y > CONFIG_XEN_BALLOON=y > CONFIG_XEN_SCRUB_PAGES=y > CONFIG_XEN_DEV_EVTCHN=y > CONFIG_XEN_BACKEND=y > CONFIG_XEN_NETDEV_BACKEND=m > CONFIG_XEN_BLKDEV_BACKEND=m > CONFIG_XEN_BLKDEV_TAP=m > CONFIG_XEN_BLKBACK_PAGEMAP=m > CONFIG_XEN_PCIDEV_BACKEND=m > CONFIG_XEN_PCIDEV_BACKEND_VPCI=y > CONFIG_XENFS=y > CONFIG_XEN_COMPAT_XENFS=y > CONFIG_XEN_SYS_HYPERVISOR=y > CONFIG_XEN_MCE=y > CONFIG_XEN_XENBUS_FRONTEND=y > CONFIG_XEN_GNTDEV=y > CONFIG_XEN_S3=y > CONFIG_ACPI_PROCESSOR_XEN=y > CONFIG_XEN_PLATFORM_PCI=m > > Not all of them need to be set manually, the above was just a snippet > of my .config which contains "XEN". > > When customizing the kernel config I use "make menuconfig", and search > where a particular config option would be (using "/").I searched /XEN in menuconfig but I did not got any option as the search in menuconfig for XEN shows Location->Device Drivers Xen Backend but in ncurses screen I do not see any option when I check device drivers --> (here I scroll a lot of options but no where Xen is visible) I had tried adding your .config parameters also to my .config but that also did not worked. I have tried it in two places /usr/src/xen-4.0.1/linux-2.6-pvops.git and /usr/src/xen-4.0.1/linux-2.6-xen but any where the Dom0 kernel compile was not successful. It is a 32 bit system without VT. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Sun, Feb 27, 2011 at 10:03 PM, Tapas Mishra <mightydreams@gmail.com> wrote:>> Not all of them need to be set manually, the above was just a snippet >> of my .config which contains "XEN". >> >> When customizing the kernel config I use "make menuconfig", and search >> where a particular config option would be (using "/"). > I searched /XEN in menuconfig but I did not got any option as the > search in menuconfig for XEN shows > Location->Device Drivers Xen Backend > but in ncurses screen I do not see any option when I check > device drivers --> (here I scroll a lot of options but no where Xen is visible)Like I said, not all of them need to be set manually. Some of them might need other options set before they appear. For example, CONFIG_XEN_NETDEV_BACKEND will not be availabe if you haven''t select CONFIG_XEN_BACKEND. CONFIG_XEN_BACKEND is selectable on "Device Drivers", near the bottom (look for"Backend driver support"). But it only shows up after CONFIG_XEN_DOM0 is selected, which is under "Processor types and features" -> "Paravirtualized guest support" -> "Enable Xen privileged domain support" (which only shows up after you select "Xen guest support")> It is a 32 bit system without VT.That might be the source of your problem. CONFIG_XEN_DOM0 depends on CONFIG_XEN=y, which (from the help) │ Depends on: PARAVIRT_GUEST [=y] && (X86_64 [=y] || X86_32 [=n] && X86_PAE [=n] && !X86_VISWS [=n]) && X86_CMPXCHG [=y] && X86_TSC [=y] │ So from the looks of it you''re not allowed to build newer pv_ops dom0 kernel for 32bit. The good news is that older dom0 kernel should work just fine on newer Xen 4.x. If you use Centos, simply use their kernel-xen rpm (based on Xen 3.1.2+), and you should be ready. -- Fajar _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Sun, Feb 27, 2011 at 9:31 PM, Fajar A. Nugraha <list@fajar.net> wrote:> On Sun, Feb 27, 2011 at 10:03 PM, Tapas Mishra <mightydreams@gmail.com> wrote: >>> Not all of them need to be set manually, the above was just a snippet >>> of my .config which contains "XEN". >>> >>> When customizing the kernel config I use "make menuconfig", and search >>> where a particular config option would be (using "/"). >> I searched /XEN in menuconfig but I did not got any option as the >> search in menuconfig for XEN shows >> Location->Device Drivers Xen Backend >> but in ncurses screen I do not see any option when I check >> device drivers --> (here I scroll a lot of options but no where Xen is visible) > > Like I said, not all of them need to be set manually. Some of them > might need other options set before they appear. For example, > CONFIG_XEN_NETDEV_BACKEND will not be availabe if you haven''t select > CONFIG_XEN_BACKEND. > > CONFIG_XEN_BACKEND is selectable on "Device Drivers", near the bottom > (look for"Backend driver support"). But it only shows up after > CONFIG_XEN_DOM0 is selected, which is under "Processor types and > features" -> "Paravirtualized guest support" -> "Enable Xen privileged > domain support" (which only shows up after you select "Xen guest > support") > >> It is a 32 bit system without VT. > > That might be the source of your problem. CONFIG_XEN_DOM0 depends on > CONFIG_XEN=y, which (from the help)Ohhh thanks for this message I think all my effort here might be futile. I got your point of using CentOS I have used CentOS in past just wanted to use Xen4.0 on Ubuntu 10.04 32 bit. I will try if I can get a 64 bit system but even that would be without VT. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Mon, Feb 28, 2011 at 12:19 AM, Tapas Mishra <mightydreams@gmail.com> wrote:>>> It is a 32 bit system without VT. >> >> That might be the source of your problem. CONFIG_XEN_DOM0 depends on >> CONFIG_XEN=y, which (from the help) > Ohhh thanks for this message I think all my effort here might be futile. > I got your point of using CentOS I have used CentOS in past just wanted to > use Xen4.0 on Ubuntu 10.04 32 bit. > I will try if I can get a 64 bit system but even that would be without VT.It seems I was wrong. You CAN build a 32bit Xen dom0 kernel, but you need to enable PAE first: - Processor type and features -> High Memory Support -> 64GB - Processor type and features -> Paravirtualized guest support -> "Xen guest support" and "Enable Xen privileged _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Mon, Feb 28, 2011 at 10:26 AM, Fajar A. Nugraha <list@fajar.net> wrote:> On Mon, Feb 28, 2011 at 12:19 AM, Tapas Mishra <mightydreams@gmail.com> wrote: >>>> It is a 32 bit system without VT. >>> >>> That might be the source of your problem. CONFIG_XEN_DOM0 depends on >>> CONFIG_XEN=y, which (from the help) >> Ohhh thanks for this message I think all my effort here might be futile. >> I got your point of using CentOS I have used CentOS in past just wanted to >> use Xen4.0 on Ubuntu 10.04 32 bit. >> I will try if I can get a 64 bit system but even that would be without VT. > > It seems I was wrong. You CAN build a 32bit Xen dom0 kernel, but you > need to enable PAE first: > - Processor type and features -> High Memory Support -> 64GB > - Processor type and features -> Paravirtualized guest support -> "Xen > guest support" and "Enable Xen privileged >Sorry, hit send to soon. It should be: - Processor type and features -> High Memory Support -> 64GB - Processor type and features -> Paravirtualized guest support -> "Xen guest support" and "Enable Xen privileged domain support" Then you should be able to select other xen-related options. I highly suggest you use 64bit when possible though. -- Fajar _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Mon, Feb 28, 2011 at 8:59 AM, Fajar A. Nugraha <list@fajar.net> wrote:> On Mon, Feb 28, 2011 at 10:26 AM, Fajar A. Nugraha <list@fajar.net> wrote: >> On Mon, Feb 28, 2011 at 12:19 AM, Tapas Mishra <mightydreams@gmail.com> wrote: >>>>> It is a 32 bit system without VT. >>>> >>>> That might be the source of your problem. CONFIG_XEN_DOM0 depends on >>>> CONFIG_XEN=y, which (from the help) >>> Ohhh thanks for this message I think all my effort here might be futile. >>> I got your point of using CentOS I have used CentOS in past just wanted to >>> use Xen4.0 on Ubuntu 10.04 32 bit. >>> I will try if I can get a 64 bit system but even that would be without VT. >> >> It seems I was wrong. You CAN build a 32bit Xen dom0 kernel, but you >> need to enable PAE first: >> - Processor type and features -> High Memory Support -> 64GB >> - Processor type and features -> Paravirtualized guest support -> "Xen >> guest support" and "Enable Xen privileged >> > > Sorry, hit send to soon. It should be: > - Processor type and features -> High Memory Support -> 64GBYes selected this> - Processor type and features -> Paravirtualized guest support -> "Xen > guest support"No I did not get this option (I have no clue why) and "Enable Xen privileged domain support"> > Then you should be able to select other xen-related options. I highly > suggest you use 64bit when possible though.So rest of the options also do not come. -- _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Mon, Feb 28, 2011 at 11:22 AM, Tapas Mishra <mightydreams@gmail.com> wrote:>> - Processor type and features -> High Memory Support -> 64GB > Yes selected this >> - Processor type and features -> Paravirtualized guest support -> "Xen >> guest support" > No I did not get this option (I have no clue why)Did you download the correct kernel source? From JF''s git tree, either xen/stable-2.6.32.x or xen/next-2.6.32? Did paravirtualized guest support option show up? -- Fajar _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Mon, Feb 28, 2011 at 10:07 AM, Fajar A. Nugraha <list@fajar.net> wrote:> On Mon, Feb 28, 2011 at 11:22 AM, Tapas Mishra <mightydreams@gmail.com> wrote: >>> - Processor type and features -> High Memory Support -> 64GB >> Yes selected this >>> - Processor type and features -> Paravirtualized guest support -> "Xen >>> guest support" >> No I did not get this option (I have no clue why) > > Did you download the correct kernel source? From JF''s git tree, either > xen/stable-2.6.32.x or xen/next-2.6.32?Yes I did git clone git://git.kernel.org/pub/scm/linux/kernel/git/jeremy/xen.git linux-2.6-xen cd linux-2.6-xen git pull git reset –hard git checkout -b xen/stable origin/xen/stable git pull> Did paravirtualized guest support option show up?Yes --- Paravirtualized guest support [*] VMI Guest support (DEPRECATED) [*] KVM paravirtualized clock [*] KVM Guest support [ ] Lguest guest support -*- Enable paravirtualization code [*] Paravirtualization layer for spinlocks _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Mon, Feb 28, 2011 at 3:10 PM, Tapas Mishra <mightydreams@gmail.com> wrote:> On Mon, Feb 28, 2011 at 10:07 AM, Fajar A. Nugraha <list@fajar.net> wrote: >> On Mon, Feb 28, 2011 at 11:22 AM, Tapas Mishra <mightydreams@gmail.com> wrote: >>>> - Processor type and features -> High Memory Support -> 64GB >>> Yes selected this >>>> - Processor type and features -> Paravirtualized guest support -> "Xen >>>> guest support" >>> No I did not get this option (I have no clue why) >> >> Did you download the correct kernel source? From JF''s git tree, either >> xen/stable-2.6.32.x or xen/next-2.6.32? > Yes I did > git clone git://git.kernel.org/pub/scm/linux/kernel/git/jeremy/xen.git > linux-2.6-xen > cd linux-2.6-xen > git pull > git reset –hard > git checkout -b xen/stable origin/xen/stable > git pull > >> Did paravirtualized guest support option show up? > Yes > --- Paravirtualized guest support > [*] VMI Guest support (DEPRECATED) > [*] KVM paravirtualized clock > [*] KVM Guest support > [ ] Lguest guest support > -*- Enable paravirtualization code > [*] Paravirtualization layer for spinlocksTwo things come to mind. One, you might be using a different branch than me. origin/xen/stable-2.6.32.x should contain newer code than origin/xen/stable (see http://git.kernel.org/?p=linux/kernel/git/jeremy/xen.git;a=heads for complete branch list). I haven''t tested xen/stable, so I don''t know what condition it currently is. Second, you might not select High Memory Support -> 64GB yet. By default, 4GB is selected instead of 64GB, in which case Xen options will be hidden (just like what you pasted). Other than those two, I don''t know what else can cause the difference. -- Fajar _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Mon, Feb 28, 2011 at 2:04 PM, Fajar A. Nugraha <list@fajar.net> wrote:> On Mon, Feb 28, 2011 at 3:10 PM, Tapas Mishra <mightydreams@gmail.com> wrote: >> On Mon, Feb 28, 2011 at 10:07 AM, Fajar A. Nugraha <list@fajar.net> wrote: >>> On Mon, Feb 28, 2011 at 11:22 AM, Tapas Mishra <mightydreams@gmail.com> wrote: >>>>> - Processor type and features -> High Memory Support -> 64GB >>>> Yes selected this >>>>> - Processor type and features -> Paravirtualized guest support -> "Xen >>>>> guest support" >>>> No I did not get this option (I have no clue why) >>> >>> Did you download the correct kernel source? From JF''s git tree, either >>> xen/stable-2.6.32.x or xen/next-2.6.32? >> Yes I did >> git clone git://git.kernel.org/pub/scm/linux/kernel/git/jeremy/xen.git >> linux-2.6-xen >> cd linux-2.6-xen >> git pull >> git reset –hard >> git checkout -b xen/stable origin/xen/stable >> git pull >> >>> Did paravirtualized guest support option show up? >> Yes >> --- Paravirtualized guest support >> [*] VMI Guest support (DEPRECATED) >> [*] KVM paravirtualized clock >> [*] KVM Guest support >> [ ] Lguest guest support >> -*- Enable paravirtualization code >> [*] Paravirtualization layer for spinlocks > > Two things come to mind. > > One, you might be using a different branch than me.Ok I am checking this part.Which branch do you use stable or unstable.> origin/xen/stable-2.6.32.x should contain newer code than > origin/xen/stable (see > http://git.kernel.org/?p=linux/kernel/git/jeremy/xen.git;a=heads for > complete branch list). I haven''t tested xen/stable, so I don''t know > what condition it currently is. > > Second, you might not select High Memory Support -> 64GB yet. By > default, 4GB is selected instead of 64GB, in which case Xen options > will be hidden (just like what you pasted).Well very surprisingly on a 64 bit system (this is also without VT) I just transferred the tree I had pulled on the 32 bit system and here I did see the Xen options in Processor type and features--> --- Paravirtualized guest support [*] Xen guest support [ ] Enable Xen debug and tuning parameters in debugfs [*] Enable Xen privileged domain support [ ] Enable support for Xen PCI passthrough devices (NEW) [*] KVM paravirtualized clock [*] KVM Guest support -*- Enable paravirtualization code [*] Paravirtualization layer for spinlocks what is visible in Processor type and features--> http://pastebin.com/N0gaJDgN but in Device Drivers option I again see the Xen specific options [*] Xen memory balloon driver [*] Scrub pages before returning them to system <M> Xen /dev/xen/evtchn device [*] Backend driver support (NEW) < > Xen backend network device (NEW) < > Block-device backend driver (NEW) < > Block-device tap backend driver (NEW) <*> PCI-device backend driver (NEW) PCI Backend Mode (Virtual PCI) ---> [ ] PCI Backend Debugging (NEW) <M> Xen filesystem [*] Create compatibility mount point /proc/xen [*] Create xen entries under /sys/hypervisor < > userspace grant access device driver (NEW) <M> xen platform pci device driver (NEW) but I do not see the High Memory Support option in this 64 bit system surprisingly. What branch do you use? _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Mon, Feb 28, 2011 at 5:01 PM, Tapas Mishra <mightydreams@gmail.com> wrote:> Well very surprisingly on a 64 bit system (this is also without VT) > I just transferred the tree I had pulled on the 32 bit system > and here I did see the Xen options inIf you can use 64bit, use it.> but I do not see the High Memory Support option in this 64 bit system > surprisingly.PAE is only needed for 32bit.> What branch do you use?xen/next-2.6.32 -- Fajar _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Mon, Feb 28, 2011 at 3:42 PM, Fajar A. Nugraha <list@fajar.net> wrote:> On Mon, Feb 28, 2011 at 5:01 PM, Tapas Mishra <mightydreams@gmail.com> wrote: >> Well very surprisingly on a 64 bit system (this is also without VT) >> I just transferred the tree I had pulled on the 32 bit system >> and here I did see the Xen options in > > If you can use 64bit, use it. > >> but I do not see the High Memory Support option in this 64 bit system >> surprisingly. > > PAE is only needed for 32bit.Ohh Ok thanks for clarifying that.>> What branch do you use? > > xen/next-2.6.32 > > -- > Fajar >-- _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Mon, Feb 28, 2011 at 3:46 PM, Tapas Mishra <mightydreams@gmail.com> wrote:> On Mon, Feb 28, 2011 at 3:42 PM, Fajar A. Nugraha <list@fajar.net> wrote: >> On Mon, Feb 28, 2011 at 5:01 PM, Tapas Mishra <mightydreams@gmail.com> wrote: >>> Well very surprisingly on a 64 bit system (this is also without VT) >>> I just transferred the tree I had pulled on the 32 bit system >>> and here I did see the Xen options in >> >> If you can use 64bit, use it. >> >>> but I do not see the High Memory Support option in this 64 bit system >>> surprisingly. >> >> PAE is only needed for 32bit. > Ohh Ok thanks for clarifying that. >>> What branch do you use? >> >> xen/next-2.6.32 >> >> --Sorry for my silly question but I thought it is better to ask. I was able to compile the Dom0 pv-ops kernel successfully finally. What I did here was one additional minor thing. Each time I invoked make I did some thing like make O=/output/dir modules_install install so in /output/dir I have vmlinuz and I see /output/dir/arch/x86_64/boot/bzImage which is a symlink to /output/dir/arch/x86/boot/bzImage my doubt is which one should I use /output/dir/arch/x86_64/boot/bzImage or /output/dir/vmlinuz it is a 64 bit system without VT but it seems the pv-ops kernel for Dom0 has compiled successfully. I tallied from the wiki here http://wiki.xensource.com/xenwiki/XenParavirtOps the symbols mentioned 1. CONFIG_PARAVIRT_GUEST=y 2. CONFIG_XEN=y 3. CONFIG_HVC_DRIVER=y and CONFIG_HVC_XEN=y and 4. CONFIG_XEN_BLKDEV_FRONTEND=m 5. CONFIG_XEN_NETDEV_FRONTEND=m are enabled in .config and the compilation upto this point proceeded without errors.I am confused only about the last part which one should I use vmlinuz or bzImage. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Mon, Feb 28, 2011 at 11:38 PM, Tapas Mishra <mightydreams@gmail.com> wrote:> On Mon, Feb 28, 2011 at 3:46 PM, Tapas Mishra <mightydreams@gmail.com> wrote: >> On Mon, Feb 28, 2011 at 3:42 PM, Fajar A. Nugraha <list@fajar.net> wrote: >>> On Mon, Feb 28, 2011 at 5:01 PM, Tapas Mishra <mightydreams@gmail.com> wrote: >>>> Well very surprisingly on a 64 bit system (this is also without VT) >>>> I just transferred the tree I had pulled on the 32 bit system >>>> and here I did see the Xen options in >>> >>> If you can use 64bit, use it. >>> >>>> but I do not see the High Memory Support option in this 64 bit system >>>> surprisingly. >>> >>> PAE is only needed for 32bit. >> Ohh Ok thanks for clarifying that. >>>> What branch do you use? >>> >>> xen/next-2.6.32 >>> >>> -- > Sorry for my silly question but I thought it is better to ask. > I was able to compile the Dom0 pv-ops kernel successfully finally. > > What I did here was one additional minor thing. > Each time I invoked make I did some thing like > make O=/output/dir modules_install install > so in /output/dir > I have vmlinuz and I see > /output/dir/arch/x86_64/boot/bzImage > which is a symlink to > /output/dir/arch/x86/boot/bzImage > my doubt is which one should I use > > /output/dir/arch/x86_64/boot/bzImage > or > /output/dir/vmlinuz > it is a 64 bit system without VT but it seems the pv-ops kernel for > Dom0 has compiled successfully. > I tallied from the wiki here > http://wiki.xensource.com/xenwiki/XenParavirtOps > the symbols mentioned > 1. CONFIG_PARAVIRT_GUEST=y > 2. CONFIG_XEN=y > > 3. CONFIG_HVC_DRIVER=y and CONFIG_HVC_XEN=y > and > 4. CONFIG_XEN_BLKDEV_FRONTEND=m > 5. CONFIG_XEN_NETDEV_FRONTEND=m > > are enabled in .config and the compilation upto this point proceeded > without errors.I am confused only about the last part which one should > I use vmlinuz or bzImage. >Ok I have been able to proceed this part.So no need to worry about this one. Here is how my grub.cfg looks like menuentry ''Ubuntu, with Xen and Linux 2.6.32.27'' --class ubuntu --class gnu-linux --class gnu --class os { recordfail insmod ext2 set root=''(hd0,8)'' search --no-floppy --fs-uuid --set 6061f210-470f-401d-a29e-3c631fc04af4 multiboot (hd0,8)/boot/xen.gz module /boot/vmlinuz-2.6.32.27 root=UUID=6061f210-470f-401d-a29e-3c631fc04af4 ro quiet splash module /boot/initrd.img-2.6.32.27 } and I was able to boot successfully but what I observed was after I booted my wifi has stopped working. PCI Id of wifi device 14e4:4315 Each time I try to install Broadcom STA driver(that is what was working in non xen part) from Ubuntu 10.04 (64 bit) gui System->Administration-->Hard Ware Drivers-->Broad Com STA driver I get a failure message which says me to check /var/log/jockey.log and here is the jockey.log http://pastebin.com/VBTLGw42 I had done update-rc.d xend defaults 20 21 update-rc.d xendomains defaults 21 20 to have xend as service I am not able to understand as how can I proceed 1) for the wireless part here. 2) when I type xm info I get following error xm info Traceback (most recent call last): File "/usr/sbin/xm", line 5, in <module> from xen.xm import main ImportError: No module named xen.xm _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Tue, Mar 1, 2011 at 1:27 AM, Tapas Mishra <mightydreams@gmail.com> wrote:> On Mon, Feb 28, 2011 at 11:38 PM, Tapas Mishra <mightydreams@gmail.com> wrote: >> On Mon, Feb 28, 2011 at 3:46 PM, Tapas Mishra <mightydreams@gmail.com> wrote: >>> On Mon, Feb 28, 2011 at 3:42 PM, Fajar A. Nugraha <list@fajar.net> wrote: >>>> On Mon, Feb 28, 2011 at 5:01 PM, Tapas Mishra <mightydreams@gmail.com> wrote: >>>>> Well very surprisingly on a 64 bit system (this is also without VT) >>>>> I just transferred the tree I had pulled on the 32 bit system >>>>> and here I did see the Xen options in >>>> >>>> If you can use 64bit, use it. >>>> >>>>> but I do not see the High Memory Support option in this 64 bit system >>>>> surprisingly. >>>> >>>> PAE is only needed for 32bit. >>> Ohh Ok thanks for clarifying that. >>>>> What branch do you use? >>>> >>>> xen/next-2.6.32 >>>> >>>> -- >> Sorry for my silly question but I thought it is better to ask. >> I was able to compile the Dom0 pv-ops kernel successfully finally. >> >> What I did here was one additional minor thing. >> Each time I invoked make I did some thing like >> make O=/output/dir modules_install install >> so in /output/dir >> I have vmlinuz and I see >> /output/dir/arch/x86_64/boot/bzImage >> which is a symlink to >> /output/dir/arch/x86/boot/bzImage >> my doubt is which one should I use >> >> /output/dir/arch/x86_64/boot/bzImage >> or >> /output/dir/vmlinuz >> it is a 64 bit system without VT but it seems the pv-ops kernel for >> Dom0 has compiled successfully. >> I tallied from the wiki here >> http://wiki.xensource.com/xenwiki/XenParavirtOps >> the symbols mentioned >> 1. CONFIG_PARAVIRT_GUEST=y >> 2. CONFIG_XEN=y >> >> 3. CONFIG_HVC_DRIVER=y and CONFIG_HVC_XEN=y >> and >> 4. CONFIG_XEN_BLKDEV_FRONTEND=m >> 5. CONFIG_XEN_NETDEV_FRONTEND=m >> >> are enabled in .config and the compilation upto this point proceeded >> without errors. > > and I was able to boot successfully but what I observed was > when I type xm info I get following error > > xm info > Traceback (most recent call last): > File "/usr/sbin/xm", line 5, in <module> > from xen.xm import main > ImportError: No module named xen.xm >So here I again installed the tools make install-tools PYTHON_PREFIX_ARG= (here I had not undone the step which I did in previous compile make install-tools) and rebooted in this new Xen-4.0.1 and 2.6.32.27 pv-ops Dom0 kernel I can see xm help with options coming but if I type xm info then I see following output xm info Error: Unable to connect to xend: No such file or directory. Is xend running? Here I as root did /etc/init.d/xend start but even after that I got the same message xm info Error: Unable to connect to xend: No such file or directory. Is xend running? So what is missing in the above step? -- http://mightydreams.blogspot.com _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Tue, Mar 1, 2011 at 9:11 AM, Tapas Mishra <mightydreams@gmail.com> wrote:> I see following output > > xm info > Error: Unable to connect to xend: No such file or directory. Is xend running? > > > Here I as root did /etc/init.d/xend start > but even after that I got the same message > > xm info > Error: Unable to connect to xend: No such file or directory. Is xend running? > > So what is missing in the above step?Do you have /dev/xen/evtchn and /dev/xen/gntdev? If not, see my previous mail about kernel config options. Also, what does /var/log/xen/xend.log say? -- Fajar _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Tue, Mar 1, 2011 at 8:16 AM, Fajar A. Nugraha <list@fajar.net> wrote:> On Tue, Mar 1, 2011 at 9:11 AM, Tapas Mishra <mightydreams@gmail.com> wrote: >> I see following output >> >> xm info >> Error: Unable to connect to xend: No such file or directory. Is xend running? >> >> >> Here I as root did /etc/init.d/xend start >> but even after that I got the same message >> >> xm info >> Error: Unable to connect to xend: No such file or directory. Is xend running? >> >> So what is missing in the above step? > > Do you have /dev/xen/evtchn and /dev/xen/gntdev? If not, see my > previous mail about kernel config options.No /dev/xen device is completely missing. In case I decide to re compile the whole thing then I have already done in the xen-4.0.1 folder make xen make tools make stubdom make install xen make install stubdom now in case of tools I did mistake I first did make install tools and when things did not worked searched and did make install-tools PYTHON_PREFIX_ARGas this blog said http://bderzhavets.wordpress.com/2010/07/08/set-up-xen-4-1-unstable-2-6-32-16-pvops-dom0-on-top-of-ubuntu-10-04-server/ so is there a way to undo the aboxe make installs or makes of xen the 2.6.32.27 I still will re compile.> Also, what does /var/log/xen/xend.log say?I had checked it but it is completely blank though I have rebooted 5-6 times. -- _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Tue, Mar 1, 2011 at 9:08 AM, Tapas Mishra <mightydreams@gmail.com> wrote:> On Tue, Mar 1, 2011 at 8:16 AM, Fajar A. Nugraha <list@fajar.net> wrote: >> On Tue, Mar 1, 2011 at 9:11 AM, Tapas Mishra <mightydreams@gmail.com> wrote: >>> I see following output >>> >>> xm info >>> Error: Unable to connect to xend: No such file or directory. Is xend running? >>> >>> >>> Here I as root did /etc/init.d/xend start >>> but even after that I got the same message >>> >>> xm info >>> Error: Unable to connect to xend: No such file or directory. Is xend running? >>> >>> So what is missing in the above step? >> >> Do you have /dev/xen/evtchn and /dev/xen/gntdev? If not, see my >> previous mail about kernel config options. > No /dev/xen device is completely missing. > In case I decide to re compile the whole thing then > I have already done in the xen-4.0.1 folder > make xen > make tools > make stubdom > make install xen > make install stubdom > > now in case of tools I did mistake I first did > make install tools > and when things did not worked searched and did > make install-tools PYTHON_PREFIX_ARG> as this blog said > http://bderzhavets.wordpress.com/2010/07/08/set-up-xen-4-1-unstable-2-6-32-16-pvops-dom0-on-top-of-ubuntu-10-04-server/ > > so is there a way to undo the aboxe make installs or makes of xen > the 2.6.32.27 I still will re compile. >> Also, what does /var/log/xen/xend.log say? > I had checked it but it is completely blank though I have rebooted 5-6 times. > > > -- >I also noticed from the config you mentioned in this thread and the one which I have with me (with which all things compiled) there are following differences # CONFIG_XEN_DEBUG_FS is not set CONFIG_XEN_BLKBACK_PAGEMAP <--- is completely missing # CONFIG_XEN_NETDEV_BACKEND is not set # CONFIG_XEN_BLKDEV_BACKEND is not set # CONFIG_XEN_BLKDEV_TAP is not set CONFIG_XENFS=y # CONFIG_XEN_GNTDEV is not set Is there a way to undo things specially for the make commands? Here I see this 2.6.32.27 related files in /lib/modules/2.6.32.27 /boot and /mnt/1/fajar/linux-2.6-xen <-- basically here is where I did all compile on this pv-ops dom0 kernel. I did a find on xen-4.0.1 and found only at one place where every thing was untarred (so if I delete this and do make xen etc again will that be Ok) _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Tue, Mar 1, 2011 at 9:29 AM, Tapas Mishra <mightydreams@gmail.com> wrote:> On Tue, Mar 1, 2011 at 9:08 AM, Tapas Mishra <mightydreams@gmail.com> wrote: >> On Tue, Mar 1, 2011 at 8:16 AM, Fajar A. Nugraha <list@fajar.net> wrote: >>> On Tue, Mar 1, 2011 at 9:11 AM, Tapas Mishra <mightydreams@gmail.com> wrote: >>>> I see following output >>>> >>>> xm info >>>> Error: Unable to connect to xend: No such file or directory. Is xend running? >>>> >>>> >>>> Here I as root did /etc/init.d/xend start >>>> but even after that I got the same message >>>> >>>> xm info >>>> Error: Unable to connect to xend: No such file or directory. Is xend running? >>>> >>>> So what is missing in the above step? >>> >>> Do you have /dev/xen/evtchn and /dev/xen/gntdev? If not, see my >>> previous mail about kernel config options. >> No /dev/xen device is completely missing. >> In case I decide to re compile the whole thing then >> I have already done in the xen-4.0.1 folder >> make xen >> make tools >> make stubdom >> make install xen >> make install stubdom >> >> now in case of tools I did mistake I first did >> make install tools >> and when things did not worked searched and did >> make install-tools PYTHON_PREFIX_ARG>> as this blog said >> http://bderzhavets.wordpress.com/2010/07/08/set-up-xen-4-1-unstable-2-6-32-16-pvops-dom0-on-top-of-ubuntu-10-04-server/ >> >> so is there a way to undo the aboxe make installs or makes of xen >> the 2.6.32.27 I still will re compile. >>> Also, what does /var/log/xen/xend.log say? >> I had checked it but it is completely blank though I have rebooted 5-6 times. >> >> >> -- >> > I also noticed from the config you mentioned in this thread and the > one which I have with me (with which all things compiled) > there are following differences > > # CONFIG_XEN_DEBUG_FS is not set > CONFIG_XEN_BLKBACK_PAGEMAP <--- is completely missing > # CONFIG_XEN_NETDEV_BACKEND is not set > # CONFIG_XEN_BLKDEV_BACKEND is not set > # CONFIG_XEN_BLKDEV_TAP is not set > CONFIG_XENFS=y > # CONFIG_XEN_GNTDEV is not set > > Is there a way to undo things specially for the make commands?Ok I read the Makefile /mnt/1/fajar/xen-4.0.1/Makefile and found make clean and make uninstall have done the job.(Correct me if I am mistaken here) I think I need to rebuild the kernel 2.6.32.27 and xen etc from here on. -- _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Tue, Mar 1, 2011 at 11:22 AM, Tapas Mishra <mightydreams@gmail.com> wrote:>> Is there a way to undo things specially for the make commands? > Ok I read the Makefile > /mnt/1/fajar/xen-4.0.1/Makefile > and found make clean and make uninstall have done the job.(Correct me > if I am mistaken here) > I think I need to rebuild the kernel 2.6.32.27 and xen etc from here on.Since you''re able to run "xm", you should only need to recompile the kernel. Start with setting the options I sent to "y" (if it''s available, just ignore the ones that doesn''t exist on your kernel). -- Fajar _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Tue, Mar 1, 2011 at 10:01 AM, Fajar A. Nugraha <list@fajar.net> wrote:> On Tue, Mar 1, 2011 at 11:22 AM, Tapas Mishra <mightydreams@gmail.com> wrote: >>> Is there a way to undo things specially for the make commands? >> Ok I read the Makefile >> /mnt/1/fajar/xen-4.0.1/Makefile >> and found make clean and make uninstall have done the job.(Correct me >> if I am mistaken here) >> I think I need to rebuild the kernel 2.6.32.27 and xen etc from here on. > > Since you''re able to run "xm", you should only need to recompile the > kernel. Start with setting the options I sent to "y" (if it''s > available, just ignore the ones that doesn''t exist on your kernel). >Ok I was thinking of copying your .config options from this thread to the .config of mine if I do that would it be wrong? Since you mentioned to ignore the ones that don''t exist on my kernel. Also I found when doing make install-tools the git pull was happening from buildconfigs/src.git-clone so I have commented these lines # rm -rf $(LINUX_SRCDIR) $(LINUX_SRCDIR).tmp; \ # mkdir $(LINUX_SRCDIR).tmp; rmdir $(LINUX_SRCDIR).tmp; \ # $(GIT) clone -o $(XEN_GIT_ORIGIN) -n $(XEN_LINUX_GIT_URL) $(LINUX_SRCDIR).tmp; \ # (cd $(LINUX_SRCDIR).tmp; git checkout -b $(XEN_LINUX_GIT_LOCALBRANCH) $(XEN_LINUX_GITREV) ); \ # mv $(LINUX_SRCDIR).tmp $(LINUX_SRCDIR); \ and from buildconfigs/mk.linux-2.6-common # rm -rf $(LINUX_DIR) # mkdir -p $(LINUX_DIR) # rm -rf tmp-linux-$(LINUX_VER) $(LINUX_DIR) $(LINUX_SRCDIR) # rm -rf $(LINUX_SRCDIR) and what I did is I have a copy of linux-2.6-pvops.git so I manually copied it to /mnt/1/fajar/xen-4.0.1 and now restarting process of make install-tools so my question is above way of commenting out git pull lines and then putting them in xen source dir is wrong or can lead to wrong results? The only problem being I can not each time do a git pull and wait for 4 hours for 850 Mb to download. If this is not then I am proceeding this way and going to compile the new kernel. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Tue, Mar 1, 2011 at 10:39 AM, Tapas Mishra <mightydreams@gmail.com> wrote:> On Tue, Mar 1, 2011 at 10:01 AM, Fajar A. Nugraha <list@fajar.net> wrote: >> On Tue, Mar 1, 2011 at 11:22 AM, Tapas Mishra <mightydreams@gmail.com> wrote: >>>> Is there a way to undo things specially for the make commands? >>> Ok I read the Makefile >>> /mnt/1/fajar/xen-4.0.1/Makefile >>> and found make clean and make uninstall have done the job.(Correct me >>> if I am mistaken here) >>> I think I need to rebuild the kernel 2.6.32.27 and xen etc from here on. >> >> Since you''re able to run "xm", you should only need to recompile the >> kernel. Start with setting the options I sent to "y" (if it''s >> available, just ignore the ones that doesn''t exist on your kernel). >> > Ok I was thinking of copying your .config options from this thread to > the .config of mine if I do that would it be wrong? > Since you mentioned to ignore the ones that don''t exist on my kernel. > > Also I found when doing make install-tools > the git pull was happening from > buildconfigs/src.git-clone > so I have commented these lines > > > # rm -rf $(LINUX_SRCDIR) $(LINUX_SRCDIR).tmp; \ > # mkdir $(LINUX_SRCDIR).tmp; rmdir $(LINUX_SRCDIR).tmp; \ > # $(GIT) clone -o $(XEN_GIT_ORIGIN) -n > $(XEN_LINUX_GIT_URL) $(LINUX_SRCDIR).tmp; \ > # (cd $(LINUX_SRCDIR).tmp; git checkout -b > $(XEN_LINUX_GIT_LOCALBRANCH) $(XEN_LINUX_GITREV) ); \ > # mv $(LINUX_SRCDIR).tmp $(LINUX_SRCDIR); \ > > > and from buildconfigs/mk.linux-2.6-common > > > # rm -rf $(LINUX_DIR) > # mkdir -p $(LINUX_DIR) > # rm -rf tmp-linux-$(LINUX_VER) $(LINUX_DIR) $(LINUX_SRCDIR) > # rm -rf $(LINUX_SRCDIR) > > and what I did is I have a copy of linux-2.6-pvops.git so I manually > copied it to > /mnt/1/fajar/xen-4.0.1 > and now restarting process of make install-tools > > so my question is above way of commenting out git pull lines and then > putting them in xen source dir is wrong or can lead to wrong results? > The only problem being I can not each time do a git pull and wait for > 4 hours for 850 Mb to download. > If this is not then I am proceeding this way and going to compile the > new kernel. >Ok finally I am answering my question I have done the way I mentioned above as git pull was costly. Things have worked finally without any error and almost perfectly. for tools I had to use make install-tools PYTHON_PREFIX_ARG and after that I rebooted xm info shows host : tapas release : 2.6.32.27 version : #1 SMP Tue Mar 1 12:52:19 IST 2011 machine : x86_64 nr_cpus : 2 nr_nodes : 1 cores_per_socket : 2 threads_per_core : 1 cpu_mhz : 2100 hw_caps : bfebfbff:20100800:00000000:00000940:0408e39d:00000000:00000001:00000000 virt_caps : total_memory : 3036 free_memory : 128 node_to_cpu : node0:0-1 node_to_memory : node0:128 node_to_dma32_mem : node0:128 max_node_id : 0 xen_major : 4 xen_minor : 0 xen_extra : .1 xen_caps : xen-3.0-x86_64 xen-3.0-x86_32p xen_scheduler : credit xen_pagesize : 4096 platform_params : virt_start=0xffff800000000000 xen_changeset : unavailable xen_commandline : dummy=dummy cc_compiler : gcc version 4.4.3 (Ubuntu 4.4.3-4ubuntu5) cc_compile_by : root cc_compile_domain : cc_compile_date : Tue Mar 1 10:51:33 IST 2011 xend_config_format : 4 and xm list shows Name ID Mem VCPUs State Time(s) Domain-0 0 2870 2 r----- 36.9 Let me know if any one sees any error here.I think upto here things are absolutely perfect. I have used the .config file you mentioned in this thread and was able to get all options as you mentioned. For just sake of information I am mentioning what I got in xen.log http://pastebin.com/ZJ9BCMLq and xend-debug.log http://pastebin.com/C6DQ5DP3 I was able to get Dom0 booting. I wish if after this I can use my wireless also in Dom0. The device on Dom0 I has PCI Id 14e4:4315 when booted with this new kernel pv-ops Dom0 kernel 2.6.32.27 checked lspci -vnn it shows 0c:00.0 Network controller [0280]: Broadcom Corporation BCM4312 802.11b/g [14e4:4315] (rev 01) Subsystem: Dell Device [1028:000c] Flags: bus master, fast devsel, latency 0, IRQ 4 Memory at f69fc000 (64-bit, non-prefetchable) [size=16K] Capabilities: [40] Power Management version 3 Capabilities: [58] Vendor Specific Information <?> Capabilities: [e8] Message Signalled Interrupts: Mask- 64bit+ Queue=0/0 Enable- Capabilities: [d0] Express Endpoint, MSI 00 Capabilities: [100] Advanced Error Reporting <?> Capabilities: [13c] Virtual Channel <?> Capabilities: [16c] Power Budgeting <?> Kernel modules: ssb where as in the old kernel (which still is there with working wifi this is without Xen) lspci -vnn shows 0c:00.0 Network controller [0280]: Broadcom Corporation BCM4312 802.11b/g [14e4:4315] (rev 01) Subsystem: Dell Device [1028:000c] Flags: bus master, fast devsel, latency 0, IRQ 17 Memory at f69fc000 (64-bit, non-prefetchable) [size=16K] Capabilities: [40] Power Management version 3 Capabilities: [58] Vendor Specific Information <?> Capabilities: [e8] Message Signalled Interrupts: Mask- 64bit+ Queue=0/0 Enable- Capabilities: [d0] Express Endpoint, MSI 00 Capabilities: [100] Advanced Error Reporting <?> Capabilities: [13c] Virtual Channel <?> Capabilities: [16c] Power Budgeting <?> Kernel driver in use: wl Kernel modules: wl, ssb In the above kernel the wifi works and you can see a wl driver in use.How ever in the newly compiled pv-ops kernel I mentioned wl driver is missing.Is there a way to load it from system some how or what more can I do to get my wifi back.When I had installed Ubuntu then while being connected from my LAN from Ubuntu 10.04 (64 bit) gui I had installed driver in (default 2.6.32.24 kernel) System->Administration-->Hard Ware Drivers-->Broad Com STA driver I but if I do the same in new 2.6.32.27 kernel which I compiled) System->Administration-->Hard Ware Drivers-->Broad Com STA driver get a failure message which says me to check /var/log/jockey.log and here is the jockey.log http://pastebin.com/VBTLGw42 how ever I feel the problem is rather simple and some thing is missing. /etc/modprobe.d/blacklist.conf I have # replaced by b43 and ssb. blacklist bcm43xx also checked wl.ko driver in the old working kernel is at following location /var/lib/dkms/bcmwl/5.60.48.36+bdcom/2.6.32-24-generic/x86_64/module/wl.ko If you notice in above output it has path to 2.6.32-24-generic kernel. I do not have any problem in using my wifi when I boot with 2.6.32.24 (which is what was installed during installation from Ubuntu CD) but when I boot 2.6.32.27 (which I had compiled) I do not get my wireless back and lspci shows above output as I mentioned where wl driver is missing.So how can I get this back? Is it possible to have some thing like /var/lib/dkms/bcmwl/5.60.48.36+bdcom/2.6.32.27/x86_64/module/wl.ko for new kernel that I compiled.Let me know how can I get beyond this point.I feel this can give me the wifi back but how to go for this one I am not clear. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
hai guys, i have similar problem when xen compilation i following step in https://www.kernel.org/doc/Documentation/ia64/xen.txt, my server ia64 architecture i execute : make word and get error message : /root/xen-unstable/linux-2.6.18-xen.hg/arch/ia64/xen/hypervisor.c: In function ‘__xen_create_contiguous_region’: /root/xen-unstable/linux-2.6.18-xen.hg/arch/ia64/xen/hypervisor.c:115: error: unknown field ‘address_bits’ specified in initializer /root/xen-unstable/linux-2.6.18-xen.hg/arch/ia64/xen/hypervisor.c: In function ‘__xen_destroy_contiguous_region’: /root/xen-unstable/linux-2.6.18-xen.hg/arch/ia64/xen/hypervisor.c:209: error: unknown field ‘address_bits’ specified in initializer make[7]: *** [arch/ia64/xen/hypervisor.o] Error 1 make[6]: *** [arch/ia64/xen] Error 2 make[5]: *** [vmlinuz] Error 2 make[4]: *** [vmlinuz] Error 2 make[4]: Leaving directory `/root/xen-unstable/build-linux-2.6.18-xen_ia64' make[3]: *** [build] Error 2 make[3]: Leaving directory `/root/xen-unstable' make[2]: *** [linux-2.6-xen-install] Error 2 make[2]: Leaving directory `/root/xen-unstable' make[1]: *** [install-kernels] Error 1 make[1]: Leaving directory `/root/xen-unstable' make: *** [world] Error 2 any clue for solved error ? Thanks -- View this message in context: http://xen.1045712.n5.nabble.com/xen-compilation-is-giving-errors-tp3387271p5718640.html Sent from the Xen - User mailing list archive at Nabble.com. _______________________________________________ Xen-users mailing list Xen-users@lists.xen.org http://lists.xen.org/xen-users
On Mon, 2013-09-16 at 03:48 -0700, maswid wrote:> hai guys, > i have similar problem when xen compilationWhich version / changeset? No modern version of Xen builds a kernel AFAIK.> i following step in https://www.kernel.org/doc/Documentation/ia64/xen.txt, > my server ia64 architectureia64 == Itanium, support for which was dropped from Xen from the 4.2 release onwards. Are you sure you mean ia64 and not amd64 AKA x86_64 AKA ia32e (the 64 bit extensions for the normal PC type processors, which are sometimes confused for ia64)? Ian