Skip to contentSkip to conversation

Kernel module insertion issue with kernel 2.6.15

DISCUSSION Prakash Jain 2 participants 3 messages Sep 15, 2006 – Sep 18, 2006

lore
Share & tools
lore
#0 lore raw

Hi,
I am relatively new to this list/area, not sure if this is right forum for my query (please point me to right list in that case).

I am porting my software from 2.4 kernel to 2.6.15 on a board similar to ppc 82xx sandpoint architecture. I am able to make the board functional except the following issue. One of my kernel module (inserted thru insmod) takes almost 6-7 minutes to load with 2.6 kernel while it used to take only few seconds with 2.4 kernel. Yet, after the long wait module is inserted correctly with 2.6 kernel as board software works fine after that. When I halt the processor (using BDI2000) during the long wait, it always halts in function get_plt_size() in kernel's arch/ppc/kernel/module.c. Single stepping does not take to any error or suspicious place. Looks like it is going thru the long for() loop in the function. Only suspicion I got is while compiling the module, it generates tons of undefined symbols. I ignored them as it was a third party software and module inserts correctly at the end.

Can someone give few pointers on what could be the reasons and where to look to resolve this? Will appreciate your time, Thanks,
Prakash

#1 lore raw
Quoted 2 lines · Prakash Jain

Can someone give few pointers on what could be the reasons and where to look to resolve this? Will appreciate your time,

If you want help with this, you need to post your module source code. As long as people suspect you're talking about illegal or non-GPL code, don't expect anyone to answer technical questions.

	Arnd <><
#2 lore raw

I suspected it to be a kernel level issue (in insmod) that's why I posted it for suggestion if someone else also has encountered it while porting module from 2.4 to 2.6 kernel. I expected mailing list is to be for any technical questions related to ppc-linux-kernel. I have to check the GPL status of the module as it is a third party code (I already mentioned it in my email). Thanks for your words any way..
Prakash

Quoted 16 lines · Arnd Bergmann
Quoted 3 lines · Prakash Jain

Can someone give few pointers on what could be the reasons and where to look to resolve this? Will appreciate your time,

If you want help with this, you need to post your module source code. As long as people suspect you're talking about illegal or non-GPL code, don't expect anyone to answer technical questions.

	Arnd <><