CIFS support

Alles eine Frage des Images
JOCKYW2001
Einsteiger
Einsteiger
Beiträge: 358
Registriert: Montag 21. Juli 2003, 23:52

CIFS support

Beitrag von JOCKYW2001 »

I'd like to mount a CIFS share, but can't select it in network options. Only NFS is shown and the Type option is greyed out.

I'm compiling my images from current CVS.What's missing?

thx, JockyW
DieMade
Oberlamer, Administrator & Supernanny
Beiträge: 10532
Registriert: Samstag 13. Juli 2002, 10:49

Beitrag von DieMade »

Looks like your Image misses the cifs-module. Maybe you compiled the kernel without "CONFIG_CIFS=m".

There should be a file "/lib/modules/2.4.27-dbox2/kernel/fs/cifs/cifs.o" on your dbox.
There are 10 types of people in the world: those who know binary and those who don't
JOCKYW2001
Einsteiger
Einsteiger
Beiträge: 358
Registriert: Montag 21. Juli 2003, 23:52

Beitrag von JOCKYW2001 »

You're right, my modules/kernel dir has no content :(
The 2.27 kernel config is okay tho. Seems that something got screwed in the build after the upgrade from 2.25 to 2.27. The cdkroot dir still has 2.25 kernel modules directories which has the fs dirs. But they're not available in the 2.27 dirstruct. Don't know why. Will try another time to build the kernel.

Cheers, JockyW
Npq
Senior Member
Beiträge: 1339
Registriert: Donnerstag 24. April 2003, 12:12

Beitrag von Npq »

The old modules directories won't get deleted until you manually "rm" them, but this is no problem (actually it's a good thing[TM]) since the kernel looks in the appropriate directory.

If you upgrade the kernel to a new version you should
make driver-clean
in the CDK directory before rebuilding the drivers to set up the dependencies correctly for the new kernel. If you fail to do this strange things may happen.

BTW: CIFS is compiled into the kernel for the CDK-configuration and as modules for the image-configuration (there are two kernel-configs).
JOCKYW2001
Einsteiger
Einsteiger
Beiträge: 358
Registriert: Montag 21. Juli 2003, 23:52

Beitrag von JOCKYW2001 »

Thanks to both of you:) Got it all sorted out now

goodnight, JockyW