Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] Xorg cant start after kernel update
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
veilofnoise
n00b
n00b


Joined: 14 Jan 2015
Posts: 6

PostPosted: Sat Aug 01, 2015 3:35 am    Post subject: [SOLVED] Xorg cant start after kernel update Reply with quote

Hi there

I just updated my gentoo kernel from 3.18.11 to 4.0.5 with the following commands:
Code:
make olddefconfig
make prepare_modules
make
make install_modules
make install
genkernel --install initramfs
grub2-mkconfig -o /boot/grub/grub.cfg


After rebooting, it boots fine but X has only a blinking cursor in the top left of the screen, Xorg.0.log has the following information:

Code:
[    13.003]
X.Org X Server 1.17.2
Release Date: 2015-06-16
[    13.003] X Protocol Version 11, Revision 0
[    13.003] Build Operating System: Linux 3.18.11-gentoo x86_64 Gentoo
[    13.004] Current Operating System: Linux malkavia 4.0.5-gentoo #2 SMP Sat Aug 1 05:01:41 CEST 2015 x86_64
[    13.004] Kernel command line: BOOT_IMAGE=/vmlinuz-4.0.5-gentoo root=UUID=60ca80a1-d6a2-44a5-b953-d74b2aac8ba9 ro
[    13.004] Build Date: 11 July 2015  03:20:15AM
[    13.004] 
[    13.004] Current version of pixman: 0.32.6
[    13.004]    Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
[    13.004] Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[    13.004] (==) Log file: "/var/log/Xorg.0.log", Time: Sat Aug  1 05:04:45 2015
[    13.040] (==) Using config directory: "/etc/X11/xorg.conf.d"
[    13.040] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[    13.041] (==) No Layout section.  Using the first Screen section.
[    13.041] (==) No screen section available. Using defaults.
[    13.041] (**) |-->Screen "Default Screen Section" (0)
[    13.041] (**) |   |-->Monitor "<default monitor>"
[    13.041] (==) No monitor specified for screen "Default Screen Section".
        Using a default monitor configuration.
[    13.041] (==) Automatically adding devices
[    13.041] (==) Automatically enabling devices
[    13.041] (==) Automatically adding GPU devices
[    13.042] (WW) The directory "/usr/share/fonts/misc/" does not exist.
[    13.042]    Entry deleted from font path.
[    13.042] (WW) The directory "/usr/share/fonts/TTF/" does not exist.
[    13.042]    Entry deleted from font path.
[    13.042] (WW) The directory "/usr/share/fonts/OTF/" does not exist.
[    13.042]    Entry deleted from font path.
[    13.042] (WW) The directory "/usr/share/fonts/Type1/" does not exist.
[    13.042]    Entry deleted from font path.
[    13.042] (WW) The directory "/usr/share/fonts/100dpi/" does not exist.
[    13.042]    Entry deleted from font path.
[    13.042] (WW) The directory "/usr/share/fonts/75dpi/" does not exist.
[    13.042]    Entry deleted from font path.
[    13.042] (==) FontPath set to:

[    13.042] (==) ModulePath set to "/usr/lib64/xorg/modules"
[    13.042] (II) The server relies on udev to provide the list of input devices.
        If no devices become available, reconfigure udev or disable AutoAddDevices.
