Cifsmanager doesn't work on CM7 for att GS2 - AT&T Samsung Galaxy S II SGH-I777

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.

Related

[Q] Compile bcm4329 as built-in?

I was following some guide to compile pershoot's kernel, and I compiled everything as built-in and disabled module support. After I installed the new kernel, the wifi can not be turned on. Any suggestions? (I'd really love to have a all-in-one kernel without "modprobe" things)
Thanks in advance.
You may want to check out Clemsyn's kernels. He typically builds his as all in ones.
Thanks. I've tried all Clemsyn's latest kernels (with Calkulin's ROM, if that matters) and none will boot (stucked at the viewsonic birds logo). I am not sure if that is related to OC... but I still need a kernel that has nls-gb2312/utf8 support.
Interestingly, I unzipped Clemsyn's kernel zip and found his /system/ also has bcm4329.ko as a module. Is it true that wifi driver must be compiled as module to work?
I saw my adb logs that Wifiservices is complaining about driver not available. I assume this must be a failure of "modprobe". How can I manually enable the wifi? Is there some equivalent command like "ifup wifi"?
It seems android wifi.c is making a hardwired assumption that wlan0 driver is compiled as kernel module. To support all-built-in kernel, I must recompile android as well. Could someone point a link to HOWTO-style guide for compiling android 2.2 from scratch? Preferably Calkune's ROM.
Thanks!

[Q] cifs module load

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.

[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] OpenVPN problem with Pershoot's Kernel and "In Paris" v4 by Task650&Phantom

[Q] OpenVPN problem with Pershoot's Kernel and "In Paris" v4 by Task650&Phantom
So I've been having trouble getting openvpn up and running on my tab (p7510 version)
I've installed both the openvpn binary installer and the settings apps fine.
I know my certificates/key/conf are correct as I've tested them elsewhere.
When I try to connect I get the following error:
"FATAL:Cannot allocate TUN/TAP dev dynamically"
I was advised to reflash the latest kernel from Oct 18th and adb push tun.ko from pershoot's lib-2636.4.tar.gz file to /system/lib. That didn't work.
I managed to temporarily avoid it by using adb shell "insmod tun.ko". However every time I reboot the device it comes back because the module isn't loaded again.
Now, I get this error:
"FATAL:Linux ifconfig failed: external program for failed"
Which I cannot figure out how to solve.
Has anyone had these problems before while trying to set this up?
I am using "In Paris" v4 from Task650 & Phantom, and Pershoot's kernel from Oct 18th.
Any help would be appreciated
I'm using VPNC Widget rather than OpenVPN, but the tun.ko needs to be put in "/data/local/modules" then "insmod /data/local/modules/tun.ko" and it survives a reboot.
morkli said:
I'm using VPNC Widget rather than OpenVPN, but the tun.ko needs to be put in "/data/local/modules" then "insmod /data/local/modules/tun.ko" and it survives a reboot.
Click to expand...
Click to collapse
Thanks for the reply, but it didn't seem to work for me. I pushed the same tun.ko to that folder and issued insmod but it didn't stay after reboot.

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).

Categories

Resources