Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Kernel & Hardware
  • Search

Kernel Xanmod

Kernel not recognizing your hardware? Problems with power management or PCMCIA? What hardware is compatible with Gentoo? See here. (Only for kernels supported by Gentoo.)
Post Reply
Advanced search
8 posts • Page 1 of 1
Author
Message
Utorrent
n00b
n00b
User avatar
Posts: 16
Joined: Wed Jun 22, 2022 5:03 am

Kernel Xanmod

  • Quote

Post by Utorrent » Sat Jun 25, 2022 11:08 pm

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
Top
pietinger
Administrator
Administrator
Posts: 6631
Joined: Tue Oct 17, 2006 5:11 pm
Location: Bavaria

  • Quote

Post by pietinger » Sat Jun 25, 2022 11:33 pm

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_prep ... od-sources

Selecting https://gitlab.com/src_prepare/src_prep ... 8.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 ;-)
Top
Utorrent
n00b
n00b
User avatar
Posts: 16
Joined: Wed Jun 22, 2022 5:03 am

  • Quote

Post by Utorrent » Sun Jun 26, 2022 1:15 am

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
Top
pjp
Administrator
Administrator
User avatar
Posts: 20668
Joined: Tue Apr 16, 2002 10:35 pm

  • Quote

Post by pjp » Sun Jun 26, 2022 5:10 am

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: Select all

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: Select all

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?
Top
Utorrent
n00b
n00b
User avatar
Posts: 16
Joined: Wed Jun 22, 2022 5:03 am

  • Quote

Post by Utorrent » Mon Jun 27, 2022 3:42 am

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
Top
pjp
Administrator
Administrator
User avatar
Posts: 20668
Joined: Tue Apr 16, 2002 10:35 pm

  • Quote

Post by pjp » Mon Jun 27, 2022 4:57 am

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: Select all

sudo eselect repository remove src_prepare_overlay
You can confirm the correct spelling with something like this:

Code: Select all

$ 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: Select all

$ 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?
Top
Utorrent
n00b
n00b
User avatar
Posts: 16
Joined: Wed Jun 22, 2022 5:03 am

  • Quote

Post by Utorrent » Mon Jun 27, 2022 6:31 am

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
Top
Utorrent
n00b
n00b
User avatar
Posts: 16
Joined: Wed Jun 22, 2022 5:03 am

  • Quote

Post by Utorrent » Mon Jun 27, 2022 3:59 pm

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
Top
Post Reply

8 posts • Page 1 of 1

Return to “Kernel & Hardware”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic