Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* RH 6.0: loading module at boot time?
@ 1999-05-24 11:32 John Connett
  1999-05-24 16:48 ` Sean Hunter
  0 siblings, 1 reply; 4+ messages in thread
From: John Connett @ 1999-05-24 11:32 UTC (permalink / raw)
  To: Linux Alpha Mailing List

I would like to have a module automatically loaded at boot time and stay
resident.  The documentation for modprobe suggests that this should be
possible.  The target system is running Red Hat 6.0 for Alpha.

My guess is that a suitable line in /etc/conf.modules should do the
job.  However, I have been unable to figure out the format of that line
...

Any suggestions?
--
John Connett (jrc@art-render.com)


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

* Re: RH 6.0: loading module at boot time?
  1999-05-24 11:32 RH 6.0: loading module at boot time? John Connett
@ 1999-05-24 16:48 ` Sean Hunter
  1999-05-24 17:38   ` John Connett
  0 siblings, 1 reply; 4+ messages in thread
From: Sean Hunter @ 1999-05-24 16:48 UTC (permalink / raw)
  To: axp-list

If you say what it is, I could be more specifically helpful.

alias scsi_hostadapter aic7xxx

...autoloads the aic7xxx module to drive an adaptec scsi card,
 for example.  "modprobe -c" will give you a lot more examples.  You
could also look in the HOWTOs.  

If the module is used it will stay resident.

Sean

On Mon, May 24, 1999 at 12:32:35PM +0100, John Connett wrote:
> I would like to have a module automatically loaded at boot time and stay
> resident.  The documentation for modprobe suggests that this should be
> possible.  The target system is running Red Hat 6.0 for Alpha.
> 
> My guess is that a suitable line in /etc/conf.modules should do the
> job.  However, I have been unable to figure out the format of that line
> ...
> 
> Any suggestions?
> --
> John Connett (jrc@art-render.com)
> 
> -- 
> To unsubscribe: send e-mail to axp-list-request@redhat.com with
> 'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com
> 


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

* Re: RH 6.0: loading module at boot time?
  1999-05-24 16:48 ` Sean Hunter
@ 1999-05-24 17:38   ` John Connett
  1999-05-25 12:59     ` Sean Hunter
  0 siblings, 1 reply; 4+ messages in thread
From: John Connett @ 1999-05-24 17:38 UTC (permalink / raw)
  To: axp-list

Sean Hunter wrote:
> 
> If you say what it is, I could be more specifically helpful.
> 
> alias scsi_hostadapter aic7xxx
> 
> ...autoloads the aic7xxx module to drive an adaptec scsi card,
>  for example.  "modprobe -c" will give you a lot more examples.  You
> could also look in the HOWTOs.
> 
> If the module is used it will stay resident.

It's a driver for a special porpose piece of hardware which doesn't
really fall into any of the obvious classes.  Let's say it is called
"xyz", and the loadable module can be found in
/lib/modules/2.2.x-y/misc/plx.o.  What I would like to achieve is the
same effect as:

    insmod xyz

issued from a script somewhere early in the boot process, but instead
driven by a line in /etc/conf.modules.
--
John Connett (jrc@art-render.com)


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

* Re: RH 6.0: loading module at boot time?
  1999-05-24 17:38   ` John Connett
@ 1999-05-25 12:59     ` Sean Hunter
  0 siblings, 0 replies; 4+ messages in thread
From: Sean Hunter @ 1999-05-25 12:59 UTC (permalink / raw)
  To: axp-list

OK, well the kerneld/kmod mechanism (which looks at /etc/conf.modules) 
was primarily designed to load modules on demand.  If you genuinely
was just to load it at boot, you could do worse than to add "insmod plx"
to your boot scripts.  

However, if your module provides a device, you could use something
like this in your /etc/conf.modules

alias char-major-73 plx
...for a char device with major number 73 or "block-major" for a block 
device.  Then the "plx" module will be loaded when anyone accesses the
device.   If you have a daemon that talks to the device and you start
that on boot, the module should be autoloaded.

Good Luck!

Sean

On Mon, May 24, 1999 at 06:38:38PM +0100, John Connett wrote:
> Sean Hunter wrote:
> > 
> > If you say what it is, I could be more specifically helpful.
> > 
> > alias scsi_hostadapter aic7xxx
> > 
> > ...autoloads the aic7xxx module to drive an adaptec scsi card,
> >  for example.  "modprobe -c" will give you a lot more examples.  You
> > could also look in the HOWTOs.
> > 
> > If the module is used it will stay resident.
> 
> It's a driver for a special porpose piece of hardware which doesn't
> really fall into any of the obvious classes.  Let's say it is called
> "xyz", and the loadable module can be found in
> /lib/modules/2.2.x-y/misc/plx.o.  What I would like to achieve is the
> same effect as:
> 
>     insmod xyz
> 
> issued from a script somewhere early in the boot process, but instead
> driven by a line in /etc/conf.modules.
> --
> John Connett (jrc@art-render.com)
> 
> -- 
> To unsubscribe: send e-mail to axp-list-request@redhat.com with
> 'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com
> 


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

end of thread, other threads:[~1999-05-25 13:41 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-05-24 11:32 RH 6.0: loading module at boot time? John Connett
1999-05-24 16:48 ` Sean Hunter
1999-05-24 17:38   ` John Connett
1999-05-25 12:59     ` Sean Hunter

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox