insmod problem
hi,all;
I want to insert an module:yaffs.ko into my kernel2.6.26,but i meet this question:
[\u@\h \W]$insmod yaffs.ko
yaffs: unknown relocation: 40
insmod: cannot insert 'yaffs.ko': invalid module format
and my busybox version is v1.11.1; may anyone tell me why ?thanks!
Bily
2008-09-13
give clear explanation how you have installed
regards,
YMR
Quoted 20 lines · Bily
hi,all;
I want to insert an module:yaffs.ko into my kernel2.6.26,but i meet this question:[\u@\h \W]$insmod yaffs.ko
yaffs: unknown relocation: 40
insmod: cannot insert 'yaffs.ko': invalid module formatand my busybox version is v1.11.1; may anyone tell me why ?thanks!
Bily
2008-09-13--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
I am installing the linux kernel 2.6.26.2 to my AT91rm9200;I compile the kernel by using cross compiler arm-none-eabi-gcc (Sourcery G++ Lite 2008q1-126); and the kernel can run on AT91rm9200 normally;howerver if i want to insert modules into kernel ,it happen the mistake like this:
[\u@\h \W]$insmod yaffs.ko
yaffs: unknown relocation: 40
insmod: cannot insert 'yaffs.ko': invalid module format
thanks for help!~
Bily
2008-09-17
发件人: mal reddy y
发送时间: 2008-09-17 16:19:52
收件人: Bily
抄送: linux-kernel
主题: Re: insmod problem
give clear explanation how you have installed
regards,
YMR
Quoted 14 lines · Bily
hi,all;
I want to insert an module:yaffs.ko into my kernel2.6.26,but i meet this question:[\u@\h \W]$insmod yaffs.ko
yaffs: unknown relocation: 40
insmod: cannot insert 'yaffs.ko': invalid module formatand my busybox version is v1.11.1; may anyone tell me why ?thanks!
Bily
2008-09-13
Quoted 6 lines
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
�翳簕.n�+壏煯壄�+%娝�遍荻w�簕.n�+壏{炳G珴�妠ay�蕠跈�,jf"穐殢飦�戧鐉_璁(殠娸"濟�m���G珴�⒏?櫒璀�&x忈秈O曟瑉窔v豝�m����鹅�⒏?朓�
Can you please provide your .config file?
I'm mostly curious aboutCONFIG_MODVERSIONSCONFIG_MODULE_FORCE_LOAD
Benny
Quoted 50 lines · Bily
I am installing the linux kernel 2.6.26.2 to my AT91rm9200;I compile the kernel by using cross compiler arm-none-eabi-gcc (Sourcery G++ Lite 2008q1-126); and the kernel can run on AT91rm9200 normally;howerver if i want to insert modules into kernel ,it happen the mistake like this:
[\u@\h \W]$insmod yaffs.ko
yaffs: unknown relocation: 40
insmod: cannot insert 'yaffs.ko': invalid module formatthanks for help!~
Bily
2008-09-17发件人: mal reddy y
发送时间: 2008-09-17 16:19:52
收件人: Bily
抄送: linux-kernel
主题: Re: insmod problemgive clear explanation how you have installed
regards,
YMRQuoted 14 lines · Bily
hi,all;
I want to insert an module:yaffs.ko into my kernel2.6.26,but i meet this question:[\u@\h \W]$insmod yaffs.ko
yaffs: unknown relocation: 40
insmod: cannot insert 'yaffs.ko': invalid module formatand my busybox version is v1.11.1; may anyone tell me why ?thanks!
Bily
2008-09-13Quoted 6 lines
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/N嫥叉靣笡y氊b瞂千v豝�)藓{.n�+壏{睉赙zXФ洝塄}财爖�&j:+v墾�珣赙zZ+€�+zf"穐殘啳嗃i�z�畐ア�?櫒璀�&�)撷f旟^j谦y呩@A玜囤�0鹅h�鍜i
hi,Benny
here is my kernel2.6.26.2 .config file; and both the CONFIG_MODVERSIONS and CONFIG_MODULE_FORCE_LOAD is not set.thanks!~
Bily
2008-09-18
发件人: Benny Halevy
发送时间: 2008-09-17 21:11:54
收件人: Bily
抄送: mal reddy y; linux-kernel
主题: Re: insmod problem
Can you please provide your .config file?
I'm mostly curious aboutCONFIG_MODVERSIONSCONFIG_MODULE_FORCE_LOAD
Benny
Quoted 43 lines · Bily
I am installing the linux kernel 2.6.26.2 to my AT91rm9200;I compile the kernel by using cross compiler arm-none-eabi-gcc (Sourcery G++ Lite 2008q1-126); and the kernel can run on AT91rm9200 normally;howerver if i want to insert modules into kernel ,it happen the mistake like this:
[\u@\h \W]$insmod yaffs.ko
yaffs: unknown relocation: 40
insmod: cannot insert 'yaffs.ko': invalid module formatthanks for help!~
Bily
2008-09-17发件人: mal reddy y
发送时间: 2008-09-17 16:19:52
收件人: Bily
抄送: linux-kernel
主题: Re: insmod problemgive clear explanation how you have installed
regards,
YMRQuoted 14 lines · Bily
hi,all;
I want to insert an module:yaffs.ko into my kernel2.6.26,but i meet this question:[\u@\h \W]$insmod yaffs.ko
yaffs: unknown relocation: 40
insmod: cannot insert 'yaffs.ko': invalid module formatand my busybox version is v1.11.1; may anyone tell me why ?thanks!
Bily
2008-09-13
Quoted 7 lines
Quoted 6 lines
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/N嫥叉靣笡y氊b瞂千v豝�)藓{.n�+壏{睉赙zXФ洝塄}财爖�&j:+v墾�珣赙zZ+€�+zf"穐殘啳嗃i�z�畐ア�?櫒璀�&�)撷f旟^j谦y呩@A玜囤�
0鹅h�鍜i
Quoted 2 lines · Bily
hi,Benny
here is my kernel2.6.26.2 .config file; and both theCONFIG_MODVERSIONSandCONFIG_MODULE_FORCE_LOADis not set.thanks!~
OK. These should be fine.
This seems to be the culprit:
Quoted 1 line
Quoted 1 line
yaffs: unknown relocation: 40
It indicates that apply_relocate() is failing with -ENOEXEC where it doesn't know the r_info code "40".
It could be a problem with your cross-platform linker.
Benny
Quoted 73 lines
Bily
2008-09-18发件人: Benny Halevy
发送时间: 2008-09-17 21:11:54
收件人: Bily
抄送: mal reddy y; linux-kernel
主题: Re: insmod problemCan you please provide your .config file?
I'm mostly curious aboutCONFIG_MODVERSIONSCONFIG_MODULE_FORCE_LOADBenny
Quoted 43 lines · Bily
I am installing the linux kernel 2.6.26.2 to my AT91rm9200;I compile the kernel by using cross compiler arm-none-eabi-gcc (Sourcery G++ Lite 2008q1-126); and the kernel can run on AT91rm9200 normally;howerver if i want to insert modules into kernel ,it happen the mistake like this:
[\u@\h \W]$insmod yaffs.ko
yaffs: unknown relocation: 40
insmod: cannot insert 'yaffs.ko': invalid module formatthanks for help!~
Bily
2008-09-17发件人: mal reddy y
发送时间: 2008-09-17 16:19:52
收件人: Bily
抄送: linux-kernel
主题: Re: insmod problemgive clear explanation how you have installed
regards,
YMRQuoted 14 lines · Bily
hi,all;
I want to insert an module:yaffs.ko into my kernel2.6.26,but i meet this question:[\u@\h \W]$insmod yaffs.ko
yaffs: unknown relocation: 40
insmod: cannot insert 'yaffs.ko': invalid module formatand my busybox version is v1.11.1; may anyone tell me why ?thanks!
Bily
2008-09-13Quoted 7 lines
Quoted 6 lines
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/N嫥叉靣笡y氊b瞂千v豝�)藓{.n�+壏{睉赙zXФ洝塄}财爖�&j:+v墾�珣赙zZ+€�+zf"穐殘啳嗃i�z�畐ア�?櫒璀�&�)撷f旟^j谦y呩@A玜囤�
0鹅h�鍜i