Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[Kernel] Mise à jour - Quid de la conf ? (résolu)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index French
View previous topic :: View next topic  
Author Message
antoine_
Tux's lil' helper
Tux's lil' helper


Joined: 07 Apr 2006
Posts: 103
Location: Paris ou Bordeaux

PostPosted: Tue Aug 15, 2006 9:23 pm    Post subject: [Kernel] Mise à jour - Quid de la conf ? (résolu) Reply with quote

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
View user's profile Send private message
Ey
l33t
l33t


Joined: 07 Apr 2005
Posts: 863
Location: Paris

PostPosted: Tue Aug 15, 2006 9:32 pm    Post subject: Re: [Kernel] Mise à jour - Quid de la conf ? Reply with quote

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
View user's profile Send private message
antoine_
Tux's lil' helper
Tux's lil' helper


Joined: 07 Apr 2006
Posts: 103
Location: Paris ou Bordeaux

PostPosted: Tue Aug 15, 2006 9:54 pm    Post subject: Reply with quote

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
View user's profile Send private message
Il turisto
l33t
l33t


Joined: 12 May 2004
Posts: 968
Location: Battincourt - Belgique

PostPosted: Wed Aug 16, 2006 7:36 am    Post subject: Re: [Kernel] Mise à jour - Quid de la conf ? Reply with quote

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
View user's profile Send private message
PabOu
Veteran
Veteran


Joined: 11 Feb 2004
Posts: 1088
Location: Namur - Belgium

PostPosted: Wed Aug 16, 2006 10:03 am    Post subject: Re: [Kernel] Mise à jour - Quid de la conf ? Reply with quote

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
View user's profile Send private message
Il turisto
l33t
l33t


Joined: 12 May 2004
Posts: 968
Location: Battincourt - Belgique

PostPosted: Wed Aug 16, 2006 10:45 am    Post subject: Reply with quote

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
View user's profile Send private message
geekounet
Bodhisattva
Bodhisattva


Joined: 11 Oct 2004
Posts: 3772

PostPosted: Wed Aug 16, 2006 11:06 am    Post subject: Reply with quote

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

;)
Back to top
View user's profile Send private message
Il turisto
l33t
l33t


Joined: 12 May 2004
Posts: 968
Location: Battincourt - Belgique

PostPosted: Wed Aug 16, 2006 11:17 am    Post subject: Reply with quote

Vu comme ça je vais recompiler mon kernel moi.

Merci ;-)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index French 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