WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

Re: [Xen-users] smbfs support in domU, domU kernel compilation problems

To: Sadique <sadique@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-users] smbfs support in domU, domU kernel compilation problems
From: Ales Jagodnik <ales.jagodnik@xxxxxxxxxxxx>
Date: Sat, 20 May 2006 19:06:46 +0200
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Sat, 20 May 2006 10:07:31 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <446F452D.8050605@xxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Organization: Interseek, Noviforum
References: <200605201815.59613.ales.jagodnik@xxxxxxxxxxxx> <446F452D.8050605@xxxxxxxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: KMail/1.9.1
"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@xxxxxxxxxxxxxxxxxxx
> >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@xxxxxxxxxxxx
www.interseek.si, www.noviforum.si, www.najdi.si

Attachment: pgpbuCh6rAZkc.pgp
Description: PGP signature

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users