Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
scripts/Kbuild.include: No such file or directory???
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
kevinfish
n00b
n00b


Joined: 11 May 2016
Posts: 4
Location: Magalia, CA

PostPosted: Wed May 11, 2016 8:10 pm    Post subject: scripts/Kbuild.include: No such file or directory??? Reply with quote

Hi, I'm trying to build the drm-openchrome kernel because I have a Via VX900 based motherboard with chrome9 video chip. I'm getting this error in my Xorg.0.log file:

[ 19578.623] (EE) Failed to load /usr/lib64/xorg/modules/drivers/openchrome_drv.so: /usr/lib64/xorg/modules/drivers/openchrome_drv.so: undefined symbol: vgaHWFreeHWRec

Best I can tell I have to build the DRM enabled kernel. After I did my make menuconfig and modified my config to my liking I tried this line:

genkernel --menuconfig --disklabel --lvm --kernel-config=myconfig all

and it gave me the error in the subject line.

It looks very similar to the situation described on this website:

http://stackoverflow.com/questions/20992143/error-while-compiling-linux-in-make-menuconfig-on-fedora

What is our equivalent of the "kernel-devel" package?

I have the gentoo kernel sources installed. Should I copy the drm-openchrome kernel over them so that all the requisite files are there?

TIA,

-Kevin
_________________
Resistance to tyrants is obedience to God ~ Thomas Jefferson
Back to top
View user's profile Send private message
pilla
Administrator
Administrator


Joined: 07 Aug 2002
Posts: 7498
Location: Pelotas, BR

PostPosted: Wed May 11, 2016 9:30 pm    Post subject: Reply with quote

Is /usr/src/linux linking to the right kernel sources?

However, this undefined symbol seems to be from vgahw, hence something in the Xorg modules. Maybe you could try to rebuild Xorg...
_________________
"I'm just very selective about the reality I choose to accept." -- Calvin
Back to top
View user's profile Send private message
kevinfish
n00b
n00b


Joined: 11 May 2016
Posts: 4
Location: Magalia, CA

PostPosted: Wed May 11, 2016 10:35 pm    Post subject: Reply with quote

pilla wrote:
Is /usr/src/linux linking to the right kernel sources?

However, this undefined symbol seems to be from vgahw, hence something in the Xorg modules. Maybe you could try to rebuild Xorg...


Actually I'm not getting that message anymore but its still not working. I loaded the X11 module "vgahw" and it stopped that message. Now I'm getting:

[ 15306.083] DRM memory allocation failed -6
[ 15305.613] (EE) systemd-logind: failed to get session: PID 3927 does not belong to any known session
[ 15305.710] (EE) CHROME(0): [drm] Failed to open DRM device for pci:0000:00:01.0: No such file or directory
[ 15306.083] (II) AIGLX: Screen 0 is not DRI2 capable
[ 15306.083] (EE) AIGLX: reverting to software rendering


Which reminds me of this thread:

https://lists.freedesktop.org/archives/openchrome-users/2014-March/007194.html

Which ultimatelyleads me to here:

https://www.freedesktop.org/wiki/Openchrome/TtmGemKms/

Hence the rebuilding of my kernel.

I copied it over the top of my current sources and it seems to be compiling now.

Tell me if there is any flaw in my reasoning.
_________________
Resistance to tyrants is obedience to God ~ Thomas Jefferson
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software 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