Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Problemi di compilazione kernel 2.6.x
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian)
View previous topic :: View next topic  
Author Message
max_1975
Tux's lil' helper
Tux's lil' helper


Joined: 25 Oct 2002
Posts: 93

PostPosted: Mon Jan 26, 2004 8:31 pm    Post subject: Problemi di compilazione kernel 2.6.x Reply with quote

Ciao a tutti...non riesco a compilare i kernel della versione 2.6.x (ho provato sia con il 2.6.1-gentoo-r1 che con il 2.6.2-rc2 che con il 2.6.2-rc1-mm3)...ottengo sempre lo stesso errore

Code:

CHK     include/linux/compile.h
dnsdomainname: Host name lookup failure
  UPD     include/linux/compile.h
  CC      init/version.o
  LD      init/built-in.o
  LD      .tmp_vmlinux1
make: *** [.tmp_vmlinux1] Error 139


avete qualche idea al riguardo?[/b]
_________________
Max
Back to top
View user's profile Send private message
paman
n00b
n00b


Joined: 09 Oct 2003
Posts: 64
Location: Bari

PostPosted: Mon Jan 26, 2004 8:48 pm    Post subject: Reply with quote

da http://lists.parisc-linux.org/pipermail/parisc-linux/2003-July/020454.html:

Quote:

> > LD init/built-in.o
> > LD .tmp_vmlinux1
> > make: *** [.tmp_vmlinux1] Error 139
> > palx4000:/usr/src/linux-2.6.0-test1-pa1#
>
> that's make segfaulting. 139 is 128 + 11 == signal 11 == segfault.

and the workaround for this for now is to disable CONFIG_KALLSYMS. I
sent Dave a patch to review to fix this problem last night. let's see
how that goes.
Back to top
View user's profile Send private message
max_1975
Tux's lil' helper
Tux's lil' helper


Joined: 25 Oct 2002
Posts: 93

PostPosted: Tue Jan 27, 2004 7:17 am    Post subject: Reply with quote

ho provato a disabilitare CONFIG_KALLSYMS nel .config , ma quando avvio make bzImage il parametro viene riabilitato da solo...
_________________
Max
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 31461
Location: here

PostPosted: Tue Jan 27, 2004 11:42 am    Post subject: Reply with quote

max_1975 wrote:
ho provato a disabilitare CONFIG_KALLSYMS nel .config , ma quando avvio make bzImage il parametro viene riabilitato da solo...

Presumo che anche se fai solo
Code:
# make
# make modules_install
# cp arch/i386/boot/bzImage /boot

non ti vada, vero?
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
max_1975
Tux's lil' helper
Tux's lil' helper


Joined: 25 Oct 2002
Posts: 93

PostPosted: Tue Jan 27, 2004 1:51 pm    Post subject: Reply with quote

non ci arrivo nemmeno a compilare i moduli!!! :cry:

Anche dando solo make si blocca alla fase di creazione dell'immagine del kernel...sempre con lo stesso errore (che ho postato sopra...)
_________________
Max
Back to top
View user's profile Send private message
bubble27
Guru
Guru


Joined: 07 Aug 2003
Posts: 365
Location: Campobasso

PostPosted: Tue Jan 27, 2004 2:18 pm    Post subject: Reply with quote

Se provi prima un ?_?
Code:

# cd /usr/src/linux
# cp .config ~
# make mrproper
# cp ~/.config .
# make menuconfig ---> salvi il tutto e poi i soliti
# make && make modules_install

_________________
Ciao Gentooaglia
Back to top
View user's profile Send private message
max_1975
Tux's lil' helper
Tux's lil' helper


Joined: 25 Oct 2002
Posts: 93

PostPosted: Tue Jan 27, 2004 3:01 pm    Post subject: Reply with quote

Già fatto...il problema è che quando dò il make, alcune variabili (quelle che non compaiono nel menuconfig, tra cui CONFIG_KALLSYMS) vengono riassegnate con parametri di default (dipendenti dalla macchina...credo) anche se le cambio prima a mano... 8O
_________________
Max
Back to top
View user's profile Send private message
bubble27
Guru
Guru


Joined: 07 Aug 2003
Posts: 365
Location: Campobasso

PostPosted: Thu Jan 29, 2004 9:38 am    Post subject: Reply with quote

Ciao guarda proprio ieri ricompilando il kernel-2.6.1 mi sono usciti quasi gli stessi errori, per l'esattezza:
Code:

LD [M]  drivers/char/speakup/speakupmain.o
/usr/src/linux-2.6.1-gentoo/scripts/pnmtologo -t clut224 -n logo_linux_clut224 -o drivers/video/logo/logo_linux_clut224.c drivers/video/logo/logo_linux_clut224.ppm
CC      drivers/video/logo/logo_linux_clut224.o
LD      drivers/video/logo/built-in.o
LD      drivers/video/built-in.o
LD      drivers/built-in.o
GEN     .version
CHK     include/linux/compile.h
UPD     include/linux/compile.h
CC      init/version.o
LD      init/built-in.o
LD      .tmp_vmlinux1
 drivers/built-in.o(.text+0x93308): In function `splash_getraw':
 : undefined reference to `con2fb_map'
 drivers/built-in.o(.text+0x93b52): In function `splash_verbose':
: undefined reference to `con2fb_map'
   drivers/built-in.o(.text+0x94047): In function `splash_status':
: undefined reference to `con2fb_map'
 drivers/built-in.o(.text+0x9416c): In function `splash_read_proc':
 : undefined reference to `con2fb_map'
  drivers/built-in.o(.text+0x94344): In function `splash_write_proc':
 : undefined reference to `con2fb_map'
  make: *** [.tmp_vmlinux1] Error 1

non so da cosa sia dato però ho "risolto" facendogli compilare il kernel da genkernel, l'unica cosa è che ancora non l'ho provato.
ciao
_________________
Ciao Gentooaglia
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 31461
Location: here

PostPosted: Thu Jan 29, 2004 10:14 am    Post subject: Reply with quote

bubble27 wrote:
non so da cosa sia dato però ho "risolto" facendogli compilare il kernel da genkernel, l'unica cosa è che ancora non l'ho provato.
ciao

Questi tuoi errori sono dovuti al bootsplash. O hai compilato i VESA fb con per esempio i radeon fb, oppure hai messo "Framebuffer Console support" come modulo al posto che built-in.
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
tocas
Apprentice
Apprentice


Joined: 01 Jan 2004
Posts: 280
Location: 43°50'-10°27'

PostPosted: Thu Jan 29, 2004 10:26 am    Post subject: Reply with quote

bubble27 wrote:

non so da cosa sia dato però ho "risolto" facendogli compilare il kernel da genkernel, l'unica cosa è che ancora non l'ho provato.
ciao


Ciao, ho compilato la 2.6.1-gentoo l'altroieri e utilizzando la procedure manuale non ho riscontrato
grossi problemi salvo la corretta configurazione del framebuffer e del bootsplash. Adesso la sto utuilizzando su un sistema amd Athlon th 1.4 Ghz installato dalla stage 1.

Al contrario di bubble27 io ho riscontrato grossi problemi a compilare kernel 2.4/2.6 con il nuovo genkernel.... praticamente non ci sono riuscito. Sempre i soliti errori nella parte finale della compilazione dei moduli nonstante nelle prove abbia utilizzato un file .conf che non causa errori nella procudera manuale.

Antonio
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum