[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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@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: pgpWfbQlvQzIL.pgp
Description: PGP signature

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

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.