Xorg crash

balanga

Son of Beastie

Reaction score: 112
Messages: 2,735

I've recently installed xorg on a ThinkPad T530i which is running a UEFI booted FreeBSD 12.0-RELEASE and it crashes soon after it starts up.

Here is part of /var/log/Xorg.0.log:-
Code:
[    37.587].
X.Org X Server 1.18.4
Release Date: 2016-07-19


[    39.572] (II) Mouse: SetupAuto: protocol is PS/2
[    39.729] (II) Mouse: ps2EnableDataReporting: succeeded
[   173.231] (EE).
[   173.231] (EE) Backtrace:
[   173.252] (EE) 0: ? (?+0x111ec48) [0x80151e668]
[   173.266] (EE) 1: /lib/libthr.so.3 (pthread_sigmask+0x544) [0x800ae9924]
[   173.267] (EE) 2: /lib/libthr.so.3 (pthread_getspecific+0xe12) [0x800ae96f2]
[   173.268] (EE) 3: ? (?+0xe12) [0x7ffffffffe15]
[   173.293] (EE) 4: /lib/libc.so.7 (memcpy+0x88) [0x800cb8820]
[   173.308] (EE) 5: /usr/local/lib/dri/i965_dri.so (?+0x88) [0x80274dac8]
[   173.309] (EE) 6: /usr/local/lib/dri/i965_dri.so (?+0x88) [0x802487a68]
[   173.311] (EE) 7: /usr/local/lib/dri/i965_dri.so (?+0x88) [0x802486d18]
[   173.312] (EE) 8: /usr/local/lib/dri/i965_dri.so (?+0x88) [0x80248e0b8]
[   173.313] (EE) 9: /usr/local/lib/dri/i965_dri.so (?+0x88) [0x802187608]
[   173.314] (EE) 10: /usr/local/lib/dri/i965_dri.so (?+0x88) [0x8021879f8]
[   173.316] (EE) 11: /usr/local/lib/dri/i965_dri.so (?+0x88) [0x80248f778]
[   173.317] (EE) 12: /usr/local/lib/dri/i965_dri.so (?+0x88) [0x80248ea38]
[   173.318] (EE) 13: /usr/local/lib/dri/i965_dri.so (?+0x88) [0x802179ad8]
[   173.319] (EE) 14: /usr/local/lib/dri/i965_dri.so (?+0x88) [0x802173158]
[   173.321] (EE) 15: /usr/local/lib/dri/i965_dri.so (?+0x88) [0x802173368]
[   173.322] (EE) 16: /usr/local/lib/xorg/modules/libglamoregl.so (?+0x88) [0x801af98d8]
[   173.323] (EE) 17: /usr/local/lib/xorg/modules/libglamoregl.so (?+0x88) [0x801af9c48]
[   173.324] (EE) 18: /usr/local/lib/xorg/modules/libglamoregl.so (?+0x88) [0x801aedd48]
[   173.326] (EE) 19: /usr/local/bin/X (?+0x88) [0x378f88]
[   173.327] (EE) 20: /usr/local/bin/X (?+0x88) [0x2879d8]
[   173.329] (EE) 21: /usr/local/bin/X (?+0x88) [0x284908]
[   173.330] (EE) 22: /usr/local/bin/X (?+0x88) [0x28e1b8]
[   173.331] (EE) 23: /usr/local/bin/X (?+0x88) [0x278088]
[   173.332] (EE) 24: ? (?+0x88) [0x800438088]
[   173.332] (EE).
[   173.332] (EE) Segmentation fault at address 0x2fb938
[   173.332] (EE).
Fatal server error:
[   173.332] (EE) Caught signal 11 (Segmentation fault). Server aborting
[   173.332] (EE).
[   173.332] (EE).
Please consult the The X.Org Foundation support.
<------> at http://wiki.x.org
 for help..
[   173.332] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[   173.332] (EE).
[   173.332] (II) AIGLX: Suspending AIGLX clients for VT switch
[   173.333] (EE) Server terminated with error (1). Closing log file.
More hardware info:-

CPU: Intel(R) Core(TM) i3-3120M CPU @ 2.50GHz (2494.40-MHz K8-class CPU)

Code:
vgapci0@pci0:0:2:0:<--->class=0x030000 card=0x21f617aa chip=0x01668086 rev=0x09 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = '3rd Gen Core processor Graphics Controller'
    class      = display
    subclass   = VGA
/etc/rc.conf contains:-
kld_list="i915kms fuse"

Any ideas on what I may have overlooked in installing/configuring xorg?
 

Beastie

Daemon

Reaction score: 479
Messages: 2,188

/etc/rc.conf contains:-
kld_list="i915kms fuse"
I'm not sure which KMS modules (internal or 3rd party) the Ivy Bridge microarchitecture needs. Anyway try with kld_list="/boot/modules/i915kms.ko".
 
OP
OP
B

balanga

Son of Beastie

Reaction score: 112
Messages: 2,735

