You are not logged in.

#1 2009-04-14 02:52:09

MindlessXD
Member
Registered: 2007-11-08
Posts: 18

[solved] Xorg 1.6 segfault

Since xorg-server 1.6 was released, X has been dying on me... I believe I can always reproduce this by switching to a virtual console and back to X.  Once X dies, it's pretty much over; computer won't respond to anything except magic sysreqs.

Apr 13 21:33:32 ivy kernel: Xorg[4287]: segfault at 20 ip 00007f880243c980 sp 00007fff0e120898 error 4 in libdrm_intel.so.1.0.0[7f880243b000+9000]
Apr 13 21:33:32 ivy kernel: Xorg:4287 freeing invalid memtype d0000000-e0000000
Apr 13 21:33:32 ivy gdm-binary[4283]: WARNING: gdm_slave_xioerror_handler: Fatal X error - Restarting :0
Apr 13 21:33:32 bonobo-activation-server (mindless-27023): could not associate with desktop session: Failed to connect to socket /tmp/dbus-LE2w6IiDqW: Connection refused
Apr 13 21:33:33 ivy acpid: client connected from 27053[0:0]
Apr 13 21:33:33 ivy acpid: 1 client rule loaded
Apr 13 21:33:35 ivy kernel: [drm:i915_setparam] *ERROR* unknown parameter 4
Apr 13 21:33:36 ivy kernel: Xorg:27053 conflicting memory types d0000000-e0000000 write-combining<->uncached-minus
Apr 13 21:33:36 ivy kernel: reserve_memtype failed 0xd0000000-0xe0000000, track write-combining, req write-combining
Apr 13 21:33:36 ivy kernel: Xorg:27053 conflicting memory types d0000000-e0000000 write-combining<->uncached-minus
Apr 13 21:33:36 ivy kernel: reserve_memtype failed 0xd0000000-0xe0000000, track write-combining, req write-combining
Apr 13 21:33:36 ivy kernel: Xorg:27053 conflicting memory types d0000000-e0000000 write-combining<->uncached-minus
Apr 13 21:33:36 ivy kernel: reserve_memtype failed 0xd0000000-0xe0000000, track write-combining, req write-combining
Apr 13 21:33:36 ivy kernel: Xorg:27061 freeing invalid memtype d0000000-e0000000
Apr 13 21:33:36 ivy kernel: Xorg:27053 conflicting memory types d0000000-e0000000 write-combining<->uncached-minus
Apr 13 21:33:36 ivy kernel: reserve_memtype failed 0xd0000000-0xe0000000, track write-combining, req write-combining
Apr 13 21:33:36 ivy kernel: Xorg:27062 freeing invalid memtype d0000000-e0000000
Apr 13 21:33:37 ivy kernel: Xorg:27053 conflicting memory types d0000000-e0000000 write-combining<->uncached-minus
Apr 13 21:33:37 ivy kernel: reserve_memtype failed 0xd0000000-0xe0000000, track write-combining, req write-combining
Apr 13 21:33:37 ivy kernel: Xorg:27063 freeing invalid memtype d0000000-e0000000
Apr 13 21:33:37 bonobo-activation-server (mindless-27071): could not associate with desktop session: Failed to connect to socket /tmp/dbus-LE2w6IiDqW: Connection refused
Apr 13 21:34:54 ivy kernel: Xorg:27053 freeing invalid memtype d0000000-e0000000
Apr 13 21:34:59 ivy acpid: client 4287[0:0] has disconnected
Apr 13 21:34:59 ivy acpid: client 27053[0:0] has disconnected
Apr 13 21:35:11 ivy ddclient[4237]: WARNING:  cannot connect to checkip.dyndns.org:80 socket: IO::Socket::INET: Bad hostname 'checkip.dyndns.org'
Apr 13 21:35:47 ivy kernel: SysRq : Keyboard mode set to system default
Apr 13 21:35:48 ivy kernel: SysRq : Terminate All Tasks
Apr 13 21:35:48 ivy acpid: exiting
Apr 13 21:35:48 ivy ntpd[4215]: ntpd exiting on signal 15
Apr 13 21:35:48 ivy ntpd_initres[4221]: ntpd exiting on signal 15
Apr 13 21:35:48 ivy dhcpcd[4311]: eth0: received SIGTERM, stopping
Apr 13 21:35:48 ivy syslog-ng[3773]: Termination requested via signal, terminating;

