From owner-freebsd-current@FreeBSD.ORG Wed Jan 7 06:01:23 2015 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id BD4EBE44; Wed, 7 Jan 2015 06:01:23 +0000 (UTC) Received: from mx1.scaleengine.net (beauharnois2.bhs1.scaleengine.net [142.4.218.15]) by mx1.freebsd.org (Postfix) with ESMTP id 97A16FC3; Wed, 7 Jan 2015 06:01:22 +0000 (UTC) Received: from [192.168.1.2] (Seawolf.HML3.ScaleEngine.net [209.51.186.28]) (Authenticated sender: allanjude.freebsd@scaleengine.com) by mx1.scaleengine.net (Postfix) with ESMTPSA id 89CE28C389; Wed, 7 Jan 2015 06:01:16 +0000 (UTC) Message-ID: <54ACCBB3.1080906@freebsd.org> Date: Wed, 07 Jan 2015 01:01:23 -0500 From: Allan Jude User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.3.0 MIME-Version: 1.0 To: freebsd-current@freebsd.org, kib@freebsd.org Subject: i915 crash Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="5Ir4PV4FMnOpOSWQtk3hPjtxPMKxVf2BH" Cc: "grembo@freebsd.org >> Michael Gmelin" X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Jan 2015 06:01:23 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --5Ir4PV4FMnOpOSWQtk3hPjtxPMKxVf2BH Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable I grabbed the latest i915.8.patch from kib@'s website and compiled it against r276774 (today) Machine is a Lenovo T530, booted UEFI, with the nvidia GPU disabled. CPU: Intel(R) Core(TM) i5-3320M CPU @ 2.60GHz (2594.16-MHz K8-class CPU) It is an Ivy-bridge CPU/GPU I installed xorg and kde, and when I try to start KDE, it loads, and gets so far as showing the FreeBSD wallpaper, then panics: text dump: http://www.allanjude.com/bsd/i915_core.3.txt Full dump: (26mb compressed, 740mb original) http://www.allanjude.com/bsd/i915_vmcore.3.xz Unread portion of the kernel message buffer: panic: In GPU write domain cpuid =3D 3 KDB: stack backtrace: db_trace_self_wrapper() at db_trace_self_wrapper+0x2b/frame 0xfffffe045e52e600 vpanic() at vpanic+0x189/frame 0xfffffe045e52e680 kassert_panic() at kassert_panic+0x132/frame 0xfffffe045e52e6f0 i915_gem_pread_ioctl() at i915_gem_pread_ioctl+0x678/frame 0xfffffe045e52e790 drm_ioctl() at drm_ioctl+0x318/frame 0xfffffe045e52e800 devfs_ioctl_f() at devfs_ioctl_f+0x122/frame 0xfffffe045e52e860 kern_ioctl() at kern_ioctl+0x2c0/frame 0xfffffe045e52e8c0 sys_ioctl() at sys_ioctl+0x153/frame 0xfffffe045e52e9a0 amd64_syscall() at amd64_syscall+0x25a/frame 0xfffffe045e52eab0 Xfast_syscall() at Xfast_syscall+0xfb/frame 0xfffffe045e52eab0 --- syscall (54, FreeBSD ELF64, sys_ioctl), rip =3D 0x8022a56fa, rsp =3D 0x7fffffffe718, rbp =3D 0x7fffffffe740 --- KDB: enter: panic Uptime: 9m19s Dumping 739 out of 16176 MB:..3%..11%..22%..31%..42%..52%..61%..72%..81%..91% Reading symbols from /boot/kernel/i915kms.ko.symbols...done. Loaded symbols for /boot/kernel/i915kms.ko.symbols Reading symbols from /boot/kernel/drm2.ko.symbols...done. Loaded symbols for /boot/kernel/drm2.ko.symbols Reading symbols from /boot/kernel/iicbus.ko.symbols...done. Loaded symbols for /boot/kernel/iicbus.ko.symbols Reading symbols from /boot/kernel/iic.ko.symbols...done. Loaded symbols for /boot/kernel/iic.ko.symbols Reading symbols from /boot/kernel/iicbb.ko.symbols...done. Loaded symbols for /boot/kernel/iicbb.ko.symbols #0 doadump (textdump=3DUnhandled dwarf expression opcode 0x93 ) at pcpu.h:219 219 pcpu.h: No such file or directory. in pcpu.h (kgdb) #0 doadump (textdump=3DUnhandled dwarf expression opcode 0x93 ) at pcpu.h:219 #1 0xffffffff80965d27 in kern_reboot (howto=3DUnhandled dwarf expression= opcode 0x93 ) at /usr/src/sys/kern/kern_shutdown.c:448 #2 0xffffffff80966318 in vpanic (fmt=3D, ap=3D) at /usr/src/sys/kern/kern_shutdown.c:747 #3 0xffffffff80966142 in kassert_panic (fmt=3D) at /usr/src/sys/kern/kern_shutdown.c:635 #4 0xffffffff81e1de88 in i915_gem_pread_ioctl (dev=3D0xfffff8002ffd1000,= data=3D0xfffffe045e52e8f0, file=3D) at /usr/src/sys/modules/drm2/i915kms/../../../dev/drm2/i915/i915_gem.c:3010 #5 0xffffffff81e9a398 in drm_ioctl (kdev=3D, cmd=3D2149606492, data=3D0xfffffe045e52e8f0 "y", flags=3DUnhandled dw= arf expression opcode 0x93 ) at /usr/src/sys/modules/drm2/drm2/../../../dev/drm2/drm_drv.c:942 #6 0xffffffff80849942 in devfs_ioctl_f (fp=3D0xfffff80009c15690, com=3D2149606492, data=3D0xfffffe045e52e8f0, cred=3D0xfffffe045e52e8f= 0, td=3D0xfffff80009c74000) at /usr/src/sys/fs/devfs/devfs_vnops.c:775 #7 0xffffffff809c3ad0 in kern_ioctl (td=3D0xfffff80009c74000, fd=3D, com=3D0, data=3D) at= file.h:318 #8 0xffffffff809c3763 in sys_ioctl (td=3D0xfffff80009c74000, uap=3D0xfffffe045e52ea40) at /usr/src/sys/kern/sys_generic.c:718 #9 0xffffffff80d8590a in amd64_syscall (td=3D0xfffff80009c74000, traced=3D= 0) at subr_syscall.c:133 #10 0xffffffff80d632ab in Xfast_syscall () at /usr/src/sys/amd64/amd64/exception.S:395 #11 0x00000008022a56fa in ?? () Previous frame inner to this frame (corrupt stack?) Current language: auto; currently minimal --=20 Allan Jude --5Ir4PV4FMnOpOSWQtk3hPjtxPMKxVf2BH Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (MingW32) iQIcBAEBAgAGBQJUrMuzAAoJEJrBFpNRJZKfwqMP/A/QkMq1iFfNutzwmGNGbELK MD+9ceiX8BsOFSZHsmTnJQwSdEfUXXst6wCVPq04RXe96svwJ/ujwFr38dQDWSLg 1YnUpaPV2mP2kKJrBLpZDgDAkghXWOpgdPDeIvRIqTUdMqV9ZdNksXQX6lB2+vOp eYiqYLMV/dvq5YO7aIojVLVMeA2fCAsngZNF3jPxGM2fUjd26g4b+1gsrDjjaHAT /mqLsGff0DecdKaLDOsxKPZuO966a+/SZB0tF3y/lHGdRQFHpMO4cNJ9t1yJ3N8z MXueMdjQMMAKVgAWj7y4IZygc9iER7sxGZy2q9FFt7o10Yxa9iCx4vt9TAo3yPu6 cDmUT1TFMTtoSTScialpfwe2Aaxuid7Do5dPTzUd/W92X9vjkc0IjqP+oVMKFtDR NrtcvxJSyOpJqTz4xbQmTmfw/m2ugUGa6k3SjizRe1JqKObk304KIUZRVAZG4vU3 iJCodT7PnBKyJmX+XBLIHfP28YFxz63F9Xpl8A9dlWST09obxG/zZSo0Id60BM+W k6kf19FTI40+w4g3wqZ1s0fB/9Z1dpGbk8CXbn6iz2me2EDF6xqC+cGzAWZmVN7t mSzhIUCNn/dPP4yhTX+aD1fD7+nmFxQp/J7EXYQ6yZ23dql1Dof8qNrIGSXW3eDL bd4DbzTMdoEn8OKtVQh/ =jaNq -----END PGP SIGNATURE----- --5Ir4PV4FMnOpOSWQtk3hPjtxPMKxVf2BH--