[Q] [REQ] NFS kernel modules for XWKE7 - Galaxy S II General

I have been searching for nfs kernel modules for my SGS2 with the XWKE7 firmware. (I want to mount NFS shares on my phone, not share directories from my phone)
But alas, so far I have been unable to find them. Maybe I have not been looking in the right places...
Can anybody help me out here?
Thanx a lot.

yes please, i am also looking for either nfs kernel modules or a kernel for i9100 which was compiled with nfs support. dorimanx claims to have it, but it hasn't
maybe a good site with instructions how to cross-compile nfs.ko and other modules for android?
thanx

Related

CIFS for Milestone 2

Hi,
I have built required kernel modules for Milestone 2 (kernel version 2.6.32.9) to access Windows and Samba shares.
2 modules are required (slow-work.ko and cifs.ko) and one is optional (nls_utf8.ko) if you want to use option iocharset=utf8 during mount.
If you would like to use CifsManager to auto load all 3 modules you have to configure "Path to cifs.ko" option to something like this: "/system/lib/modules/slow-work.ko;insmod /system/lib/modules/nls_utf8.ko;insmod /system/lib/modules/cifs.ko" (of course if you placed all modules in /system/lib/modules directory).
Please let me know if it works for your devices.
Regards
Is it working for your device?
Yes modules works on UK version of Milestone 2. I'm just not sure if all other version of Milestones use the same kernel. Thats why I asked if it works for your device.
Works just fine for me.
Thanks
Are there any other kinds of modules people could create?
Sent from my Milestone 2 XDA App
Thanks.
works on TW version of Milestone 2.
hi,
i couldnt find the kernel sources on motorolas open source site,
which sources did you build from ? (i want to build the nfs module)
PS: listening to mp3s via cifs works much better with mount parameter: forcedirectio

[Q] Why not compile the tun.ko module with Asus TF101 ROMs?

Hi all,
I've looked at forums in the DEV section and can find a tun.ko module for an earlier kernel of the TF101. None of the ROMs including Clemsys, Revolver's, Netformer's, Prime's and any other I have download include this module in their kernel builds. I would like for this module to be included, which was in Prime 1.2, but that was for a kernel that is no longer in use and that is for Honeycomb 3.0. So my question to the Devs is, why no compile tun.ko for any and all the ROMs you deploy?
Thanks for your response.
In case people don't know, tun.ko is the module that allows a rooted device use an app like VPNC to log into and create a VPN tunnel through a Cisco VPN Concentrator.
jamdev12
Are you sure, TUN isn't in prime 1.6? I see it listed as added in version 1.4, so I don't think that it would have been removed in updated versions.
All the ROMS you mentioned (clemsyn, PRIME, Revolver) include the tun.ko compiled into the kernel. You do not need any external tun.ko module for VPN to work.
However, the trick to get VPNC to work is to rename the file /system/bin/ip to /system/bin/ip.bak. This causes the /system/xbin/ip to be picked up instead while works fine.
guptaavi,
Thanks for the info. I'm stupidfied and you have enlighten me. I know that sounds corny, but I appreciate the help here, because since I did not see the module in the /system/lib/modules folder, I thought it wasn't compiled. Now I know the difference between compiling it into the kernel and compiling it for the kernel.
jamdev
Hi guptaavi,
So I must be stupid, because I did what you just told me about changing the file name for the /system/bin/ip to ip.bak, but the VPNC widget takes forever to start and it just fails. I know the settings are correct because I can run VPNC on my OG Droid without issues. I'm running CWM7.
Do you have any suggestions?
jamdev12
If tun.ko is build into the system, how do we setup OpenVPN to use tun.ko? How do i tell OpenVPN where the tun.ko file is?
Pls help as im using PRIME 1.8.4.
TIA
JL

[ROM + KERNEL] a ROM that has tun.ko cifs.ko and ntfs.ok

Hello,
I have spent some time searching for and nagging chiefs for ROMs with all important kernel modules like tun, ntfs, cifs and so on. No luck. I found some kernels with cifs, but without tun. Or with tun and no cifs... And none with ntfs. Until today...
It is called "Thunderbolt" and developed by an Italian guy called Angelom. You can find it here:
http://www.androidiani.com/forum/modding-samsung-galaxy-s2/57919-rom-thunderbolt-base-2-3-5-a.html
So this post is for anyone in the future looking for a kernel with all needed modules...

[Q] help build cp210x.ko on Iconia A500 3.2.1

Hi,
I really need the cp210x.ko module, but I couldn't successfully build it properly for my Iconia A500 with 3.2.1 and 2.6.36.3+ kernel.. I get the following when I tried insmod my cp210x.ko build using ubuntu cross compiler approach:
cp210x: version magic '2.6.36.3+ preempt mod_unload ARMv5 ' should be '2.6.36.3+ SMP preempt mod_unload ARMv7 '
A little search showed that I need to build it in ARMv7, and need to set the kernel config to build SMP kernel. In this thread I saw a few modules offered but couldn't post reply as a new xda-developers user, so I post here. My A500 has already been rooted via the su (version 3) method posted few days ago.
Please help me build the cp201x.ko module - I am kinda stuck..
Bill
Bill,
Might I suggest you look at loading one of the many custom ROM's that will have what you want? If you are rooted, then install CWM (ACER Recovery from the marketplace) which should allow you to load custom ROM's. In order to load the cp201x.ko module you'd have to recompile the kernel and people doing this type of work normally are building custom ROM's.
Anyway, just my 2ยข
Thanks for the advice. I am testing Thor ROM at the moment. Cool..
From what I can read and see within various ROMs /system/lib/modules, very few (out of total possible) kernel modules made it to these custom ROMs - mostly to get game controller to work, extra filesystems, or networking protocols. USB-to-serial modules are rare and certainly my search didn't turn up cp210x.
Cross-compiling the kernel source on Gentoo is mentioned to be better supported then ubuntu, due to its crossdev toolkit, as I'm trying to figure out how to specify target ARMv7 instead of ARMv5 I'm defaulting to when cross compiling from Ubuntu's arm-linux-gnueabi-*
I'm wondering if various nice ROM cooks have releases of their modified kernel source - or might be willing to help me build the just the cp210x as a .ko module, e.g. in the .config, "CONFIG_USB_SERIAL_CP210X=m" - I've found a post few months ago where a successful build and insertion of cp210x module was done but he had some problems when initiating communication on it - I fear the worst but hope for the best, and would like to try that myself as I've successfully talked to my device through the cp210x module on Linux.
Or, if any tips on how to build kernel (just the modules really) properly e.g. As Thor's ROM version number hints at need for some custom and virtualized build environment, I'm looking for the quick and dirty solution if cooking ROMs/kernel/ko's has steep learning curve..
Any help much appreciated!
Bill
It looks like I was speeding down the the wrong track last few days
Apparently the /proc/config.z copied off the a500 device was missing something - and how strange that is - so I had to enable SMP and choose Tegra 2 ARM processor using "make menuconfig" to get the vermagic on the build module (e.g. modinfo after successful make modules) to show ARMv7 and SMP, build from my Ubuntu cross-compiling setup. I haven't tested this new cp210x.ko on a500 yet (as it's currently running one of the customized ROMs that has different EXTRAVERSION/vermagic to the stock Acer kernel source version 2.6.36.3 that I'm based on.
I think it'd be really wonderful if various Android kernel and kernel module makers release their kernel config, sync'ed to each ROM or kernel release, so people like me may independently build special purpose kernel modules with more efficiency and accuracy (to target their customized kernel), and we can recontribute back to to a growing list of tested and working modules for corresponding devices.
Bill
Hmm... Silly. It looks like Thor's ROM already has cp210x build-in, not as a loadable module but compiled in. My device is reported to attach to ttyUSB0! How nice
Thanks!
Bill
For those who are interested, the cp210x.ko module build using latest mentioned approach, e.g. modified kernel config.z, generate module that appear to insert correctly into lightspeed and taboonay roms (neither has this USB-to-serial module) - with a little modification of the EXTRAVERSION variable in the Makefile.
Bill
CP210x and GT-P7500
Has anyone got CP210x module working with Samsung Tab GT-P7500? My problem is that the connected USB-device doesn't create node dev/ttyUSB*. I have spent lot of time trying to figure this one out.
I have tried 1) Manually compiling the linux kernel that has cp210x support as a module. After compiling the module I tried insmoding the cp210x.ko to a running kernel, but even though it seemed to load and unload all right, it did not give me the wanted results. It does not create device node /dev/ttyUSB*. I have also tried modifying ueventd.rc for adding this row, but I am guessing it is only relevant for permissions after the node is created.
Also 2) loading cyanogenmod 10 (which should have cp210x support) to tablet but it doesnot create the desired /dev/ttyUSB* node. I can see device file under dev/bus/usb/001/ but the node does not exist.
I am going to try making needed files for building custom kernel and inserting to tablet. However, I have 0 experience on this, I think it can be tough one.
Any help would be welcome, thanks.

Looking for NFS modules for N7 (4.1.1)

Hi!
Been wanting to set up NFS mounting from my home server on my newly acquired Nexus 7, and I just now realize that I probably need nfs.ko as well as related kernel modules (cifs+md4+nls_utf8 are only for cifs/samba, right?).
Does anyone know if these have been compiled for this kernel (stock)?

Categories

Resources