Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: "Sean Hunter" <sean@uncarved.co.uk>
To: axp-list@redhat.com
Subject: Re: RH 6.0: loading module at boot time?
Date: Tue, 25 May 1999 13:59:28 +0100	[thread overview]
Message-ID: <19990525135928.V28883@henry.uncarved.co.uk> (raw)
In-Reply-To: <37498E9E.3C952A60@art-render.com>; from John Connett on Mon, May 24, 1999 at 06:38:38PM +0100

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
> 


      reply	other threads:[~1999-05-25 13:41 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 message]
read-only archive

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