From owner-freebsd-current@FreeBSD.ORG Mon Jul 22 21:27:39 2013 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 360D2D05 for ; Mon, 22 Jul 2013 21:27:39 +0000 (UTC) (envelope-from neelnatu@gmail.com) Received: from mail-ie0-x22f.google.com (mail-ie0-x22f.google.com [IPv6:2607:f8b0:4001:c03::22f]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 0962D25E1 for ; Mon, 22 Jul 2013 21:27:38 +0000 (UTC) Received: by mail-ie0-f175.google.com with SMTP id a11so16766675iee.34 for ; Mon, 22 Jul 2013 14:27:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=UfF/pcaZLspNm2z8yoB1IxEbAUpQJ1zw+DCeSd2DobA=; b=nxlWR7hmLof9XlkEt67ZStv5f7+s7dAE5/7SHR+C4usBz7p4H2LnWXhqcrUcevbsY0 7881HcJfGWTJPbN13w2WAHS44ytpMFUBNwq6xRKz+PBZz7OotHsXfKJ6OufD6VaNXZgG 0riZkF98/K/+Og94dLA9MihsYocJiIZtgQFbfe6kebTzAiIk53GVvr2QjKemk6Gx32YB TPOh7ncfTisgXgo+vUj2zdf5MAmuRJgAb94R4WrI82Ng9wkgGLnlKahlpdteBo68Bhoa HsN2lHrA8hIQsTA5t6UCrx9smth8PjXAxyMtqiXAKgCLmjbeZVBmidqlOzjMnl7y4p8O a4yw== MIME-Version: 1.0 X-Received: by 10.50.11.13 with SMTP id m13mr20341248igb.32.1374528458542; Mon, 22 Jul 2013 14:27:38 -0700 (PDT) Received: by 10.42.151.74 with HTTP; Mon, 22 Jul 2013 14:27:38 -0700 (PDT) In-Reply-To: <51ED8A4F.8050506@entel.upc.edu> References: <51E6EB0A.2060407@entel.upc.edu> <51EA5166.4020508@entel.upc.edu> <20130721071842.GZ5991@kib.kiev.ua> <51EBAA76.8020100@entel.upc.edu> <20130721185145.GE5991@kib.kiev.ua> <51EC43BA.1000800@entel.upc.edu> <51ED0CEC.80307@entel.upc.edu> <20130722111940.GK5991@kib.kiev.ua> <51ED8A4F.8050506@entel.upc.edu> Date: Mon, 22 Jul 2013 14:27:38 -0700 Message-ID: Subject: Re: Panic when starting X with Intel KMS From: Neel Natu To: =?ISO-8859-1?Q?Gustau_P=E9rez_i_Querol?= Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: Konstantin Belousov , FreeBSD current X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Jul 2013 21:27:39 -0000 Hi Gustau, On Mon, Jul 22, 2013 at 12:38 PM, Gustau P=E9rez i Querol wrote: > Al 22/07/2013 13:19, En/na Konstantin Belousov ha escrit: > >> On Mon, Jul 22, 2013 at 12:43:56PM +0200, Gustau P??rez i Querol wrote: >>>>> >>>>> As a blind shot, try to >>>>> revert r252653. >>> >>> r252652 works OK. r252653 panics. >> >> What if, instead of reverting r252653, apply the following: >> >> diff --git a/sys/vm/vm_phys.c b/sys/vm/vm_phys.c >> index 66f3b0c..78f07f7 100644 >> --- a/sys/vm/vm_phys.c >> +++ b/sys/vm/vm_phys.c >> @@ -547,6 +547,8 @@ vm_phys_fictitious_reg_range(vm_paddr_t start, >> vm_paddr_t end, >> pi =3D atop(start); >> if (pi >=3D first_page && atop(end) < vm_page_array_size) { >> fp =3D &vm_page_array[pi - first_page]; >> + for (i =3D 0; i < page_count; i++) >> + fp[i].flags =3D 0; >> malloced =3D FALSE; >> } else >> #endif >> >> ? > > > After applying the patch the system panics for the same reason and the > KASSERT didn't evaluate like before. The count now when the system panics > seem to have been overflowed again, you can find the core at: > > https://dl.dropboxusercontent.com/u/2094962/core.txt.6 > Could you apply the following patch to amd64/amd64/pmap.c and see if it fixes the problem: http://people.freebsd.org/~neel/patches/pmap_remove_pages.patch best Neel > > > > > > > > -- > Salut i for=E7a, > > Gustau > > -------------------------------------------------------------------------= -- > Prou top-posting : http://ca.wikipedia.org/wiki/Top-posting > Stop top-posting : http://en.wikipedia.org/wiki/Posting_style > > O O O Gustau P=E9rez i Querol > O O O Unitat de Gesti=F3 dels departaments > O O O Matem=E0tica Aplicada IV i Enginyeria Telem=E0tica > > Universitat Polit=E8cnica de Catalunya > Edifici C3 - Despatx S101-B > UPC Campus Nord UPC > C/ Jordi Girona, 1-3 > 08034 - Barcelona > > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org= "