View previous topic :: View next topic |
Author |
Message |
antoine_ Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
Joined: 07 Apr 2006 Posts: 103 Location: Paris ou Bordeaux
|
Posted: Tue Aug 15, 2006 9:23 pm Post subject: [Kernel] Mise à jour - Quid de la conf ? (résolu) |
|
|
Bonjour,
Je voulais faire aujourd'hui ma première mise à jour du noyau sous Gentoo.
Pour cela j'ai fait un USE="-doc symlink" emerge -a gentoo-sources.
A la suite de ça un make menuconfig car j'avais une option à modifier. Et là je constate que toute la configuration que j'avais sur l'ancienne version du noyau a disparue.
Déjà est-ce normal ? Ca se comprend, on peut supposer que certaines options ont été ajoutées ou d'autres ont disparues, du coup il semble difficile de translater toute la conf d'un noveay à l'autre.
Du coup comment est-ce que je peux récupérer mon ancienne config ? Est-ce qu'une copie du fichier .config de l'ancien vers le nouveau noyau marcherait ? J'imagine que ce n'est pas une méthode très sûre...
Dernière chose plutôt intéressante : lorsque je fais mon make menuconfig, j'ai les messages d'erreurs suivants qui apparaissent sur la console.
Code: |
# make menuconfig
scripts/kconfig/mconf arch/i386/Kconfig
#
# using defaults found in arch/i386/defconfig
#
arch/i386/defconfig:48:warning: trying to assign nonexistent symbol CC_ALIGN_FUNCTIONS
arch/i386/defconfig:49:warning: trying to assign nonexistent symbol CC_ALIGN_LABELS
arch/i386/defconfig:50:warning: trying to assign nonexistent symbol CC_ALIGN_LOOPS
arch/i386/defconfig:51:warning: trying to assign nonexistent symbol CC_ALIGN_JUMPS
arch/i386/defconfig:63:warning: trying to assign nonexistent symbol OBSOLETE_MODPARM
arch/i386/defconfig:248:warning: trying to assign nonexistent symbol PCI_LEGACY_PROC
arch/i386/defconfig:349:warning: trying to assign nonexistent symbol IP_NF_MATCH_MULTIPORT
arch/i386/defconfig:354:warning: trying to assign nonexistent symbol IP_NF_MATCH_AH_ESP
arch/i386/defconfig:798:warning: trying to assign nonexistent symbol SERIAL_8250_ACPI
arch/i386/defconfig:917:warning: trying to assign nonexistent symbol SENSORS_RTC8564
arch/i386/defconfig:919:warning: trying to assign nonexistent symbol RTC_X1205_I2C
arch/i386/defconfig:1021:warning: trying to assign nonexistent symbol VIDEO_AUDIO_DECODER
arch/i386/defconfig:1022:warning: trying to assign nonexistent symbol VIDEO_DECODER
arch/i386/defconfig:1065:warning: trying to assign nonexistent symbol FB_RADEON_OLD
arch/i386/defconfig:1224:warning: trying to assign nonexistent symbol OBSOLETE_OSS_USB_DRIVER
arch/i386/defconfig:1263:warning: trying to assign nonexistent symbol USB_MTOUCHarch/i386/defconfig:1264:warning: trying to assign nonexistent symbol USB_ITMTOUCH
arch/i386/defconfig:1265:warning: trying to assign nonexistent symbol USB_EGALAXarch/i386/defconfig:1410:warning: trying to assign nonexistent symbol RELAYFS_FS
Your kernel configuration changes were NOT saved.
Makefile:441: .config: Aucun fichier ou répertoire de ce type
|
Visiblement il y a bien un problème avec mon .config...
Last edited by antoine_ on Tue Aug 15, 2006 9:55 pm; edited 1 time in total |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Ey l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
![](images/avatars/5092208844255875febcbf.png)
Joined: 07 Apr 2005 Posts: 863 Location: Paris
|
Posted: Tue Aug 15, 2006 9:32 pm Post subject: Re: [Kernel] Mise à jour - Quid de la conf ? |
|
|
Tu peux copier le .config ou si tu as activé l'option qvb, tu as aussi un /proc/config.gz qui contient la conf exacte du noyau actuel.
Ensuite il faut faire un "make oldconfig" pour qu'il te pose les questions sur les nouvelles options du noyau uniquement. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
antoine_ Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
Joined: 07 Apr 2006 Posts: 103 Location: Paris ou Bordeaux
|
Posted: Tue Aug 15, 2006 9:54 pm Post subject: |
|
|
J'ai copié le .config, fait un make oldconfig, et j'ai activé l'option pour la prochaine fois.
Merci beaucoup :o) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Il turisto l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
![](images/avatars/153693952344a15197cff5f.jpg)
Joined: 12 May 2004 Posts: 968 Location: Battincourt - Belgique
|
Posted: Wed Aug 16, 2006 7:36 am Post subject: Re: [Kernel] Mise à jour - Quid de la conf ? |
|
|
Ey wrote: | Tu peux copier le .config ou si tu as activé l'option qvb, tu as aussi un /proc/config.gz qui contient la conf exacte du noyau actuel.
Ensuite il faut faire un "make oldconfig" pour qu'il te pose les questions sur les nouvelles options du noyau uniquement. |
Ou se trouve cette option qvb? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
PabOu Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
![](images/avatars/3473093244651a9f172aa.jpg)
Joined: 11 Feb 2004 Posts: 1088 Location: Namur - Belgium
|
Posted: Wed Aug 16, 2006 10:03 am Post subject: Re: [Kernel] Mise à jour - Quid de la conf ? |
|
|
Il turisto wrote: | Ou se trouve cette option qvb? |
qvb = qui va bien ;-)
ca se trouve dans "General setup" : Code: | [*] Kernel .config support
[*] Enable access to .config through /proc/config.gz |
_________________ Mangez du poulet ! |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Il turisto l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
![](images/avatars/153693952344a15197cff5f.jpg)
Joined: 12 May 2004 Posts: 968 Location: Battincourt - Belgique
|
Posted: Wed Aug 16, 2006 10:45 am Post subject: |
|
|
j'me disais aussi que j'avais jamais bu cette option la
Par contre l'autre je l'ai déjà vue mais je me suis toujours dis que ca devait alourdir le kernel pour pas grand chose.
Vous en pensez quoi? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
geekounet Bodhisattva
![Bodhisattva Bodhisattva](/images/ranks/rank-bodhisattva.gif)
![](images/avatars/42499887147a7828d56a1b.png)
Joined: 11 Oct 2004 Posts: 3772
|
Posted: Wed Aug 16, 2006 11:06 am Post subject: |
|
|
Il turisto wrote: | Par contre l'autre je l'ai déjà vue mais je me suis toujours dis que ca devait alourdir le kernel pour pas grand chose.
Vous en pensez quoi? |
Code: | # du -h /proc/config.gz
9,0K /proc/config.gz |
![Wink ;)](images/smiles/icon_wink.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Il turisto l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
![](images/avatars/153693952344a15197cff5f.jpg)
Joined: 12 May 2004 Posts: 968 Location: Battincourt - Belgique
|
Posted: Wed Aug 16, 2006 11:17 am Post subject: |
|
|
Vu comme ça je vais recompiler mon kernel moi.
Merci ![Wink ;-)](images/smiles/icon_wink.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|