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

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



> Did anyone build the latest cifs client (1.34) kernel module cifs.ko for 
> debian sarge or ubuntu?
> If yes, I would appreciate if it can be made available somewhere, or 
> just sent to me by email.
> 
> I have a 2.6.10 kernel.
> A simple howto on building it would also be appreciated

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 <sk@isc.tuc.gr> wrote:

> Did anyone build the latest cifs client (1.34) kernel module cifs.ko for 
> debian sarge or ubuntu?
> If yes, I would appreciate if it can be made available somewhere, or 
> just sent to me by email.
> 
> I have a 2.6.10 kernel.
> A simple howto on building it would also be appreciated
> 
> 
> Regards
> -- 
> ======================================================================
> Stefanos Karasavvidis
> Electronic & Computer Engineer, M.Eng.
> e-mail : sk@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
> _______________________________________________
> linux-cifs-client mailing list
> linux-cifs-client@lists.samba.org
> https://lists.samba.org/mailman/listinfo/linux-cifs-client
> 



		
__________________________________ 
Discover Yahoo! 
Get on-the-go sports scores, stock quotes, news and more. Check it out! 
http://discover.yahoo.com/mobile.html



Reply to: