Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 07 Jan 2015 01:01:23 -0500
From:      Allan Jude <allanjude@freebsd.org>
To:        freebsd-current@freebsd.org, kib@freebsd.org
Cc:        "grembo@freebsd.org >> Michael Gmelin" <grembo@freebsd.org>
Subject:   i915 crash
Message-ID:  <54ACCBB3.1080906@freebsd.org>

next in thread | raw e-mail | index | archive | help
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<value optimized out>,
    ap=3D<value optimized out>) at /usr/src/sys/kern/kern_shutdown.c:747
#3  0xffffffff80966142 in kassert_panic (fmt=3D<value optimized out>)
    at /usr/src/sys/kern/kern_shutdown.c:635
#4  0xffffffff81e1de88 in i915_gem_pread_ioctl (dev=3D0xfffff8002ffd1000,=

    data=3D0xfffffe045e52e8f0, file=3D<value optimized out>)
    at
/usr/src/sys/modules/drm2/i915kms/../../../dev/drm2/i915/i915_gem.c:3010
#5  0xffffffff81e9a398 in drm_ioctl (kdev=3D<value optimized out>,
    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<value optimized out>, com=3D0, data=3D<value optimized out>) 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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?54ACCBB3.1080906>