Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Linux - Kernel This forum is for all discussion relating to the Linux kernel.


  Search this Thread
Old 07-19-2010, 05:23 AM   #1
Registered: Sep 2007
Location: noida
Distribution: suse
Posts: 63

Rep: Reputation: 16
dynamic linking while insmod

Hello All,

I'm trying to figure out how dynamic linking happens in Linux kernel while loading a module.

when I run #insmod test.ko

It'll will call test.c file's module_init(...);

but how this code is loaded into the kernel?

hope you all understand what I'm searching for

Old 07-22-2010, 02:00 AM   #2
Senior Member
Registered: Dec 2008
Posts: 4,680
Blog Entries: 29

Rep: Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918
Read the below link in detail:


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Static linking vs. dynamic linking? posix_memalign Programming 13 04-18-2010 03:27 PM
static and dynamic linking zb10948 Programming 1 04-27-2009 04:48 AM
dynamic linking joshknape Linux - Software 1 09-19-2005 10:43 PM
dynamic linking and g++ kris273 Programming 10 08-16-2004 03:16 PM
Static/dynamic linking ugenn Linux - Software 0 12-16-2002 12:01 AM > Forums > Linux Forums > Linux - Software > Linux - Kernel

All times are GMT -5. The time now is 04:21 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration