Re: Módulo imm
On Tue, 22 Oct 2002, Rubens Saraiva wrote:
> Já tentei o modconf e realmente ele não está lá.
> Como faço para compilar com suporte ao zip??
>
Pra recompilar o kernel e adicionar o suporte que vc quer, vc pode
seguir a seqüência de comandos (logado como root - desculpe as linhas longas):
---BeGiN---
Open your new tarball in a directory called something like
/usr/src/linux-X.X.X, where "X.X.X" is the version of your new kernel tarball.
Than, make a symlink: ln -sf /usr/src/linux-X.X.X /usr/src/linux, so that a few
"dependencies" are taken care of...
Now, let's move forward. Issue the following commands:
make mrproper # Ensure that there are NO residual generated files that could mess up your life!
make xconfig # Used to CONFIGURE the kernel TO BE compiled. Could also be:
"make config" (command-line based) or
"make menuconfig" (ncurses-based) or "make oldconfig" (semiautomatic update program, in case you
have remeberd to move your configuration file to /usr/src/linux/.config).
make dep # Calculate the proper dependencies for the NEW configuration.
make clean # Clean any files that are not needed for the compilation (clean the sources).
make zImage (gzip) # Build the kernel image compressed with the utility listed in brackets.
bzImage (bzip2)
make modules # Build the loadable modules.
make modules_install # Install the loadable modules.
# Debian Shortcut to Kernel Compiling...
#
make-kpkg kernel_image # This one implements the following: dependency file generation; clean the sources; create a
compressed kernel image; create a Debian Package (*.deb) for you.
---EnD---
Isso deve resolver o seu problema de compilação. Aí, basta que, durante
a configuração do Kernel, vc escolha os módulos apropriados. SEMPRE deixe uma
cópia do seu kernel antigo disponível, pra caso alguma coisa dê errado... >;-)
--
Daniel
,-----------------------------------------------------------------------------.
> | www.physics.brown.edu www.cecm.usp.br <
> Daniel Doro Ferrante | <
> danieldf@het.brown.edu | "Drag me, drop me, make <
> Linux Counter #34445 | me feel like an object." <
> | - .signature by Jim Reynolds <
`-----------------------------------------------------------------------------'
Reply to: