Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 19 Jan 2015 22:07:59 -0800
From:      Adrian Chadd <adrian@freebsd.org>
To:        Konstantin Belousov <kostikbel@gmail.com>
Cc:        Adam McDougall <mcdouga9@egr.msu.edu>, freebsd-current <freebsd-current@freebsd.org>, Chagin Dmitry <dchagin@freebsd.org>
Subject:   Re: Ver 2 of the patch [was: Re: i915 driver update testing]
Message-ID:  <CAJ-VmomNb7sygYmyLw07LMTFhC_-_y1DFMrcK2ZODRN4uzR0Jg@mail.gmail.com>
In-Reply-To: <CAJ-Vmon3cov=xBBMVYXfN9k-Pkw=g5mre1Guj5R2Kwc85tcODw@mail.gmail.com>
References:  <5433E408.2010601@egr.msu.edu> <20141007164419.GB2153@kib.kiev.ua> <20141007180106.GD2153@kib.kiev.ua> <54344766.1040700@egr.msu.edu> <20141008170525.GH2153@kib.kiev.ua> <54358C88.2080501@egr.msu.edu> <20141022122640.GL1877@kib.kiev.ua> <54480C9B.7070606@egr.msu.edu> <20141023190329.GP1877@kib.kiev.ua> <20141026210211.GA1103@dchagin.static.corbina.net> <20141029075603.GC53947@kib.kiev.ua> <CAJ-Vmon3cov=xBBMVYXfN9k-Pkw=g5mre1Guj5R2Kwc85tcODw@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Nope, spoke too soon:


Unread portion of the kernel message buffer:
panic: In GPU write domain
cpuid =3D 1
KDB: stack backtrace:
db_trace_self_wrapper(c09d59ce,0,c09ad9fe,205,f1ce2938,...) at
db_trace_self_wrapper+0x2d/frame 0xf1ce2908
kdb_backtrace(c0a10b67,1,c82fb835,f1ce29f8,f1ce2998,...) at
kdb_backtrace+0x30/frame 0xf1ce2970
vpanic(c0b1c868,100,c82fb835,f1ce29f8,5d,...) at vpanic+0x120/frame 0xf1ce2=
9b0
kassert_panic(c82fb835,c7bacd00,346,c95a8700,c95a8fa8,...) at
kassert_panic+0x14f/frame 0xf1ce29ec
i915_gem_pread_ioctl(c7ab1800,f1ce2b40,c7bacd00,c09c7175,86,...) at
i915_gem_pread_ioctl+0x667/frame 0xf1ce2a5c
drm_ioctl(c7bacc00,8020645c,f1ce2b40,3,c7e0e000,...) at
drm_ioctl+0x213/frame 0xf1ce2aa4
devfs_ioctl_f(c7c135b0,8020645c,f1ce2b40,c7b77200,c7e0e000,...) at
devfs_ioctl_f+0x11e/frame 0xf1ce2adc
kern_ioctl(c7e0e000,a,8020645c,f1ce2b40,c7e0e000,...) at
kern_ioctl+0x2e0/frame 0xf1ce2b18
sys_ioctl(c7e0e000,f1ce2c68,f1ce2bf4,16cc32,2710,...) at
sys_ioctl+0x11d/frame 0xf1ce2bd8
syscall(f1ce2ca8) at syscall+0x31a/frame 0xf1ce2c9c
Xint0x80_syscall() at Xint0x80_syscall+0x21/frame 0xf1ce2c9c
--- syscall (54, FreeBSD ELF32, sys_ioctl), eip =3D 0x28673fff, esp =3D
0xbfbfe90c, ebp =3D 0xbfbfe928 ---


(kgdb) #0  doadump (textdump=3D-1061574304) at pcpu.h:233
#1  0xc04fb4cd in db_fncall (dummy1=3D-238147896, dummy2=3D0, dummy3=3D-951=
565744,
    dummy4=3D0xf1ce26b4 "=EF=BF=BDOR=EF=BF=BD`=EF=BF=BD=EF=BF=BD=EF=BF=BD")
    at /usr/home/adrian/work/freebsd/head/src/sys/ddb/db_command.c:568
#2  0xc04fb1bb in db_command (cmd_table=3D<value optimized out>)
    at /usr/home/adrian/work/freebsd/head/src/sys/ddb/db_command.c:440
#3  0xc04faee0 in db_command_loop ()
    at /usr/home/adrian/work/freebsd/head/src/sys/ddb/db_command.c:493
#4  0xc04fd97e in db_trap (code=3D<value optimized out>)
    at /usr/home/adrian/work/freebsd/head/src/sys/ddb/db_main.c:251
#5  0xc06d453c in kdb_trap (type=3D3, code=3D<value optimized out>,
    tf=3D<value optimized out>)
    at /usr/home/adrian/work/freebsd/head/src/sys/kern/subr_kdb.c:654
#6  0xc094ca90 in trap (frame=3D<value optimized out>)
    at /usr/home/adrian/work/freebsd/head/src/sys/i386/i386/trap.c:693
#7  0xc093705c in calltrap ()
    at /usr/home/adrian/work/freebsd/head/src/sys/i386/i386/exception.s:169
#8  0xc06d3dad in kdb_enter (why=3D0xc09d0b25 "panic",
    msg=3D<value optimized out>) at cpufunc.h:71
#9  0xc0696aa4 in vpanic (fmt=3D<value optimized out>, ap=3D<value optimize=
d out>)
    at /usr/home/adrian/work/freebsd/head/src/sys/kern/kern_shutdown.c:739
#10 0xc069695f in kassert_panic (fmt=3D<value optimized out>)
    at /usr/home/adrian/work/freebsd/head/src/sys/kern/kern_shutdown.c:634
#11 0xc82b2bd7 in i915_gem_pread_ioctl (dev=3D0xc09d5a19, data=3D0xf1ce2b40=
,
    file=3D<value optimized out>)
    at /usr/home/adrian/work/freebsd/head/src/sys/modules/drm2/i915kms/../.=
./../dev/drm2/i915/i915_gem.c:3010
#12 0xc8323f53 in drm_ioctl (kdev=3D0xc7bacc00, cmd=3D<value optimized out>=
,
    data=3D<value optimized out>, flags=3D3, p=3D<value optimized out>)
    at /usr/home/adrian/work/freebsd/head/src/sys/modules/drm2/drm2/../../.=
./dev/drm2/drm_drv.c:942
#13 0xc057105e in devfs_ioctl_f (fp=3D<value optimized out>, com=3D21496064=
92,
    data=3D<value optimized out>, cred=3D<value optimized out>, td=3D0xc7e0=
e000)
    at /usr/home/adrian/work/freebsd/head/src/sys/fs/devfs/devfs_vnops.c:77=
5
#14 0xc06f6050 in kern_ioctl (td=3D0x2, fd=3D<value optimized out>, com=3D9=
,
    data=3D<value optimized out>) at file.h:318
#15 0xc06f5cfd in sys_ioctl (uap=3D<value optimized out>)
    at /usr/home/adrian/work/freebsd/head/src/sys/kern/sys_generic.c:718
#16 0xc094d79a in syscall (frame=3D<value optimized out>) at subr_syscall.c=
:133
#17 0xc09370f1 in Xint0x80_syscall ()
    at /usr/home/adrian/work/freebsd/head/src/sys/i386/i386/exception.s:269
#18 0x00000033 in ?? ()
Previous frame inner to this frame (corrupt stack?)
Current language:  auto; currently minimal
(kgdb)

.. anything else you'd like?



-adrian


On 19 January 2015 at 22:00, Adrian Chadd <adrian@freebsd.org> wrote:
> Hi,
>
> I finally fired this up on an older Intel to test. this is patch 8
> from your website:
>
> vgapci0@pci0:0:2:0:     class=3D0x030000 card=3D0x20e417aa chip=3D0x2a428=
086
> rev=3D0x07 hdr=3D0x00
>     vendor     =3D 'Intel Corporation'
>     device     =3D 'Mobile 4 Series Chipset Integrated Graphics Controlle=
r'
>     class      =3D display
>     subclass   =3D VGA
> vgapci1@pci0:0:2:1:     class=3D0x038000 card=3D0x20e417aa chip=3D0x2a438=
086
> rev=3D0x07 hdr=3D0x00
>     vendor     =3D 'Intel Corporation'
>     device     =3D 'Mobile 4 Series Chipset Integrated Graphics Controlle=
r'
>     class      =3D display
>
> .. works fine for me. Do you need any further information?
>
> I have some other pre-sandybridge devices that I'll spin this up on
> once they've been updated to the latest -HEAD.
>
> Thanks!
>
>
>
> -adrian



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAJ-VmomNb7sygYmyLw07LMTFhC_-_y1DFMrcK2ZODRN4uzR0Jg>