Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 Oct 2014 00:02:11 +0300
From:      Chagin Dmitry <dchagin@freebsd.org>
To:        Konstantin Belousov <kostikbel@gmail.com>
Cc:        Adam McDougall <mcdouga9@egr.msu.edu>, freebsd-current@freebsd.org
Subject:   Re: Ver 2 of the patch [was: Re: i915 driver update testing]
Message-ID:  <20141026210211.GA1103@dchagin.static.corbina.net>
In-Reply-To: <20141023190329.GP1877@kib.kiev.ua>
References:  <20141007042043.GG26076@kib.kiev.ua> <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>

next in thread | previous in thread | raw e-mail | index | archive | help

--lrZ03NoBR/3+SXJZ
Content-Type: text/plain; charset=koi8-r
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Thu, Oct 23, 2014 at 10:03:29PM +0300, Konstantin Belousov wrote:
> On Wed, Oct 22, 2014 at 03:59:23PM -0400, Adam McDougall wrote:
> > On 10/22/2014 08:26, Konstantin Belousov wrote:
>=20
> Use https://www.kib.kiev.ua/kib/drm/i915.6.patch.  I already have one
> private report of the patch worked from person who got the same panic
> in iicbb.

Hi, Kostik!

i915.6.patch & i7-4700.=20


FreeBSD dchagin.static.corbina.net 11.0-CURRENT FreeBSD 11.0-CURRENT #93 r2=
73708+3ca71ce(lemul)-dirty: Sun Oct 26 23:38:47 MSK 2014     root@dchagin.s=
tatic.corbina.net:/home/rootobj/home/dchagin/head/sys/YOY  amd64

Unread portion of the kernel message buffer:
FDI TX state assertion failure (expected off, current on)
error: [drm:pid840:assert_fdi_rx] *ERROR* Attempting to enable FDI_RX on Ha=
swell pipe > 0
error: [drm:pid840:assert_fdi_rx] *ERROR* Attempting to enable FDI_RX on Ha=
swell pipe > 0
drmn1: taking over the fictitious range 0xe0000000-0xf0000000
info: [drm] Enabling RC6 states: RC6 off, RC6p off, RC6pp off
info: [drm] GMBUS [gmbus dpb] timed out, falling back to bit banging on pin=
 5
panic: _sx_xlock_hard: recursed on non-recursive sx gmbus @ /home/dchagin/h=
ead/sys/modules/drm2/i915kms/../../../dev/drm2/i915/intel_iic.c:370

cpuid =3D 2
Uptime: 27s
Dumping 582 out of 11954 MB:..3%..11%..22%..31%..42%..53%..61%..72%..83%..9=
1%

Reading symbols from /boot/kernel/acpi_ibm.ko.symbols...done.
Loaded symbols for /boot/kernel/acpi_ibm.ko.symbols
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
#0  doadump (textdump=3D1) at /home/dchagin/head/sys/kern/kern_shutdown.c:2=
61
261		dumptid =3D curthread->td_tid;
(kgdb) #0  doadump (textdump=3D1) at /home/dchagin/head/sys/kern/kern_shutd=
own.c:261
#1  0xffffffff80691a75 in kern_reboot (howto=3D260)
    at /home/dchagin/head/sys/kern/kern_shutdown.c:447
#2  0xffffffff80692670 in vpanic (
    fmt=3D0xffffffff80c763b9 "_sx_xlock_hard: recursed on non-recursive sx =
%s @ %s:%d\n", ap=3D0xfffffe033c750d60)
    at /home/dchagin/head/sys/kern/kern_shutdown.c:746
#3  0xffffffff8069204c in kassert_panic (
    fmt=3D0xffffffff80c763b9 "_sx_xlock_hard: recursed on non-recursive sx =
%s @ %s:%d\n") at /home/dchagin/head/sys/kern/kern_shutdown.c:634
#4  0xffffffff806a09b0 in _sx_xlock_hard (sx=3D0xfffffe00039480e8,=20
    tid=3D18446735277793944768, opts=3D0,=20
    file=3D0xffffffff8166d4e7 "/home/dchagin/head/sys/modules/drm2/i915kms/=
=2E./../../dev/drm2/i915/intel_iic.c", line=3D370)
    at /home/dchagin/head/sys/kern/kern_sx.c:519
#5  0xffffffff8069f9ed in __sx_xlock (sx=3D0xfffffe00039480e8,=20
    td=3D0xfffff8000a9324c0, opts=3D0,=20
    file=3D0xffffffff8166d4e7 "/home/dchagin/head/sys/modules/drm2/i915kms/=
=2E./../../dev/drm2/i915/intel_iic.c", line=3D370) at sx.h:154
#6  0xffffffff8069f893 in _sx_xlock (sx=3D0xfffffe00039480e8, opts=3D0,=20
    file=3D0xffffffff8166d4e7 "/home/dchagin/head/sys/modules/drm2/i915kms/=
=2E./../../dev/drm2/i915/intel_iic.c", line=3D370)
    at /home/dchagin/head/sys/kern/kern_sx.c:311
#7  0xffffffff816464e6 in intel_gmbus_transfer (idev=3D0xfffff80080a99900,=
=20
    msgs=3D0xfffffe033c7511e0, nmsgs=3D2)
    at /home/dchagin/head/sys/modules/drm2/i915kms/../../../dev/drm2/i915/i=
ntel_iic.c:370
#8  0xffffffff81646ac7 in intel_gmbus_transfer (idev=3D<value optimized out=
>,=20
    msgs=3D<value optimized out>, nmsgs=3D<value optimized out>)
    at iicbus_if.h:131
#9  0xffffffff8044a445 in IICBUS_TRANSFER (dev=3D0xfffff80080a99900,=20
    msgs=3D0xfffffe033c7511e0, nmsgs=3D2) at iicbus_if.h:131
#10 0xffffffff8044a39b in iicbus_transfer (bus=3D0xfffff80080a99800,=20
    msgs=3D0xfffffe033c7511e0, nmsgs=3D2)
    at /home/dchagin/head/sys/dev/iicbus/iiconf.c:355
#11 0xffffffff8169309d in drm_do_probe_ddc_edid (adapter=3D0xfffff80080a998=
00,=20
    buf=3D0xfffffe033c751257 ""y", block=3D<value optimized out>, len=3D1)
    at /home/dchagin/head/sys/modules/drm2/drm2/../../../dev/drm2/drm_edid.=
c:290
#12 0xffffffff816909bc in drm_get_edid (connector=3D0xfffff80080826c00,=20
    adapter=3D0xfffff80080a99800)
    at /home/dchagin/head/sys/modules/drm2/drm2/../../../dev/drm2/drm_edid.=
c:388
#13 0xffffffff81645690 in intel_hdmi_detect (connector=3D0xfffff80080826c00=
,=20
    force=3D<value optimized out>)
    at /home/dchagin/head/sys/modules/drm2/i915kms/../../../dev/drm2/i915/i=
ntel_hdmi.c:465
#14 0xffffffff8168adf5 in drm_helper_probe_single_connector_modes (
    connector=3D0xfffff80080826c00, maxX=3D8192, maxY=3D8192)
    at /home/dchagin/head/sys/modules/drm2/drm2/../../../dev/drm2/drm_crtc_=
helper.c:135
#15 0xffffffff8169387f in drm_fb_helper_initial_config (
    fb_helper=3D0xfffff8008093b200, bpp_sel=3D32)
    at /home/dchagin/head/sys/modules/drm2/drm2/../../../dev/drm2/drm_fb_he=
lper.c:1164
#16 0xffffffff81643e41 in intel_fbdev_init (dev=3D<value optimized out>)
    at /home/dchagin/head/sys/modules/drm2/i915kms/../../../dev/drm2/i915/i=
ntel_fb.c:245
#17 0xffffffff81617082 in i915_driver_load (dev=3D0xfffff80009807800, flags=
=3D0)
    at /home/dchagin/head/sys/modules/drm2/i915kms/../../../dev/drm2/i915/i=
915_dma.c:1181
#18 0xffffffff8168ece5 in drm_attach (kdev=3D0xfffff800071b6e00,=20
    idlist=3D<value optimized out>)
    at /home/dchagin/head/sys/modules/drm2/drm2/../../../dev/drm2/drm_drv.c=
:591
#19 0xffffffff806dd737 in DEVICE_ATTACH (dev=3D0xfffff800071b6e00)
    at device_if.h:180
#20 0xffffffff806dd19c in device_attach (dev=3D0xfffff800071b6e00)
    at /home/dchagin/head/sys/kern/subr_bus.c:2836
#21 0xffffffff806dd0c4 in device_probe_and_attach (dev=3D0xfffff800071b6e00)
    at /home/dchagin/head/sys/kern/subr_bus.c:2794
#22 0xffffffff806df8ba in bus_generic_driver_added (dev=3D0xfffff80003e3f20=
0,=20
    driver=3D0xffffffff816726e0) at /home/dchagin/head/sys/kern/subr_bus.c:=
3845
#23 0xffffffff806e330f in BUS_DRIVER_ADDED (_dev=3D0xfffff80003e3f200,=20
    _driver=3D0xffffffff816726e0) at bus_if.h:204
#24 0xffffffff806da51a in devclass_driver_added (dc=3D0xfffff80003e3c880,=
=20
    driver=3D0xffffffff816726e0) at /home/dchagin/head/sys/kern/subr_bus.c:=
1065
#25 0xffffffff806da302 in devclass_add_driver (dc=3D0xfffff80003e3c880,=20
    driver=3D0xffffffff816726e0, pass=3D2147483647, dcp=3D0xffffffff816b8cb=
8)
    at /home/dchagin/head/sys/kern/subr_bus.c:1138
#26 0xffffffff806e1779 in driver_module_handler (mod=3D0xfffff80003dbb980,=
=20
    what=3D0, arg=3D0xffffffff81672710)
    at /home/dchagin/head/sys/kern/subr_bus.c:4694
#27 0xffffffff8066e2a0 in module_register_init (arg=3D0xffffffff816726c8)
    at /home/dchagin/head/sys/kern/kern_module.c:123
#28 0xffffffff8065d334 in linker_file_sysinit (lf=3D0xfffff8008012e200)
    at /home/dchagin/head/sys/kern/kern_linker.c:224
#29 0xffffffff8065cad3 in linker_load_file (
    filename=3D0xfffff8000a90a120 "/boot/kernel/i915kms.ko",=20
    result=3D0xfffffe033c751858)
    at /home/dchagin/head/sys/kern/kern_linker.c:424
#30 0xffffffff80658ec1 in linker_load_module (kldname=3D0x0,=20
    modname=3D0xfffff8000a6bf800 "i915kms", parent=3D0x0, verinfo=3D0x0,=20
    lfpp=3D0xfffffe033c7518b8) at /home/dchagin/head/sys/kern/kern_linker.c=
:1999
#31 0xffffffff8065aeb9 in kern_kldload (td=3D0xfffff8000a9324c0,=20
    file=3D0xfffff8000a6bf800 "i915kms", fileid=3D0xfffffe033c751900)
    at /home/dchagin/head/sys/kern/kern_linker.c:1031
#32 0xffffffff8065afbb in sys_kldload (td=3D0xfffff8000a9324c0,=20
    uap=3D0xfffffe033c751a58) at /home/dchagin/head/sys/kern/kern_linker.c:=
1057
#33 0xffffffff80b5a098 in syscallenter (td=3D0xfffff8000a9324c0,=20
    sa=3D0xfffffe033c751a48) at subr_syscall.c:133
#34 0xffffffff80b59a4f in amd64_syscall (td=3D0xfffff8000a9324c0, traced=3D=
0)
    at /home/dchagin/head/sys/amd64/amd64/trap.c:987
#35 0xffffffff80b2eacb in Xfast_syscall ()
    at /home/dchagin/head/sys/amd64/amd64/exception.S:390
#36 0x000000080088d42a in ?? ()
Previous frame inner to this frame (corrupt stack?)
Current language:  auto; currently minimal
(kgdb)=20


Sun Oct 26 23:41:48 MSK 2014
Oct 26 23:41:54 dchagin login: ROOT LOGIN (root) ON ttyv0
info: [drm] Initialized drm 1.1.0 20060810
drmn1: <Intel Haswell (M)> on vgapci1
info: [drm] MSI enabled 1 message(s)
info: [drm] AGP at 0xe0000000 256MB
iicbus0: <Philips I2C bus> on iicbb0 addr 0xff
iic0: <I2C generic I/O> on iicbus0
iic1: <I2C generic I/O> on iicbus1
iicbus2: <Philips I2C bus> on iicbb1 addr 0xff
iic2: <I2C generic I/O> on iicbus2
iic3: <I2C generic I/O> on iicbus3
iicbus4: <Philips I2C bus> on iicbb2 addr 0xff
iic4: <I2C generic I/O> on iicbus4
iic5: <I2C generic I/O> on iicbus5
iicbus6: <Philips I2C bus> on iicbb3 addr 0xff
iic6: <I2C generic I/O> on iicbus6
iic7: <I2C generic I/O> on iicbus7
iicbus8: <Philips I2C bus> on iicbb4 addr 0xff
iic8: <I2C generic I/O> on iicbus8
iic9: <I2C generic I/O> on iicbus9
iicbus10: <Philips I2C bus> on iicbb5 addr 0xff
iic10: <I2C generic I/O> on iicbus10
iic11: <I2C generic I/O> on iicbus11
iicbus12: <Philips I2C bus> on iicbb6 addr 0xff
iic12: <I2C generic I/O> on iicbus12
iic13: <I2C generic I/O> on iicbus13
info: [drm] Supports vblank timestamp caching Rev 1 (10.10.2010).
info: [drm] Driver supports precise vblank timestamp query.
XXXKIB HACK: HSW RC OFF
FDI TX state assertion failure (expected off, current on)
error: [drm:pid840:assert_fdi_rx] *ERROR* Attempting to enable FDI_RX on Ha=
swell pipe > 0
error: [drm:pid840:assert_fdi_rx] *ERROR* Attempting to enable FDI_RX on Ha=
swell pipe > 0
drmn1: taking over the fictitious range 0xe0000000-0xf0000000
info: [drm] Enabling RC6 states: RC6 off, RC6p off, RC6pp off
info: [drm] GMBUS [gmbus dpb] timed out, falling back to bit banging on pin=
 5
panic: _sx_xlock_hard: recursed on non-recursive sx gmbus @ /home/dchagin/h=
ead/sys/modules/drm2/i915kms/../../../dev/drm2/i915/intel_iic.c:370

cpuid =3D 2
Uptime: 27s
Dumping 582 out of 11954 MB:..3%..11%..22%..31%..42%..53%..61%..72%..83%..9=
1%
--=20
Have fun!
chd

--lrZ03NoBR/3+SXJZ
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iEYEARECAAYFAlRNYVMACgkQ0t2Tb3OO/O2FSwCbBTYxYNjMzEUBwaLrhtgr9jw2
Cf0AnA+YPxr/x1N/cZTUEKbYYj9eJryb
=rHJF
-----END PGP SIGNATURE-----

--lrZ03NoBR/3+SXJZ--



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