[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: kernel package



On Mon, 31 Aug 1998, Ed Cogburn wrote:

> Kenneth Scharf wrote:
> > 
> > When I installed debian 2.0 from CD I was asked what modules I wanted
> > configured into the kernel.  These modules are called out in
> > /etc/modules.  I have rebuilt the kernel using the kernel package
> > utility.  This created a debian kernel-image package which I
> > installed, thus upgrading my kernel.  (neat!)  It seems to have done
> > everything, except modify the /etc/modules file.  Is there a utility
> > that modifies this file to reflect the modules built with the new
> > kernel, or do I have to do this by hand?  (I added module support for
> > java, minux, etc).
> > 
> 	'depmod -a' does this.  IIRC, the make-kpg should do this
> though...hmmm.

AIUI that takes care of /lib/modules/`uname -r`/modules.dep and you
have to take care of /etc/modules yourself.

I always forget to prune /etc/modules when I change over from the
installation kernel to my first own-built one, so I get lots of
'not found' messages because I never forget to mv the old
/lib/modules tree. Strange...

But you can't automate writing /etc/modules. Only you know whether
you want to run kerneld (auto), whether certain modules should always
be loaded (3c509, sound), attempted (ppa) or loaded on demand (lp).
(Some of my choices.)

Cheers,

-- 
Email:  d.wright@open.ac.uk   Tel: +44 1908 653 739  Fax: +44 1908 655 151
Snail:  David Wright, Earth Science Dept., Milton Keynes, England, MK7 6AA
Disclaimer:   These addresses are only for reaching me, and do not signify
official stationery. Views expressed here are either my own or plagiarised.


Reply to: