Me contesto. Fuí agregando y creando algunos directorios que reclamaba en cada intento de generar el initramfs. Pero al parecer es necesario instalarlo con el emerge. Este es el resultado que obtuve: ututo-xs linux-3.16.1 # genkernel initramfs * Sabayon/Gentoo Linux Genkernel; Version 3.4.10.907 * Running with options: initramfs * Linux Kernel 3.16.1-gnu for x86... * busybox: >> Configuring... * busybox: >> Compiling... * ERROR: Failed to compile the "all" target... * -- Grepping log... -- * busybox: >> Configuring... COMMAND: make -j2 CC="gcc" LD="ld" AS="as" HOSTCC conf.o HOSTCC zconf.tab.o /var/tmp/genkernel/10621.839.11578.23182/busybox-1.1.3+gentoo/scripts/config/conf.c: In function 'conf_choice': /var/tmp/genkernel/10621.839.11578.23182/busybox-1.1.3+gentoo/scripts/config/conf.c:350:9: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result /var/tmp/genkernel/10621.839.11578.23182/busybox-1.1.3+gentoo/scripts/config/conf.c: In function 'conf_askvalue': /var/tmp/genkernel/10621.839.11578.23182/busybox-1.1.3+gentoo/scripts/config/conf.c:94:8: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result lex.zconf.c:2969:16: warning: 'input' defined but not used zconf.tab.c: In function 'expr_print_file_helper': expr.c:1083:8: warning: ignoring return value of 'fwrite', declared with attribute warn_unused_result zconf.tab.c: In function 'conf_write': confdata.c:420:13: warning: ignoring return value of 'fwrite', declared with attribute warn_unused_result confdata.c:422:14: warning: ignoring return value of 'fwrite', declared with attribute warn_unused_result -- CC archival/tar.o In file included from /usr/include/fcntl.h:267:0, from /var/tmp/genkernel/10621.839.11578.23182/busybox-1.1.3+gentoo/archival/gzip.c:37: In function 'open', inlined from 'gzip_main' at /var/tmp/genkernel/10621.839.11578.23182/busybox-1.1.3+gentoo/archival/gzip.c:1259:17: /usr/include/bits/fcntl2.h:51:24: error: call to '__open_missing_mode' declared with attribute error: open with O_CREAT in second argument needs 3 arguments make[1]: *** [/var/tmp/genkernel/10621.839.11578.23182/busybox-1.1.3+gentoo/archival/gzip.o] Error 1 make[1]: *** Waiting for unfinished jobs.... /var/tmp/genkernel/10621.839.11578.23182/busybox-1.1.3+gentoo/archival/tar.c: In function 'writeTarFile': /var/tmp/genkernel/10621.839.11578.23182/busybox-1.1.3+gentoo/archival/tar.c:512:8: warning: ignoring return value of 'write', declared with attribute warn_unused_result /var/tmp/genkernel/10621.839.11578.23182/busybox-1.1.3+gentoo/archival/tar.c: In function 'writeFileToTarball': /var/tmp/genkernel/10621.839.11578.23182/busybox-1.1.3+gentoo/archival/tar.c:414:9: warning: ignoring return value of 'write', declared with attribute warn_unused_result /var/tmp/genkernel/10621.839.11578.23182/busybox-1.1.3+gentoo/archival/tar.c: In function 'writeTarHeader': /var/tmp/genkernel/10621.839.11578.23182/busybox-1.1.3+gentoo/archival/tar.c:286:8: warning: ignoring return value of 'write', declared with attribute warn_unused_result In file included from /usr/include/string.h:642:0, from /var/tmp/genkernel/10621.839.11578.23182/busybox-1.1.3+gentoo/archival/tar.c:34: In function 'strncpy', inlined from 'writeTarHeader' at /var/tmp/genkernel/10621.839.11578.23182/busybox-1.1.3+gentoo/archival/tar.c:219:9: /usr/include/bits/string3.h:121:3: warning: call to __builtin___strncpy_chk will always overflow destination buffer make[1]: *** wait: No child processes. Stop. make: *** [all] Error 2 * Sabayon/Gentoo Linux Genkernel; Version 3.4.10.907 * Running with options: initramfs * ERROR: Failed to compile the "all" target... * -- End log... -- * Please consult /var/log/genkernel.log for more information and any * errors that were reported above. * Report any genkernel bugs to bugs.gentoo.org and * assign your bug to [email protected]. Please include * as much information as you can in your bug report; attaching * /var/log/genkernel.log so that your issue can be dealt with effectively. * * Please do *not* report compilation failures as genkernel bugs! Así que propongo de probar con el nuevo kernel sin el initramfs por el momento. Luego que tenemos una config que funcione medianamente bien compilamos el kernel en un gentoo actualizado, yo tengo uno recién instalado así que podríamos utilizarlo. Y luego, ese kernel pasarlo a la ISO de XS2014 Escucho opiniones. Saludos. Diego Calbo 2014-08-22 21:55 GMT-03:00 Diego Gabriel Calbo Elizondo <[email protected]>:
Luciano, vos creaste el initramfs? Yo al queres crearlo me pide el siguiente paquete que no existe en realidad.
ututo-xs linux-3.16.1 # genkernel initramfs * Sabayon/Gentoo Linux Genkernel; Version 3.4.10.907 * Running with options: initramfs
Could not find source tarball /usr/share/genkernel/pkg/busybox-1.1.3+gentoo.tar.bz2. Please refetch. ututo-xs linux-3.16.1 # ls /usr/share/genkernel/patches/busybox/1.7.4/ 1.7.4-ash-timeout.diff 1.7.4-openvt.diff 1.7.4-mdadm.diff 1.7.4-static-error.diff 1.7.4-mdstart.diff busybox-1.7.4-signal-hack.patch 1.7.4-mount-umount-i-option.diff README
Daniel, para crear el initramfs es este el procedimiento? Si es necesario el paquetes que reclama la salida de la consola, pensas que solamente con instalarla en el sistema enjaulado (XS 2012-04) se podrá generar sin problemas? Que sugerencias se te ocurren?
Saludos. Diego Calbo
2014-08-22 19:34 GMT-03:00 [email protected] < [email protected]>:
No recuerdo haberlo visto. Quizas le diste alguna configuracion el kernel que yo no. La unica configuracion que le meto es la compresion LZO y habilitar la XZ despues lo dejo como viene por defecto habilitado. Voy a probar tu .config y si aparece aviso.
Luciano, cuando corriste el comando "make modules_install" para compilar el kernel, te aparecía este mensaje?
ututo-xs linux-3.16.1 # make modules_install INSTALL arch/x86/crypto/crc32-pclmul.ko WARNING: can't open config file: /etc/ssl/openssl.cnf WARNING: can't open config file: /etc/ssl/openssl.cnf INSTALL arch/x86/crypto/crc32c-intel.ko WARNING: can't open config file: /etc/ssl/openssl.cnf WARNING: can't open config file: /etc/ssl/openssl.cnf
Es correcto que no encuentre el ssl ya que en la ISO no está instalado. Yo por mi parte voy a dejar compilando de ese modo para ver si es una advertencia, tal cual dice en el mensaje, o trae problemas mas adelante.
En cuanto a tu pregunta, no se me ocurre en este momento que puede ser.
Saludos. Diego Calbo
2014-08-22 17:28 GMT-03:00 [email protected] < [email protected]>:
Buenisimo. Le voy a pegar una mirada al .config. Acabo de probar el 3.16.0-gnu y su initramfs que genere en Gentoo y meti en Ututo. El kernel anda bien la cosa es con el initramfs que, si bien no da error, se queda cargando eternamente en Vbox. No se queda pegado porque la virtual esta trabajando pero no avanza. Yo tengo poca ram pero habria que probar metiendole mas de 1 a ver que pasa o revisar el script interno del initramfs a ver que es lo que lo demora. Esto ultimo es lo que voy a revisar. Dejo imagen de donde se queda. Aclaro que con el initramfs viejo arrnaca bien el kernel.
Saludos.
Hola, estoy compilando el kernel de libre-linux (3-16-1) con el tuxonice para dicha versión.
Veremos los resultado obtenidos en unas horas. Por si alguno quiere ir probando les adjunto el config que generé para esta versión.
Cualquier sugerencia es bienvenida.
Saludos. Diego Calbo
-- ««Nunca. Que no digan nunca. Porque un día de estos nos verán sonriendo!»»
_______________________________________________ Ututo-devel mailing list [email protected] https://lists.ourproject.org/cgi-bin/mailman/listinfo/ututo-devel