[    13.042] (II) Loader magic: 0x801c60
[    13.042] (II) Module ABI versions:
[    13.042]    X.Org ANSI C Emulation: 0.4
[    13.042]    X.Org Video Driver: 19.0
[    13.042]    X.Org XInput driver : 21.0
[    13.042]    X.Org Server Extension : 9.0
[    13.042] (II) xfree86: Adding drm device (/dev/dri/card0)
[    13.145] (--) PCI:*(0:0:2:0) 8086:0126:17aa:21cf rev 9, Mem @ 0xf0000000/4194304, 0xe0000000/268435456, I/O @ 0x00006000/64
[    13.145] (II) LoadModule: "glx"
[    13.154] (II) Loading /usr/lib64/xorg/modules/extensions/libglx.so
[    13.243] (II) Module glx: vendor="X.Org Foundation"
[    13.243]    compiled for 1.17.2, module version = 1.0.0
[    13.243]    ABI class: X.Org Server Extension, version 9.0
[    13.243] (==) AIGLX enabled
[    13.243] (==) Matched intel as autoconfigured driver 0
[    13.243] (==) Matched intel as autoconfigured driver 1
[    13.243] (==) Matched modesetting as autoconfigured driver 2
[    13.243] (==) Matched fbdev as autoconfigured driver 3
[    13.243] (==) Matched vesa as autoconfigured driver 4
[    13.243] (==) Assigned the driver to the xf86ConfigLayout
[    13.243] (II) LoadModule: "intel"
[    13.243] (II) Loading /usr/lib64/xorg/modules/drivers/intel_drv.so
[    13.247] (II) Module intel: vendor="X.Org Foundation"
[    13.247]    compiled for 1.17.2, module version = 2.99.917
[    13.247]    Module class: X.Org Video Driver
[    13.247]    ABI class: X.Org Video Driver, version 19.0
[    13.247] (II) LoadModule: "modesetting"
[    13.247] (II) Loading /usr/lib64/xorg/modules/drivers/modesetting_drv.so
[    13.248] (II) Module modesetting: vendor="X.Org Foundation"
[    13.248]    compiled for 1.17.2, module version = 1.17.2
[    13.248]    Module class: X.Org Video Driver
[    13.248]    ABI class: X.Org Video Driver, version 19.0
[    13.248] (II) LoadModule: "fbdev"
[    13.248] (WW) Warning, couldn't open module fbdev
[    13.248] (II) UnloadModule: "fbdev"
[    13.248] (II) Unloading fbdev
[    13.248] (EE) Failed to load module "fbdev" (module does not exist, 0)
[    13.248] (II) LoadModule: "vesa"
[    13.248] (WW) Warning, couldn't open module vesa
[    13.248] (II) UnloadModule: "vesa"
[    13.248] (II) Unloading vesa
[    13.248] (EE) Failed to load module "vesa" (module does not exist, 0)
[    13.248] (II) intel: Driver for Intel(R) Integrated Graphics Chipsets:
        i810, i810-dc100, i810e, i815, i830M, 845G, 854, 852GM/855GM, 865G,
        915G, E7221 (i915), 915GM, 945G, 945GM, 945GME, Pineview GM,
        Pineview G, 965G, G35, 965Q, 946GZ, 965GM, 965GME/GLE, G33, Q35, Q33,
        GM45, 4 Series, G45/G43, Q45/Q43, G41, B43
[    13.249] (II) intel: Driver for Intel(R) HD Graphics: 2000-6000
[    13.249] (II) intel: Driver for Intel(R) Iris(TM) Graphics: 5100, 6100
[    13.249] (II) intel: Driver for Intel(R) Iris(TM) Pro Graphics: 5200, 6200, P6300
[    13.249] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[    13.249] (++) using VT number 7

[    13.255] (II) intel(0): Using Kernel Mode Setting driver: i915, version 1.6.0 20150130
[    13.257] (WW) Falling back to old probe method for modesetting
[    13.257] (--) intel(0): Integrated Graphics Chipset: Intel(R) HD Graphics 3000
[    13.257] (--) intel(0): CPU: x86-64, sse2, sse3, ssse3, sse4.1, sse4.2, avx
[    13.257] (II) intel(0): Creating default Display subsection in Screen section
        "Default Screen Section" for depth/fbbpp 24/32
[    13.257] (==) intel(0): Depth 24, (--) framebuffer bpp 32
[    13.257] (==) intel(0): RGB weight 888
[    13.257] (==) intel(0): Default visual is TrueColor
[    13.258] (EE)
[    13.258] (EE) Backtrace:
[    13.259] (EE) 0: /usr/bin/X (xorg_backtrace+0x48) [0x57fd48]
[    13.259] (EE) 1: /usr/bin/X (0x400000+0x183c99) [0x583c99]
[    13.259] (EE) 2: /lib64/libc.so.6 (0x7f487a5b4000+0x34e90) [0x7f487a5e8e90]
[    13.259] (EE)
[    13.259] (EE) Segmentation fault at address 0x0
[    13.259] (EE)
Fatal server error:
[    13.259] (EE) Caught signal 11 (Segmentation fault). Server aborting
[    13.259] (EE)
[    13.259] (EE)
Please consult the The X.Org Foundation support
         at http://wiki.x.org
 for help.
[    13.259] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[    13.259] (EE)
[    13.262] (EE) Server terminated with error (1). Closing log file.


Since everything works perfectly if I boot into my old 3.18.11 kernel that would mean I did something wrong with setting up the new kernel but I don't understand how that works... Since I'm updating my old config file with the new kernel's defaults, all the video and kms drivers should already be present from the previous config, or am I misunderstanding something about this process?

My apologies in advance if this seems like a simple problem but I couldn't really find much information based off of a segmentation fault error.


Last edited by veilofnoise on Sun Aug 02, 2015 3:52 pm; edited 1 time in total
Back to top
View user's profile Send private message
Keruskerfuerst
Advocate
Advocate


Joined: 01 Feb 2006
Posts: 2288
Location: near Augsburg, Germany

PostPosted: Sat Aug 01, 2015 6:25 am    Post subject: Reply with quote

Does the rest of the system work as usual?

Maybe a complete reinstallation of the kernel helps.
Maybe a complete the recompilation of Xorg helps.
Back to top
View user's profile Send private message
mir3x
Guru
Guru


Joined: 02 Jun 2012
Posts: 427

PostPosted: Sat Aug 01, 2015 11:55 am    Post subject: Reply with quote

Maybe its something like that issue ?

https://bbs.archlinux.org/viewtopic.php?id=198852

Probably some mess with intel anyway, google your card for it, or wait for newer kernel better :D
_________________
Installation aborted to prevent system self-destruction
Back to top
View user's profile Send private message
veilofnoise
n00b
n00b


Joined: 14 Jan 2015
Posts: 6

PostPosted: Sat Aug 01, 2015 7:53 pm    Post subject: Reply with quote

Recompiling Xorg and reinstalling the kernel didn't change anything and adding that parameter to grub had the same result as well.

I guess I'll wait until the next kernel release and try again, thanks for the help guys. :)
Back to top
View user's profile Send private message
Balcora
n00b
n00b


Joined: 02 Aug 2015
Posts: 2
Location: Brisbane, Australia

PostPosted: Sun Aug 02, 2015 3:42 am    Post subject: Reply with quote

Have the exact same issue.
Although mine originated from an undetermined update.

Running several old kernels work.

Tested versions:
Kernel: 3.10, 3.15, 4.1, 4.1.3
All kernels with 4 major that i tested cause xorg to segv.
Xorg tested: 1.17.1-r1, 1.17.2

But the fun part is, i dont believe anything of xorg has been updated prior to the error.

If only xorg wasnt so irritating to debug,
Will dig further and see if i can find the problem.
Back to top
View user's profile Send private message
Balcora
n00b
n00b


Joined: 02 Aug 2015
Posts: 2
Location: Brisbane, Australia

PostPosted: Sun Aug 02, 2015 3:57 am    Post subject: Reply with quote

Well, that was quick...
The error is in xf86-video-intel

It appeared to be one of the only packages during the afformentioned update related to xorg.
Unmask the testing versions

2.99.917 seg faults.
2.99.917-r2 runs fine.

According to the changelog, probably related to a bug with newer kernel and libdrm versions
Back to top
View user's profile Send private message
veilofnoise
n00b
n00b


Joined: 14 Jan 2015
Posts: 6

PostPosted: Sun Aug 02, 2015 3:52 pm    Post subject: Reply with quote

That fixed it, thanks Balcora!
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