Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Stuck at loading initramfs
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
joe14151
n00b
n00b


Joined: 03 Nov 2023
Posts: 3

PostPosted: Fri Nov 03, 2023 7:41 pm    Post subject: Stuck at loading initramfs Reply with quote

Hi
I get stuck at the loading initramfs screen on grub. I have nvidia rtx 30 series gpu and a intel hasswel cpu.

Kernel, dracut, grub configs
https://pastebin.com/yic9dPDM

I have all the must have options in the kernel config. and all the options that are mentioned in the nvidia drivers wiki article.
https://wiki.gentoo.org/wiki/User:Pietinger/Tutorials/Manual_Configuring_Kernel_Version_6.1#Part_3_-_Must_Haves
https://wiki.gentoo.org/wiki/NVIDIA/nvidia-drivers

i ran dracut with the following command for every other command a followed the handbook
Code:

dracut --zstd --kver=6.1.57-gentoo
Back to top
View user's profile Send private message
pietinger
Moderator
Moderator


Joined: 17 Oct 2006
Posts: 4166
Location: Bavaria

PostPosted: Sat Nov 04, 2023 12:18 pm    Post subject: Reply with quote

joe14151,

Welcome to Gentoo Forums ! :D

If it is not a framebuffer problem (I see you have configured all for this) then it is probably a problem with two graphics cards. You surely know there are two types of Intel CPU's: With an integrated GPU or without (F-series).

IF your Haswell CPU is with integrated GPU THEN you have a system with two GPU's.

You have enabled i915 also in your kernel configuration ... Because you have enabled it statically (CONFIG_DRM_I915=y) it will be initialised first (== before NVIDIA).


Now ... Where is your monitor connected ? ... and ... Which settings do you have in your BIOS for these two GPU's ?

Maybe it is necessary to disable i915 if you are using only your nvidia rtx 30.


BTW:

Please enable all here:
Code:
CONFIG_INTEL_IOMMU=y
# CONFIG_INTEL_IOMMU_SVM is not set
# CONFIG_INTEL_IOMMU_DEFAULT_ON is not set
CONFIG_INTEL_IOMMU_FLOPPY_WA=y
CONFIG_INTEL_IOMMU_SCALABLE_MODE_DEFAULT_ON=y
# CONFIG_IRQ_REMAP is not set
# CONFIG_VIRTIO_IOMMU is not set
Back to top
View user's profile Send private message
joe14151
n00b
n00b


Joined: 03 Nov 2023
Posts: 3

PostPosted: Sat Nov 04, 2023 12:37 pm    Post subject: Reply with quote

YesI have a iGPU, do I have to disable the drivers for it in the kernel? I have my monitor plugged in to the nvidia gpu.
Back to top
View user's profile Send private message
joe14151
n00b
n00b


Joined: 03 Nov 2023
Posts: 3

PostPosted: Sat Nov 04, 2023 2:08 pm    Post subject: Reply with quote

pietinger wrote:

Please enable all here:
Code:
CONFIG_INTEL_IOMMU=y
# CONFIG_INTEL_IOMMU_SVM is not set
# CONFIG_INTEL_IOMMU_DEFAULT_ON is not set
CONFIG_INTEL_IOMMU_FLOPPY_WA=y
CONFIG_INTEL_IOMMU_SCALABLE_MODE_DEFAULT_ON=y
# CONFIG_IRQ_REMAP is not set
# CONFIG_VIRTIO_IOMMU is not set

I have added them to the config, removed intel iGPU driver and recompiled, changed the dracut conf, generated initramfs and reconfigured grub. I still have the same problem.
https://pastebin.com/axnPRNBb
Back to top
View user's profile Send private message
mf2
n00b
n00b


Joined: 14 Jun 2007
Posts: 43

PostPosted: Wed Nov 15, 2023 9:03 am    Post subject: Reply with quote

How does your /etc/default/grub look like?

I had a similar problem with NVIDIA and had to set GRUB_GFXPAYLOAD_LINUX=keep, otherwise I was stuck at loading the ramdisk, too.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo 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