You are not logged in.

#1 2017-06-17 08:10:26

francisb
Member
Registered: 2017-02-27
Posts: 6

[Solved] update kernel breaks X, mssing module I915

Hello everyone,

I have a quite new installation of Arch with the hardened linux kernel. a couple of days ago i update the kernel running pacman. The kernel would be update from linux-hardened-4.11.3.e-1-x86_64 to linux-hardened-4.11.5.a-1-x86_64. During the update i saw a warning about module I915. After reboot from my laptop (Dell XPS 13) x would not start and trhow an error about missing the I915 module.

I reverted back to the 4.11.3.e kernel using pacman -U and then X works again.

Now i can do two things, change from hardened to LTS kernel or add somehow the module.
I tried the first, but get stock on working out the systemd boot. So i installed the kernel linux-lts-4.9.32-1-x86_64 using pacman, mounted the boot partition (EFI) but then i get stock, i am not able to find within the documentation how to point to the LTS kernel. especially where i can find the vmlinuz and initramfs files for that LTS kernel. I know i have to change the arch.conf. I am sure i overlooked it within the wiki documentation so if someone can point me thats already great.

The other thing is it very complex to add the module for the hardened kernel, do i need to compile the kernel?


Any help is welcome, thanks.

Francis

Last edited by francisb (2017-06-17 14:50:11)

Offline

#2 2017-06-17 09:34:31

newbie1962
Member
From: italy
Registered: 2012-07-24
Posts: 137

Re: [Solved] update kernel breaks X, mssing module I915

After installing the kernel-lts, give the following command:

GRUB_PREFIX="/boot/grub" grub-mkconfig -o /boot/grub/grub.cfg

i hope i will help.
regards


hp-envy dv7

Offline

#3 2017-06-17 10:13:59

francisb
Member
Registered: 2017-02-27
Posts: 6

Re: [Solved] update kernel breaks X, mssing module I915

Thanks for your reply.

I must say that i do not have GRUB as boot system , but i use Systemd Boot. So those commands will not work. Somehow GRUB did not work for my system during installation so i choose to install Systemd boot.

Regards,

Francis

Offline

#4 2017-06-17 12:35:58

Lone_Wolf
Member
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 11,911

Re: [Solved] update kernel breaks X, mssing module I915

Look in /etc/mkinitcpio.d/ folder, it should have a preset for linux-lts that determines where stuff is placed .


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

#5 2017-06-17 12:50:45

seth
Member
Registered: 2012-09-03
Posts: 51,037

Re: [Solved] update kernel breaks X, mssing module I915

This one?
https://aur.archlinux.org/packages/linu … -hardened/

The config says CONFIG_DRM_I915=m - what is the exact error message, what's the output of lsmod?
This is far more likely a permission problem than a bug with the kernel.

Offline

#6 2017-06-17 13:17:56

loqs
Member
Registered: 2014-03-06
Posts: 17,323

Re: [Solved] update kernel breaks X, mssing module I915

Or a version mismatch between the running kernel and the installed modules.
Systemd-boot#Adding_boot_entries  The vmlinuz and initrd's for all kernel packages in the repos are installed into /boot of the filesystem.
Edit:
@seth I think they mean this one

Last edited by loqs (2017-06-17 13:19:40)

Offline

#7 2017-06-17 14:47:29

francisb
Member
Registered: 2017-02-27
Posts: 6

Re: [Solved] update kernel breaks X, mssing module I915

Ok shoot me...

@seth, as i rolled back to the working kernel earlier so i could work again, and i could not exactly remember the error message i ran pacman -Syu again to give Seth the information he requested. The kernel update was listed as one of the update package.
I rebooted my machine expecting to see it hanging on starting X, but to me surprise i was welcomed by an sddm login screen.

Beats me, i did not do anything different or changed any config.....

anyways, i still learned a few things so its not all a waste of time...

Many thanks for your help and information, i am going to close this one as solved.

Kind Regards,


Francis

Last edited by francisb (2017-06-17 14:49:25)

Offline

Board footer

Powered by FluxBB