Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[Bootloader] Démarrage du noyau >=5.15.52 avec Clover
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
Anard
Apprentice
Apprentice


Joined: 01 Oct 2020
Posts: 214

PostPosted: Sun Jul 17, 2022 9:20 am    Post subject: [Bootloader] Démarrage du noyau >=5.15.52 avec Clover Reply with quote

Bonjour,
J'ai un problème depuis la compilation du noyau 5.15.52 depuis gentoo-sources :
J'utilise Clover comme bootloader afin de pouvoir booter macOS. Celui-ci est resté en version 5122 car les versions plus récentes sont plus complexes à configurer (à cause des quirks en particulier) et ma version de macOS ne nécessite pas cette mise à jour. Peut-être est-ce là l'explication du souci, mais je n'en suis pas convaincu.

J'ai deux SSD pour mes 2 OS :
  • macOS avec Clover installé sur son EFI
  • Gentoo avec Grub installé sur son EFI


Je dispose de 3 entrées pour démarrer Gentoo depuis Clover :
  • Gentoo 5.15.52 en direct
  • Gentoo 5.15.41 en direct
  • Gentoo chainload via Grub


Lorsque je démarre via Grub, celui-ci arrive à booter normalement avec le dernier noyau.
Le démarrage en direct sur le précédent noyau fonctionne tout à fait normalement.
En revanche, depuis le 5.15.52 sans passer par Grub, Plymouth se lance correctement mais reste bloqué. Si je tapes sur escape pour visualiser l'avancement du boot, j'ai un écran noir sans aucune information. J'ai également tenté de configurer Clover pour ne pas utiliser l'image initramfs afin de visualiser tous les messages, encore une fois, je n'ai qu'un écran noir... Comme s'il ne parvenait pas à trouver mon noyau.

Même si je sais qu'il y a peu de spécialistes de ce bootloader ici, voici la config de mes entrées de boot sous Gentoo :
Code:
<dict>
                                        <key>Arguments</key>
                                        <string>initrd=\EFI\GENTOO\intel-uc.img initrd=\EFI\GENTOO\initramfs.img root=PARTUUID=DDA7F02B-B74D-4127-B0F8-CE989863A87B ro quiet splash</string>
                                        <key>Disabled</key>
                                        <false/>
                                        <key>FullTitle</key>
                                        <string>Gentoo</string>
                                        <key>Hidden</key>
                                        <false/>
                                        <key>Path</key>
                                        <string>\EFI\GENTOO\vmlinuz</string>
                                        <key>Type</key>
                                        <string>Linux</string>
                                        <key>Volume</key>
                                        <string>802D4D2B-F222-4A1C-8CAD-7B006DCE6780</string>
                                        <key>VolumeType</key>
                                        <string>Internal</string>
                                </dict>
                                <dict>
                                        <key>Arguments</key>
                                        <string>initrd=\EFI\GENTOO\intel-uc.img initrd=\EFI\GENTOO\initramfs-old.img root=PARTUUID=DDA7F02B-B74D-4127-B0F8-CE989863A87B ro quiet splash</string>
                                        <key>Disabled</key>
                                        <false/>
                                        <key>FullTitle</key>
                                        <string>Gentoo ancien noyau</string>
                                        <key>Hidden</key>
                                        <false/>
                                        <key>Path</key>
                                        <string>\EFI\GENTOO\vmlinuz-old</string>
                                        <key>Type</key>
                                        <string>Linux</string>
                                        <key>Volume</key>
                                        <string>802D4D2B-F222-4A1C-8CAD-7B006DCE6780</string>
                                        <key>VolumeType</key>
                                        <string>Internal</string>
                                </dict>
                                <dict>
                                        <key>Disabled</key>
                                        <false/>
                                        <key>FullTitle</key>
                                        <string>Gentoo via GRUB</string>
                                        <key>Hidden</key>
                                        <false/>
                                        <key>Path</key>
                                        <string>\EFI\gentoo\grubx64.efi</string>
                                        <key>Type</key>
                                        <string>Linux</string>
                                        <key>Volume</key>
                                        <string>82AE8793-4019-4D94-BB38-62C427C483B8</string>
                                        <key>VolumeType</key>
                                        <string>Internal</string>
                                </dict>


