Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Conflict with intel video driver as modules
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
josedb
Apprentice
Apprentice


Joined: 03 Nov 2006
Posts: 206

PostPosted: Thu Aug 17, 2017 3:52 pm    Post subject: Conflict with intel video driver as modules Reply with quote

I am trying to use the intel vga modules, but it wont boot if i choose the module configuration in the kernel.
This is what i get:

http://imgur.com/a/6UdqI
Back to top
View user's profile Send private message
eccerr0r
Watchman
Watchman


Joined: 01 Jul 2004
Posts: 7252
Location: almost Mile High in the USA

PostPosted: Thu Aug 17, 2017 8:28 pm    Post subject: Reply with quote

The error you get appears to be due to the kernel now no longer can mount your root partition - and typically is unrelated to your graphics drivers.
This is due missing drivers or specifying a nonexistent root partition due to the missing drivers. If you're not using an initramfs where you copy the modules for drivers into, you'll need to specify "Y" or built-in for your disk-related drivers. Double check your disk subsystem and filesystem drivers.

It looks like your kernel is initializing the graphics correctly however.
_________________
Intel Core i7 2700K@ 4.1GHz/HD3000 graphics/8GB DDR3/180GB SSD
What am I supposed watching?
Back to top
View user's profile Send private message
josedb
Apprentice
Apprentice


Joined: 03 Nov 2006
Posts: 206

PostPosted: Thu Aug 17, 2017 8:54 pm    Post subject: Reply with quote

eccerr0r wrote:
The error you get appears to be due to the kernel now no longer can mount your root partition - and typically is unrelated to your graphics drivers.
This is due missing drivers or specifying a nonexistent root partition due to the missing drivers. If you're not using an initramfs where you copy the modules for drivers into, you'll need to specify "Y" or built-in for your disk-related drivers. Double check your disk subsystem and filesystem drivers.

It looks like your kernel is initializing the graphics correctly however.


This is happening if i change (only) the video drivers from in kernel to module , the machine boots and works otherwise.


Code:
lsmod
Module                  Size  Used by
btusb                  40960  0
btrtl                  16384  1 btusb
btbcm                  16384  1 btusb
hid_generic            16384  0
uvcvideo               77824  0
videobuf2_vmalloc      16384  1 uvcvideo
videobuf2_memops       16384  1 videobuf2_vmalloc
videobuf2_v4l2         20480  1 uvcvideo
videobuf2_core         32768  2 uvcvideo,videobuf2_v4l2
usbhid                 45056  0
mousedev               20480  0
hid_sensor_als         16384  0
hid_sensor_accel_3d    16384  0
hid_sensor_trigger     16384  4 hid_sensor_als,hid_sensor_accel_3d
hid_sensor_iio_common    16384  3 hid_sensor_als,hid_sensor_accel_3d,hid_sensor_trigger
hid_sensor_custom      20480  0
hid_sensor_hub         20480  5 hid_sensor_als,hid_sensor_accel_3d,hid_sensor_iio_common,hid_sensor_trigger,hid_sensor_custom
hid_multitouch         20480  0
snd_hda_codec_hdmi     45056  0
snd_hda_codec_realtek    69632  1
snd_hda_codec_generic    65536  2 snd_hda_codec_realtek
i2c_designware_platform    16384  0
i2c_designware_core    20480  1 i2c_designware_platform
snd_soc_skl            53248  0
snd_soc_skl_ipc        40960  1 snd_soc_skl
snd_soc_sst_ipc        16384  1 snd_soc_skl_ipc
snd_soc_sst_dsp        16384  1 snd_soc_skl_ipc
snd_hda_ext_core       20480  1 snd_soc_skl
snd_soc_sst_match      16384  1 snd_soc_skl
snd_soc_core          167936  1 snd_soc_skl
snd_compress           20480  1 snd_soc_core
ac97_bus               16384  1 snd_soc_core
snd_hda_intel          28672  3
snd_hda_codec          98304  4 snd_hda_intel,snd_hda_codec_hdmi,snd_hda_codec_generic,snd_hda_codec_realtek
snd_hwdep              16384  1 snd_hda_codec
snd_hda_core           57344  7 snd_hda_intel,snd_hda_codec,snd_hda_ext_core,snd_soc_skl,snd_hda_codec_hdmi,snd_hda_codec_generic,snd_hda_codec_realtek
x86_pkg_temp_thermal    16384  0
coretemp               16384  0
snd_pcm                86016  7 snd_hda_intel,snd_hda_codec,snd_hda_ext_core,snd_hda_core,snd_soc_skl,snd_hda_codec_hdmi,snd_soc_core
snd_timer              28672  1 snd_pcm
snd                    65536  15 snd_compress,snd_hda_intel,snd_hwdep,snd_hda_codec,snd_timer,snd_hda_codec_hdmi,snd_hda_codec_generic,snd_soc_core,snd_pcm
ath10k_pci             45056  0
serio_raw              16384  0
i2c_i801               20480  0
ath10k_core           348160  1 ath10k_pci
ath                    28672  1 ath10k_core
xhci_pci               16384  0
xhci_hcd              139264  1 xhci_pci
usbcore               172032  5 uvcvideo,usbhid,xhci_pci,btusb,xhci_hcd
usb_common             16384  1 usbcore
intel_pch_thermal      16384  0
intel_lpss_pci         16384  0
ucsi                   16384  0
i2c_hid                20480  0
ideapad_laptop         28672  0
intel_vbtn             16384  0
pinctrl_sunrisepoint    28672  0
pinctrl_intel          20480  1 pinctrl_sunrisepoint
intel_lpss_acpi        16384  0
intel_lpss             16384  2 intel_lpss_pci,intel_lpss_acpi
mfd_core               16384  2 hid_sensor_hub,intel_lpss
intel_hid              16384  0
mac_hid                16384  0
efivarfs               16384  1


kernel configuration (actually working, intel drivers in-kernel)
https://pastebin.com/5J8S946W
Back to top
View user's profile Send private message
eccerr0r
Watchman
Watchman


Joined: 01 Jul 2004
Posts: 7252
Location: almost Mile High in the USA

PostPosted: Fri Aug 18, 2017 3:17 pm    Post subject: Reply with quote

I don't know, the facts you're claiming do not make sense, making the graphics driver as a module by itself should not create a no-boot situation where it can't find the root filesystem (sure it could cause other boot crashes/hangs but that's not what's being shown in the picture)..

Double check your boot loader to make sure you specified the correct options to your kernel and make sure it's pointing to the correct image..
_________________
Intel Core i7 2700K@ 4.1GHz/HD3000 graphics/8GB DDR3/180GB SSD
What am I supposed watching?
Back to top
View user's profile Send private message
josedb
Apprentice
Apprentice


Joined: 03 Nov 2006
Posts: 206

PostPosted: Fri Aug 18, 2017 3:21 pm    Post subject: Reply with quote

I am going to upload a video. As i said, the only change that leads to this problem is the vga driver.


thanks
Back to top
View user's profile Send private message
eccerr0r
Watchman
Watchman


Joined: 01 Jul 2004
Posts: 7252
Location: almost Mile High in the USA

PostPosted: Fri Aug 18, 2017 3:44 pm    Post subject: Reply with quote

Also post your bootloader configuration along with which disk is your root drive.
_________________
Intel Core i7 2700K@ 4.1GHz/HD3000 graphics/8GB DDR3/180GB SSD
What am I supposed watching?
Back to top
View user's profile Send private message
josedb
Apprentice
Apprentice


Joined: 03 Nov 2006
Posts: 206

PostPosted: Fri Aug 18, 2017 4:05 pm    Post subject: Reply with quote

grub.cfg

https://pastebin.com/6C7cVLwK

grub defaults:

https://pastebin.com/SXVHp4A4


fstab:
https://pastebin.com/u6TBV3EN
Back to top
View user's profile Send private message
eccerr0r
Watchman
Watchman


Joined: 01 Jul 2004
Posts: 7252
Location: almost Mile High in the USA

PostPosted: Fri Aug 18, 2017 5:09 pm    Post subject: Reply with quote

You have a bunch of different kernels there, is the failing kernel with the module only the 4.12.8 and the 4.12.7 contains the built-in driver?

protip: name your kernel files with the experiments you're doing with them.
_________________
Intel Core i7 2700K@ 4.1GHz/HD3000 graphics/8GB DDR3/180GB SSD
What am I supposed watching?
Back to top
View user's profile Send private message
josedb
Apprentice
Apprentice


Joined: 03 Nov 2006
Posts: 206

PostPosted: Fri Aug 18, 2017 5:48 pm    Post subject: Reply with quote

At first i thought it was a kernel problem, but i have tested all of them. (I've tried every kernel that came 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