Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Erreur mise a jour kernel
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
Nutz57
n00b
n00b


Joined: 10 Oct 2023
Posts: 6

PostPosted: Sun Dec 10, 2023 5:46 pm    Post subject: Erreur mise a jour kernel Reply with quote

Bonjour a tous,

J'essaye de mettre a jour pour la premierer fois le kernel de mon laptop de 6.1 vers 6.6 en suivant le process de la documentation officiel:

- emerge --ask sys-kernel/gentoo-kernel
- eselect kernel set
- zcat /proc/config.gz > /usr/src/linux/.config
- make oldconfig
- make

et cette erreur apparait,

arch/x86/entry/syscalls/syscall_32.tbl », nécessaire pour « arch/x86/include/generated/uapi/asm/unistd_32.h ». Arrêt.

J'ai refait le process avec un make clean / distclean mais j'arrive tjs au meme soucis.

Si certains on des idées, je suis preneur
Back to top
View user's profile Send private message
ghoti
Advocate
Advocate


Joined: 30 Dec 2002
Posts: 3634
Location: Belgium

PostPosted: Mon Dec 11, 2023 8:42 am    Post subject: Re: Erreur mise a jour kernel Reply with quote

Salut,
Nutz57 wrote:
eselect kernel set

Ta commande n'est pas complète !
eselect kernel --help wrote:

<...>
Extra actions:
list List available kernel symlink targets
set <target> Set a new kernel symlink target
target Target name or number (from 'list' action)
show Show the current kernel symlink
update Update the kernel symlink to running kernel
ifunset Do not override currently set version
Back to top
View user's profile Send private message
Nutz57
n00b
n00b


Joined: 10 Oct 2023
Posts: 6

PostPosted: Mon Dec 11, 2023 11:13 am    Post subject: Reply with quote

Bonjour ghoti,

Merci pour ta reponse, oui effectivement, j'ai juste pas mis le numero car il est different pour tout le monde mais sinon je selectionne bien un kernel qui est dans la liste ;)
Back to top
View user's profile Send private message
netfab
Veteran
Veteran


Joined: 03 Mar 2005
Posts: 1897
Location: 127.0.0.1

PostPosted: Mon Dec 11, 2023 12:28 pm    Post subject: Reply with quote

Salut,

Quel est ton kernel d'origine ? gentoo-kernel aussi ? Comment l'as tu installé au départ ?
gentoo-kernel est un kernel de distribution, si tu veux modifier la configuration tu dois utiliser le processus savedconfig (via le useflag) et laisser emerge compiler le kernel.
Si tu veux compiler le kernel toi-même via make etc.. tu dois utiliser gentoo-sources.
Back to top
View user's profile Send private message
Nutz57
n00b
n00b


Joined: 10 Oct 2023
Posts: 6

PostPosted: Wed Dec 13, 2023 9:58 am    Post subject: Reply with quote

Effectivement, je pense que c'est ca mon erreur, je me suis embrouillé entre les deux facons.
Jai tout recommencé avec gentoo-sources et c'est okay :
Quote:

- sys-kernel/gentoo-sources
- ln -sf /usr/src/linux-6.6.5-gentoo /usr/src/linux
- eselect kernel set 2
- zcat /proc/config.gz > /usr/src/linux/.config
- make bzImage && make modules
- cp -v /usr/src/linux/.config /boot/config-6.6.5-gentoo
- cp -v /usr/src/linux/System.map /boot/System.map-6.6.5-gentoo
- cp -v /usr/src/linux/arch/x86_64/boot/bzImage /boot/kernel-6.6.5-dist
- grub-mkconfig -o /boot/grub/grub.cfg
- dracut --force --kver 6.6.5-gentoo
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