Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Kernel Xanmod
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
Utorrent
n00b
n00b


Joined: 22 Jun 2022
Posts: 16

PostPosted: Sat Jun 25, 2022 11:08 pm    Post subject: Kernel Xanmod Reply with quote

hello I would like to know how do I install the Xanmod Kernel on Gentoo I follow a tutorial on reddit but it doesn't work I would like to know how I can install the xanmod kernel on gentoo without problems
_________________
Olá sou entusiasta do matrix e distros source based alem de Distro hopper
Back to top
View user's profile Send private message
pietinger
Moderator
Moderator


Joined: 17 Oct 2006
Posts: 4149
Location: Bavaria

PostPosted: Sat Jun 25, 2022 11:33 pm    Post subject: Reply with quote

Without any error messages you have got, and without description what you have done so far, I can only give you some links:

https://xanmod.org/ has a link for gentoo to:

https://gitlab.com/src_prepare/src_prepare-overlay/-/tree/master/sys-kernel/xanmod-sources

Selecting https://gitlab.com/src_prepare/src_prepare-overlay/-/blob/master/sys-kernel/xanmod-sources/xanmod-sources-5.18.2.ebuild shows it is rather new (2 weeks old).

Did you made a local repository ? Maybe the tutorial on reddit is outdated - a link to it and a description what you have done could help us to help you ;-)
Back to top
View user's profile Send private message
Utorrent
n00b
n00b


Joined: 22 Jun 2022
Posts: 16

PostPosted: Sun Jun 26, 2022 1:15 am    Post subject: Reply with quote

I did but I added the repository but at the time of downloading it said that in the repository I added there was no xanmod-sources

I checked the links you sent I apologize I'm new to gentoo but I don't know exactly how to run the gitlab files and I didn't find any instructions either
_________________
Olá sou entusiasta do matrix e distros source based alem de Distro hopper
Back to top
View user's profile Send private message
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 20067

PostPosted: Sun Jun 26, 2022 5:10 am    Post subject: Reply with quote

Utorrent wrote:
I did but I added the repository but at the time of downloading it said that in the repository I added there was no xanmod-sources
Can you be more specific, including the commands you used and actual error messages?

Using eselect, I just installed the repository and I see xanmod sources.

Code:
sudo eselect repository add src_prepare_overlay git https://gitlab.com/src_prepare/src_prepare-overlay.git


That created /etc/portage/repos.conf/eselect-repo.conf

My system does not follow the defauls for repo locations, so I had to customize that file to point to the correct directory for repositories.

I then sync'd the repository which contains multiple versions of the sources.
Code:
sudo emerge --sync src_prepare_overlay

The versions in sys-kernel/xanmod-sources:
xanmod-sources-5.16.10.ebuild
xanmod-sources-5.16.12.ebuild
xanmod-sources-5.16.5.ebuild
xanmod-sources-5.17.1.ebuild
xanmod-sources-5.17.5.ebuild
xanmod-sources-5.18.2.ebuild
_________________
Quis separabit? Quo animo?
Back to top
View user's profile Send private message
Utorrent
n00b
n00b


Joined: 22 Jun 2022
Posts: 16

PostPosted: Mon Jun 27, 2022 3:42 am    Post subject: Reply with quote

Adding src_prepare_overlay to /etc/portage/repos.conf/eselect-repo.conf ...
Repository src_prepare_overlay added
utorrent /home/utorrent # emerge --sync src_prepare_overlay
>>> Syncing repository 'src_prepare_overlay' into '/var/db/repos/src_prepare_overlay'...
/usr/bin/git clone --depth 1 https://gitlab.com/src_prepare/src_prepare-overlay.git .
Cloning into '.'...
remote: Enumerating objects: 882, done.
remote: Counting objects: 100% (882/882), done.
remote: Compressing objects: 100% (748/748), done.
remote: Total 882 (delta 152), reused 704 (delta 97), pack-reused 0
Receiving objects: 100% (882/882), 633.14 KiB | 1.82 MiB/s, done.
Resolving deltas: 100% (152/152), done.
=== Sync completed for src_prepare_overlay
!!! Section 'src_prepare_overlay' in repos.conf has name different from repository name 'src_prepare-overlay' set inside repository

Action: sync for repo: src_prepare_overlay, returned code = 0


utorrent /home/utorrent # emerge --ask xanmod-sources
!!! Section 'src_prepare_overlay' in repos.conf has name different from repository name 'src_prepare-overlay' set inside repository

These are the packages that would be merged, in order:

Calculating dependencies... done!

emerge: there are no ebuilds to satisfy "xanmod-sources".

emerge: searching for similar names...
emerge: Maybe you meant any of these: sys-kernel/zen-sources, sys-kernel/gentoo-sources, sys-kernel/mips-sources?
utorrent /home/utorrent # nano/etc/portage/repos.conf/eselect-repo.conf
bash: nano/etc/portage/repos.conf/eselect-repo.conf: No such file or directory
utorrent /home/utorrent # nano /etc/portage/repos.conf/eselect-repo.conf
utorrent /home/utorrent # emerge --ask sys-kernel/xanmod-sources
!!! Section 'src_prepare_overlay' in repos.conf has name different from repository name 'src_prepare-overlay' set inside repository

These are the packages that would be merged, in order:

Calculating dependencies... done!

emerge: there are no ebuilds to satisfy "sys-kernel/xanmod-sources".

emerge: searching for similar names...
emerge: Maybe you meant any of these: sys-kernel/zen-sources, sys-kernel/gentoo-sources, sys-kernel/mips-sources?
utorrent /home/utorrent #


besides when I compiled another kernel I can't load it myself by updating grub and selecting the kernel in the eselect kernel list



utorrent /home/utorrent # eselect kernel list
Available kernel symlink targets:
[1] linux-5.15.41-gentoo
[2] linux-5.15.48-gentoo-dist
[3] linux-5.18.7-tkg-pds *
utorrent /home/utorrent #

utorrent /home/utorrent # grub-mkconfig -o /boot/grub/grub.cfg
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-5.18.7-tkg-pds
Found initrd image: /boot/initramfs-5.18.7-tkg-pds.img
Adding boot menu entry for UEFI Firmware Settings ...
done
utorrent /home/utorrent #


even with everything updated it doesn't load it keeps running the binary kernel

I tried tkg before but I had an error loading and in xanmod I can't even compile
_________________
Olá sou entusiasta do matrix e distros source based alem de Distro hopper
Back to top
View user's profile Send private message
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 20067

PostPosted: Mon Jun 27, 2022 4:57 am    Post subject: Reply with quote

I apparently typo'd the "add" line. Instead of "src_prepare_overlay" it should have been "src_prepare-overlay". To get rid of the "wrong" overlay, this should work:
Code:
sudo eselect repository remove src_prepare_overlay
You can confirm the correct spelling with something like this:
Code:
$ eselect repository list |grep src_


After you have removed the incorrect repository, add it again with the correct spelling, and sync that repository.

You should then be able to see something like this:
Code:
$ emerge -s xanmod-sources
 
[ Results for search key : xanmod-sources ]
Searching...

*  sys-kernel/xanmod-sources [ Masked ]
      Latest version available: 5.18.2
      Latest version installed: [ Not Installed ]
      Size of files: 127,006 KiB
      Homepage:      https://xanmod.org
      Description:   Full XanMod sources with cacule option and including the Gentoo patchset
      License:       GPL-2 CDDL

[ Applications found : 1 ]
If that works, you may want to consider masking the repository and only unmasking specific ebuilds that you want to use. That is described in Masking enabled ebuild repositories.
_________________
Quis separabit? Quo animo?
Back to top
View user's profile Send private message
Utorrent
n00b
n00b


Joined: 22 Jun 2022
Posts: 16

PostPosted: Mon Jun 27, 2022 6:31 am    Post subject: Reply with quote

thank you very much I can add the repository but I can't load the kernel yet
_________________
Olá sou entusiasta do matrix e distros source based alem de Distro hopper
Back to top
View user's profile Send private message
Utorrent
n00b
n00b


Joined: 22 Jun 2022
Posts: 16

PostPosted: Mon Jun 27, 2022 3:59 pm    Post subject: Reply with quote

I can't load the custom kernel or xanmod or tkg only the gentoo binary kernel
even updating grub and eselect kernel could help me

utorrent /home/utorrent # grub-mkconfig -o /boot/grub/grub.cfg
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-5.18.7-tkg-pds
Found initrd image: /boot/initramfs-5.18.7-tkg-pds.img
Adding boot menu entry for UEFI Firmware Settings ...
done
utorrent /home/utorrent #

utorrent /home/utorrent # eselect kernel list
Available kernel symlink targets:
[1] linux-5.15.41-gentoo
[2] linux-5.15.48-gentoo-dist
[3] linux-5.18.7-tkg-pds *
utorrent /home/utorrent #

my tkg kernel don t load
_________________
Olá sou entusiasta do matrix e distros source based alem de Distro hopper
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware 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