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

Re: ¿Ha cambiado el modo de compilar un kernel?.



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Ramiro Aceves wrote:
>>De todos modos mi pregunta inicial era, si ya no se puede compilar un kernel
>>en debian por el método tradicional (make, make modules, make
>>modules_install, make install).
> 
> 
> ¡Cómo no se va a poder hacer, por Dios! El día que no se pueda hacer mal vamos.

Es curioso que a esta altura del hilo, aun nadie le respondio a Pablo lo
que pregunta:

Si. Ha cambiado el modo de compilar el kernel y debieras leer la
documentacion antes de consultarlo aqui:

COMPILING the kernel:

 - Make sure you have gcc 2.95.3 available.
   gcc 2.91.66 (egcs-1.1.2), and gcc 2.7.2.3 are known to miscompile
   some parts of the kernel, and are *no longer supported*.
   Also remember to upgrade your binutils package (for as/ld/nm and company)
   if necessary. For more information, refer to Documentation/Changes.

   Please note that you can still run a.out user programs with this kernel.

 - Do a "make" to create a compressed kernel image. It is also
   possible to do "make install" if you have lilo installed to suit the
   kernel makefiles, but you may want to check your particular lilo
setup first.

   To do the actual install you have to be root, but none of the normal
   build should require that. Don't take the name of root in vain.

 - If you configured any of the parts of the kernel as `modules', you
   will also have to do "make modules_install".

 - Keep a backup kernel handy in case something goes wrong.  This is
   especially true for the development releases, since each new release
   contains new code which has not been debugged.  Make sure you keep a
   backup of the modules corresponding to that kernel, as well.  If you
   are installing a new kernel with the same version number as your
   working kernel, make a backup of your modules directory before you
   do a "make modules_install".



Tambien en http://red.uninet.edu/josu/n1/operedo.html:

"Tras haber configurado el kernel según se desea, en el viejo estilo de
compilación era preciso hacer "make dep". Ahora este comando no es
necesario, solo se debe hacer el comando "make". Esta es una simpleza
que se da en los 2.6 ya que por defecto hace lo que sería en los 2.4 un
"make bzImage && make modules". Con solo el comando "make" se compilará
la imagen del núcleo y los módulos, luego se debe hacer el clásico "make
modules_install" el cual instalara los módulos en el sistema. E igual
que antes, se copia la imagen de arch/i386/boot/bzImage a donde esté la
partición de boteo (a la raíz o el /boot generalmente) y se hacen los
ajustes necesarios en el /etc/lilo.conf para poder agregar esta nueva
imagen al sistema y así poder botear con el nuevo kernel. Ahora solo
falta reinicializar y probar la imagen del nuevo kernel 2.6."


> 
> Saludos.
> 
> Ramiro.
> 
> 


- --
Ricardo A.Frydman
Consultor en Tecnología Open Source - Administrador de Sistemas
jabber: ricardoeureka@gmail.com - http://www.eureka-linux.com.ar
SIP # 1-747-667-9534
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFEBdghkw12RhFuGy4RAm+9AJ9C4Qj7ghN72qAxQwghaeckaCCAZACeP2a7
Sk1+FUjMBBFg5GR1Jx/g7R0=
=Yx/1
-----END PGP SIGNATURE-----



Reply to: