Seeking CIFS Module for Kernel 2.6.32.15-g59b9e50 - EVO 4G Android Development

Has anyone built the cifs.ko module for the 2.6.32.15-g59b9e50 kernel? I did some digging around here, found some copies, but they seem to be different versions and aren't loading.
If I should be using a different kernel, please recommend one... I am using OMJ's ROM.
I found instructions for building a kernel, but the kernel source code on HTC's Developer site is for 2.6.32.15-g746f4f0. Is this newer than g59b9e50?
Long story short, I'm trying to get CIFS working...
Thanks!

Related

building a kernel module

Hello All,
I am working on a project that involves building a new kernel module.
Has anyone built successfully a kernel module on an HTC hero?
I noticed that kernel module tools are already present on the phone, such as insmod, rmmod, etc, which are apparently necessary for the wireless kernel module.
From my understanding it will be hard to do since we do not have the source for the CDMA Hero, but you might be able to port some of it basing off of the GSM Hero source that has been released.

Anyone compiled 2.6.27 from HTC source?

I'm trying to compile the source (from the Sapphire link), but am running into compile errors in the iptables/netfilter subsystem
Seems there are filename case issues.. Which I resolved, but now getting an undefined symbol IPT_DSCP_MASK
It's not defined anywhere in the kernel source.
----
Subsequently tried the hero source and get
http://member.america.htc.com/download/RomCode/Source_and_Binaries/kernel_hero_0078c992.tar.bz2
This fails on undefd:
CC arch/arm/mach-msm/htc_battery.o
arch/arm/mach-msm/htc_battery.c: In function 'htc_set_smem_cable_type':
arch/arm/mach-msm/htc_battery.c:405: error: 'ENOTSUP' undeclared (first use in this function)
----
Can HTC really say that they released the source when it won't compile out of the box?
Anyone else have these issues?
Apparently, no one ever compiled the 2.6.27 kernel... simply amazing! (well, also, everybody is doing their stuff for their specific device, so you'll have to ask around in multiple forums like Dream, Hero, Nexus, etc.)
I didn't either.. but here is a nice starter guide.
The errors you get are probably due to missing files (they are available from your device).
In that starter guide he is building android itself, not the kernel...
I've been through every kernel build doc that google can reference...
The errors could be due to missing files... Why they are a missing is a mystery; as the kernel sources were those officially released by HTC for the device...
I even replaced the .config with that from my device.
Will try to pull a 2.6.27 kernel from the git this weekend and go at it again...
magicdroid said:
Apparently, no one ever compiled the 2.6.27 kernel... simply amazing! (well, also, everybody is doing their stuff for their specific device, so you'll have to ask around in multiple forums like Dream, Hero, Nexus, etc.)
I didn't either.. but here is a nice starter guide.
The errors you get are probably due to missing files (they are available from your device).
Click to expand...
Click to collapse
Stupid HTC kernel source...
I tried dozens of times to get it to compile and it never wanted to work.
Try this kernel source. Works for HTC Magic 6.35 radio and the HTC Hero (different .config)
http://github.com/cursordroid/HTC-CCR-Kernel
Thanks CD,
I was trying to compile for the old radio/SPL... There is an interlacing issue we are running into with this 32A on 2.6.29 so I want to build s 2.6.27 as it is supposed to be ok there, then figure out what has changed; or what is the difference with the board/chip variant in this version of the Rogers 32A...
Thx!
Kernels 32A
Questions for the enlightened:
1) If I want to build a Donut rom for the 32A, I need to compile a 2.6.29 kernel?
2) And if I want to build an Eclair rom for the 32A, I need to compile a 2.6.30+ kernel?
3) And these specific kernels need to be configured (forward-ported) for the 32A?
I think I'm getting there.. or not?
magicdroid said:
Questions for the enlightened:
1) If I want to build a Donut rom for the 32A, I need to compile a 2.6.29 kernel?
2) And if I want to build an Eclair rom for the 32A, I need to compile a 2.6.30+ kernel?
3) And these specific kernels need to be configured (forward-ported) for the 32A?
I think I'm getting there.. or not?
Click to expand...
Click to collapse
Donut and Eclair both require 2.6.29 kernels.
Eclair can run on a 2.6.30+ kernel
And you're right, we need specific kernel source for the 32A to get 2.6.29 or higher kernels.
Thanks for the input Cursor!
Maybe I'm wrong, but it seems to me that Magic kernel development is something that is mostly done solo. I know there are custom kernel sources available, but you have like a dozen to choose from, there doesn't seem to be any (community) effort to build one single kernel that could be used for all roms.
Wouldn't it help getting more result if people just would share their precious little spare-time and work together?
I'm thinking of starting an xda-msm-2.6.29 branch based on android-msm-2.6.29-donut..
Wait.. that would be yet another branch

TPGB20110518 & tun.ko

hello. im new to android and i'm messing with openvpn and i need tun.ko. from what i understand, not just any tun.ko will work with a particular rom so i was wondering if anyone knows where i can obtain or at least make this file that would possibly work with the TPGB20110518 rom? thanks.
You should probably post in the author's thread, but I sse you probably can't post in the dev section yet (need 10 posts I think). Anyway, I looked at that ROM in the dev section and it's apparently running Di11igaf's kernel. I checked out his thread here:
http://forum.xda-developers.com/showthread.php?t=1070501
but he doesn't post any links to the kernel source.
With the source, it would be a simple matter of compiling in the module and adding it. I'd suggest you contact the author.
Pm the developer and he will respond asap
the issue was actually already resolved. did a bit of reading and apparently tun.ko file was built into cm so seeing as tpgb is based off of cm, it was built in as well. =)
Source is posted. Git is in my sig for the kernel

[MODULE] [EYG] Cifs.ko for Evil Yummy Gumdrop Kernel

Hi everyone, I have been wrangling with this for several days now. Despite some oddities and a syntax error in the kernel source code, I have successfully compiled a working cifs kernel module for the V10. As far as I know this module can only be used with livlogik's kernel, but it does not matter whether or not you are on LP or MM. Unfortunately, I do not think I can compile one for the stock kernel, as android kernels typically require modules to be signed, and I haven't been able to find signing keys for LG's kernels (if you have them let me know and I will try).
All credits go to livlogik for the kernel, give him a "Thanks" :victory:
Enjoy!
(Mods feel free to move this to dev section if you feel it is necessary)

Help building Kernel Module

Hello All,
I am new in the android world, but am fairly experienced on the Linux side of things. I would like to build a loadable kernel module for a specific version of JB (4.2.2_r1) and have some general questions.
As I understand it, the process should be as follows:
Get kernel source for JB, compile kernel, then compile kernel module. Please correct me if I am wrong
I can't seem to find the kernel source for this, can anyone point me to exactly where it is?
Thanks

Categories

Resources