View previous topic :: View next topic |
Author |
Message |
sanzo77 Apprentice
Joined: 28 Oct 2006 Posts: 168 Location: roma
|
Posted: Wed Oct 10, 2007 12:39 pm Post subject: [FAQ] aggiornamento del kernel |
|
|
Anche questa e' una domanda che avrete letto e riletto, ma visto che ci sto perdendo tempo a causa dei mille aggiornamenti di fine estate ho deciso di aggiornare anche il kernel.
Io ho sempre usato genkernel, ma non riesco a ricordarmi cosa devo fare, e la guida che sto seguendo : http://www.gentoo.org/doc/it/handbook/handbook-x86.xml?style=printable&full=1#book_part1_chap7
non mi sta aiutando molto.
Io mi ricordo che mantenevo la vecchia configurazione in qualche modo e poi facevo partire genkernel, ma questo sulla guida non c'e' scritto e io non vorrei saltare qualche passo cruciale.
Potete aiutarmi?[/url] _________________ emh... scusa... ma tu ce lo hai google su quel computer??? |
|
Back to top |
|
|
Scen Retired Dev
Joined: 29 Jul 2003 Posts: 2470 Location: Padova, Italy
|
Posted: Wed Oct 10, 2007 12:42 pm Post subject: |
|
|
Ehm... c'è la guida dedicata
http://www.gentoo.org/doc/it/kernel-upgrade.xml _________________ I was born in a deep forest/I wish I could live here all my life/I am made from stones and roots/My home, these woods and roads
All my life I loved this sound/Of the woods all around/Eagles flies where the winds blows free
Journey is my destiny |
|
Back to top |
|
|
sanzo77 Apprentice
Joined: 28 Oct 2006 Posts: 168 Location: roma
|
Posted: Wed Oct 10, 2007 12:50 pm Post subject: |
|
|
Grazie
Non so perche' cercando mi era capitata prima quella che ho linkato.
Pero' c'e' un passo che non capisco: prima di dare
genkernel --menuconfig --bootloader=grub all
vorrei essermi portato dietro la vecchia configurazione del kernel cosi' da agire sulla vecchia versione al limite aggiungendo o togliendo. Come faccio a farlo? _________________ emh... scusa... ma tu ce lo hai google su quel computer??? |
|
Back to top |
|
|
sanzo77 Apprentice
Joined: 28 Oct 2006 Posts: 168 Location: roma
|
Posted: Wed Oct 10, 2007 2:11 pm Post subject: |
|
|
Ok, da quel che ho capito quel che volevo fare io lo fa in automatico genkernel, o almeno cosi' spero.
Ho fatto l'aggiornamento e ora sono sul 2.6.22, ho dato un module-rebuild rebuild e il sistema prova ad aggiornare i seguenti moduli
Code: |
** Preparing to merge modules:
** Packages which I will emerge are:
=x11-base/x11-drm-20060608
=media-libs/svgalib-1.9.25
=sys-fs/fuse-2.7.0
|
purtroppo pero' sembra esserci un problema con il primo, fallisce l'emerge con il seguente output
Code: |
make: *** [modules] Error 2
* Portage could not build the DRM modules. If you see an ACCESS DENIED error,
* this could mean that you were using an unsupported kernel build system. All
* 2.4 kernels are supported, but only 2.6 kernels at least as new as 2.6.6
* are supported.
*
* ERROR: x11-base/x11-drm-20060608 failed.
* Call stack:
* ebuild.sh, line 1654: Called dyn_compile
* ebuild.sh, line 990: Called qa_call 'src_compile'
* ebuild.sh, line 44: Called src_compile
* x11-drm-20060608.ebuild, line 99: Called die_error
* x11-drm-20060608.ebuild, line 224: Called die
*
* Unable to build DRM modules.
* If you need support, post the topmost build error, and the call stack if relevant.
* A complete build log is located at '/var/tmp/portage/portage/x11-base/x11-drm-20060608/temp/build.log'.
*
* Messages for package x11-base/x11-drm-20060608:
* Portage could not build the DRM modules. If you see an ACCESS DENIED error,
* this could mean that you were using an unsupported kernel build system. All
* 2.4 kernels are supported, but only 2.6 kernels at least as new as 2.6.6
* are supported.
*
* ERROR: x11-base/x11-drm-20060608 failed.
* Call stack:
* ebuild.sh, line 1654: Called dyn_compile
* ebuild.sh, line 990: Called qa_call 'src_compile'
* ebuild.sh, line 44: Called src_compile
* x11-drm-20060608.ebuild, line 99: Called die_error
* x11-drm-20060608.ebuild, line 224: Called die
*
* Unable to build DRM modules.
* If you need support, post the topmost build error, and the call stack if relevant.
* A complete build log is located at '/var/tmp/portage/portage/x11-base/x11-drm-20060608/temp/build.log'.
*
|
da qui https://forums.gentoo.org/viewtopic-t-575913.html?sid=d9f66208f536c4bafd2dec70f81a5f2b
mi sembra di capire che il problema non e' solo mio, ma vorrei capire come fare a dire al sistema di non considerarlo + tra i moduli necessari (questo perche' vedo che glxgears gira lo stesso, quindi forse non e' + utile).
Gli altri 2 moduli li ho emersi a mano, ma dal rebuild mi vengono cmq richiesti... che posso fare? _________________ emh... scusa... ma tu ce lo hai google su quel computer??? |
|
Back to top |
|
|
Scen Retired Dev
Joined: 29 Jul 2003 Posts: 2470 Location: Padova, Italy
|
Posted: Wed Oct 10, 2007 2:27 pm Post subject: |
|
|
- Invece di inserire nuovi messaggi, modifica il tuo ULTIMO messaggio, aggiungendo le informazioni che servono (altrimenti di questo passo il post diventa chilometrico)
- IMHO lascia perdere il modulo del kernel "esterno" x11-drm, meglio optare per la versione interna del kernel. Se proprio vuoi utilizzare questo pacchetto, assicurati di smascherarlo per utilizzare l'ultima versione ~ (quella che stai provando ad emergere difficilmente funzionerà con i kernel più recenti)
_________________ I was born in a deep forest/I wish I could live here all my life/I am made from stones and roots/My home, these woods and roads
All my life I loved this sound/Of the woods all around/Eagles flies where the winds blows free
Journey is my destiny |
|
Back to top |
|
|
sanzo77 Apprentice
Joined: 28 Oct 2006 Posts: 168 Location: roma
|
Posted: Wed Oct 10, 2007 2:38 pm Post subject: |
|
|
1) Ok, scusa, pensavo fosse + leggibile vedere subito cosa ho postato di nuovo, piuttosto che andare a vedere cosa e' cambiato dal post precedente.
Cmq
2) da lsmod |grep drm leggo:
drm 58772 3 i915
agpgart 22868 3 drm,intel_agp
Quindi presumo di doverlo usare, ma mi chiedo se il kernel questo modulo lo carica xche' vuole reistallarlo?
Al primo riavvio del kernel ho notato che non mi faceva partire fuse, al che mi sono ricordato del rebuild ^^ ho aggiornato il pacchetto fuse e tutto e' andato a posto, ma questa cosa riguardo al drm non la capisco.
Grazie dell'aiuto cmq _________________ emh... scusa... ma tu ce lo hai google su quel computer??? |
|
Back to top |
|
|
|
|
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
|
|