Last edited by MindlessXD (2009-04-14 06:50:05)

Offline

#2 2009-04-14 03:21:24

sand_man
Member
From: Australia
Registered: 2008-06-10
Posts: 2,164

Re: [solved] Xorg 1.6 segfault

What video card/driver? I wonder if you can disable write-combining, not that you should have to, but it could be a bug.


neutral

Offline

#3 2009-04-14 03:31:22

MindlessXD
Member
Registered: 2007-11-08
Posts: 18

Re: [solved] Xorg 1.6 segfault

Intel GM965 with the "intel" driver
I have an external monitor connected in case that makes any difference (this is a laptop)

xorg.conf

Section "Module"
    Load  "synaptics"
EndSection

Section "ServerFlags"
    Option         "DontVTSwitch" "false"
    Option         "DontZap" "false"
    Option         "DontZoom" "false"
    Option         "AllowDeactivateGrabs" "true"
    Option         "AllowClosedownGrabs" "true"
EndSection

Section "ServerLayout"
    Identifier     "X.org Configured"
    Screen      0  "Screen0" 0 0
    InputDevice    "Mouse0" "CorePointer"
EndSection

Section "InputDevice"
<snip>
EndSection

Section "Monitor"
#    DisplaySize    330 210    # mm
    Identifier     "LVDS"
EndSection

Section "Monitor"
    Identifier     "VGA"
EndSection

Section "Monitor"
    Identifier     "TV"
    Option         "Ignore" "true"
EndSection

Section "Device"
    Identifier  "Card0"
    Driver      "intel"
    VendorName  "Intel Corporation"
    BoardName   "Mobile GM965/GL960 Integrated Graphics Controller"
    BusID       "PCI:0:2:0"
    Option      "DRI" "true"
EndSection

Section "Screen"
    Identifier "Screen0"
    Device     "Card0"
    Monitor    "LVDS"
    SubSection "Display"
        Virtual 2960 1050
    EndSubSection
EndSection

Section "Extensions"
    Option "Composite" "Enable"
EndSection

Section "DRI"
    Mode 0666
EndSection

lspci

00:00.0 Host bridge: Intel Corporation Mobile PM965/GM965/GL960 Memory Controller Hub (rev 0c)
00:02.0 VGA compatible controller: Intel Corporation Mobile GM965/GL960 Integrated Graphics Controller (rev 0c)
00:02.1 Display controller: Intel Corporation Mobile GM965/GL960 Integrated Graphics Controller (rev 0c)
00:1a.0 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #4 (rev 03)
00:1a.1 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #5 (rev 03)
00:1a.7 USB Controller: Intel Corporation 82801H (ICH8 Family) USB2 EHCI Controller #2 (rev 03)
00:1b.0 Audio device: Intel Corporation 82801H (ICH8 Family) HD Audio Controller (rev 03)
00:1c.0 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 1 (rev 03)
00:1c.1 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 2 (rev 03)
00:1c.3 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 4 (rev 03)
00:1c.4 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 5 (rev 03)
00:1d.0 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #1 (rev 03)
00:1d.1 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #2 (rev 03)
00:1d.2 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #3 (rev 03)
00:1d.7 USB Controller: Intel Corporation 82801H (ICH8 Family) USB2 EHCI Controller #1 (rev 03)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev f3)
00:1f.0 ISA bridge: Intel Corporation 82801HEM (ICH8M) LPC Interface Controller (rev 03)
00:1f.1 IDE interface: Intel Corporation 82801HBM/HEM (ICH8M/ICH8M-E) IDE Controller (rev 03)
00:1f.2 SATA controller: Intel Corporation 82801HBM/HEM (ICH8M/ICH8M-E) SATA AHCI Controller (rev 03)
00:1f.3 SMBus: Intel Corporation 82801H (ICH8 Family) SMBus Controller (rev 03)
06:00.0 Network controller: Broadcom Corporation BCM4312 802.11b/g (rev 01)
07:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 02)
08:05.0 FireWire (IEEE 1394): O2 Micro, Inc. Firewire (IEEE 1394) (rev 02)
08:05.2 SD Host controller: O2 Micro, Inc. Integrated MMC/SD Controller (rev 02)
08:05.3 Mass storage controller: O2 Micro, Inc. Integrated MS/xD Controller (rev 01)

Last edited by MindlessXD (2009-04-14 03:35:41)

Offline

#4 2009-04-14 03:41:12

sand_man
Member
From: Australia
Registered: 2008-06-10
Posts: 2,164

Re: [solved] Xorg 1.6 segfault


neutral

Offline

#5 2009-04-14 03:48:49

MindlessXD
Member
Registered: 2007-11-08
Posts: 18

Re: [solved] Xorg 1.6 segfault

<_< well no... I've been ignoring the kernel 2.6.29 package since broadcom-wl in AUR hasn't been updated to support it yet

Edit: looks like the kernel upgrade fixed it, guess you can't mix-and-match tongue

Last edited by MindlessXD (2009-04-14 06:49:52)

Offline

#6 2009-04-16 13:04:24

andrew123456
Member
Registered: 2008-08-31
Posts: 32

Re: [solved] Xorg 1.6 segfault

same problem here, but i was waiting for qc-usb.

on thing i wanted to mention in case someone else gets this problem, once i updated the kernel and rebooted, my display was garbled. i had to switch to xf86-video-intel-legacy to fix this (i'm running an intel i810 i believe)

Offline

#7 2009-04-16 15:16:46

bintang
Member
Registered: 2009-04-15
Posts: 5

Re: [solved] Xorg 1.6 segfault

i have similar issue

kernel.log:

kernel: X[4834]: segfault at 10 ip b7a05579 sp bfc08960 error 4 in libdrm_intel.so.1.0.0[b7a04000+8000]
kernel: [drm:i915_get_vblank_counter] *ERROR* trying to get vblank count for disabled pipe 1

Xorg.0.log:

Backtrace:
0: /usr/bin/X(xorg_backtrace+0x3b) [0x813278b]
1: /usr/bin/X(xf86SigHandler+0x51) [0x80dda61]
2: [0xb7fec400]
3: /usr/lib/xorg/modules/drivers//intel_drv.so [0xb7a5989b]
4: /usr/lib/xorg/modules/drivers//intel_drv.so(i830_crtc_dpms_video+0x4b) [0xb7a5991b]
5: /usr/lib/xorg/modules/drivers//intel_drv.so [0xb7a424de]
6: /usr/bin/X(xf86DPMSSet+0x80) [0x80eadc0]
7: /usr/bin/X(xf86SaveScreen+0x3b) [0x80eb64b]
8: /usr/bin/X(dixSaveScreens+0x23f) [0x807b3bf]
9: /usr/bin/X [0x812fa65]
10: /usr/bin/X [0x812fe87]
11: /usr/bin/X(WaitForSomething+0x52f) [0x81304bf]
12: /usr/bin/X(Dispatch+0x7e) [0x808ca7e]
13: /usr/bin/X(main+0x3bd) [0x8071f3d]
14: /lib/libc.so.6(__libc_start_main+0xe5) [0xb7bc36c5]
15: /usr/bin/X [0x8071401]
Fatal server error:
Caught signal 11. Server aborting

Offline

#8 2009-04-18 13:37:14

SenorSnor
Member
From: Delft, Netherlands
Registered: 2006-09-13
Posts: 48

Re: [solved] Xorg 1.6 segfault

I got a similar stacktrace, see http://bbs.archlinux.org/viewtopic.php?pid=538309 . For me, adding "nopat" as a kernel boot parameter solved the issue. Don't know what or how, though ..

Offline

Board footer

Powered by FluxBB