Author Topic: Cifs module for s5110  (Read 557 times)

Offline naxeras

  • *
  • Posts: 148
Cifs module for s5110
« on: July 30, 2012, 06:37:28 PM »
I compile cifs module with JXDS601 leaked source code.

I try to load with lsmod but i get the error (exec format error).

It is possible compile a working cifs module for s5110?

Offline furan

  • *
  • Posts: 100
Re: Cifs module for s5110
« Reply #1 on: July 30, 2012, 08:27:44 PM »
What does dmesg say about it?

Offline naxeras

  • *
  • Posts: 148
Re: Cifs module for s5110
« Reply #2 on: July 31, 2012, 10:03:52 AM »
In dmesg nothing.

Anyone with s601 cifs module for try it?

Offline skelton

  • ***
  • Posts: 1923
Re: Cifs module for s5110
« Reply #3 on: July 31, 2012, 10:14:42 AM »
In dmesg nothing.

Anyone with s601 cifs module for try it?

Which config use s5110? in s601 is reff11 for compiling modules. Maybe is a backlight problem? Probably you need to comment out these lines this way.

#if defined(CONFIG_AMLOGIC_BACKLIGHT)
 //power_off_backlight();
#endif

But I am out of ideas. Probably the leaked kernel sources don't work in s5110.
I don't accept PM messages. I am tired of them. Use forum to consult me anything.

Offline furan

  • *
  • Posts: 100
Re: Cifs module for s5110
« Reply #4 on: July 31, 2012, 05:53:44 PM »
You're using insmod right? In any case, dmesg should show any link/loader errors for kernel modules. Can you paste the output of your dmesg?

Offline naxeras

  • *
  • Posts: 148
Re: Cifs module for s5110
« Reply #5 on: August 03, 2012, 09:43:41 AM »
Ok,

command outuput is:

insmod: init_module '/system/lib/modules/cifs.ko' failed (exec format error)

Only 1 line in dmesg output:

cifs: no symbol version for module_layout

Offline skelton

  • ***
  • Posts: 1923
Re: Cifs module for s5110
« Reply #6 on: August 03, 2012, 09:59:04 AM »
Ok,

command outuput is:

insmod: init_module '/system/lib/modules/cifs.ko' failed (exec format error)

Only 1 line in dmesg output:

cifs: no symbol version for module_layout

It seems like if the sources you use to compile the module has a mismatch with the sources needed for the machine. Correct me someone if I'm wrong.
I don't accept PM messages. I am tired of them. Use forum to consult me anything.

Offline naxeras

  • *
  • Posts: 148
Re: Cifs module for s5110
« Reply #7 on: August 03, 2012, 10:49:45 AM »
The error is for the magic number of the kernel and cifs module, these numbers not match.

http://forum.xda-developers.com/archive/index.php/t-1123643.html

In makefile is necessary change for the correct numbers I guess.

Offline Deen0X

  • *
  • Posts: 420
Re: Cifs module for s5110
« Reply #8 on: August 03, 2012, 10:57:39 AM »
you guys need to talk on one place... hehehe
^_^