Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[info]Genkernel
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
abaddon83
Guru
Guru


Joined: 17 Jan 2004
Posts: 494

PostPosted: Sat Aug 28, 2004 12:39 pm    Post subject: [info]Genkernel Reply with quote

Ciao a tutti, volevo chiedervi come mai genkernel ci mette così tanto tempo in piu' a compilare un kernel rispetto ai soliti comandi make [...]

cosa fa in piu'?

edit:

ma soprattutto, come mai poi bisogna usare una conf di lilo diversa se si usa un kernel compilato con genkernel (occorrone alcuni append"..") rispetto alla conf base dei kernel fatti con make.


ciao graize
_________________
Abaddon's House
Jabber account: abaddon@jabber.linux.it
Back to top
View user's profile Send private message
Danilo
l33t
l33t


Joined: 05 Feb 2004
Posts: 747
Location: Italy

PostPosted: Sat Aug 28, 2004 1:27 pm    Post subject: Re: [info]Genkernel Reply with quote

abaddon83 wrote:
Ciao a tutti, volevo chiedervi come mai genkernel ci mette così tanto tempo in piu' a compilare un kernel rispetto ai soliti comandi make [...]

cosa fa in piu'?

Genkernel ti compila il mondo.
Il tuo kernel solo quello che ti serve.
Pensa solo a quanti drivers per periferiche sono supportate e quante invece ne hai tu.
Back to top
View user's profile Send private message
abaddon83
Guru
Guru


Joined: 17 Jan 2004
Posts: 494

PostPosted: Sat Aug 28, 2004 1:36 pm    Post subject: Reply with quote

basts usare genkernell all --menuconfig e sei te che selezioni i moduli, esattamente come si fa con make menuconfig....
_________________
Abaddon's House
Jabber account: abaddon@jabber.linux.it
Back to top
View user's profile Send private message
xchris
Advocate
Advocate


Joined: 10 Jul 2003
Posts: 2824

PostPosted: Sat Aug 28, 2004 4:39 pm    Post subject: Re: [info]Genkernel Reply with quote

abaddon83 wrote:


ma soprattutto, come mai poi bisogna usare una conf di lilo diversa se si usa un kernel compilato con genkernel (occorrone alcuni append"..") rispetto alla conf base dei kernel fatti con make.


perche' quando usi genkernel ti crea un file compresso in cui c'e' un mini-sistema e un immagine di framebuffer.
Il mini-sistema (passatemi il termine) contiene i comandi principali (cp,rm,mount,...) e si occupa di caricare moduli che non fanno parte del kernel monolitico,monta poi la partizione di root ed esegue il chroot (come fanno i livecd e la maggior parte delle distro preconfezionate)

il file compresso di chiama initrd (initial ramdisk) e come vedrai in fase di boot viene scompresso.

se vuoi vedere cosa c'e' dentro rinominalo in initrd.gz,scomprimilo e montalo.


Quando usi genkernel gli devi dire...il root e' montato in RAM,il vero root e' su disco (altrimenti non sa dove chrootare),come impostare il framebuffer...etc etc (e questo viene fatto con gli append)

ciao
_________________
while True:Gentoo()
Back to top
View user's profile Send private message
redview
Guru
Guru


Joined: 18 Feb 2004
Posts: 365
Location: Goteborg - Sweden

PostPosted: Sat Aug 28, 2004 5:08 pm    Post subject: Reply with quote

per quanto mi riguarda l'unica cosa che ti dà in più genkernel è appunto l'immagine del framebuffer, che però ovviamente si può avere anche nn usando genkernel.
quando avevo installato io gentoo mi era stato sconsigliato l'uso di genkernel, e infatti io uso il vecchio stile con make..

bye
_________________
our enterprise a success as return is no option/our eyes were removed for our own safety/the distance too great for you to hear our cries/nevermind take this lamp we are beyond light [kinetic-arcturus]
you and I, connect and emerge [we ride-syl]
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