From: Fundu <fundu_1999@yahoo.com>
To: Linux Newbie <linux-newbie@vger.kernel.org>
Subject: Module init for compiled in vs loaded modules
Date: Mon, 18 Aug 2008 18:46:51 -0700 (PDT) [thread overview]
Message-ID: <609891.43692.qm@web63401.mail.re1.yahoo.com> (raw)
In-Reply-To: <2e35683f0808181020q237e8d3dm2f22c29f1ad8030d@mail.gmail.com>
Hi,
For kernel modules can be loaded by explicitly do insmod etc for ones that are not compiled into the kernel.
1) But where do i look to find how the kernel loads(ie. calls the fn exported by module_init(XXXX)) for modules compiled into the kernel.
2) Does the kernel call some kind of probe to load them ? say i have 2 module compiled into the kernel for 2 diff type of ether cards. Would the kernel call init on both.
thanks !
--
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs
next prev parent reply other threads:[~2008-08-19 1:46 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-08-18 15:24 ftp large files to new server Bhikkhu Mettavihari
2008-08-18 17:20 ` Bhikkhu Mettavihari
2008-08-19 1:46 ` Fundu [this message]
2008-08-19 6:02 ` Module init for compiled in vs loaded modules Santosh
2008-08-19 11:33 ` ftp large files to new server Chuck
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=609891.43692.qm@web63401.mail.re1.yahoo.com \
--to=fundu_1999@yahoo.com \
--cc=linux-newbie@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox