Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Unable to boot (openrc hanging) when enable KVM support
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
Fulgurance
Veteran
Veteran


Joined: 15 Feb 2017
Posts: 1251

PostPosted: Sun Nov 13, 2022 12:32 am    Post subject: Unable to boot (openrc hanging) when enable KVM support Reply with quote

Hello, I have a problem actually. Yesterday, after I followed the wiki to setup my kernel for KVM support in my Gentoo, I was unable to reboot my system.

I did some test with a Gentoo live usb, mounted all of my system manually and tried to found the problem. I saw, when I enable KVM support in my kernel, this hanging appear (just after openrc start lvm service)

To summarize, if I just enable that :

Code:
General setup  --->
    Timers subsystem  --->
        <*>   High Resolution Timer Support

[*] Virtualization  --->
    <*>   Kernel-based Virtual Machine (KVM) support

[*] Virtualization  --->
    <M>   KVM for Intel processors support


Openrc will hanging at boot.

How can I fix that ? Because I need KVM to do some virtualization
Back to top
View user's profile Send private message
Fulgurance
Veteran
Veteran


Joined: 15 Feb 2017
Posts: 1251

PostPosted: Sun Nov 13, 2022 9:01 am    Post subject: Reply with quote

Just let me know if you need more details
Back to top
View user's profile Send private message
Hu
Administrator
Administrator


Joined: 06 Mar 2007
Posts: 23100

PostPosted: Sun Nov 13, 2022 5:20 pm    Post subject: Reply with quote

We need more details. Start with showing us the full output of a hang, and the equivalent output when the system does not hang. Try enabling openrc's startup debug logging, so you can see exactly what the last step is before the hang. Try to quantify the hang. What continues to work? What stops? Did the kernel panic? Is anything suspicious written to a system log on a failed boot?
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54850
Location: 56N 3W

PostPosted: Sun Nov 13, 2022 5:28 pm    Post subject: Reply with quote

Fulgurance,

Enable OpenRCs Interactive mode.
See /etc/rc.conf.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
djdunn
l33t
l33t


Joined: 26 Dec 2004
Posts: 812

PostPosted: Tue Nov 15, 2022 2:50 am    Post subject: Reply with quote

Make sure you have iommu enabled in the bios
_________________
“Music is a moral law. It gives a soul to the Universe, wings to the mind, flight to the imagination, a charm to sadness, gaiety and life to everything. It is the essence of order, and leads to all that is good and just and beautiful.”

― Plato
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