Fwd: Re: [linux-cifs-client] latest cifs.ko module for debian

Stefanos Karasavvidis sk at isc.tuc.gr
Mon Jun 6 11:07:05 GMT 2005


the howto is ok (although I don't think that the kernel has to be built 
from scratch... just the modules e.g. make modules)

The 2.6.10 kernel has indeed errors
     fs/cifs/connect.c: In function `cifs_mount':
     fs/cifs/connect.c:1737: error: structure has no member named 
`s_time_gran'
     make[2]: *** [fs/cifs/connect.o] Error 1
     make[1]: *** [fs/cifs] Error 2
     make: *** [fs] Error 2

and I'm afraid I can't use the 2.6.11 kernel because of inotify bugs.

Anyway... it seems that I'll have to wait until a new kernel is released.

thanks again Rene

Stefanos

Rene Tapia wrote:

 >
 >
 > I built it for Debian Sarge, however I had to use 2.6.11 sources 
(from unstable). 2.6.10 gives
 > errors.
 >
 > Howto:
 >
 > GET CIFS SOURCES:
 > apt-get install debhelper modutils kernel-package libncurses5-dev
 >
 >
 > download "http://pserver.samba.org/samba/ftp/cifs-cvs/cifs-1.34.tar.gz
 > " to /root for example
 > cd /root
 >
 > tar xvfz cifs-1.34.tar.gz
 >
 >
 >
 > GET KERNEL SOURCES:
 > apt-get install kernel-source-2.6.11
 >
 > cd /usr/src
 >
 >
 >
 > tar --bzip2 -xvf kernel-source-2.6.11.tar.bz2
 >
 >
 > REPLACE CIFS WITH 1.34:
 > mv /usr/src/kernel-source-2.6.11/fs/cifs 
/usr/src/kernel-source-2.6.11/fs/cifs_old
 > mkdir /usr/src/kernel-source-2.6.11/fs/cifs
 >
 > cp -R /root/cifs-1.34/fs/cifs/* /usr/src/kernel-source-2.6.11/fs/cifs
 >
 >
 > CONFIG THE KERNEL:
 > I used the config file from 2.6.8:
 >
 > cp /boot/config-2.6.8-2-386 /usr/src/kernel-source-2.6.11/.config
 >
 > cd kernel-source-2.6.11
 >
 > make menuconfig
 >
 > Include:
 >
 > File Systems --> Network File Systems --> CIFS support --> CIFS 
statistics
 >
 >
 > MAKE THE KERNEL:
 > make-kpkg clean; make-kpkg --initrd kernel_image
 >
 >
 > INSTALL THE KERNEL:
 > dpkg -i kernel-image-2.6.11_10.00.Custom_i386.deb
 >
 >
 >
 >


-- 
======================================================================
Stefanos Karasavvidis
Electronic & Computer Engineer, M.Eng.
e-mail : sk at isc.tuc.gr

Technical University of Crete, Campus
Information Systems Center
Address: Akrotiri, Chania, 73100
Tel.: (+30) 28210 37352, 37355 (central), 37766 (ENV.ENG. buildings)
Fax:  (+30) 28210 37571



More information about the linux-cifs-client mailing list