Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 12 Mar 2016 13:02:16 +0100
From:      =?UTF-8?Q?Jean-S=c3=a9bastien_P=c3=a9dron?= <jean-sebastien.pedron@dumbbell.fr>
To:        freebsd-x11@freebsd.org
Subject:   Re: i915 update to Linux 3.8 ready!
Message-ID:  <56E40548.9030602@dumbbell.fr>
In-Reply-To: <56E33ABB.7070402@dumbbell.fr>
References:  <56D9CE73.7040601@FreeBSD.org> <56DF3F20.8010208@FreeBSD.org> <CAMODbk=JihgYOQ_PHUmeDrOg4fQ8FmXY18T2ZHm-JJk70YEc4w@mail.gmail.com> <56E333CD.2020404@dumbbell.fr> <CAMODbkkUNk6HJxVLRAL42E9UBqb1rMKoKao5tye1uL2-EqRJcw@mail.gmail.com> <56E33ABB.7070402@dumbbell.fr>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--73u7xX457bkFlib5H1cW16VsvJD9PSNh5
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable

On 11/03/2016 22:38, Jean-S=C3=A9bastien P=C3=A9dron wrote:
> On 11/03/2016 22:32, Frederic Chardon wrote:
>>> Could you please send the whole core.txt.$n?
>>
>> Unfortunately no, I just have the full coredump. What should I do to g=
et it?
>=20
> You can use crashinfo(8). Something like:
>   crashinfo -k /path/to/kernel

FYI, after off-list debugging, there are two problems:

    1. The i915 page fault handler didn't handle the -ERESTARTSYS error
       code returned by __wait_seqno() in case of a signal, causing the
       page fault to fai instead of being restarted. This is fixed in
       r296720.

    2. Both the TTM and i915 page fault handlers remove the old page
       before trying to service the fault. If the faul handling fails,
       the page is NULL, causing the kernel to dereference a NULL
       pointer. This is the panic reported by Fr=C3=A9d=C3=A9ric. A solut=
ion is
       being discussed.

Note that after the fix in r296720, the i915 page fault handler will
succeed in this situation, so the panic described in #2 will not happen.

--=20
Jean-S=C3=A9bastien P=C3=A9dron


--73u7xX457bkFlib5H1cW16VsvJD9PSNh5
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

iQJ8BAEBCgBmBQJW5AVIXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ2NzA4N0ZEMUFFQUUwRTEyREJDNkE2RjAz
OUU5OTc2MUE1RkQ5NENDAAoJEDnpl2Gl/ZTMPZIP/26vciKgVH8y6C/3VtgAh/Yc
XAPL2uCeQjGosxjXVm96zx9ty0Wa7Fa9/QCTbj7F9XsTf/NKrJSRK62Ma0HAU3Ef
nFcW9M+n0viiCvPzBzCDs2jj+DaxroiFDNtZNWGr+mIfQvVaK2Xf4s4GjvCRjTs+
qulOnkCdO67wWr1Dczt4een78SGywI4YH/SNQ5PvLK+T5y5WT2Kr9Hq/rAcfyRFM
OmhNvTgMw6Jb/2X7sWSHWiMDpETsRHB2xiDpR8Ny5MumFG/H0ylAe0HPtreKM2ty
GhxDY7K1qQel2NuhfY2at45lbZKwUUP78v8XtEZ2/O/R4L81RfZRl1mDlKGtFo1Q
rKeolE2JU7nq3/6+1DrQJYWzEs0lfDkEoRw4BMdiU2476zuLuV0R2+KBmZW9LMQx
A4FX+rouKPRDiznZEg/FOaAovcrleHVnprje9C4S0VCLCKxks9EIUaz3+5EXnMGi
wg1QYAiBOvb7s7ySqASyUjmMcZqqMtpY84PuGTYS9+N1qR0VpN/huPPtv6e5hto8
O6c2kkuRr5YVA75b08CjDPul2uIzTOkRrJfIoLj1W0T5pttUpY8ttZPweeCp3P2H
Lgaf/Px//ErSMcxOeOrjkKGosqHA+UafmMOKvZrfTMtOZFZlWQQ2pR4jyx2fdokc
xVRt+RzUxYhMCpWf6Cq7
=qmdJ
-----END PGP SIGNATURE-----

--73u7xX457bkFlib5H1cW16VsvJD9PSNh5--



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