Ricompilato il kernel....
Ricompilato il kernel....
Salve a tutti, sono alle prese con una ricompilazione del kernel. Dopo aver scelto i vari moduli da implementare, ho salvato la nuova configurazione in .config1(con l'aggiunta di un 1 finale). Ma mi è sorto un dubbio, dopo aver lanciato il comando per la compilazione. Gcc sta compilando la configurazione su .config, oppure la mia su .config1??
Ho dato il comando make-kpkg --rootcmd fakeroot --initrd kernel_image kernel_headers modules_image.
::)
Ho dato il comando make-kpkg --rootcmd fakeroot --initrd kernel_image kernel_headers modules_image.
::)
SI a: RISPETTO, PAZIENZA, CORTESIA.
NO a: PREPOTENZA, SUPERIORITA', CINICITA'.
Il forum è di tutti, usiamolo con la testa.
NO a: PREPOTENZA, SUPERIORITA', CINICITA'.
Il forum è di tutti, usiamolo con la testa.
Re: Ricompilato il kernel....
Ho risolto il problema sostituendo .config1 con .config.
Ho poi compilato, e ad un certo punto mi da errore:
Cosa è successo? A cosa è dovuto?
Ho poi compilato, e ad un certo punto mi da errore:
Codice: Seleziona tutto
make[1]: uscita dalla directory «/usr/src/linux-2.6.33.3»
test ! -e scripts/package/builddeb || mv -f scripts/package/builddeb scripts/package/builddeb.kpkg-dist
test ! -e scripts/package/Makefile || test -f scripts/package/Makefile.kpkg-dist || (mv -f scripts/package/Makefile scripts/package/Makefile.kpkg-dist && (echo "# Dummy file "; echo "help:") > scripts/package/Makefile)
COLUMNS=150 dpkg -l 'gcc*' perl dpkg 'libc6*' binutils make dpkg-dev |\
awk '$1 ~ /[hi]i/ { printf("%s-%s\n", $2, $3) }'> debian/buildinfo
uname -a >> debian/buildinfo
echo using the compiler: >> debian/buildinfo
grep LINUX_COMPILER include/linux/compile.h | \
sed -e 's/.*LINUX_COMPILER "//' -e 's/"$//' >> debian/buildinfo
grep: include/linux/compile.h: Nessun file o directory
echo applied kernel patches: >> debian/buildinfo
echo done > debian/stamp/build/kernel
fakeroot /usr/bin/make -f ./debian/rules debian/stamp/binary/pre-linux-image-2.6.33.3
make[1]: ingresso nella directory «/usr/src/linux-2.6.33.3»
====== making target debian/stamp/install/linux-image-2.6.33.3 [new prereqs: ]======
This is kernel package version 11.015.
echo "The UTS Release version in include/linux/version.h"; echo " \"\" "; echo "does not match current version:"; echo " \"2.6.33.3\" "; echo "Please correct this."; exit 2
The UTS Release version in include/linux/version.h
""
does not match current version:
"2.6.33.3"
Please correct this.
make[1]: *** [debian/stamp/install/linux-image-2.6.33.3] Errore 2
make[1]: uscita dalla directory «/usr/src/linux-2.6.33.3»
make: *** [kernel_image] Errore 2
SI a: RISPETTO, PAZIENZA, CORTESIA.
NO a: PREPOTENZA, SUPERIORITA', CINICITA'.
Il forum è di tutti, usiamolo con la testa.
NO a: PREPOTENZA, SUPERIORITA', CINICITA'.
Il forum è di tutti, usiamolo con la testa.
Re: Ricompilato il kernel....
usa .config
Per gli error 2 di make beh o hai ciacciato qualcosa nel modo sbagliato nella configurazione del kernel o è un problema di versioni:
Per gli error 2 di make beh o hai ciacciato qualcosa nel modo sbagliato nella configurazione del kernel o è un problema di versioni:
make-kpkg ha scritto:This is kernel package version 11.015.
echo "The UTS Release version in include/linux/version.h"; echo " "" "; echo "does not match current version:"; echo " "2.6.33.3" "; echo "Please correct this."; exit 2
The UTS Release version in include/linux/version.h
""
does not match current version:
"2.6.33.3"
Please correct this.
Re: Ricompilato il kernel....
Buntolo ha scritto: usa .config
Per gli error 2 di make beh o hai ciacciato qualcosa nel modo sbagliato nella configurazione del kernel o è un problema di versioni:
make-kpkg ha scritto:This is kernel package version 11.015.
echo "The UTS Release version in include/linux/version.h"; echo " "" "; echo "does not match current version:"; echo " "2.6.33.3" "; echo "Please correct this."; exit 2
The UTS Release version in include/linux/version.h
""
does not match current version:
"2.6.33.3"
Please correct this.
Ultima modifica di binary il venerdì 4 giugno 2010, 15:48, modificato 1 volta in totale.
SI a: RISPETTO, PAZIENZA, CORTESIA.
NO a: PREPOTENZA, SUPERIORITA', CINICITA'.
Il forum è di tutti, usiamolo con la testa.
NO a: PREPOTENZA, SUPERIORITA', CINICITA'.
Il forum è di tutti, usiamolo con la testa.
- Janvitus
- Amministratore

- Messaggi: 18787
- Iscrizione: lunedì 25 aprile 2005, 15:52
- Desktop: GNOME Shell / Xfce
- Sesso: Maschile
- Località: Potenza
- Contatti:
Re: Ricompilato il kernel....
Se sei su Karmic è un bug del pacchetto di kernel-package.
https://bugs.edge.launchpad.net/ubuntu/ ... bug/498747
https://bugs.edge.launchpad.net/ubuntu/ ... bug/498747
Re: Ricompilato il kernel....
Si, sono su karmic! Cosa posso fare?Janvitus ha scritto: Se sei su Karmic è un bug del pacchetto di kernel-package.
https://bugs.edge.launchpad.net/ubuntu/ ... bug/498747
SI a: RISPETTO, PAZIENZA, CORTESIA.
NO a: PREPOTENZA, SUPERIORITA', CINICITA'.
Il forum è di tutti, usiamolo con la testa.
NO a: PREPOTENZA, SUPERIORITA', CINICITA'.
Il forum è di tutti, usiamolo con la testa.
- Janvitus
- Amministratore

- Messaggi: 18787
- Iscrizione: lunedì 25 aprile 2005, 15:52
- Desktop: GNOME Shell / Xfce
- Sesso: Maschile
- Località: Potenza
- Contatti:
Re: Ricompilato il kernel....
Leggi bene, c'è scritto =)binary ha scritto:Si, sono su karmic! Cosa posso fare?Janvitus ha scritto: Se sei su Karmic è un bug del pacchetto di kernel-package.
https://bugs.edge.launchpad.net/ubuntu/ ... bug/498747
Chi c’è in linea
Visualizzano questa sezione: 0 utenti iscritti e 3 ospiti
