Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Failed to startx: intel i915 exec format error
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
shinjitumala
n00b
n00b


Joined: 07 Jun 2019
Posts: 7

PostPosted: Sun Jun 30, 2019 2:50 am    Post subject: Failed to startx: intel i915 exec format error Reply with quote

Hello, yesterday I deleted windows from my gaming rig and installed gentoo.
Installation of the new OS went smoothly with all the info in the forums, until this particular issue.

When I try to start the x server with "startx" it fails with the following message:
Code:
modprobe: ERROR: could not insert 'i915': Exec format error


At first, it seemed like a simple problem. I rebuild the kernel and the modules using:
Code:
genkernel --install --menuconfig all


However, that didn't really fix the problem and I haven't found anything useful with duckduckgo besides rebuilding the kernel.

Here are the logs I think are relevant,

Xorg.0.log: http://dpaste.com/0JNMES9

dmesg: http://dpaste.com/1XJY2QK
Note: I see a lot of disagreements about "module_layout" in dmesg but I have no idea how to fix them since I already rebuilt everything like 5 times from the new system... pls help
Back to top
View user's profile Send private message
The Doctor
Moderator
Moderator


Joined: 27 Jul 2010
Posts: 2630

PostPosted: Sun Jun 30, 2019 3:16 am    Post subject: Reply with quote

A gaming rig with integrated intel graphics? Sorry, this doesn't sound like a gaming rig at all. Are you sure you shouldn't be configuring a different card? Maybe you can hit us with the output of lspci?
_________________
First things first, but not necessarily in that order.

Apologies if I take a while to respond. I'm currently working on the dematerialization circuit for my blue box.
Back to top
View user's profile Send private message
shinjitumala
n00b
n00b


Joined: 07 Jun 2019
Posts: 7

PostPosted: Sun Jun 30, 2019 4:36 am    Post subject: Reply with quote

The Doctor wrote:
A gaming rig with integrated intel graphics? Sorry, this doesn't sound like a gaming rig at all. Are you sure you shouldn't be configuring a different card? Maybe you can hit us with the output of lspci?


Yes. I should be configuring the intel card because I intend to use it for my secondary monitor. Main monitor will be using something else.
Here is the output of "lspci -v": http://dpaste.com/1TSHGKZ
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


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

PostPosted: Sun Jun 30, 2019 8:14 am    Post subject: Reply with quote

shinjitumala,

Code:
[   23.265794] intel_gtt: disagrees about version of symbol module_layout

Says that your kernel and modules are configured differently.
Your dmesg is missing the first line that would tell your kernel build date, however, its in your Xorg log
Code:
[    60.852] Current Operating System: Linux FPRTITANPC 4.19.52-gentoo #1 SMP Sun Jun 30 06:27:37 -00 2019 x86_64

Your running kernel was built at Sun Jun 30 06:27:37 -00 2019

Did you skip the make modules_install step, so your kernel modules belong to a different kernel build?
Has you system clock ever stepped backwards, so the kernel make system does not evaluate what needs to be built correctly?

Code:
[    0.048033] [Firmware Bug]: TSC_DEADLINE disabled due to Errata; please update microcode to version: 0xb2 (or later)

There is a wiki page on microcode updating. You need to follow that.

Your Xorg log says
Code:
[    60.880] (EE) open /dev/dri/card0: No such file or directory
so your kernel is missing DRM support for your Intel chip.

You are in for a world of pain trying to get DRM support for your Intel chip to work alongside the evil binary blob nvidia-drivers for your NVIDIA GTX 1070.
_________________
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
shinjitumala
n00b
n00b


Joined: 07 Jun 2019
Posts: 7

PostPosted: Sun Jun 30, 2019 10:39 am    Post subject: Reply with quote

NeddySeagoon wrote:
shinjitumala,

Code:
[   23.265794] intel_gtt: disagrees about version of symbol module_layout

Says that your kernel and modules are configured differently.
Your dmesg is missing the first line that would tell your kernel build date, however, its in your Xorg log
Code:
[    60.852] Current Operating System: Linux FPRTITANPC 4.19.52-gentoo #1 SMP Sun Jun 30 06:27:37 -00 2019 x86_64

Your running kernel was built at Sun Jun 30 06:27:37 -00 2019

Did you skip the make modules_install step, so your kernel modules belong to a different kernel build?
Has you system clock ever stepped backwards, so the kernel make system does not evaluate what needs to be built correctly?

Code:
[    0.048033] [Firmware Bug]: TSC_DEADLINE disabled due to Errata; please update microcode to version: 0xb2 (or later)

There is a wiki page on microcode updating. You need to follow that.

Your Xorg log says
Code:
[    60.880] (EE) open /dev/dri/card0: No such file or directory
so your kernel is missing DRM support for your Intel chip.

You are in for a world of pain trying to get DRM support for your Intel chip to work alongside the evil binary blob nvidia-drivers for your NVIDIA GTX 1070.


Thank you for the reply.
I was tinkering around and realized that I haven't run "grub-mkconfig -o /boot/grub/grub.cfg" after re-naming my kernel.
Then my computer suddenly failed to boot. Soon, I found out that "grub-mkconfig" does not automatically detect your initramfs files if its name is not "genkernel" so I was running my old kernel the whole time.
It worked once I changed the "genkernel.conf" so that it builds the kernel with the default name.

So the intel HD driver problem is fixed. Thank you again.

I'll go fix the micro code thing now. :D
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


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

PostPosted: Sun Jun 30, 2019 1:44 pm    Post subject: Reply with quote

shinjitumala,

For those that come after you ...
You were running your new kernel with modules made for the old kernel in the intrd, until you updated the initrd.
_________________
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
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments 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