|Summary:||[G41] DRM_I915_ENTERVT failed (SIGSEGV) (UXA bug)|
|Product:||xorg||Reporter:||Bryce Harrington <b.harrington>|
|Component:||Driver/intel||Assignee:||Ian Romanick <idr>|
|Status:||RESOLVED FIXED||QA Contact:||Xorg Project Team <xorg-team>|
|Priority:||high||CC:||jarek, papirhajo, svrmarty, yingying.zhao|
|i915 platform:||i915 features:|
Description Bryce Harrington 2009-05-05 13:30:46 UTC
Forwarding this bug from a ubuntu reporter: https://bugs.edge.launchpad.net/ubuntu/+source/xserver-xorg-video-intel/+bug/363305 [Problem] With UXA enabled, a segfault occurs with this error: DRM_I915_ENTERVT failed: Unknown error 18446744073709551604 Issue is seen in both 2.6.3 and 2.7.0 (from x-updates). distro: Ubuntu architecture: x86_64 kernel: 2.6.28-11-generic xserver-xorg: 1:7.4~5ubuntu18 mesa: 7.4-0ubuntu2 libdrm: 2.4.5-0ubuntu4 -intel: 2:2.6.3-0ubuntu9 -ati: 1:6.12.1-0ubuntu2 ProcVersion: Linux version 2.6.28-11-generic (buildd@crested) (gcc version 4.3.3 (Ubuntu 4.3.3-5ubuntu4) ) #42-Ubuntu SMP Fri Apr 17 01:58:03 UTC 2009 [lspci] 00:00.0 Host bridge : Intel Corporation 4 Series Chipset DRAM Controller [8086:2e20] (rev 03) Subsystem: ASRock Incorporation Device [1849:2e20] 00:02.0 VGA compatible controller : Intel Corporation 4 Series Chipset Integrated Graphics Controller [8086:2e22] (rev 03) Subsystem: ASRock Incorporation Device [1849:2e22]
Comment 3 Bryce Harrington 2009-05-05 13:33:53 UTC
Backtrace: 0: /usr/X11R6/bin/X(xorg_backtrace+0x26) [0x4f1b66] 1: /usr/X11R6/bin/X(xf86SigHandler+0x41) [0x485a61] 2: /lib/libc.so.6 [0x7f4f7e190040] 3: /usr/lib/xorg/modules/drivers//intel_drv.so(I830EmitFlush+0x8f) [0x7f4f7c3ca0cf] 4: /usr/lib/xorg/modules/drivers//intel_drv.so(I830Sync+0x54) [0x7f4f7c3ca4c4] 5: /usr/lib/xorg/modules/drivers//intel_drv.so [0x7f4f7c3d78aa] 6: /usr/X11R6/bin/X(SigAbortDDX+0x8d) [0x46d71d] 7: /usr/X11R6/bin/X(AbortServer+0x1d) [0x4fb33d] 8: /usr/X11R6/bin/X(LogVMessageVerb+0) [0x4fba30] 9: /usr/lib/xorg/modules/drivers//intel_drv.so [0x7f4f7c3d8622] 10: /usr/lib/xorg/modules/drivers//intel_drv.so [0x7f4f7c3d9c4c] 11: /usr/X11R6/bin/X(AddScreen+0x1c6) [0x4334c6] 12: /usr/X11R6/bin/X(InitOutput+0x241) [0x46ee21] 13: /usr/X11R6/bin/X(main+0x20e) [0x433bde] 14: /lib/libc.so.6(__libc_start_main+0xe6) [0x7f4f7e17b5a6] 15: /usr/X11R6/bin/X [0x433219] Saw signal 11. Server aborting.
Comment 4 Gordon Jin 2009-05-05 19:11:28 UTC
what's the reproducible step? Could you attach dmesg as well?
Comment 5 Tommaso Schiavinotto 2009-05-05 23:13:12 UTC
Using intel driver with uxa is enough to reproduce the bug. I will attach the dmesg output as well.
Comment 6 Tommaso Schiavinotto 2009-05-05 23:27:55 UTC
Created attachment 25532 [details] dmesg This is the dmesg I found in /var/log I could not run the dmesg command after the problem because I get a blank screen, the monitor goes in stand by mode and I have to reset from hardware to reboot.
Comment 7 Gordon Jin 2009-05-05 23:42:44 UTC
(In reply to comment #5) > Using intel driver with uxa is enough to reproduce the bug. Do you mean this happens immediately after X started, not requiring any other operations?
Comment 8 Jesse Barnes 2009-05-11 11:21:25 UTC
Adjusting severity: crashes & hangs should be marked critical.
Comment 9 Bryce Harrington 2009-05-29 05:43:22 UTC
Tommaso, that dmesg doesn't have correct info for your card. You should be able to run dmesg after sshing into your machine. If you can't ssh into it, you could try switching to vt2, running "sleep 15 ; dmesg > dmesg.txt" or something, and switching back to vt1 to get it. Fwiw, the error being returned seems to be an "out of memory" error, but that's sort of strange to happen at boot.
Comment 10 Jarek Kuboš 2009-06-03 12:28:42 UTC
I have same issue, my dmesg says: [103629.818053] [drm] Initialized drm 1.1.0 20060810 [103629.901954] pci 0000:00:02.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16 [103629.901963] pci 0000:00:02.0: setting latency timer to 64 [103629.928071] mtrr: type mismatch for d0000000,10000000 old: write-back new: write-combining [103629.928077] [drm] MTRR allocation failed. Graphics performance may suffer. [103629.928105] alloc irq_desc for 27 on cpu 0 node 0 [103629.928110] alloc kstat_irqs on cpu 0 node 0 [103629.928126] pci 0000:00:02.0: irq 27 for MSI/MSI-X [103629.928158] [drm] Initialized i915 1.6.0 20080730 for 0000:00:02.0 on minor 0 [103630.213560] [drm:i915_gem_object_bind_to_gtt] *ERROR* GTT full, but LRU list empty [103630.213567] [drm:i915_gem_object_pin] *ERROR* Failure to bind: -12
Comment 11 Lavy Libman 2009-06-14 18:35:54 UTC
Created attachment 26785 [details] Xorg.0.log immediately after crash
Comment 12 Lavy Libman 2009-06-14 18:37:00 UTC
Created attachment 26786 [details] kern.log immediately after crash (clean reboot)
Comment 14 Lavy Libman 2009-06-14 18:48:19 UTC
Just a "me too" with a couple of additional observations (see my log files and "lspci -v" output attached above): - All of us reporting this bug seem to share the ASRock Incorporation Device 2e20, 2e22 (apparently the ASRock G43Twins-FullHD board). I've searched long and hard for any reports of the same crash on other hardware, but couldn't find any. - The crash has been absolutely 100% consistent on UXA since driver 2.6 (Ubuntu Jaunty, and I've been applying every driver and kernel update from xorg-edgers since). - The system worked fine under Intrepid (Ubuntu 8.10, driver 2.4+kernel 2.6.27) or with 2.6 or 2.7 driver with 2.6.27 kernel (no GEM). - If this helps, on any kernel >=2.6.28 I tried, driver 2.6 or 2.7 using EXA causes a "failed to initialize kernel memory manager" (see the report in https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-intel/+bug/380986, with the same hardware), and, again, this is 100% consistent. All in all, looks like some sort of memory allocation/management issue with this particular chipset. Will be glad to provide any further information / try any suggestions.
Comment 15 Adam Kuller 2009-06-15 08:16:51 UTC
Same crash by me too immediately after X started. I have an ASROCK G41M-LE motherboard with integrated Intel G41 X4500 (8086:2e32 windows7 based OS shows 8086:2e33) gma. Tested kernels: 2.6.26 i386 and 2.6.30 i386 and amd64 Tested drivers: 2.3.2, 2.7.1, 126.96.36.1991-2 Tested distro: Ubuntu9.04, Ubuntu 9.10, Debian 5.0 The Xorg.0.log result is (@amd64): Fatal server error: DRM_I915_ENTERVT failed: Unknown error 18446744073709551604 The Xorg.0.log result is (@i386): Fatal server error: DRM_I915_ENTERVT failed: Unknown error 4294967284 [lspci -v] 00:00.0 Host bridge: Intel Corporation 4 Series Chipset DRAM Controller (rev 03) Subsystem: ASRock Incorporation Device 2e30 Flags: bus master, fast devsel, latency 0 Capabilities: [e0] Vendor Specific Information <?> Kernel driver in use: agpgart-intel 00:02.0 VGA compatible controller: Intel Corporation 4 Series Chipset Integrated Graphics Controller (rev 03) (prog-if 00 [VGA controller]) Subsystem: ASRock Incorporation Device 2e32 Flags: bus master, fast devsel, latency 0, IRQ 27 Memory at fe400000 (64-bit, non-prefetchable) [size=4M] Memory at d0000000 (64-bit, prefetchable) [size=256M] I/O ports at cc00 [size=8] Capabilities:  Message Signalled Interrupts: Mask- 64bit- Queue=0/0 Enable+ Capabilities: [d0] Power Management version 2 Capabilities: [a4] PCIe advanced features <?> 00:02.1 Display controller: Intel Corporation 4 Series Chipset Integrated Graphics Controller (rev 03) Subsystem: ASRock Incorporation Device 2e32 Flags: bus master, fast devsel, latency 0 Memory at fe900000 (64-bit, non-prefetchable) [size=1M] Capabilities: [d0] Power Management version 2
Comment 16 Jarek Kuboš 2009-06-15 09:25:21 UTC
I have Gigabyte GA-EG41MF-S2H board
Comment 17 email@example.com 2009-06-16 15:25:37 UTC
same here Backtrace: 0: X(xorg_backtrace+0x38) [0x819baf8] Fatal server error: Caught signal 11. Server aborting dmesg: [drm] LVDS-8: set mode 1024x768 24 i2c-adapter i2c-1: unable to read EDID block. i915 0000:00:02.0: LVDS-1: no EDID data i2c-adapter i2c-1: sendbytes: NAK bailout. i2c-adapter i2c-1: unable to read EDID block. i915 0000:00:02.0: LVDS-1: no EDID data [drm] DAC-6: set mode 800x600 3c [drm] LVDS-8: set mode 800x600 3d
Comment 18 Adam Kuller 2009-06-23 02:45:14 UTC
I think, this is not an UXA bug. The problem is not depend from AccelMethod(EXA,UXA). I posted a new report with latest intel and drm driver(git). The error has not changed, G41 X4500 GMA is still useless on linux. Xorg with Option "ModeDebug" "yes".
Comment 24 Adam Kuller 2009-06-26 16:12:06 UTC
(My) Problem solved! I set the Shared Memory size to 128MB in BIOS, and intel driver works!(compiz too) When the Shared Memory set to 256MB intel driver crash at startup. The Xorg.0.log result is (@amd64): Fatal server error: DRM_I915_ENTERVT failed: Unknown error 18446744073709551604 The Xorg.0.log result is (@i386): Fatal server error: DRM_I915_ENTERVT failed: Unknown error 4294967284
Comment 25 Eric Anholt 2009-07-02 11:13:31 UTC
on May 27, 2016 at 12:15:12.
(provided by the Example extension).