I'm not sure which KMS modules (internal or 3rd party) the Ivy Bridge microarchitecture needs. Anyway try with kld_list="/boot/modules/i915kms.ko".
I couldn't find /boot/modules/i915kms.ko so used /boot/kernel/i915kms.ko but assume that is the same as just specifying kld_list="i915kms", but it didn't work anyway.

I did try the 'helper' mentioned in Thread 66732


That only confirmed that I should be using what I'm using, so have no idea what I'm doing wrong.
 
OP
OP
B

balanga

Son of Beastie

Reaction score: 112
Messages: 2,735

After running a different disk with FreeBSD 12.0-RELEASE installed on my ThinkPad T530i I was unable to recreate the Xorg crash, so I think I can discount that system from playing a part in the crash. However booting the original disk in a USB enclosure on my ThinkPad X220 resulted in an identical crash.

The /var/log/Xorg.0.log was almost identical, apart from different addresses:-
Code:
[    47.119].
X.Org X Server 1.18.4
Release Date: 2016-07-19


[    49.936] (II) Mouse: ps2EnableDataReporting: succeeded
[   122.941] (EE).
[   122.941] (EE) Backtrace:
[   122.965] (EE) 0: ? (?+0x34ebcc8) [0x8038eb6e8]
[   122.978] (EE) 1: /lib/libthr.so.3 (pthread_sigmask+0x544) [0x800ae9924]
[   122.979] (EE) 2: /lib/libthr.so.3 (pthread_getspecific+0xe12) [0x800ae96f2]
[   122.980] (EE) 3: ? (?+0xe12) [0x7ffffffffe15]
[   123.005] (EE) 4: /lib/libc.so.7 (memcpy+0x2b) [0x800cb8766]
[   123.065] (EE) 5: /usr/local/lib/dri/i965_dri.so (?+0x2b) [0x80274da6b]
[   123.068] (EE) 6: /usr/local/lib/dri/i965_dri.so (?+0x2b) [0x802487a0b]
[   123.069] (EE) 7: /usr/local/lib/dri/i965_dri.so (?+0x2b) [0x802486cbb]
[   123.070] (EE) 8: /usr/local/lib/dri/i965_dri.so (?+0x2b) [0x80248e05b]
[   123.073] (EE) 9: /usr/local/lib/dri/i965_dri.so (?+0x2b) [0x8021875ab]
[   123.074] (EE) 10: /usr/local/lib/dri/i965_dri.so (?+0x2b) [0x80218799b]
[   123.076] (EE) 11: /usr/local/lib/dri/i965_dri.so (?+0x2b) [0x80248f71b]
[   123.077] (EE) 12: /usr/local/lib/dri/i965_dri.so (?+0x2b) [0x80248e9db]
[   123.078] (EE) 13: /usr/local/lib/dri/i965_dri.so (?+0x2b) [0x802179a7b]
[   123.081] (EE) 14: /usr/local/lib/dri/i965_dri.so (?+0x2b) [0x8021730fb]
[   123.082] (EE) 15: /usr/local/lib/dri/i965_dri.so (?+0x2b) [0x80217330b]
[   123.083] (EE) 16: /usr/local/lib/xorg/modules/libglamoregl.so (?+0x2b) [0x801afd87b]
[   123.085] (EE) 17: /usr/local/lib/xorg/modules/libglamoregl.so (?+0x2b) [0x801afdbeb]
[   123.086] (EE) 18: /usr/local/lib/xorg/modules/libglamoregl.so (?+0x2b) [0x801af1ceb]
[   123.089] (EE) 19: /usr/local/bin/X (?+0x2b) [0x378f2b]
[   123.090] (EE) 20: /usr/local/bin/X (?+0x2b) [0x28797b]
[   123.091] (EE) 21: /usr/local/bin/X (?+0x2b) [0x2848ab]
[   123.093] (EE) 22: /usr/local/bin/X (?+0x2b) [0x28e15b]
[   123.094] (EE) 23: /usr/local/bin/X (?+0x2b) [0x27802b]
[   123.095] (EE) 24: ? (?+0x2b) [0x80043802b]
[   123.095] (EE).
[   123.095] (EE) Segmentation fault at address 0x2daf54
[   123.095] (EE).
Fatal server error:
[   123.095] (EE) Caught signal 11 (Segmentation fault). Server aborting
[   123.095] (EE).
[   123.095] (EE).
Please consult the The X.Org Foundation support.
<------> at http://wiki.x.org
 for help..
[   123.095] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[   123.095] (EE).
[   123.095] (II) AIGLX: Suspending AIGLX clients for VT switch
[   123.097] (EE) Server terminated with error (1). Closing log file.
More hardware info:-
CPU: Intel(R) Core(TM) i7-2620M CPU @ 2.70GHz (2691.32-MHz K8-class CPU)

pciconf -lv:-
Code:
vgapci0@pci0:0:2:0:<--->class=0x030000 card=0x21da17aa chip=0x01268086 rev=0x09 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = '2nd Generation Core Processor Family Integrated Graphics Controller'
    class      = display
    subclass   = VGA
One difference with the disk which experiences the crash is that uses UEFI booting. Is this likely to have any bearing Xorg crashing?
 
Top