View previous topic :: View next topic |
Author |
Message |
befa Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/531424300418fd3b08135c.gif)
Joined: 28 Oct 2004 Posts: 208 Location: rennes
|
Posted: Fri Nov 05, 2004 7:28 pm Post subject: [HOWTO] migration kernel 2.4.x --> 2.6.x [Résolu] |
|
|
Bonsoir, j'aurais voulu savoir, si il y avait quelqu'un qui avait un howto pour migrer un noyau...(les migrations de noyau ne sont pas mon fort...)
ou tout au moins des conseils et une raodmap assez clair des points a faire (et des ecueils a eviter)...
par avance merci.
befa (un gentoo noob) _________________ Open Minds! Open Sources! Open Future!
think_tux@jabber.org
Last edited by befa on Fri Nov 05, 2004 11:00 pm; edited 1 time in total |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
kernelsensei Bodhisattva
![Bodhisattva Bodhisattva](/images/ranks/rank-bodhisattva.gif)
![](images/avatars/21126704545e4a5f9ae5c9.jpg)
Joined: 22 Feb 2004 Posts: 5619 Location: Woustviller/Moselle/FRANCE (49.07°N;7.02°E)
|
Posted: Fri Nov 05, 2004 7:31 pm Post subject: |
|
|
pff, je ne pense pas q'un howto soit necessaire, c'est relativement trivial !
faut juste penser a virer les modutils et d'installes les module-init-tools a la place ! _________________ $ ruby -e'puts " .:@BFegiklnorst".unpack("x4ax7aaX6ax5aX15ax4aax6aaX7ax2aX5aX8 \
axaX3ax8aX4ax6aX3aX6ax3ax3aX9ax4ax2aX9axaX6ax3aX2ax4ax3aX4aXaX12ax10aaX7a").join' |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Trevoke Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
![](images/avatars/31218531845533c508386c.jpg)
Joined: 04 Sep 2004 Posts: 4099 Location: NY, NY
|
Posted: Fri Nov 05, 2004 7:33 pm Post subject: |
|
|
C'est super simple..
Code: | #emerge gentoo-dev-sources
#cd /usr/src
#rm linux
#ln -s linux-2.6.9-gentoo-r? linux // Remplace par le bon repertoire
cd linux |
La tu t'amuses bien a configurer ton noyau tout comme qu'il faut, le mettre dans /boot, modifier grub.conf ou lilo.conf, ...
Et ensuite
Code: | #emerge unmerge linux-headers modutils
emerge linux26-headers module-init-tools
emerge glibc |
J'ai comme un doute qu'en fait tu veux de l'aide la ou j'ai pas explique, si c'est le cas, re-demande et colle-moi une tarte. _________________ Votre moment detente
What is the nature of conflict? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
befa Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/531424300418fd3b08135c.gif)
Joined: 28 Oct 2004 Posts: 208 Location: rennes
|
Posted: Fri Nov 05, 2004 7:37 pm Post subject: |
|
|
Trevoke wrote: |
J'ai comme un doute qu'en fait tu veux de l'aide la ou j'ai pas explique, si c'est le cas, re-demande et colle-moi une tarte. |
mdr... nan la config du noyau c'est bon, c'est juste pour l'emerger (ca c'est fait) creer le lien vers les nouvelles sources et la fin! c'est tout pile ce que je voulais!merci!
bon bah demain si tout se passe bien je roulerai en 2.6.9.r1
p.s: quelle reactivite! ca fait plaisir! _________________ Open Minds! Open Sources! Open Future!
think_tux@jabber.org
Last edited by befa on Fri Nov 05, 2004 7:39 pm; edited 1 time in total |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
bob1977 Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/164334334041632ed16967b.gif)
Joined: 16 Mar 2004 Posts: 387
|
Posted: Fri Nov 05, 2004 7:39 pm Post subject: |
|
|
Il faut aussi penser a mettre les bons modules a charger dans /etc/modules.autoload.d/kernel-2.6
T'es sur que c'est necessaire? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Trevoke Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
![](images/avatars/31218531845533c508386c.jpg)
Joined: 04 Sep 2004 Posts: 4099 Location: NY, NY
|
Posted: Fri Nov 05, 2004 7:41 pm Post subject: |
|
|
Oui le emerge glibc est necessaire une fois que tu as installe les nouveaux headers (linux26-headers). En fait, pour bien faire il faudrait aussi faire un "emerge --emptytree world" histoire d'etre sur que tout est compile pour le nouveau kernel. _________________ Votre moment detente
What is the nature of conflict? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
kernelsensei Bodhisattva
![Bodhisattva Bodhisattva](/images/ranks/rank-bodhisattva.gif)
![](images/avatars/21126704545e4a5f9ae5c9.jpg)
Joined: 22 Feb 2004 Posts: 5619 Location: Woustviller/Moselle/FRANCE (49.07°N;7.02°E)
|
Posted: Fri Nov 05, 2004 7:43 pm Post subject: |
|
|
bob1977 wrote: | Il faut aussi penser a mettre les bons modules a charger dans /etc/modules.autoload.d/kernel-2.6
T'es sur que c'est necessaire? |
si tu veux le NPTL oui _________________ $ ruby -e'puts " .:@BFegiklnorst".unpack("x4ax7aaX6ax5aX15ax4aax6aaX7ax2aX5aX8 \
axaX3ax8aX4ax6aX3aX6ax3ax3aX9ax4ax2aX9axaX6ax3aX2ax4ax3aX4aXaX12ax10aaX7a").join' |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
befa Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/531424300418fd3b08135c.gif)
Joined: 28 Oct 2004 Posts: 208 Location: rennes
|
Posted: Fri Nov 05, 2004 7:57 pm Post subject: |
|
|
merci encore a tous!
je m'y colle et je vous tiens au courant! ![Wink :wink:](images/smiles/icon_wink.gif) _________________ Open Minds! Open Sources! Open Future!
think_tux@jabber.org |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Trevoke Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
![](images/avatars/31218531845533c508386c.jpg)
Joined: 04 Sep 2004 Posts: 4099 Location: NY, NY
|
Posted: Fri Nov 05, 2004 8:11 pm Post subject: |
|
|
kernel-sensei : si tu veux le NPTL, il faut aussi l'ajouter dans la liste des USE flags de /etc/make.conf ... _________________ Votre moment detente
What is the nature of conflict? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
kernelsensei Bodhisattva
![Bodhisattva Bodhisattva](/images/ranks/rank-bodhisattva.gif)
![](images/avatars/21126704545e4a5f9ae5c9.jpg)
Joined: 22 Feb 2004 Posts: 5619 Location: Woustviller/Moselle/FRANCE (49.07°N;7.02°E)
|
Posted: Fri Nov 05, 2004 8:16 pm Post subject: |
|
|
Trevoke wrote: | kernel-sensei : si tu veux le NPTL, il faut aussi l'ajouter dans la liste des USE flags de /etc/make.conf ... | cela va sans dire ! ![Very Happy :D](images/smiles/icon_biggrin.gif) _________________ $ ruby -e'puts " .:@BFegiklnorst".unpack("x4ax7aaX6ax5aX15ax4aax6aaX7ax2aX5aX8 \
axaX3ax8aX4ax6aX3aX6ax3ax3aX9ax4ax2aX9axaX6ax3aX2ax4ax3aX4aXaX12ax10aaX7a").join' |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Trevoke Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
![](images/avatars/31218531845533c508386c.jpg)
Joined: 04 Sep 2004 Posts: 4099 Location: NY, NY
|
Posted: Fri Nov 05, 2004 8:17 pm Post subject: |
|
|
kernel_sensei wrote: | Trevoke wrote: | kernel-sensei : si tu veux le NPTL, il faut aussi l'ajouter dans la liste des USE flags de /etc/make.conf ... | cela va sans dire ! ![Very Happy :D](images/smiles/icon_biggrin.gif) |
... Mais ca va mieux en le disant. _________________ Votre moment detente
What is the nature of conflict? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
bosozoku Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
![](images/avatars/13934668444220c81b48227.jpg)
Joined: 11 Jan 2004 Posts: 2431 Location: Roazhon
|
Posted: Fri Nov 05, 2004 8:22 pm Post subject: |
|
|
Trevoke wrote: | ... Mais ca va mieux en le disant. |
Bon bah moi va déja falloir que je me refasse un bon petit kernel parce que la il est trop gros. Je vais le faire ce week end tiens ! _________________ Stationlinux.org - Wiki Fvwm FR - Config Fvwm |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
kernelsensei Bodhisattva
![Bodhisattva Bodhisattva](/images/ranks/rank-bodhisattva.gif)
![](images/avatars/21126704545e4a5f9ae5c9.jpg)
Joined: 22 Feb 2004 Posts: 5619 Location: Woustviller/Moselle/FRANCE (49.07°N;7.02°E)
|
Posted: Fri Nov 05, 2004 8:30 pm Post subject: |
|
|
bosozoku wrote: | Trevoke wrote: | ... Mais ca va mieux en le disant. |
Bon bah moi va déja falloir que je me refasse un bon petit kernel parce que la il est trop gros. Je vais le faire ce week end tiens ! |
alors que moi j'ai tout en dur ... ![Very Happy :D](images/smiles/icon_biggrin.gif) _________________ $ ruby -e'puts " .:@BFegiklnorst".unpack("x4ax7aaX6ax5aX15ax4aax6aaX7ax2aX5aX8 \
axaX3ax8aX4ax6aX3aX6ax3ax3aX9ax4ax2aX9axaX6ax3aX2ax4ax3aX4aXaX12ax10aaX7a").join' |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
bosozoku Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
![](images/avatars/13934668444220c81b48227.jpg)
Joined: 11 Jan 2004 Posts: 2431 Location: Roazhon
|
Posted: Fri Nov 05, 2004 8:55 pm Post subject: |
|
|
Arg ! Mais quand c'est trop gros, ya pas un problème pour le boot ?
Je me rapelle la première fois, on m'avait conseillé de mettre le maximum en module, j'ai gardé cette habitude et je ne pense pas que ce soit trop mal car les modules c'est exellent !
Tu les charges, décharge en fonction du besoin et tout ça en ayant un kernel tout légé. _________________ Stationlinux.org - Wiki Fvwm FR - Config Fvwm |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
kernelsensei Bodhisattva
![Bodhisattva Bodhisattva](/images/ranks/rank-bodhisattva.gif)
![](images/avatars/21126704545e4a5f9ae5c9.jpg)
Joined: 22 Feb 2004 Posts: 5619 Location: Woustviller/Moselle/FRANCE (49.07°N;7.02°E)
|
Posted: Fri Nov 05, 2004 8:57 pm Post subject: |
|
|
le probleme tiens surtout dans le fait que si c'est trop gros tu oublies la disquette de boot (et moi je m'en tape !) _________________ $ ruby -e'puts " .:@BFegiklnorst".unpack("x4ax7aaX6ax5aX15ax4aax6aaX7ax2aX5aX8 \
axaX3ax8aX4ax6aX3aX6ax3ax3aX9ax4ax2aX9axaX6ax3aX2ax4ax3aX4aXaX12ax10aaX7a").join' |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
sireyessire Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
![](images/avatars/184146537040140c2d83e95.jpg)
Joined: 20 Mar 2003 Posts: 2991 Location: back in Paris, France
|
Posted: Fri Nov 05, 2004 9:02 pm Post subject: |
|
|
Trevoke wrote: |
Et ensuite
Code: | #emerge unmerge linux-headers modutils
emerge linux26-headers module-init-tools
emerge glibc |
|
Oui mais ça il te l'a pas demandé, il a jamais dit qu'il voulait être en linux-headers de version 2.6 (même si ça parait cohérent)
Tu peux très bien booter avec un noyau 2.6, et utiliser des linux-headers de noyau 2.4.
En fait, passer au linux26-headers n'est réellement intéressant que si tu veux utiliser le ntpll, sinon l'intérêt est limité.
ensuite je crois pas que tu ai besoin d'emerger explicitement le module-init-tools, il doit être en dépendance des sources en 2.6 (ou au moins il devrait! )
voilà, befa, enjoy ton nouveau noyau, mais quand tu vas emerger tes nouvelles sources 2.6 regardent bien les ewarn à la fin de l'emerge eet n'oublie pas de mettre ces options dans ton noyau. _________________ I never think of the future. It comes soon enough.
Albert Einstein
Try simpler first
Shockley |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
befa Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/531424300418fd3b08135c.gif)
Joined: 28 Oct 2004 Posts: 208 Location: rennes
|
Posted: Fri Nov 05, 2004 9:10 pm Post subject: |
|
|
ok pas de probleme! merci encore a vous!
n.b: c'est quoi cette histoire de headers ? quel en est l'impact ? _________________ Open Minds! Open Sources! Open Future!
think_tux@jabber.org |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
befa Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/531424300418fd3b08135c.gif)
Joined: 28 Oct 2004 Posts: 208 Location: rennes
|
Posted: Fri Nov 05, 2004 10:44 pm Post subject: |
|
|
bon et bien je tenais a vous remercier encore..tout c'est fait sans probleme! je viens juste de rebooter...et pas de soucis!
a plus tard! _________________ Open Minds! Open Sources! Open Future!
think_tux@jabber.org |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
sireyessire Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
![](images/avatars/184146537040140c2d83e95.jpg)
Joined: 20 Mar 2003 Posts: 2991 Location: back in Paris, France
|
Posted: Fri Nov 05, 2004 10:48 pm Post subject: |
|
|
un petit résolu dans le titre et tout le monde sera content alors :wonk: _________________ I never think of the future. It comes soon enough.
Albert Einstein
Try simpler first
Shockley |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
befa Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/531424300418fd3b08135c.gif)
Joined: 28 Oct 2004 Posts: 208 Location: rennes
|
Posted: Fri Nov 05, 2004 11:01 pm Post subject: |
|
|
ooops je l'avais oublie! desole
bon je vais m'attaquer a ma radeon 9600! _________________ Open Minds! Open Sources! Open Future!
think_tux@jabber.org |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
3.1415 Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/gallery/Marvel/Marvel_-_Captain_America.gif)
Joined: 29 Jan 2004 Posts: 199 Location: Stanford, CA, USA
|
Posted: Sat Nov 06, 2004 7:09 am Post subject: |
|
|
sireyessire wrote: | un petit résolu dans le titre et tout le monde sera content alors :wonk: |
hmm, apres veteran, c'est administrateur ? ![Razz :P](images/smiles/icon_razz.gif) _________________ A 3.14% près...
3.14@jabber.aster.pl |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
3.1415 Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/gallery/Marvel/Marvel_-_Captain_America.gif)
Joined: 29 Jan 2004 Posts: 199 Location: Stanford, CA, USA
|
Posted: Sat Nov 06, 2004 7:18 am Post subject: |
|
|
befa wrote: | ooops je l'avais oublie! desole
bon je vais m'attaquer a ma radeon 9600! |
bon courage: ati c pas de la tarte...
perso je te conseille d'utiliser le driver radeon ki est fourni avec xorg je crois. tu dois pouvoir aussi activer le support ati dans le kernel (genre /dev/agpart + ati chipset, support for ati framebuffer et un autre truc ke j'ai oublie)
avec cette config j'ai pas des scores terribles a glxgears (mais je m'en fous un peu) mais j'arrive a faire du xinerama sans trop de pb, et globalement je n'ai pas de souci d'affichage _________________ A 3.14% près...
3.14@jabber.aster.pl |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
sireyessire Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
![](images/avatars/184146537040140c2d83e95.jpg)
Joined: 20 Mar 2003 Posts: 2991 Location: back in Paris, France
|
Posted: Sat Nov 06, 2004 9:46 am Post subject: |
|
|
3.1415 wrote: | sireyessire wrote: | un petit résolu dans le titre et tout le monde sera content alors :wonk: |
hmm, apres veteran, c'est administrateur ? ![Razz :P](images/smiles/icon_razz.gif) |
non c'est pas administrateur, et tu es bien content après toi, quand 5 semaines après tu as le même problème et que tu vois un thread ou le problème à été résolu.
2videment ça suppose que tu cherches avant de poster... ![Wink :wink:](images/smiles/icon_wink.gif) _________________ I never think of the future. It comes soon enough.
Albert Einstein
Try simpler first
Shockley |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
3.1415 Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/gallery/Marvel/Marvel_-_Captain_America.gif)
Joined: 29 Jan 2004 Posts: 199 Location: Stanford, CA, USA
|
Posted: Sat Nov 06, 2004 9:56 am Post subject: |
|
|
tout doux, tout doux
grizzly du samedi matin, pas bien... ![Razz :P](images/smiles/icon_razz.gif) _________________ A 3.14% près...
3.14@jabber.aster.pl |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
bosozoku Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
![](images/avatars/13934668444220c81b48227.jpg)
Joined: 11 Jan 2004 Posts: 2431 Location: Roazhon
|
Posted: Sat Nov 06, 2004 10:03 am Post subject: |
|
|
3.1415 wrote: | tout doux, tout doux
grizzly du samedi matin, pas bien... ![Razz :P](images/smiles/icon_razz.gif) |
Je ne pense pas qu'il voulait être agressif mais le fond est juste, je suis entièrement d'accord. Tu as un problème, petite recherche et hop tu tombe sur un mec qui à exactement le meme prob avec un beau résolu dans le thead, ça fait plaisir ^^ _________________ Stationlinux.org - Wiki Fvwm FR - Config Fvwm |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|