From owner-freebsd-x11@freebsd.org Sat Mar 12 12:02:19 2016 Return-Path: Delivered-To: freebsd-x11@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 39E8CACCCF0 for ; Sat, 12 Mar 2016 12:02:19 +0000 (UTC) (envelope-from jean-sebastien.pedron@dumbbell.fr) Received: from mail.made4.biz (mail.made4.biz [IPv6:2001:41d0:2:c018::1:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 05E2FF1B for ; Sat, 12 Mar 2016 12:02:18 +0000 (UTC) (envelope-from jean-sebastien.pedron@dumbbell.fr) Received: from [176.158.145.63] (helo=magellan.dumbbell.fr) by mail.made4.biz with esmtpsa (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4.86 (FreeBSD)) (envelope-from ) id 1aeiFM-0007yM-Px for freebsd-x11@freebsd.org; Sat, 12 Mar 2016 13:02:16 +0100 Subject: Re: i915 update to Linux 3.8 ready! To: freebsd-x11@freebsd.org References: <56D9CE73.7040601@FreeBSD.org> <56DF3F20.8010208@FreeBSD.org> <56E333CD.2020404@dumbbell.fr> <56E33ABB.7070402@dumbbell.fr> From: =?UTF-8?Q?Jean-S=c3=a9bastien_P=c3=a9dron?= Message-ID: <56E40548.9030602@dumbbell.fr> Date: Sat, 12 Mar 2016 13:02:16 +0100 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0 MIME-Version: 1.0 In-Reply-To: <56E33ABB.7070402@dumbbell.fr> Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="73u7xX457bkFlib5H1cW16VsvJD9PSNh5" X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 12 Mar 2016 12:02:19 -0000 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--