Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Ricompilare il kernel
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
Onip
Advocate
Advocate


Joined: 02 Sep 2004
Posts: 2912
Location: Parma (Italy)

PostPosted: Fri Sep 17, 2004 1:50 pm    Post subject: Ricompilare il kernel Reply with quote

Ciao! Ho da poco installato gentoo 2004.2 usando come sorgente del kernel i gentoo-sources e genkernel x la compilazione. ho un problema: mi serve il supermount e, da quanto ho capito dovrei ricompilare il kernel. Intanto che ci sono vorrei passare ai gentoo-dev-sources (che sono della serie 2.6). come posso fare?

Inoltre vorrei cercare di nn usare genkernel, ma compilare "a mano". ho cercato un po' su google, ma non ho trovato niente al mio livello (è la prima volta che lo faccio..) avete qualche aiuto o anche qualke link?

Grazie!
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30965
Location: here

PostPosted: Fri Sep 17, 2004 1:58 pm    Post subject: Reply with quote

Beh in alternativa a supermount c'e' submount e non devi ricompilare il kernel, guarda nei post utilissimi che c'e' una guida in italiano. Per ricompilare il kernel a mano guarda il manuale di gentoo li' spiega passo a passo cosa devi inserire (per la configurazione) e poi anche i comandi per compilarlo.
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
randomaze
Bodhisattva
Bodhisattva


Joined: 21 Oct 2003
Posts: 9985

PostPosted: Fri Sep 17, 2004 1:59 pm    Post subject: Re: Ricompilare il kernel Reply with quote

Onip wrote:
Inoltre vorrei cercare di nn usare genkernel, ma compilare "a mano". ho cercato un po' su google, ma non ho trovato niente al mio livello (è la prima volta che lo faccio..) avete qualche aiuto o anche qualke link?


Inizia a leggere negli Appunti di Giacomini, tieni presente che un pò di cose sono cambiate, ma la logica di fondo é la stessa.
_________________
Ciao da me!
Back to top
View user's profile Send private message
Sasdo
Guru
Guru


Joined: 18 Feb 2004
Posts: 542
Location: 44.476474,11.644446 circa.

PostPosted: Fri Sep 17, 2004 2:07 pm    Post subject: Reply with quote

benvenuto su Gentoo!

per passare ai gentoo-dev-sources:

Code:

# emerge gentoo-dev-sources


... difficile no? =)

poi chiaramente devi compilare il kernel... qui ti rimando a questa guida, è quella che ho usato io la mia "prima volta", non è il massimo, probabilmente ce ne è di migliori ma con questa mi son trovato bene:

Guida Kernel

Un paio di consigli:

1) Tieni sempre un kernel funzionante al boot. Sia che tu usi lilo o grub, tieni sempre una versione di un kernel che sai che funziona (quella di genkernel nel tuo caso)
2) Dato che (mi pare di capire) che sei alle prime armi, abbonda con le opzioni che andrai ad abilitare nel kernel, con successive ricompilazioni potrai andare a scremare il tutto ed ottenere un kernel leggero e funzionale.

in bocca al lupo!

ciao!

il Sasdo
_________________
LinuxUser #362518
--
Ochei lo ammetto: il mio cervello lo tengo in frigo.
Back to top
View user's profile Send private message
Onip
Advocate
Advocate


Joined: 02 Sep 2004
Posts: 2912
Location: Parma (Italy)

PostPosted: Fri Sep 17, 2004 2:26 pm    Post subject: Reply with quote

Quote:
Beh in alternativa a supermount c'e' submount


ho dato emerge submount, ma mi restituisce questo errore

Code:
bash-2.05b# emerge  submount
Calculating dependencies ...done!
>>> emerge (1 of 1) sys-fs/submount-0.9 to /
>>> md5 src_uri ;-) submount-0.9.tar.gz
>>> Unpacking source...
 * /usr/src/linux is a symbolic link
 * Determining the real directory of the Linux kernel source code
 * Building for Linux 2.4.26-gentoo-r9 found in /usr/src/linux
>>> Unpacking submount-0.9.tar.gz to /var/tmp/portage/submount-0.9/work
>>> Source unpacked.
/usr/sbin/ebuild.sh: line 41: cd: /var/tmp/portage/submount-0.9/work/submount-0.9/subfs-2.4-0.9: No such file or directory
make: *** No targets specified and no makefile found.  Stop.

!!! ERROR: sys-fs/submount-0.9 failed.
!!! Function kmod_src_compile, Line 278, Exitcode 2
!!! (no error message)


cosa può essere?
Back to top
View user's profile Send private message
Danilo
l33t
l33t


Joined: 05 Feb 2004
Posts: 747
Location: Italy

PostPosted: Fri Sep 17, 2004 5:13 pm    Post subject: Reply with quote

Onip wrote:

!!! ERROR: sys-fs/submount-0.9 failed.
!!! Function kmod_src_compile, Line 278, Exitcode 2
!!! (no error message)
[/code]

cosa può essere?

bug l'ultimo commento dice che ha risolto aggiornando l'ebuild...
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