[1208] in RedHat Linux List

home help back first fref pref prev next nref lref last post

Re: Re[2]: A no MODULE compile ?

daemon@ATHENA.MIT.EDU (Jon Klaren)
Sun Oct 27 01:46:22 1996

Date: Sat, 26 Oct 1996 22:43:46 -0700 (PDT)
From: Jon Klaren <jklaren@qualcomm.com>
To: "W.D.McKinney" <deem@deesign.com>
cc: redhat-list@redhat.com
In-Reply-To: <199610270243.SAA00861@deesign.com>
Resent-From: redhat-list@redhat.com
Reply-To: redhat-list@redhat.com



On Sat, 26 Oct 1996, W.D.McKinney wrote:

> Mike Sangrey <mike@sojurn.lns.pa.us> wrote:
> > > W. D. McKinney writes:
> > >  > Ok,
> > >  > 
> > >  > I need to set up a RHCL 4.0 box with no modules.
> > >  > If we want use 2.0.21 kernel and just compile all needed
> > >  > services, what is best way to to take a RHCL 4.0 sys
> > >  > to this direction ?
> > >  > 
> > >  > 
> > >  > 1. Blow away cd /usr/src/linux /usr/src/redhat /usr/src/linux-2.0.18 ?
> > >  > 2. Just drop a new kernel source in /usr/src/ ?
> > >  > 3. make config, make dep; make clean; make zImage (Of course, no modules) ?
> > >  > 4. Does this take away module dependent searches ?
> > >  > 
> > >  > Appreciate some input here.
> > >  > 
> > > In short YES, however I wouldn't get rid of the kernel you have
> > > wherever i.e. /boot, but I'd just add it to your lilo.conf and
> > > re-run lilo after you have compiled. This will give you a backup
> > > kernel to boot from.
> > > 
> > > Hope this helps, if you need more info e-mail me directly.
> > 
> > I like to cp /vmlinuz to /vmlinuz.orig.
> > And then I put these entries on my lilo.conf:
[lilo.conf deleted]
> > Then I do a make zlilo, which makes a new kernel and copies /vmlinuz to 
> > /vmlinuz.old and puts the new kernel at /vmlinuz. I always have /vmlinuz.orig 
> > to fall back on.
> 
> Thanks,
> 
> I was wondering more about module depends in the bootup process.
> Just compiling a new source is enough to not use modules under 4.0 ?
> 
> -Dee

The 4.0 setup uses kerneld to demand-load modules.  Only the install does
explicit "insmod" of modules.  So if the support you need is compiled in,
there's no need to try to load a module.  Now you might have some messages
in your /var/log/messages like "net-pf-4 unsupported" but these are
harmless and can be turned off by a line in /etc/conf.modules like
alias net-pf-4 off.

-Jon

Jon Klaren
San Diego, CA USA
jklaren@qualcomm.com



--
  PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
  ________________________________________________________________________
  http://www.redhat.com/RedHat-FAQ   http://www.redhat.com/RedHat-Errata
  http://www.redhat.com/RedHat-Tips  http://www.redhat.com/mailing-lists
  ------------------------------------------------------------------------
To unsubscribe: mail -s unsubscribe redhat-list-request@redhat.com < /dev/null


home help back first fref pref prev next nref lref last post