Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Stuck on loading kernel
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
MerrinX
Tux's lil' helper
Tux's lil' helper


Joined: 20 Dec 2019
Posts: 84

PostPosted: Sun Feb 13, 2022 4:22 pm    Post subject: Stuck on loading kernel Reply with quote

Code:
Loading Linux 5.15.23-gentoo


my .config
https://dpaste.com/5EPFJRYUA

no error msg when loading, just freezing.

Tried recompiling, and reconfigured... If anyone know what I am missing, please let me know
Back to top
View user's profile Send private message
luna80
Veteran
Veteran


Joined: 01 Feb 2004
Posts: 1563
Location: switzerland

PostPosted: Sun Feb 13, 2022 4:31 pm    Post subject: Reply with quote

do you use genkernel or not?

if not check EFI Framebuffer, Simple Framebuffer and VESA Framebuffer options in the kernel

Code:

CONFIG_FB_EFI=y
CONFIG_FB_SIMPLE=y
CONFIG_FB_VESA=y

_________________
*** !f j00 c4n r34D tH15 tH3N j00 n33D t0 l0g Off ***
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


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

PostPosted: Sun Feb 13, 2022 4:33 pm    Post subject: Reply with quote

MerrinX

Its probably booting, you just can't see it.
Code:
# CONFIG_FB is not set

Enable that menu and inside it choose VESA Framebuffer, EFI Framebuffer and Simple Framebuffer.

One of those will be used for your console.

If that doesn't get you some diagnostics, please post your
Code:
lspci -nnk
output
_________________
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
MerrinX
Tux's lil' helper
Tux's lil' helper


Joined: 20 Dec 2019
Posts: 84

PostPosted: Sun Feb 13, 2022 4:54 pm    Post subject: Reply with quote

Can I just load the config file in make menuconfig, then add those feqtures and re compile?

EDIT
Not using genkernel
Back to top
View user's profile Send private message
luna80
Veteran
Veteran


Joined: 01 Feb 2004
Posts: 1563
Location: switzerland

PostPosted: Sun Feb 13, 2022 4:57 pm    Post subject: Reply with quote

MerrinX wrote:
Can I just load the config file in make menuconfig, then add those feqtures and re compile?

EDIT
Not using genkernel


yes
_________________
*** !f j00 c4n r34D tH15 tH3N j00 n33D t0 l0g Off ***
Back to top
View user's profile Send private message
MerrinX
Tux's lil' helper
Tux's lil' helper


Joined: 20 Dec 2019
Posts: 84

PostPosted: Sun Feb 13, 2022 5:04 pm    Post subject: Reply with quote

luna80 wrote:
MerrinX wrote:
Can I just load the config file in make menuconfig, then add those feqtures and re compile?

EDIT
Not using genkernel


yes


Im out driving so have time to ask, would it make sense to do a mrproper before running menuconfig?
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


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

PostPosted: Sun Feb 13, 2022 5:49 pm    Post subject: Reply with quote

MerrinX,

mrpoper is rarely required.
That removes all the files not actually distributed with the kernel, including your existing .config.

Occasionally, make clean can be required. The removes all the build products but .config is left in place.
The occasions when make clean is required will be indicated by build errors or missing symbols when a module is loaded.
Its also useful if your system time steps backwards.

make is lazy. It looks at the timestamp on an output file and compares that to the timestamps on all the input files.
If the output file is newer, there is nothing to do and make moves on having made nothing.
That can be a problem if time stepped backwards. That is very rare on a PC after the initial install.

Go into menuconfig, make your changes then do your usual
Code:
make -jX
where X is your thread count.

make will reuse what it can.
_________________
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
MerrinX
Tux's lil' helper
Tux's lil' helper


Joined: 20 Dec 2019
Posts: 84

PostPosted: Sun Feb 13, 2022 6:10 pm    Post subject: Reply with quote

That was it, now it is working :)

Thank you for helping out
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