Ales Jagodnik
2006-May-20 12:45 UTC
[Xen-users] smbfs support in domU, domU kernel compilation problems
Hi! I would like to add smbfs support to domU but I have problems with kernel compilation. I have a xen 3.0.1 dom0 on debian sarge (source installation). I have customized my dom0 kernel with "make menuconfig" inside linux-2.6.12-xen0 directory and now I want to add smbfs+cifs (compiled in/not modules) support to my domU kernel in a similar way. After running "make menuconfig" in linux-2.6.12-xenU directory, selecting smbfs support and running "make world" in /usr/src/xen compilation starts. After installation and rebooting of domU domains smbfs still isn''t supported. Once again I went to linux-2.6.12-xenU directory, started "make menuconfig" only to find out that all options have been "reset", thus there is no smbfs/cifs support. During domU kernel compilation I don''t see any "fs/smb*" lines. What am I doing wrong? Exact order of commands: cd /usr/srv/xen/linux-2.6.12-xenU make menuconfig (add support to smbfs/cifs) cd .. (/usr/srv/xen) make world (compilation) make install (reboot of domU domains) thanks _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Ales Jagodnik
2006-May-20 16:15 UTC
[Xen-users] smbfs support in domU, domU kernel compilation problems
Hi! I would like to add smbfs support to domU but I have problems with kernel compilation. I have a xen 3.0.1 dom0 on debian sarge (source installation). I have customized my dom0 kernel with "make menuconfig" inside linux-2.6.12-xen0 directory and now I want to add smbfs+cifs (compiled in/not modules) support to my domU kernel in a similar way. After running "make menuconfig" in linux-2.6.12-xenU directory, selecting smbfs support and running "make world" in /usr/src/xen compilation starts. After installation and rebooting of domU domains smbfs still isn''t supported. Once again I went to linux-2.6.12-xenU directory, started "make menuconfig" only to find out that all options have been "reset", thus there is no smbfs/cifs support. During domU kernel compilation I don''t see any "fs/smb*" lines. What am I doing wrong? Exact order of commands: cd /usr/srv/xen/linux-2.6.12-xenU make menuconfig (add support to smbfs/cifs) cd .. (/usr/srv/xen) make world (compilation) make install (reboot of domU domains) thanks _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Sadique
2006-May-20 16:34 UTC
Re: [Xen-users] smbfs support in domU, domU kernel compilation problems
Do not use "make world" it would reset the kernel .config to xen default. Please use "make dist" instead. Thanks Sadique Ales Jagodnik wrote:>Hi! > >I would like to add smbfs support to domU but I have problems with kernel compilation. > >I have a xen 3.0.1 dom0 on debian sarge (source installation). >I have customized my dom0 kernel with "make menuconfig" inside linux-2.6.12-xen0 directory >and now I want to add smbfs+cifs (compiled in/not modules) support to my domU kernel in a similar way. > >After running "make menuconfig" in linux-2.6.12-xenU directory, selecting smbfs support and >running "make world" in /usr/src/xen compilation starts. >After installation and rebooting of domU domains smbfs still isn''t supported. >Once again I went to linux-2.6.12-xenU directory, started "make menuconfig" only to find out >that all options have been "reset", thus there is no smbfs/cifs support. >During domU kernel compilation I don''t see any "fs/smb*" lines. >What am I doing wrong? > >Exact order of commands: >cd /usr/srv/xen/linux-2.6.12-xenU >make menuconfig (add support to smbfs/cifs) >cd .. (/usr/srv/xen) >make world (compilation) >make install >(reboot of domU domains) > >thanks > >_______________________________________________ >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
Ales Jagodnik
2006-May-20 17:06 UTC
Re: [Xen-users] smbfs support in domU, domU kernel compilation problems
"make dist" fails when trying to compile xenU kernel, obiously there is no /include/asm-xen/asm_offsets.h.tmp... output ####### .... make -f buildconfigs/mk.linux-2.6-xenU build make[2]: Entering directory `/usr/src/xen-3.0.1'' if grep "^CONFIG_MODULES=" linux-2.6.12-xenU/.config ; then \ make -C linux-2.6.12-xenU ARCH=xen modules ; \ make -C linux-2.6.12-xenU ARCH=xen INSTALL_MOD_PATH=/usr/src/xen-3.0.1/dist/install modules_install ; \ fi CONFIG_MODULES=y make[3]: Entering directory `/usr/src/xen-3.0.1/linux-2.6.12-xenU'' CHK include/linux/version.h SPLIT include/linux/autoconf.h -> include/config/* CHK include/asm-xen/asm_offsets.h /bin/sh: line 1: arch//kernel/asm-offsets.s: No such file or directory UPD include/asm-xen/asm_offsets.h mv: cannot stat `include/asm-xen/asm_offsets.h.tmp'': No such file or directory make[3]: *** [include/asm-xen/asm_offsets.h] Error 1 make[3]: Leaving directory `/usr/src/xen-3.0.1/linux-2.6.12-xenU'' make[3]: Entering directory `/usr/src/xen-3.0.1/linux-2.6.12-xenU'' if [ -r System.map -a -x /sbin/depmod ]; then /sbin/depmod -ae -F System.map -b /usr/src/xen-3.0.1/dist/install -r 2.6.12.6-xenU; fi make[3]: Leaving directory `/usr/src/xen-3.0.1/linux-2.6.12-xenU'' make -C linux-2.6.12-xenU ARCH=xen INSTALL_PATH=/usr/src/xen-3.0.1/dist/install install make[3]: Entering directory `/usr/src/xen-3.0.1/linux-2.6.12-xenU'' CHK include/linux/version.h CHK include/asm-xen/asm_offsets.h /bin/sh: line 1: arch//kernel/asm-offsets.s: No such file or directory UPD include/asm-xen/asm_offsets.h mv: cannot stat `include/asm-xen/asm_offsets.h.tmp'': No such file or directory make[3]: *** [include/asm-xen/asm_offsets.h] Error 1 make[3]: Leaving directory `/usr/src/xen-3.0.1/linux-2.6.12-xenU'' make[2]: *** [build] Error 2 make[2]: Leaving directory `/usr/src/xen-3.0.1'' make[1]: *** [linux-2.6-xenU-install] Error 2 make[1]: Leaving directory `/usr/src/xen-3.0.1'' make: *** [install-kernels] Error 1 ###### thanks> > Do not use "make world" it would reset the kernel .config to xen > default. Please use "make dist" instead. > > Thanks > Sadique > > Ales Jagodnik wrote: > > >Hi! > > > >I would like to add smbfs support to domU but I have problems with kernel compilation. > > > >I have a xen 3.0.1 dom0 on debian sarge (source installation). > >I have customized my dom0 kernel with "make menuconfig" inside linux-2.6.12-xen0 directory > >and now I want to add smbfs+cifs (compiled in/not modules) support to my domU kernel in a similar way. > > > >After running "make menuconfig" in linux-2.6.12-xenU directory, selecting smbfs support and > >running "make world" in /usr/src/xen compilation starts. > >After installation and rebooting of domU domains smbfs still isn''t supported. > >Once again I went to linux-2.6.12-xenU directory, started "make menuconfig" only to find out > >that all options have been "reset", thus there is no smbfs/cifs support. > >During domU kernel compilation I don''t see any "fs/smb*" lines. > >What am I doing wrong? > > > >Exact order of commands: > >cd /usr/srv/xen/linux-2.6.12-xenU > >make menuconfig (add support to smbfs/cifs) > >cd .. (/usr/srv/xen) > >make world (compilation) > >make install > >(reboot of domU domains) > > > >thanks > > > >_______________________________________________ > >Xen-users mailing list > >Xen-users@lists.xensource.com > >http://lists.xensource.com/xen-users > > > > > > > > > >-- Aleš Jagodnik Sistemski administrator za UNIX okolje Interseek d.o.o., Stegne 31, SI-1000 Ljubljana e-mail > ales.jagodnik@interseek.si www.interseek.si, www.noviforum.si, www.najdi.si _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Ales Jagodnik
2006-May-20 21:21 UTC
Re: [Xen-users] smbfs support in domU, domU kernel compilation problems
Thanks. Something similar worked for me: make ARCH=xen menuconfig (in xenU directory) make ARCH=xen (in xenU directory) make install (in main /usr/src/xen directory) same for dom0 kernel> In 3.0.1 use > > make arch=XEN menuconfig > make from XEN root diretcory > make install from XEN root directory_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
I''d like to know what distro you all are using to create dom0. I myself am using CentOS 4.3. Seems a lot of people are using Debian Sarge, FC4/5, etc. I guess the requirements for a good distro for Xen install are that it must: 1. be able to do a minimal install 2. be absolutely stable 3. operate with a small footprint 4. be secure Which distro fits the above best? S _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Christopher G. Stach II
2006-May-21 00:22 UTC
Re: [Xen-users] Best distro for installing dom0?
Stephen Yum wrote:> I''d like to know what distro you all are using to create dom0. > > I myself am using CentOS 4.3. Seems a lot of people are using Debian > Sarge, FC4/5, etc. > > I guess the requirements for a good distro for Xen install are that it > must: > > 1. be able to do a minimal install > 2. be absolutely stable > 3. operate with a small footprint > 4. be secure > > Which distro fits the above best? > > S > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-usersThey''re all just about the same. -- Christopher G. Stach II _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
I run LinuxFromScratch 6.1 without NPTL support. Whole install including man pages is less then 300 Meg. Rock solid, but not for the faint of heart. -- Jason The place where you made your stand never mattered, only that you were there... and still on your feet On Sat, 20 May 2006, Stephen Yum wrote:> I''d like to know what distro you all are using to create dom0. > > I myself am using CentOS 4.3. Seems a lot of people are using Debian Sarge, > FC4/5, etc. > > I guess the requirements for a good distro for Xen install are that it must: > > 1. be able to do a minimal install > 2. be absolutely stable > 3. operate with a small footprint > 4. be secure > > Which distro fits the above best? > > S > > _______________________________________________ > 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
> > I myself am using CentOS 4.3. Seems a lot of people are using Debian > > Sarge, FC4/5, etc. > > > > I guess the requirements for a good distro for Xen install are that it > > must: > > > > 1. be able to do a minimal install > > 2. be absolutely stable > > 3. operate with a small footprint > > 4. be secure > > > > Which distro fits the above best? > > They''re all just about the same.Debian footprint with a very basic install is by far the smallest one. Something around 100 MB on disk and no junk service installed. However, it means you know what you are doing and don''t require nice X panels to manage your server. -- Sylvain COUTANT ADVISEO http://www.adviseo.fr/ http://www.open-sp.fr/ _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
I''m curious. Can you tell me in detail how you did a 100MB of Debian? Do you have all the stuff to run xend AND have the development tools to recompile kernels? Or are you compiling the kernel on another machine and copying them over to the Xen box? I tried Sarge and could not get it down less than ~500MB with dev tools, but then again being a lazy bum that I am, I didn''t try that hard. But 100MB is impressive. S On May 21, 2006, at 6:14 AM, Sylvain Coutant wrote:>>> I myself am using CentOS 4.3. Seems a lot of people are using Debian >>> Sarge, FC4/5, etc. >>> >>> I guess the requirements for a good distro for Xen install are >>> that it >>> must: >>> >>> 1. be able to do a minimal install >>> 2. be absolutely stable >>> 3. operate with a small footprint >>> 4. be secure >>> >>> Which distro fits the above best? >> >> They''re all just about the same. > > Debian footprint with a very basic install is by far the smallest > one. Something around 100 MB on disk and no junk service installed. > However, it means you know what you are doing and don''t require > nice X panels to manage your server. > > > -- > Sylvain COUTANT > > ADVISEO > http://www.adviseo.fr/ > http://www.open-sp.fr/ > >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Aurelien Neyrand
2006-May-22 09:56 UTC
Re: [Xen-users] smbfs support in domU, domU kernel compilation problems
I had the same problem, the best way to avoid this is to upgrade to xen 3.0.2, smbfs is supported and there''s only 1 module for both domU / dom0.> Hi! > > I would like to add smbfs support to domU but I have problems with kernel compilation. > > I have a xen 3.0.1 dom0 on debian sarge (source installation). > I have customized my dom0 kernel with "make menuconfig" inside linux-2.6.12-xen0 directory > and now I want to add smbfs+cifs (compiled in/not modules) support to my domU kernel in a similar way. > > After running "make menuconfig" in linux-2.6.12-xenU directory, selecting smbfs support and > running "make world" in /usr/src/xen compilation starts. > After installation and rebooting of domU domains smbfs still isn''t supported. > Once again I went to linux-2.6.12-xenU directory, started "make menuconfig" only to find out > that all options have been "reset", thus there is no smbfs/cifs support. > During domU kernel compilation I don''t see any "fs/smb*" lines. > What am I doing wrong? > > Exact order of commands: > cd /usr/srv/xen/linux-2.6.12-xenU > make menuconfig (add support to smbfs/cifs) > cd .. (/usr/srv/xen) > make world (compilation) > make install > (reboot of domU domains) > > thanks> _______________________________________________ > 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