[Q] help with cifsmanager 1.41

thefawns

Senior Member
Jul 23, 2010
56
9
0
Hey guys i really need help trying to figure out how to use cifsmanager, could someone please help me? :confused:....i tried following some guides on the web about pushing the cifs.ko under /system/lib/modules, but even after i tried that cifsmanager keeps saying the same exact freaking thing, it says: mounting 192.168.x.xx:/media/Data/My Music on /mnt/cifs/failed: no such device, and its just driving me crazy because i really want to get this to work....my rom version is cyano-6.1 rc1 and if someone could help me out i would greatly appreciate it thanks.
 

dy57

Senior Member
Nov 23, 2007
83
9
0
A couple of suggestions :

1) Did you go to the settings menu in CIFS Manager and check "Load via insmod" and enter the correct path in "Path to cifs.ko" ?

2) cifs.ko must also match the version of your installed kernel. You can test in Terminal. If insmod gives you a "exec format error" it is the wrong cifs.ko for your kernel.

More info on how to debug here :
http://androidcommunity.com/forums/f28/browse-your-computer-from-android-9292/

and here :

http://forum.sdx-developers.com/and...ifs-for-network-share-mounting-in-the-kernel/
 

thefawns

Senior Member
Jul 23, 2010
56
9
0
ok yea I already did number 1, and two, i just did that now and here is what i came up with:
# cd /system/lib/modules
# ls
bcm4329.ko cifs.ko
# insmod cifs.ko
insmod: init_module cifs.ko' failed (File exists)
#

im not sure what that means, do you have any idea? Well i got the info placed in the program correctly and the drive mounts ok, just that i have to make the file viewer run as su before i can see any of the items....this is driving me crazy, oh and by the way thank you for replying :)
 

dy57

Senior Member
Nov 23, 2007
83
9
0
Try a "su" command before the insmod.
sometimes permissions are not correct.

I have also found the correct version of the module in an alternate directory on some of the overclock kernel mods. (i.e. /system/lib/2.6.29.6-cyanogenmod/kernel/fs/cifs).
 

ladios

Senior Member
Oct 24, 2009
186
59
0
I can't get it work too. Meanwhile, I am looking for a nls_utf8.ko for Aria. Does it even exist? I searched and got zero result.
 

thefawns

Senior Member
Jul 23, 2010
56
9
0
alright, i tried using su before running insmod and i came up with the same thing :/ and about the /system/lib/2.6.29.6-cyanogenmod/kernel/fs/cifs.ko, i dont have the 2.6.29.6-cyanogenmod folder in my /system/lib, im not sure what to do....thanks again for your time to reply and help me :)
 

dy57

Senior Member
Nov 23, 2007
83
9
0
alright, i tried using su before running insmod and i came up with the same thing :/ and about the /system/lib/2.6.29.6-cyanogenmod/kernel/fs/cifs.ko, i dont have the 2.6.29.6-cyanogenmod folder in my /system/lib, im not sure what to do....thanks again for your time to reply and help me :)
look in /system/lib/modules

are you using an oc kernel ? if so can you provide the link ?

and did you install cifs.ko from an alternate source ? if so , link please...
 
Last edited:

ladios

Senior Member
Oct 24, 2009
186
59
0
cm6.1-rc1 has its own /system/lib/modules/cifs.ko included in the rom.
insmod it for the first time will have no feedback at all meaning it's loaded, right?
If running it again then it will show
insmod: init_module '/system/lib/modules/cifs.ko' failed (File exists)
 

dy57

Senior Member
Nov 23, 2007
83
9
0
Yes , that's correct "Files exists" indicates the module is already loaded.

Then a mount in Terminal (i.e. mount -t cifs -o username=yourusername,password=yourpassword //192.168.1.20/sharename /sdcard/mnt/cifs/sharename) should work.
 
Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone