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

Re: rebuild kernel and modules



On Mon, Feb 14, 2000 at 12:07:46PM -0600, Timothy C. Phan wrote:
> Hi Lee,
> 
>   So, when I do a dpkg -i kernel_image,  would this allowed
>   me to install the modules one by one or it would just
>   install all the modules that I configure to build before
>   rebuilding the kernel?

dpkg -i install the modules onto the disk. Some other mechanism is
required to install the modules into memory when you boot.

The command should install (onto the disk) all the modules that you
compiled into a directory under /lib/modules (/lib/modules/2.2.14 for
example). You can put specific modules to load (into memory) in the file
/etc/modules or use auto to have the kernel get them automatically (if
you compiled the kernel with support for this feature.) You can also
install modules (into memory) with 'modprobe modulename' by hand.

>   Secondly,  when I installed the module during the fresh
>   installation, I selected a several modules and the system
>   would prompt me for some command line options to the modules
>   that I selected,  what are the available options?

Look in /etc/modutils and edit whatever seems to be the appropriate
file, or make a new file called options. Add a line of the form:

options module module_options

Then run update-modules. This command will process the files in
/etc/modutils and generate a single /etc/modules.conf file.

> 
>   I believe at the same time, it also display some warning
>   message about unavailable of some document...
> 
>   Thanks!
> 

-- 
Lee Bradshaw                 lee@sectionIV.com (preferred)
Alantro Communications       lee@alantro.com


Reply to: