I've got a few questions, more or less related to samba 2GB file size limit and MDK 9.1.
I'm using Mandrake 9.1 as a base for mythtv, a linux personal video recorder (a la tivo). As such, I routinely need to access video files greater than 2GB on my Windows shares (as well as linux machines).
1. Does the stock MDK 9.1 kernel & smbmount support file sizes greater than 2GB? If so, how is it enabled? If the stock MDK9.1 doesn't support smb file sizes >2GB, where can I get a precompiled kernel and smbmount that does support >2GB?
2. There is a kernel patch and smbmount patch (for >2GB file size support) available at http://www.ps.uni-sb.de/~errror/smbfs-lfs.html I applied the (kernel) patches successfully; there are changes to files in linux/fs/smbfs/*.c and linux/include/smb*.h in the kernel source tree. Is it possible to just recompile smbfs.o w/o recompiling the (stock) kernel, and have it insmod successfully without the dreaded "unresolved symbols" message?
I tried this as suggested in the "compile just a module" kernel compile
HOWTO, but despite pointing to the correct modversions.h and the correct
kernel source tree, I still get the unresolved symbols against the MDK
9.1 stock kernel, getting "unresolved symbols" for smbfs.o. What's the
exact procedule for recompiling just the smbfs.o module so it will just
work with the stock kernel? FWIW, here's what I did:
- change Makefile as suggested by kernel (comple module only) howto, changing SUBDIR=fs/smb, and making sure EXTRAVERSION=-0.13mdk
- make clean
- make mrproper
- make oldconfig
- make dep
- (NOTE: I'm *not* doing make bzImage here since I'm trying to avoid recompling the whole kernel)
- make modules
- make modules_install
- mv original /lib/modules/2.4.21-0.13mdk/kernel/fs/smbfs/smbfs.o.gz elsewhere
- reboot, and kernel comes up with "unresolved symbols" for smbfs.o
Also, FWIW, recompiling the whole kernel works succesfully w/o problems.
Thanks, Mark
Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
