PDA

View Full Version : Compilazione kernel debian..........


stefanoxjx
09-11-2004, 12:03
Come faccio a dire a make-kpkg di generarmi un kernel per i686 e non i386?
Ho provato a dare il comando:

make-kpkg --initrd --arch i686 kernel_image modules_image

ma mi risponde:

unknown Debian architecture i686, you must specify GNU system type, too at /usr/bin/dpkg-architecture line 198.
unknown Debian architecture i686, you must specify GNU system type, too at /usr/bin/dpkg-architecture line 198.
unknown Debian architecture i686, you must specify GNU system type, too at /usr/bin/dpkg-architecture line 198.
unknown Debian architecture i686, you must specify GNU system type, too at /usr/bin/dpkg-architecture line 198.
unknown Debian architecture i686, you must specify GNU system type, too at /usr/bin/dpkg-architecture line 198.
unknown Debian architecture i686, you must specify GNU system type, too at /usr/bin/dpkg-architecture line 198.
unknown Debian architecture i686, you must specify GNU system type, too at /usr/bin/dpkg-architecture line 198.
unknown Debian architecture i686, you must specify GNU system type, too at /usr/bin/dpkg-architecture line 198.
/usr/share/kernel-package/rules:1362: *** Error. I do not know where the kernel image goes to [kimagedest undefined] The usual case for this is that I could not determine which arch or subarch tihs machine belongs to. Please specify a subarch, and try again.. Stop.

A questo punto non so cosa specificare.
:confused:

pela
09-11-2004, 14:20
l'architettura dovrebbe essere determinata automaticamente, quindi non specificarla

stefanoxjx
09-11-2004, 14:28
Ma mi genera sempre un'immagine con suffisso i386 :confused:

pinball
09-11-2004, 16:05
forse è giusto così, non ricordo, hai selezionato la tua architettura cmq durante make xconfig?


ciau

Duncan
09-11-2004, 16:32
Se mi ricordo bene non è possibile compilare il kernel con flag specifiche per la cpu, almeno senza mettere le mani da qualche parte, il kernel viene compilato con le sue CFLAGS, anche su Gentoo vengono usate quelle del kernel e non quelle che vengono impostate nei firle di configurazione di portage ;)

i386 nel kernel linux identifica tutte le architetture compatibili con IA32

stefanoxjx
09-11-2004, 17:30
Originariamente inviato da moly82
forse è giusto così, non ricordo, hai selezionato la tua architettura cmq durante make xconfig?


ciau

No, ma ho recuperato il file .config del kernel installato che dal nome sembrerebbe per i686.

pinball
09-11-2004, 18:57
scusa ma quando lanci xconfig, nelle prime voci c'è tra le altre l'archittettura del kernel, non puoi controllare un attimo?

cmq ribadisco che mi sa che tra le possibili voci c'è solo 386 e non superiori, non sono cmq sicuro perchè io ho sempre avuto amd e quindi mi buttavo sul k7 ;)I

ciauz

stefanoxjx
09-11-2004, 19:57
Originariamente inviato da moly82
scusa ma quando lanci xconfig, nelle prime voci c'è tra le altre l'archittettura del kernel, non puoi controllare un attimo?

cmq ribadisco che mi sa che tra le possibili voci c'è solo 386 e non superiori, non sono cmq sicuro perchè io ho sempre avuto amd e quindi mi buttavo sul k7 ;)I

ciauz

Hai ragione, effettivamente bastava poco.
Nel file di configurazione, era selezionato Pentium Pro.

Thanks.
Byez