[Q] cifs module load - Galaxy Tab 10.1 Themes and Apps

Anyone able to load cifs module on 10.1?
I had no luck with the following log from mount manager app, i got the cifs.ko from lib-2636.4.tar.gz
su: insmod (......dir.....)/cifs.ko
execute-result: exitcode:255 stdout: stderr:insmod: init_module '(......dir.....)/cifs.ko' failed (exec format error)
wondering whether the issue here is from mount manager or from cifs.ko?
BTW: tried cifs manager also, not working too.

rainby said:
Anyone able to load cifs module on 10.1?
Click to expand...
Click to collapse
There is no cifs modules for the stock kernel.
You will need one of the custom kernel done by pershoot or supercurio.

just updated my original post .... see if that helps describing issues more clear
danielsjam said:
There is no cifs modules for the stock kernel.
You will need one of the custom kernel done by pershoot or supercurio.
Click to expand...
Click to collapse

rainby said:
just updated my original post .... see if that helps describing issues more clear
Click to expand...
Click to collapse
I have uses cifs with both of the custom kernels and it loads without problems for me.
I also used lib-2636.4.tar.gz - created /system/lib/modules and placed the module there, but should be able to install it anywhere. I am using cifs manager.
UPDATE: I am using the supercurio kernel and just tried
su
insmod /lib/modules/cifs.ko
the module is loaded - checked with lsmod

Good to know it supposed to work ....and i finally fully understand the line...
"There is no cifs modules for the stock kernel. You will need one of the custom kernel done by pershoot or supercurio."

I need a nls_utf8.ko module
I am using [Kernel] - 2.6.36.4 - OC-VFPv3-d16_FP 1.4GHZ - Galaxy Tab 10.1 (10/24/11;9.00PM EDT).which provide cifs.ko module,I can connect to my computer share,but there is no nls_utf8.ko.I need this module to access my chinese share resource,thanks.

Related

[Q] NFS mount freezes tablet?

Hi,
I am trying to get my GT-7510 (retail with the latest updates, rooted) mount an NFS share.
I have built the necessary modules and loaded them via insmod.
However, when I attempt to mount a share the tablet freezes. Screen is on, can't connect or ping in any way.
I've tried adb logcat - it just stops showing any output. I've tried getting a core dump without any success.
Is there any way I can see what the dmesg output was when the thing froze? Any suggestions on how to troubleshoot this?
And I don't want to use CIFS because it's slow and it generally sucks.
Thanks in advance!
Does anybody use NFS on the GT-7510?
Hi weasel,
I'm also struggeling with NFS. I tried using pershoot's Kernel with his modules. But I'm not even near to get NFS mounted or the Tab frozen ;-)
Maybe you can share which modules you loaded, which kernel, which mount command, how you issued the command.
So far I don't have a solution but maybe we can find one together!
Here is what I did so far:
[Kernel] - 2.6.36.4 - OC-VFPv3-d16_FP 1.4GHZ - Galaxy Tab 10.1 (9/13/11; 9.00PM EDT)
Installed the kernel above, loaded the following modules in the following order:
1. sunrpc.ko
2. auth_rpcgss.ko
3. lockd.ko
4. nfs_acl.ko
5. nfs.ko
When I try to mount my nfs share running on a Ubuntu 10.04 server with this command line:
mount -o nolock -t nfs <IP>:/<Path> /sdcard/<mountpoint>
I'm getting the following error message: Invalid argument
Is this a bug in the kernel/module. Am I doing something wrong?
I did get it to work but I had to use the source from Samsung's site and not the android source.
The modules you have listed are correct but you need to use the mount command that comes with busybox because the built-in mount doesn't support nfs. Also check your dmesg output after you load the last module to make sure there are no error messages.
So try using
/system/xbin/mount
instead of just mount
Oh, and I'm using the stock kernel so that's why I needed Samsung's source, you shouldn't need to re-compile your modules.
weasal said:
Oh, and I'm using the stock kernel so that's why I needed Samsung's source, you shouldn't need to re-compile your modules.
Click to expand...
Click to collapse
Did you compile those modules on your own? Do you know any howto for doing that? Or can you even provide me with the modules?
I'd like to use the stock kernel as well!
Thanks again!!
I already managed to compile them on my own. Thanks again for the hint.
For all of you who are searching for the required modules for the stock Kernel as well - please find attached.
The correct mount option:
/system/xbin/mount -t nfs -o nolock <ipaddress>:/<path> <mountpath>