Les fichiers en question sont bien présents et sont bien les mêmes que ceux que Grub utilise :
Code:
# ls /mnt/EFI/EFI/GENTOO/
initramfs.img  initramfs-old.img  intel-uc.img  vmlinuz  vmlinuz-old
# diff /mnt/EFI/EFI/GENTOO/vmlinuz /boot/vmlinuz-5.15.52-gentoo-x86_64
# diff /mnt/EFI/EFI/GENTOO/initramfs.img /boot/initramfs-5.15.52-gentoo-x86_64.img


Voici la différence entre mes noyaux 5.15.41 et 5.15.52 :
Code:
# diff /boot/config-5.15.41-gentoo-x86_64 /boot/config-5.15.52-gentoo-x86_64
3c3
< # Linux/x86 5.15.41-gentoo Kernel Configuration
---
> # Linux/x86 5.15.52-gentoo Kernel Configuration
5c5
< CONFIG_CC_VERSION_TEXT="gcc (Gentoo 11.2.1_p20220115 p4) 11.2.1 20220115"
---
> CONFIG_CC_VERSION_TEXT="gcc (Gentoo 11.3.0 p4) 11.3.0"
7c7
< CONFIG_GCC_VERSION=110201
---
> CONFIG_GCC_VERSION=110300
17a18
> CONFIG_CC_HAS_ASM_GOTO_TIED_OUTPUT=y
337a339,340
> CONFIG_CC_HAS_SLS=y
> # CONFIG_SLS is not set
641c644
< CONFIG_X86_X32=y
---
> # CONFIG_X86_X32 is not set
5300d5302
< # CONFIG_IMA_TEMPLATE is not set
5530,5541d5531
<
< #
< # Crypto library routines
< #
< CONFIG_CRYPTO_LIB_AES=y
< # CONFIG_CRYPTO_LIB_BLAKE2S is not set
< # CONFIG_CRYPTO_LIB_CHACHA is not set
< # CONFIG_CRYPTO_LIB_CURVE25519 is not set
< CONFIG_CRYPTO_LIB_POLY1305_RSIZE=11
< # CONFIG_CRYPTO_LIB_POLY1305 is not set
< # CONFIG_CRYPTO_LIB_CHACHA20POLY1305 is not set
< CONFIG_CRYPTO_LIB_SHA256=y
5601a5592,5606
>
> #
> # Crypto library routines
> #
> CONFIG_CRYPTO_LIB_AES=y
> CONFIG_CRYPTO_LIB_BLAKE2S_GENERIC=y
> # CONFIG_CRYPTO_LIB_CHACHA is not set
> # CONFIG_CRYPTO_LIB_CURVE25519 is not set
> CONFIG_CRYPTO_LIB_POLY1305_RSIZE=11
> # CONFIG_CRYPTO_LIB_POLY1305 is not set
> # CONFIG_CRYPTO_LIB_CHACHA20POLY1305 is not set
> CONFIG_CRYPTO_LIB_SHA256=y
> # end of Crypto library routines
>
> CONFIG_LIB_MEMNEQ=y


Avez-vous connaissance d'une évolution quelconque entre les noyaux 5.15.41 et 5.15.52 qui pourraient expliquer ce changement de comportement ? Je ne sais pas bien où chercher. Dites-moi si je peux vous fournir une autre info pouvant aider à la compréhension du problème.

Merci beaucoup
_________________
"iMack" : GA-H97M-D3H, Intel i5 4460, 16Go DDR3, Intel HD4600, 2x SSD 256Go, HDD 500Go+2To / Clover - macOS Mojave / Gentoo-Xfce
"Portable" : HP 350G3, HDD 500Go / rEFInd - Xubuntu 20.04 / Windows 10
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