[Q] Cifs.ko module for P5110 - Galaxy Tab 10.1 Q&A, Help & Troubleshooting

Hi,
I want use CifsManager to mount network share and I face a problem with loading cifs.ko, the insmod return "insmod: init_module 'cifs.ko' failed (Exec format error)".
My samsung is :
GT-P5110
Androd version : 4.1.1
Kernel version : 3.0.31-523998
After reading some forum, i think the problem is with cifs.ko file ( not build for this kernel).
Any one can help, please
best regards.
Hamid

Wrong section. This is forum for Tab 1.

Related

OpenVPN on P500 - Tun(/TAP) module needed!

Hi all!
I'm trying to connect my p500 to my OpenVPN server, but i can't 'cause i can't find the tun.ko module compiled for my p500!
Already tried with another .ko file taken from another phone, but when i try to insmod it, dmesg say i can't 'cause " magic" is wrong (something like it is compiled for another cpu)
Could someone help me?
Auto-reply
Taken from Drellisdee' kernel!
have your openvpn now working?
P500 OpenVPN
I am trying to connect to 12vpn.com service
Authenticates and connects fine but no traffic is sent through the VPN it just stays on normal connection.
I attempt to install the tun.ko manually but get the following
# insmod /sdcard/tun.ko
insmod /sdcard/tun.ko
insmod: init_module '/sdcard/tun.ko' failed (File exists)
#
you can find tun.ko here...
/system/lib/modules/tun.ko
it works fine on my P500
Ginger555 said:
I am trying to connect to 12vpn.com service
Authenticates and connects fine but no traffic is sent through the VPN it just stays on normal connection.
I attempt to install the tun.ko manually but get the following
# insmod /sdcard/tun.ko
insmod /sdcard/tun.ko
insmod: init_module '/sdcard/tun.ko' failed (File exists)
#
Click to expand...
Click to collapse
That means the tun module is already loaded.
Can anyone supply me with the latest kernel source to the Official GingerBread Kernel? The current one linked in the first post is for 2.6.35.10-perf, which is the stock one for 2.3.3. Or atleast a working tun.ko, that works with 2.6.35.13-V4. It would be nice though to have it included in the default kernel, haven't seen anyone suggesting it. Would have posted this on the dev forum but this is my first post over here
Seems that this thread is dead, but who happened to find it and is having the same issue - get francos kernel instead, it includes the tun module and works! http://forum.xda-developers.com/showthread.php?t=1148196
OpenVPN
The franco kernel is no longer compatible with the latest stable mik's cyanogen mod, 6.5.7
However, there is a VPN setup screen in the network settings screen
Not sure if it works yet, or where to drop the OpenVPN files.

[Q] Mount NFS / NFS4

Hi,
first of all I'm sorry that I couldn't put this question directly here:
[Kernel] - 2.6.36.4 - OC-VFPv3-d16_FP 1.4GHZ - Galaxy Tab 10.1 (9/13/11; 9.00PM EDT)
Since I'm a new member I'm not allowed to do so...
Question: Did anyone manage to mount a NFS Share on the Galaxy Tab 10.1? I'm not talking about a CIFS/Samba Share!
What I tried so far:
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?
Any help on this would be highly appreciated!

Galaxy S2 Compile a Kernel Module

I'm having an issue insmoding a kernel I built for my rooted galaxy s2. My end game is to get USB-ethernet working by building the asix module but I cant even get a ko from the default build to insmod.
I compiled a kernel based on what I downloaded from samsungs website "GT-I9100_OpenSource_Update3.zip" and followed the instructions included (basically run make with defconfig) I chose scsi_wait_scan.ko as a test because it was built with the default config and currently wasn't loaded on my phone.
Here's some info that's pertinent. Any help would be appreciated. I'm running Ubuntu 11.
# lsmod
lsmod
dhd 242604 0 - Live 0xbf02e000
j4fs 65002 1 - Live 0xbf018000 (P)
Si4709_driver 17347 0 - Live 0xbf00d000
bthid 3384 0 - Live 0xbf007000
vibrator 6724 2 - Live 0xbf000000
# insmod scsi_wait_scan.ko
insmod scsi_wait_scan.ko
insmod: init_module 'scsi_wait_scan.ko' failed (Exec format error)
# dmesg
...
<4>[19668.986907] scsi_wait_scan: disagrees about version of symbol module_layout
# modinfo scsi_wait_scan.ko
modinfo scsi_wait_scan.ko
modinfo: can't open '/2.6.35.7-I9100XWKI4-CL575468/': No such file or directory
# pwd
/mnt/sdcard
# ls -l
...
-rwxrwxr-x system sdcard_rw 32484 2012-01-12 10:21 scsi_wait_scan.ko
$ file scsi_wait_scan.ko
scsi_wait_scan.ko: ELF 32-bit LSB relocatable, ARM, version 1 (SYSV), not stripped
Solved:
I actually got this working after I met another developer through work. You need a ramdisk to compile into the kernel.
I can't post links yet but you can search for the thread on the google forms by googling: 'Tal Alon kernel' and it should give you a pretty good description of what to do.
unpack a boot.img from a backup with unpack-bootimg.pl and uncpio the bootdisk.
The geist of what i learned is that there is a line in the .config file that should read CONFIG_INITRAMFS_SOURCE="/path/to/bootimg/boot.img-ramdisk"
After you build the kernel, copy your .ko's to the ram disk folder in boot.img-ramdisk/system/lib/modules
compile the kernel again then tar the zImage and load with odin.
njdevi11 said:
I actually got this working after I met another developer through work. You need a ramdisk to compile into the kernel.
I can't post links yet but you can search for the thread on the google forms by googling: 'Tal Alon kernel' and it should give you a pretty good description of what to do.
unpack a boot.img from a backup with unpack-bootimg.pl and uncpio the bootdisk.
The geist of what i learned is that there is a line in the .config file that should read CONFIG_INITRAMFS_SOURCE="/path/to/bootimg/boot.img-ramdisk"
After you build the kernel, copy your .ko's to the ram disk folder in boot.img-ramdisk/system/lib/modules
compile the kernel again then tar the zImage and load with odin.
Click to expand...
Click to collapse
Hi, did you get your asix.ko to work? I'm trying the same thing, got the module to compile and load, even eth0 showed up but now I'm stuck. I'm unable to get any communication going, i get "invalid rx length" errors in dmesg for the eth0 interface.
Thanks

[Q]cifs module for Jetstream

Hi mates,
Lately I got myself a HTC Jetsteam since it seems to be one of the most cost-effective tablets who support stylus. It has the latest stock rom (htc_jetstream_emr_update_1.30.502.1_us.exe) installed, rooted through cwm. So far I'm happy with it. However one feature I miss most is the ability to mount network drive. As I coundn't find cifs module for this model, I decide to compile myself. I download the kernel source from htcdev(tried both "puccini_lte_crc-2.6.35-4612ecf.tar.gz" and "puccini_lte_crc-2.6.35-4612ecf.tar.gz").
I manage to compile the modules (on ubuntu and osx) however I couldn't insert them. It throw "insmod: init_module 'cifs.ko' failed (Exec format error)". It seems I mismatched the kernel. Anyone have a clue? I really appreciate it. It's been a frustrating weekend...
I checked dmesg
the reason cifs.ko can't be insmod is:
<4>[ 7069.498929] cifs: Unknown symbol slow_work_register_user (err 0)
<4>[ 7069.499997] cifs: Unknown symbol slow_work_enqueue (err 0)
However no information in dmesg explains why slow-work.ko can't be insmod.
I attached files (kernel version: 2.6.35.10-g01487c4), maybe someone can give a try...
greetings
My mistake. I ignored one warning while make the module - turns out it matters.
Now the cifs module works properly on my tablet. Feel free to try.
cheers
whats a cifs module?
guru_shastri said:
whats a cifs module?
Click to expand...
Click to collapse
CIFS stands for common Internet file system. Samba utilizes this protocol for network file sharing. Many UNIX folks use Samba to access Windows files over their networks.
I am assuming that you can place these under /system/lib/modules and it will just work. Does anyone know any differently? I don't have a means of testing at the moment.
Normally on Linux you would insmod <module>, but the things are a little different on Android.

Cifs module for the V10?

Hello, I am trying to find a way to mount my home smb network shares to my V10. I've seen many different threads for the nexus devices about kernel modules for cifs that allow mounting to a folder path on the filesystem that all apps or file managers can access. Is there a module or similar solution for the V10?
I have compiled the module myself from the lolipop kernel source, but when I attempt to load cifs.ko, I get
Code:
insmod: init_module 'cifs.ko' failed (Required key not avaliable)
I have tried compiling with the pplus_tmo_us_defconfig and the pplus_tmo_us-perf_defconfig.
Does LG provide a signing key in the source? If so, how can I use it?

Categories

Resources