This is what I have in my xen-unstable.hg diretory I want to do a ''make menuconfig; but I am not sure which linux directory to issue it in. Of the 5 that are there I can only find a .config file in the build-linux-2.6.18-xen_x86_32, would this be the one? Thanks for any help, Jon root@xen2:/usr/local/src/Xen/xen-unstable.hg# ls -l total 41028 -rw-r--r-- 1 root root 19355 2007-03-09 15:12 COPYING -rw-r--r-- 1 root root 2290 2007-03-09 15:12 Config.mk -rw-r--r-- 1 root root 6562 2007-03-09 15:12 Makefile -rw-r--r-- 1 root root 7206 2007-03-09 15:12 README drwxr-xr-x 20 root root 4096 2007-03-09 17:08 build-linux-2.6.18-xen_x86_32/ drwxr-xr-x 3 root root 4096 2007-03-09 15:12 buildconfigs/ drwxr-xr-x 2 root root 4096 2007-03-09 15:12 config/ drwxr-xr-x 4 root root 4096 2007-03-09 16:43 dist/ drwxr-xr-x 7 root root 4096 2007-03-09 15:12 docs/ drwxr-xr-x 3 root root 4096 2007-03-09 15:12 extras/ -rwxr-xr-x 1 root root 1161 2007-03-09 15:12 install.sh* drwxr-xr-x 11 root root 4096 2007-03-09 15:12 linux-2.6-xen-sparse/ drwxr-xr-x 19 root root 4096 2007-03-09 17:04 linux-2.6.18-xen/ -rw-r--r-- 1 root root 41863580 2006-09-19 19:56 linux-2.6.18.tar.bz2 drwxr-xr-x 3 root root 4096 2007-03-09 15:12 patches/ drwxr-xr-x 19 root root 4096 2007-03-09 15:50 pristine-linux-2.6.18/ drwxr-xr-x 19 root root 4096 2007-03-09 15:50 ref-linux-2.6.18/ drwxr-xr-x 30 root root 4096 2007-03-09 15:12 tools/ drwxr-xr-x 3 root root 4096 2007-03-09 15:12 unmodified_drivers/ drwxr-xr-x 8 root root 4096 2007-03-09 16:44 xen/ root@xen2:/usr/local/src/Xen/xen-unstable.hg# _______________________________________________ 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 > Jon Reynolds > Sent: 09 March 2007 10:02 > To: xen-users@lists.xensource.com > Subject: [Xen-users] Which source directory for make > > This is what I have in my xen-unstable.hg diretory I want to > do a ''make > menuconfig; but I am not sure which linux directory to issue it in. > > Of the 5 that are there I can only find a .config file in the > build-linux-2.6.18-xen_x86_32, would this be the one?That''s the "base one", which is copied to your "linux-2.6.18-xen" where your kernel is built. I find the best way to do menuconfig changes is to first do a build, then do make menuconfig on the kernel (in practice, I always end up doing so, because I almost always forget to build the right bits, so I have to add something after I tried to boot the broken kernel... :-( ) Note: "make world" will re-instate the original .config, so don''t do that after you''ve configured your kernel. If you want to remake everything, do "make clean all". -- Mats> > Thanks for any help, > > Jon > > root@xen2:/usr/local/src/Xen/xen-unstable.hg# ls -l > total 41028 > -rw-r--r-- 1 root root 19355 2007-03-09 15:12 COPYING > -rw-r--r-- 1 root root 2290 2007-03-09 15:12 Config.mk > -rw-r--r-- 1 root root 6562 2007-03-09 15:12 Makefile > -rw-r--r-- 1 root root 7206 2007-03-09 15:12 README > drwxr-xr-x 20 root root 4096 2007-03-09 17:08 > build-linux-2.6.18-xen_x86_32/ > drwxr-xr-x 3 root root 4096 2007-03-09 15:12 buildconfigs/ > drwxr-xr-x 2 root root 4096 2007-03-09 15:12 config/ > drwxr-xr-x 4 root root 4096 2007-03-09 16:43 dist/ > drwxr-xr-x 7 root root 4096 2007-03-09 15:12 docs/ > drwxr-xr-x 3 root root 4096 2007-03-09 15:12 extras/ > -rwxr-xr-x 1 root root 1161 2007-03-09 15:12 install.sh* > drwxr-xr-x 11 root root 4096 2007-03-09 15:12 > linux-2.6-xen-sparse/ > drwxr-xr-x 19 root root 4096 2007-03-09 17:04 linux-2.6.18-xen/ > -rw-r--r-- 1 root root 41863580 2006-09-19 19:56 linux-2.6.18.tar.bz2 > drwxr-xr-x 3 root root 4096 2007-03-09 15:12 patches/ > drwxr-xr-x 19 root root 4096 2007-03-09 15:50 > pristine-linux-2.6.18/ > drwxr-xr-x 19 root root 4096 2007-03-09 15:50 ref-linux-2.6.18/ > drwxr-xr-x 30 root root 4096 2007-03-09 15:12 tools/ > drwxr-xr-x 3 root root 4096 2007-03-09 15:12 unmodified_drivers/ > drwxr-xr-x 8 root root 4096 2007-03-09 16:44 xen/ > root@xen2:/usr/local/src/Xen/xen-unstable.hg# > > _______________________________________________ > 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, Mar 09, 2007 at 01:01:30AM -0900, Jon Reynolds wrote:> This is what I have in my xen-unstable.hg diretory I want to do a ''make > menuconfig; but I am not sure which linux directory to issue it in.Download/unpack the source and run: make linux-2.6-xen-config CONFIGMODE=menuconfig make linux-2.6-xen-build make linux-2.6-xen-install This will just configure, build, and install a xen kernel. (Quoted from the tail end of the README file in the top-level Xen source directory.) Steve -- http://www.steve.org.uk/ _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Fri, 2007-03-09 at 10:28 +0000, Steve Kemp wrote:> On Fri, Mar 09, 2007 at 01:01:30AM -0900, Jon Reynolds wrote: > > > This is what I have in my xen-unstable.hg diretory I want to do a ''make > > menuconfig; but I am not sure which linux directory to issue it in. > > Download/unpack the source and run: > > make linux-2.6-xen-config CONFIGMODE=menuconfig > make linux-2.6-xen-build > make linux-2.6-xen-install > > This will just configure, build, and install a xen kernel. > > (Quoted from the tail end of the README file in the top-level > Xen source directory.) > > SteveI think he just wants to tweak one already there and is stuck in buildconfigs/ Just go to the linux tree that you want, i.e. cd linux-2.6.16.33-xen and type ''make menuconfig'' as usual. The stuff in buildconfigs/ are default configurations, the ones used to get you this far. Changing them will change how xen builds those kernels by default, such as on first build or after a make distclean. Moreover, if you want a kernel you created to be re-created after a make distclean, its config needs to find its way into buildconfigs/ , named after the others you see there, one for each platform. Best thing to do is just make a clone of the mercurial clone : hg clone xen-3.0.4-unstable xen-3.0.4-sandbox Then do your playing in sandbox. Hope this helps. Best, --Tim _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users