View previous topic :: View next topic |
Author |
Message |
enrico68 Apprentice
Joined: 21 Oct 2016 Posts: 210
|
Posted: Fri Dec 06, 2024 4:02 pm Post subject: System won't boot |
|
|
Hello,
I have a new laptop that has been giving me quite a few issues when trying to install Gentoo. I tried with other easier distributions and I do not have any issues, even Arch works with no issues, but not Gentoo...
I am using the minimal installation cd as the Live GUI CD will not take me to KDE but to a login console, and I tried quite a few different Live GUI CDs in the past weeks, but none seems to work.
But let's start with the first issue: I installed Gentoo, as usual following the official Handbook using OpenRC as my init system, I configured the Kernel manually, following both the Handbook and Pietinger's extensive tutorial, and installkernel. I see in boot all the necessary files for booting, but when I restart my laptop I see:
Code: | Loading Linux.6.6.62-gentoo...Loading Initial ramdisk... |
and a prompt....I looked at the grub.cfg file and I do not see anything wrong that pops out of the ordinary...any help is much appreciated. I have been installing Gentoo for quite a few years on different machines, and this is the first time I cannot find a solution no matter what I try...my laptop is a Lenovo Thinkpad T16 Gen 3.
Pardon me if I am not posting any screen with my lsbkl or else, I am writing this using my work computer, my Lenovo is just a black screen... |
|
Back to top |
|
|
pietinger Moderator
Joined: 17 Oct 2006 Posts: 5219 Location: Bavaria
|
|
Back to top |
|
|
enrico68 Apprentice
Joined: 21 Oct 2016 Posts: 210
|
Posted: Sat Dec 07, 2024 10:32 am Post subject: |
|
|
Hi pietinger,
here is the link to my kernel's .config file: http://0x0.st/X7Cs.txt |
|
Back to top |
|
|
pietinger Moderator
Joined: 17 Oct 2006 Posts: 5219 Location: Bavaria
|
|
Back to top |
|
|
enrico68 Apprentice
Joined: 21 Oct 2016 Posts: 210
|
Posted: Sat Dec 07, 2024 3:43 pm Post subject: |
|
|
Hi pietenger,
these have all been enabled.
Code: | # CONFIG_X86_X2APIC is not set
# CONFIG_MTRR is not set
# CONFIG_MSDOS_PARTITION is not set
# CONFIG_MFD_INTEL_LPSS_PCI is not set |
And now, (at least for me) the hardest part...meaning I have never done this before...maybe it is time I start to learn something new...
1) I have a Intel Meteor Lake-P [Intel Graphics] and there is no kernel driver in lsmod. I believe it requires the i915 driver, and the newer Xe (which I read should not be available before Linux Kernel version 6.8, the Gentoo minimal CD is still at Kernel 6.6.62). At least, it is what the other distros used when I tried them . The i915 though should be downloaded when installing the Xorg server, once setting the VIDEO_CARDS to "intel, i915 "in the make.conf file, but I did that, and I could not run startx, or boot into a DE the time when somehow I managed to boot into the new system last week. Besides, even after installing the X server, I did not see no driver in lsmod for the Intel Graphics.
Through the lspci -nkk command I see two subsystems with no drivers: 8086:7d02 and 8086:7d45.
Starting with"cateee 8086:7d02 " , it sends me to a web page with two ceteee.net links, where it says what to enable in the kernel. But I cannot see the " intel-ucode/06-b7-01 rtl_nic/rtl8125b-2.fw i915/adls_dmc_ver2_01.bin i915/tgl_guc_70.bin i915/tgl_huc.bin" files that you added in the CONFIG_EXTRA FIRMWARE of your tutorial...where did you get those file?? I am really lost here...if you can tell me step by step where you found those file I would really appreciate it, as it is the part that I am the least proficient at. Of course, those files will be different for my laptop...
2) Check also (after booting with our GentooLiveCD) if you see in lsmod this driver:
Code: | # CONFIG_INTEL_IDMA64 is not set |
(If yes, enable it also)
I have to download the GentooLiveCD to do that...I will leave it for later and report back...
Last edited by enrico68 on Sun Dec 08, 2024 12:04 pm; edited 1 time in total |
|
Back to top |
|
|
pietinger Moderator
Joined: 17 Oct 2006 Posts: 5219 Location: Bavaria
|
|
Back to top |
|
|
enrico68 Apprentice
Joined: 21 Oct 2016 Posts: 210
|
Posted: Sat Dec 07, 2024 5:31 pm Post subject: |
|
|
All right then...once I can download the Live CD I will run "dmesg | grep firmware" as per your instructions, and report back.
Thank you for being patient with me, but I am doing something which I find fascinating and not easy at the same time. This is the biggest lesson in configuring the kernel that I have ever had since starting using Linux... |
|
Back to top |
|
|
pietinger Moderator
Joined: 17 Oct 2006 Posts: 5219 Location: Bavaria
|
|
Back to top |
|
|
enrico68 Apprentice
Joined: 21 Oct 2016 Posts: 210
|
Posted: Tue Dec 10, 2024 2:46 pm Post subject: |
|
|
Hi pietinger,
I just read your last reply. I came to the same conclusion about the Kernel 6.12 after doing some research, it seems the i915 is not supported before that version.
I will give your links a careful reading and let's see what I can accomplish...all I know is that if other distros work without a fuss (and they all use the latest kernel, I believe), it has got to work on Gentoo as well, I have no doubt...
Unfortunately I am busy with work, so I am trying my best to get to the root of my issues whenever I have a chance... I will get back to you at due time...and as always, a big thank you for your support |
|
Back to top |
|
|
enrico68 Apprentice
Joined: 21 Oct 2016 Posts: 210
|
Posted: Sun Dec 15, 2024 2:21 pm Post subject: |
|
|
I read the whole discussion, thank you for pointing this out, at least I know there is a solution.
Agree.I have a question: I tried to emerge more advanced kernels from the gentoo sources, but whenever I input the whole name of the kernel (e.g. sys-kerne/gentoo sources-6.12.3), portage says it is an atom which canot be downloded. So, what is the correct way to choose a different kernel from the sys-kernel-gentoo-sources page? I thought maybe by using links and the URL from the gentoo sources page: would this be correct?
I will go through it, but first I need to know the correct way tu upgrade my kernel to 6.12 or higher.
Thank you for all the support provided. It will take some time but I know it will be resolved. |
|
Back to top |
|
|
pietinger Moderator
Joined: 17 Oct 2006 Posts: 5219 Location: Bavaria
|
Posted: Sun Dec 15, 2024 4:23 pm Post subject: |
|
|
enrico68 wrote: | [...] I will go through it, but first I need to know the correct way tu upgrade my kernel to 6.12 or higher. |
gentoo-sources is slotted, so you can use one of these commands:
Code: | # emerge -1v gentoo-sources:6.12.5
# emerge -1v =gentoo-sources-6.12.5 |
because it is not stable you must add it also in your /etc/portage/accept_keywords ... I have in this file:
Code: | sys-firmware/intel-microcode
sys-kernel/gentoo-sources
sys-kernel/linux-headers
x11-apps/igt-gpu-tools
app-crypt/ima-evm-utils
games-board/xboard
games-board/polyglot
games-board/stockfish
app-admin/kernel-hardening-checker
games-strategy/wesnoth
app-arch/7zip |
_________________ https://wiki.gentoo.org/wiki/User:Pietinger |
|
Back to top |
|
|
|