Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[kernel 2.6.19] Problème de compilation genkernel[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
bivittatus
l33t
l33t


Joined: 31 Jan 2006
Posts: 687
Location: Roissy-en-Brie (France)

PostPosted: Fri Dec 01, 2006 7:12 pm    Post subject: [kernel 2.6.19] Problème de compilation genkernel[Résolu] Reply with quote

Salut la compagnie!!!

Voilà, je suis archi-nul en ce qui concerne le kernel et la compilation, mais il va falloir que je mette un peu plus sérieusement le nez là-dedans!!!

En attendant, j'utilise genkernel et je copie mon .config au fur et à mesure des nouvelles sources installées...c'est sûrement là que se situe mon problème!

En effet, je viens de faire un update de ma testing et je me retrouve avec les sources du kernel 2.6.19...mon symlink est bon...je copie mon .config qui provient du 2.6.18-r3 et roule ma poule...mais ça roule carré en fait!!! :lol:

Voilà ce que j'obtient au bout de quelques minutes de compilation:

Code:
bivittatus toto # genkernel --menuconfig all
* Gentoo Linux Genkernel; Version 3.4.5
* Running with options: --menuconfig all

* Linux Kernel 2.6.19-gentoo for x86...
* kernel: >> Running mrproper...
* config: Using config from /usr/share/genkernel/x86/kernel-config-2.6
*         Previous config backed up to .config.bak
*         >> Running oldconfig...
* kernel: >> Cleaning...
* config: >> Invoking menuconfig...
#
# configuration written to .config
#


*** End of Linux kernel configuration.
*** Execute 'make' to build the kernel or try 'make help'.

*         >> Compiling 2.6.19-gentoo bzImage...
* ERROR: Failed to compile the "bzImage" target...

* -- Grepping log... --

  SHIPPED scripts/kconfig/lex.zconf.c
  SHIPPED scripts/kconfig/zconf.hash.c
  HOSTCC  scripts/kconfig/zconf.tab.o
  HOSTLD  scripts/kconfig/conf
scripts/kconfig/conf -o arch/i386/Kconfig
.config:743:warning: trying to assign nonexistent symbol SCSI_SATA
.config:744:warning: trying to assign nonexistent symbol SCSI_SATA_AHCI
.config:745:warning: trying to assign nonexistent symbol SCSI_SATA_SVW
.config:746:warning: trying to assign nonexistent symbol SCSI_ATA_PIIX
.config:747:warning: trying to assign nonexistent symbol SCSI_SATA_MV
.config:748:warning: trying to assign nonexistent symbol SCSI_SATA_NV
.config:749:warning: trying to assign nonexistent symbol SCSI_PDC_ADMA
.config:751:warning: trying to assign nonexistent symbol SCSI_SATA_QSTOR
.config:752:warning: trying to assign nonexistent symbol SCSI_SATA_PROMISE
.config:753:warning: trying to assign nonexistent symbol SCSI_SATA_SX4
.config:754:warning: trying to assign nonexistent symbol SCSI_SATA_SIL
.config:755:warning: trying to assign nonexistent symbol SCSI_SATA_SIL24
.config:756:warning: trying to assign nonexistent symbol SCSI_SATA_SIS
.config:757:warning: trying to assign nonexistent symbol SCSI_SATA_ULI
.config:758:warning: trying to assign nonexistent symbol SCSI_SATA_VIA
.config:759:warning: trying to assign nonexistent symbol SCSI_SATA_VITESSE
.config:760:warning: trying to assign nonexistent symbol SCSI_SATA_INTEL_COMBINED
--
    2. MMConfig (PCI_GOMMCONFIG)
    3. Direct (PCI_GODIRECT)
  > 4. Any (PCI_GOANY)
  choice[1-4?]: 4
  PCI Express support (PCIEPORTBUS) [Y/n/?] y
    Root Port Advanced Error Reporting support (PCIEAER) [Y/n/?] (NEW)   Message Signaled Interrupts (MSI and MSI-X) (PCI_MSI) [N/y/?] n
--
SCSI media changer support (CHR_DEV_SCH) [M/n/y/?] m
*
* Some SCSI devices (e.g. CD jukebox) support multiple LUNs
*
Probe all LUNs on each SCSI device (SCSI_MULTI_LUN) [N/y/?] n
Verbose SCSI error reporting (kernel size +=12K) (SCSI_CONSTANTS) [N/y/?] n
--
  Ammasso 1100 HCA support (INFINIBAND_AMSO1100) [N/m/?] (NEW)   IP-over-InfiniBand (INFINIBAND_IPOIB) [M/n/?] m
    IP-over-InfiniBand debugging (INFINIBAND_IPOIB_DEBUG) [N/y/?] n
  InfiniBand SCSI RDMA Protocol (INFINIBAND_SRP) [M/n/?] m
  iSCSI Extensions for RDMA (iSER) (INFINIBAND_ISER) [N/m/?] n
*
* EDAC - error detection and reporting (RAS) (EXPERIMENTAL)
*
EDAC core system error reporting (EXPERIMENTAL) (EDAC) [N/m/y/?] n
--
  LD      fs/xfs/built-in.o
  LD      fs/built-in.o
* Gentoo Linux Genkernel; Version 3.4.5
* Running with options: --menuconfig all

* ERROR: Failed to compile the "bzImage" target...

* -- End log... --

* Please consult /var/log/genkernel.log for more information and any
* errors that were reported above.

* Report any genkernel bugs to bugs.gentoo.org and
* assign your bug to genkernel@gentoo.org. Please include
* as much information as you can in your bug report; attaching
* /var/log/genkernel.log so that your issue can be dealt with effectively.
*
* Please do *not* report compilation failures as genkernel bugs!
*

Quelqu'un sait de quoi ça cause ce machin??? :wink:

Merci à vous!!!
_________________
Linus TORVALDS: "Je ne suis pas là pour détruire Microsoft. Ce sera juste un effet secondaire tout à fait involontaire."


Last edited by bivittatus on Sat Dec 02, 2006 3:57 pm; edited 1 time in total
Back to top
View user's profile Send private message
Scullder
Guru
Guru


Joined: 16 Mar 2006
Posts: 466
Location: France

PostPosted: Fri Dec 01, 2006 7:34 pm    Post subject: Reply with quote

Bonsoir,
On dirait que des options ont été supprimées ou renommées dans le 2.6.19. Tu devrais réessayer de faire un .config propre, ou alors d'importer ton fichier .config avec menuconfig ( genkernel --menuconfig all ) avant de compiler.
Sinon j'ai mieux pour récupérer ton fichier .config utilisé pour compiler le noyau que tu utilises :
Code:
gzcat /proc/config.gz > .config

Ça évite de se trimballer des vieux .config partout. Si t'as pas /proc/config.gz, une option se balade dans menuconfig pour activer ça.
_________________
Linux gentoo 2.6.18-ck1-r2 #1 PREEMPT Fri Nov 17 01:37:56 CET 2006 x86_64 AMD Athlon(tm) 64 Processor 3000+ AuthenticAMD GNU/Linux
Back to top
View user's profile Send private message
bivittatus
l33t
l33t


Joined: 31 Jan 2006
Posts: 687
Location: Roissy-en-Brie (France)

PostPosted: Fri Dec 01, 2006 8:50 pm    Post subject: Reply with quote

J'ai bien essayé le gzcat, mais c'est pareil...bon...si je comprends bien, va falloir que jeme lance dans l'optimisation aux petits oignons de mon kernel c'est ça? :lol:...Ben j'ai pas fini!!! 8)
_________________
Linus TORVALDS: "Je ne suis pas là pour détruire Microsoft. Ce sera juste un effet secondaire tout à fait involontaire."
Back to top
View user's profile Send private message
Scullder
Guru
Guru


Joined: 16 Mar 2006
Posts: 466
Location: France

PostPosted: Fri Dec 01, 2006 9:17 pm    Post subject: Reply with quote

Sinon tu peux utiliser le .config par défaut avec tout d'activé :D
Je suis parti de celui là et à chaque recompilation, j'essaie d'enlever des trucs qui me servent pas ^_^
_________________
Linux gentoo 2.6.18-ck1-r2 #1 PREEMPT Fri Nov 17 01:37:56 CET 2006 x86_64 AMD Athlon(tm) 64 Processor 3000+ AuthenticAMD GNU/Linux
Back to top
View user's profile Send private message
guilc
Bodhisattva
Bodhisattva


Joined: 15 Nov 2003
Posts: 3326
Location: Paris - France

PostPosted: Fri Dec 01, 2006 9:37 pm    Post subject: Reply with quote

Pour info, la conf du SATA s'est déplacée (les drivers ne sont plus dans les scsi low-level drivers mais dans une section a part)
De plus, il est maintenant possible d'utiliser les drivers PATA sur libata (meme architecture que le SATA, périphériques nommés en sdX pour les disques, et srX pour les cdroms) à la place de l'ancienne architecture ATA/ATAPI (qui reste toujours disponible, mais les évolutions se feront majoritairement dans la section libata, au fur et a mesure que les drivers y seront stabilisés).

Donc dans un premier temps : pour les utilisateurs de SATA, refaire la conf du SATA :)
Pour les autres, il est possible de laisser tel que, ou de faire l'effort de passer aux drivers PATA/libata, mais ce n'est pas forcé. D'ailleurs tous les drivers PATA/libata ne sont pas encore stabilisés.

Quelques infos rapides à ce sujet la : http://kernelnewbies.org/Linux_2_6_19
_________________
Merci de respecter les règles du forum.

Mon site perso : https://www.xwing.info
Mon PORTDIR_OVERLAY : https://gentoo.xwing.info ou layman -a xwing
Back to top
View user's profile Send private message
Animatrix
Guru
Guru


Joined: 13 May 2006
Posts: 480
Location: France - Gard (30)

PostPosted: Fri Dec 01, 2006 9:49 pm    Post subject: Reply with quote

J'ai exactement le même problème.
Utilisation de genkernel aussi.


Problème connu >> https://forums.gentoo.org/viewtopic-t-520784.html
Back to top
View user's profile Send private message
bivittatus
l33t
l33t


Joined: 31 Jan 2006
Posts: 687
Location: Roissy-en-Brie (France)

PostPosted: Fri Dec 01, 2006 10:33 pm    Post subject: Reply with quote

Animatrix wrote:
J'ai exactement le même problème.
Utilisation de genkernel aussi.


Problème connu >> https://forums.gentoo.org/viewtopic-t-520784.html

J'ai suivi ce qu'ils disent (enfin...j'en ai l'impression en tout cas), mais rien à faire...c'est pareil!!!

Par contre, après ça, j'ai effacé les lignes concernant les SCSI_SATA manuellement dans le /usr/share/genkernel/x86/kernel-config-2.6, et maintenant, je n'ai plus que ça:

Code:
bivittatus linux # genkernel --menuconfig all
* Gentoo Linux Genkernel; Version 3.4.5
* Running with options: --menuconfig all

* Linux Kernel 2.6.19-gentoo for x86...
* kernel: >> Running mrproper...
* config: Using config from /usr/share/genkernel/x86/kernel-config-2.6
*         Previous config backed up to .config.bak
*         >> Running oldconfig...
* kernel: >> Cleaning...
* config: >> Invoking menuconfig...
#
# configuration written to .config
#


*** End of Linux kernel configuration.
*** Execute 'make' to build the kernel or try 'make help'.

*         >> Compiling 2.6.19-gentoo bzImage...
* ERROR: Failed to compile the "bzImage" target...

* -- Grepping log... --

    2. MMConfig (PCI_GOMMCONFIG)
    3. Direct (PCI_GODIRECT)
  > 4. Any (PCI_GOANY)
  choice[1-4?]: 4
  PCI Express support (PCIEPORTBUS) [Y/n/?] y
    Root Port Advanced Error Reporting support (PCIEAER) [Y/n/?] (NEW)   Message Signaled Interrupts (MSI and MSI-X) (PCI_MSI) [N/y/?] n
--
SCSI media changer support (CHR_DEV_SCH) [M/n/y/?] m
*
* Some SCSI devices (e.g. CD jukebox) support multiple LUNs
*
Probe all LUNs on each SCSI device (SCSI_MULTI_LUN) [N/y/?] n
Verbose SCSI error reporting (kernel size +=12K) (SCSI_CONSTANTS) [N/y/?] n
--
  Ammasso 1100 HCA support (INFINIBAND_AMSO1100) [N/m/?] (NEW)   IP-over-InfiniBand (INFINIBAND_IPOIB) [M/n/?] m
    IP-over-InfiniBand debugging (INFINIBAND_IPOIB_DEBUG) [N/y/?] n
  InfiniBand SCSI RDMA Protocol (INFINIBAND_SRP) [M/n/?] m
  iSCSI Extensions for RDMA (iSER) (INFINIBAND_ISER) [N/m/?] n
*
* EDAC - error detection and reporting (RAS) (EXPERIMENTAL)
*
EDAC core system error reporting (EXPERIMENTAL) (EDAC) [N/m/y/?] n
--
  LD      fs/xfs/built-in.o
  LD      fs/built-in.o
* Gentoo Linux Genkernel; Version 3.4.5
* Running with options: --menuconfig all

* ERROR: Failed to compile the "bzImage" target...

* -- End log... --

* Please consult /var/log/genkernel.log for more information and any
* errors that were reported above.

* Report any genkernel bugs to bugs.gentoo.org and
* assign your bug to genkernel@gentoo.org. Please include
* as much information as you can in your bug report; attaching
* /var/log/genkernel.log so that your issue can be dealt with effectively.
*
* Please do *not* report compilation failures as genkernel bugs!
*

... :cry:
_________________
Linus TORVALDS: "Je ne suis pas là pour détruire Microsoft. Ce sera juste un effet secondaire tout à fait involontaire."
Back to top
View user's profile Send private message
Animatrix
Guru
Guru


Joined: 13 May 2006
Posts: 480
Location: France - Gard (30)

PostPosted: Sat Dec 02, 2006 9:11 am    Post subject: Reply with quote

Un nouveau paquet 2.6.19-gentoo-r1 corrige le problème :)
Back to top
View user's profile Send private message
bivittatus
l33t
l33t


Joined: 31 Jan 2006
Posts: 687
Location: Roissy-en-Brie (France)

PostPosted: Sat Dec 02, 2006 10:46 am    Post subject: Reply with quote

Je teste ça de suite et je vous tiens au courant!!! :wink: Merci!
_________________
Linus TORVALDS: "Je ne suis pas là pour détruire Microsoft. Ce sera juste un effet secondaire tout à fait involontaire."
Back to top
View user's profile Send private message
bivittatus
l33t
l33t


Joined: 31 Jan 2006
Posts: 687
Location: Roissy-en-Brie (France)

PostPosted: Sat Dec 02, 2006 3:58 pm    Post subject: Reply with quote

Exact...ça fonctionne!!! Merci :wink:
_________________
Linus TORVALDS: "Je ne suis pas là pour détruire Microsoft. Ce sera juste un effet secondaire tout à fait involontaire."
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