Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] genkernel, grub2, and kde/X. e.g. Failed to load...
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
Jblue
n00b
n00b


Joined: 28 Feb 2013
Posts: 35

PostPosted: Fri Mar 28, 2014 9:30 pm    Post subject: [SOLVED] genkernel, grub2, and kde/X. e.g. Failed to load... Reply with quote

So after a fresh gentoo install, I'm attempting to get kde up and running. (Sound familiar? https://forums.gentoo.org/viewtopic-t-952722-postdays-0-postorder-asc-highlight-jblue-start-0.html Same comp w/ new mobo, after a long time w/o updates, decided on fresh install). Different errors though.

Install notes: basically a default install except I used genkernel and grub2.

I've followed the kde guide, http://wiki.gentoo.org/wiki/KDE, and one question at this point is this: since I've compiled the kernel with genkernel all, does this mean I don't need to modify the kernel for the dbus, polkit, udev, udisks, X, etc? However, when I'm following along and attempting to do X, things go well until I test startx, and I get these errors:

[ 84101.797] (EE) Failed to load module "nv" (module does not exist, 0)
[ 84101.798] (EE) Failed to load module "vesa" (module does not exist, 0)
[ 84101.798] (EE) Failed to load module "modesetting" (module does not exist, 0)
[ 84101.798] (EE) Failed to load module "fbdev" (module does not exist, 0)
[ 84101.810] (EE) [drm] KMS not enabled
[ 84101.810] (EE) No devices detected.
[ 84101.810] (EE) no screens found(EE)
[ 84101.810] (EE) Please also check the log file at "/var/log/Xorg.0.log"

which looks like these were not done with genkernel.

I've done a "find /lib/modules/<kernel version>/ -type f -iname '*.o' -or -iname '*.ko' ", and these modules are indeed missing.

So I'm reading up on genkernel https://wiki.gentoo.org/wiki/Genkernel, and there it seems to suggest I should edit /etc/kernels/kernel-config-*** to get these modules compiled, etc. But I'm seeing that some of these are already set, e.g.
CONFIG_FRAMEBUFFER_CONSOLE=y
CONFIG_FB_BOOT_VESA_SUPPORT=y
CONFIG_FB_VESA=y

So I think I just need some general guidance here on this now. Do I focus on genkernel or grub? If genkernel, I'm not sure if the genkernel page is detailed enough for me. If grub, where does the video statement go? (This is discussed in the handbook for LILO but not for grub2).


Last edited by Jblue on Sun Mar 30, 2014 4:53 pm; edited 1 time in total
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


Joined: 09 Dec 2006
Posts: 7550
Location: Goose Creek SC

PostPosted: Sat Mar 29, 2014 6:21 am    Post subject: Reply with quote

Code:
genkernel --menuconfig all
and edit to support X on your video card. gernkernel gets a terminal on good days. figure out what card you have,
Code:
lspci -k
from pciutils helps. figure out whether you want to use open source or manufacturer drivers.

http://docs.huihoo.com/gentoo/resources/document-listing/xorg-config.html
https://wiki.gentoo.org/wiki/Xorg/Configuration
https://wiki.gentoo.org/wiki/X_server
NVidia/nvidia-drivers - Gentoo Wiki
_________________
Defund the FCC.
Back to top
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 13830

PostPosted: Sat Mar 29, 2014 4:21 pm    Post subject: Reply with quote

If you use an nVidia card, you probably want to prefer Nouveau over Nv.
Back to top
View user's profile Send private message
Jblue
n00b
n00b


Joined: 28 Feb 2013
Posts: 35

PostPosted: Sun Mar 30, 2014 4:51 pm    Post subject: solved Reply with quote

Nice, so I didn't need to manually edit any genkernel config files, 'genkernel --menuconfig all' gives a nice menu setup for editing the kernel, pretty easy actually, now that I know.

The main topic here is solved, but as a side note I did also run into one problem with genkernel; after setting the required kernel features for udev (http://wiki.gentoo.org/wiki/Udev), upon reboot my keyboard was not functional. It worked ok again when I deselected []Configure standard kernel features (expert users).

Other than that everything went smoothly and now I've got KDE running great. Thanks again Donahue and Hu.
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