[Q] flashing cifs.ko using cwm

hi. i conside myself a noob, so be gentle on me
i have managed to install cwm and starburst rom, however they lack cifs.ko. many searches on the web says i should adb push it but i'm not sure how. is there a way i can just install/flash them using cwm?
btw i'm using a p7510 tab, if that may help.
You need a custom kernel (pershoots will do), cifs manager from market, correct "cifs.ko" for the kernel (if using pershoots you will find it in his thread). Without a custom kernel it will not work.
Sent from my HTC Desire using xda premium
rr3636 said:
You need a custom kernel (pershoots will do), cifs manager from market, correct "cifs.ko" for the kernel (if using pershoots you will find it in his thread). Without a custom kernel it will not work.
Click to expand...
Click to collapse
Thanks. Am current ly running on pershoot's kernel, and got the modules.tar.gz from droidbasement. There's a cifs.ko in there. I just don't know how to instal/ copy them to the modules' folder.tried to point the a cifs.ko on sdcard usingcifs manager, but still not working. Maybe I did it wrongly.
Is there a guide for this kind of thing for a furst timer, or is there any way I can use cwm for this?
Hello, you just have to run "insmod path_to_modules/cifs.ko" as root in a terminal.
You can browse CIFS folders with this software : https://market.android.com/details?id=com.rhmsoft.fm.hd.
hi all. thanks for the help, but since i installed bonsai 0.3 i got the cifs, ntfs and tun. yay babe.
i still hadnt got cifs manager working, but am working on it. if anybody got any tips, hats off to you...

Cifsmanager doesn't work on CM7 for att GS2

Cifsmanager gives me a "no such device" notice when I try to mount a shared folder. I have a cifs.ko in /system/lib/modules, dated 2008-08-01.
ROM nightly 10/17 CyanogenMod 7 for AT&T Samsung Galaxy S II
stock kernel http://forum.xda-developers.com/showthread.php?t=1286432
Is there a way to know whether my cifs.ko is legit? I did migrate from another ROM but I have performed wipe under CWM.
I have been using the CM7.1 nightly and CIFS manager works just fine.
I am now using Unamed and CIFS manager works with it as well.
Probably user configuration error
Probably didn't modprobe it correctly, or didn't modprobe the right modules.
Check /lib/modules for a more proper version of the module. I just checked the defconfig for the CM7 kernels and CIFS support should be in there.
I have no idea why CIFSManager defaults to looking in /system/lib/modules - looking inside the system image instead of the kernel's initramfs is just plain stupid, but it does it anyway.

CM7DX2 - CIFS Manager?

Has anyone tried CIFS manager with CM7DX2? I'm trying to get it working but it doesn't want to mount with error "no such device" which the dev for CIFS manager says:
"Your current kernel or rom lacks the necessary CIFS support. Try to find a matching kernel module (cifs.ko) or use a rom with explicit CIFS support."
So does anyone know if CM7DX2 has CIFS support?
Tried adding a cifs.ko from another ROM with same kernel version but it won't load in either cifs manager or mount manager.
Nobody is using this? Any ideas then on how I could mount a shared drive on my PC to have access to it like the files were on my phone?
Sent from my MB870 using XDA
smallzfsu said:
Tried adding a cifs.ko from another ROM with same kernel version but it won't load in either cifs manager or mount manager.
Nobody is using this? Any ideas then on how I could mount a shared drive on my PC to have access to it like the files were on my phone?
Sent from my MB870 using XDA
Click to expand...
Click to collapse
Whew boy! How far do you really want to dig into this? First, with out locked boot loader, replacing the kernel is next to impossible, however, you can inject ko modules into the running kernel, however they must be configured against the original kernel's source code... If you find one from a SIMILAR kernel, it MIGHT work. There is no guarantee. The command to use would be insmod or modprobe. Depending on how you wanted to load the module. If I am over your head with this, then it's best you stop here... If you really want to forge ahead, then by all means, please do so. Google "linux insmod use" or "linux modprobe use" Or, if you have a Linux box handy, "man insmod" or "man modprobe". I'm not going to get into the details of how to do this, because if you do things wrong, you can have some very screwy results that I would be able to triage in PM's or posts.
Anyhow, that, in a nutshell, is what you are looking at. To succinctly answer your question, yes, it's possible. Is this something that I want to tackle? Ummmm... No. If you want someone to bounce stuff off of, feel free to hit me up! Good luck!
Ciao!
Compiled cifs modules for Gingerbread kernel (Droid X2)
smallzfsu said:
Has anyone tried CIFS manager with CM7DX2? I'm trying to get it working but it doesn't want to mount with error "no such device" which the dev for CIFS manager says:
"Your current kernel or rom lacks the necessary CIFS support. Try to find a matching kernel module (cifs.ko) or use a rom with explicit CIFS support."
So does anyone know if CM7DX2 has CIFS support?
Click to expand...
Click to collapse
Today i've compiled some modules, that essential for sharing support through CIFS Manager.
View attachment dx2_gb_cifs.7z (LZMA2 inside, update your 7zip archiver, before unpacking)
Modules compiled for 2.6.32.9-00005-g2440aba kernel, which i found in my device (firmware 4.5.1A-DTN-150-30).

[Q] InsertCoin 3.2.1, Elitekernel 3.1.10....hot to install cifsmanager

Hi,
i want to mount a network folder, to play some videos from NAS, there for, i think in need the cifsmanager.
I installed it and rode a lot about cifs.ko....i pushed it via adb, i copied it via rootbrowser all in /system/lib/modules and in /modules
but it doesnt work. I don't which is the right version, i don't know where or how to put it on the hox+...
i tried the one from this thread http://forum.xda-developers.com/showthread.php?t=1781411
Does anybody has an idea how to solve my Problem?
Thanks.
No one knows??? Any ideas?
For me, it doesnt matter which kernel. I only want a running cifsmanager on my hox+
dafreeze01 said:
Hi,
i want to mount a network folder, to play some videos from NAS, there for, i think in need the cifsmanager.
I installed it and rode a lot about cifs.ko....i pushed it via adb, i copied it via rootbrowser all in /system/lib/modules and in /modules
but it doesnt work. I don't which is the right version, i don't know where or how to put it on the hox+...
i tried the one from this thread http://forum.xda-developers.com/showthread.php?t=1781411
Does anybody has an idea how to solve my Problem?
Thanks.
Click to expand...
Click to collapse
Pleeaase Help Me!
Is is it possible to build the cifs.ko myself? What do i need therefore
dafreeze01 said:
No one knows??? Any ideas?
For me, it doesnt matter which kernel. I only want a running cifsmanager on my hox+
Click to expand...
Click to collapse
dafreeze01 said:
Is is it possible to build the cifs.ko myself? What do i need therefore
Click to expand...
Click to collapse
well you must understand that you cannot simply get a kernel
module from somewhere and use it with a different kernel
kernel modules are part of the kernel and must be compiled
"together" with the kernel. There is key matching used
when loading kernel modules which will refuse loading
if the kernel modules has not been compiled for the
kernel you are running
so simple answer to your question - you must compile
flash and boot the complete kernel you are running
Or you find someone that can can compile EXACTLY the
kernel "version" that you are running and will give you the
kernel module
But before we all need to know which version you are running
(found in About Phone -> kernel version)
Oh BTW even if you have the correct kernel module
it must be loaded with insmod. Just copying it to the device
is not enough
Kernelversion
Hi,
okay...this is the kernelversion
3.1.10-elitekernel-130106-g1187f42-dirty
[email protected] #84
SMP PREEMPT
baseband-version:
3.1204.168.32
Build-Nummer
1.17.401.1 CL135278 release-keys
The Device is rooted so, there should be no problem for insmod.
Thanks for the reply
maxwen said:
well you must understand that you cannot simply get a kernel
module from somewhere and use it with a different kernel
kernel modules are part of the kernel and must be compiled
"together" with the kernel. There is key matching used
when loading kernel modules which will refuse loading
if the kernel modules has not been compiled for the
kernel you are running
so simple answer to your question - you must compile
flash and boot the complete kernel you are running
Or you find someone that can can compile EXACTLY the
kernel "version" that you are running and will give you the
kernel module
But before we all need to know which version you are running
(found in About Phone -> kernel version)
Oh BTW even if you have the correct kernel module
it must be loaded with insmod. Just copying it to the device
is not enough
Click to expand...
Click to collapse
dafreeze01 said:
Hi,
okay...this is the kernelversion
3.1.10-elitekernel-130106-g1187f42-dirty
[email protected] #84
SMP PREEMPT
baseband-version:
3.1204.168.32
Build-Nummer
1.17.401.1 CL135278 release-keys
The Device is rooted so, there should be no problem for insmod.
Thanks for the reply
Click to expand...
Click to collapse
Well - you should very very very kindly ask nik3r
if he can include cifs either hin his kernel or provide you
the kernel module
BTW: ESFileExplorer can browse windows shares without any kernel module
Okay...i'll PM him.
ESFileExplorer is not enaugh. I don't want to browse the share, i wanna play a video and watch on TV from NAS.
Thanks for reply.
maxwen said:
Well - you should very very very kindly ask nik3r
if he can include cifs either hin his kernel or provide you
the kernel module
BTW: ESFileExplorer can browse windows shares without any kernel module
Click to expand...
Click to collapse
Weird, I am pretty sure that CIFS is enabled and built-in, you don't need the module (and can't use it), because it's built as internal kernel component. But I can be wrong, I'll check later when I can.
OK it wasn't, I will compile it as module for the next version.
Big thanks...so i'm wating for the next version
nik3r said:
OK it wasn't, I will compile it as module for the next version.
Click to expand...
Click to collapse
i installed the lates version of your kernel. Problem now...cifs manager and adb-> mount -t cifs says invalid argument, when i type this:
|[email protected]/system/lib/modules# mount -t cifs -o guest //192.168.0.105/Volume1 /sdcard/nas //192.168.0.105/Volume1 /sdcard/nas
mount: mounting //192.168.0.105/Volume1 on /sdcard/nas failed: Invalid argument
dafreeze01 said:
Big thanks...so i'm wating for the next version
Click to expand...
Click to collapse
Did you
Code:
insmod /system/lib/modules/cifs.ko
first?
It's compiled with all features except debugging, including POSIX support.
255|[email protected]/# insmod /system/lib/modules/cifs.ko
insmod /system/lib/modules/cifs.ko
insmod: init_module '/system/lib/modules/cifs.ko' failed (File exists)
255|[email protected]/# mount -t cifs -o guest //192.168.0.105/Volume1 /sdcard/nas
mount -t cifs -o guest //192.168.0.105/Volume1 /sdcard/nas
mount: mounting //192.168.0.105/Volume1 on /sdcard/nas failed: Invalid argument
Tried it again with same result. So i think i did it
maybe the mount in your ROM doesn't support the module? try to use mount in busybox
or maybe try something like https://play.google.com/store/apps/details?id=ws.plattner.cifsmanager&hl=cs
I'm on viper 1.0.4 with elite kernel 130119 and cifs manager can't mount shared folders from my windows 8... Is this feature still unavailable?

Categories

Resources