All of lore.kernel.org
 help / color / mirror / Atom feed
* Load kernel module automatically
@ 2002-06-04 19:38 Michael Zhu
  2002-06-04 19:46 ` Richard B. Johnson
                   ` (3 more replies)
  0 siblings, 4 replies; 28+ messages in thread
From: Michael Zhu @ 2002-06-04 19:38 UTC (permalink / raw)
  To: kernelnewbies; +Cc: linux-kernel

Hi, I built a kernel module. I can load it into the
kernle using insmod command. But each time when I
reboot my computer I couldn't find it any more. I mean
I need to use the insmod to load the module each time
I reboot the computer. How can I modify the
configuration so that the Linux OS can load my module
automatically during reboot? I need to copy my module
to the following directory?
  /lib/modules/2.4.7-10/

I've done that. But it doesn't work.

Any help will be appreciated.



______________________________________________________________________ 
Movies, Music, Sports, Games! http://entertainment.yahoo.ca

^ permalink raw reply	[flat|nested] 28+ messages in thread
* Re: Load kernel module automatically
@ 2002-06-06 13:29 Thunder from the hill
  0 siblings, 0 replies; 28+ messages in thread
From: Thunder from the hill @ 2002-06-06 13:29 UTC (permalink / raw)
  To: Michael Zhu; +Cc: markh, kernelnewbies, Linux Kernel Mailing List

Hi,

On Wed, 5 Jun 2002, Michael Zhu wrote:
> Hi, I've read the man page of modules.conf. But I
> still couldn't figure out how to solve my problem. I
> mean how to change the modules.conf file. Can I edit
> this file directly? Can anyone give me an example?
> 
> Thanks.

/etc/modules.conf is quite useful if you work with /dev files w/0 devfs, 
protocol families etc.

Example: you have your sound driver compiled as a module. In /dev you have 
a couple of sound character devs with major number 14. Now you write an 
alias for it into your /etc/modules.conf:

alias	char-major-14	soundcore

Example: you have your ipv6 over ipv4 compiled as a module. Your protocol 
family 41 requires ipv6 to be loaded. Therefore say:

alias	net-pf-41	ipv6

Regards,
Thunder
-- 
ship is leaving right on time	|	Thunder from the hill at ngforever
empty harbour, wave goodbye	|
evacuation of the isle		|	free inhabitant not directly
caveman's paintings drowning	|	belonging anywhere


^ permalink raw reply	[flat|nested] 28+ messages in thread

end of thread, other threads:[~2002-06-07 14:52 UTC | newest]

Thread overview: 28+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-06-04 19:38 Load kernel module automatically Michael Zhu
2002-06-04 19:46 ` Richard B. Johnson
2002-06-04 19:49 ` Mark Hounschell
2002-06-05 19:47   ` Michael Zhu
2002-06-05 20:07     ` Måns Rullgård
2002-06-06  0:00     ` Keith Owens
2002-06-06  8:59     ` Jan Hudec
2002-06-06  9:16       ` Mark Hounschell
2002-06-06 11:22         ` Jan Hudec
2002-06-06 13:24           ` Mark Hounschell
2002-06-07  3:42         ` Andrew Rodland
2002-06-04 22:27 ` Jan Hudec
2002-06-04 22:54   ` Austin Gonyou
2002-06-04 23:27     ` Mark Hounschell
2002-06-05  0:11       ` Austin Gonyou
2002-06-05 18:56 ` Eric Kristopher Sandall
2002-06-05 19:03   ` John Tyner
2002-06-05 19:08     ` Eric Kristopher Sandall
2002-06-05 19:41       ` Michael Zhu
2002-06-05 20:25         ` Eric Kristopher Sandall
2002-06-06 13:27           ` Thunder from the hill
2002-06-05 20:57       ` Oliver Wegner
2002-06-05 21:37         ` Richard B. Johnson
2002-06-05 22:23           ` Oliver Wegner
2002-06-05 23:45             ` Alan Cox
2002-06-05 23:12               ` J.A. Magallon
2002-06-05 22:33           ` Oliver Wegner
  -- strict thread matches above, loose matches on Subject: below --
2002-06-06 13:29 Thunder from the hill

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.