From owner-freebsd-current@FreeBSD.ORG Mon Jul 22 19:39:01 2013 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 9C70BD9A for ; Mon, 22 Jul 2013 19:39:01 +0000 (UTC) (envelope-from gperez@entel.upc.edu) Received: from dash.upc.es (dash.upc.es [147.83.2.50]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 2DFA72079 for ; Mon, 22 Jul 2013 19:39:00 +0000 (UTC) Received: from ackerman2.upc.es (ackerman2.upc.es [147.83.2.244]) by dash.upc.es (8.14.1/8.13.1) with ESMTP id r6MJcwuO002620 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL); Mon, 22 Jul 2013 21:38:58 +0200 Received: from [192.168.1.184] (174.Red-79-153-75.dynamicIP.rima-tde.net [79.153.75.174]) (authenticated bits=0) by ackerman2.upc.es (8.14.4/8.14.4) with ESMTP id r6MJcuNX019070 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO); Mon, 22 Jul 2013 21:38:57 +0200 Message-ID: <51ED8A4F.8050506@entel.upc.edu> Date: Mon, 22 Jul 2013 21:38:55 +0200 From: =?ISO-8859-1?Q?Gustau_P=E9rez_i_Querol?= User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/20130322 Thunderbird/17.0.4 MIME-Version: 1.0 To: Konstantin Belousov Subject: Re: Panic when starting X with Intel KMS 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> In-Reply-To: <20130722111940.GK5991@kib.kiev.ua> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Scanned-By: MIMEDefang 2.70 on 147.83.2.244 X-Mail-Scanned: Criba 2.0 + Clamd X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-3.0 (dash.upc.es [147.83.2.50]); Mon, 22 Jul 2013 21:38:58 +0200 (CEST) Cc: 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 19:39:01 -0000 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 = atop(start); > if (pi >= first_page && atop(end) < vm_page_array_size) { > fp = &vm_page_array[pi - first_page]; > + for (i = 0; i < page_count; i++) > + fp[i].flags = 0; > malloced = 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 -- Salut i força, 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érez i Querol O O O Unitat de Gestió dels departaments O O O Matemàtica Aplicada IV i Enginyeria Telemàtica Universitat Politècnica de Catalunya Edifici C3 - Despatx S101-B UPC Campus Nord UPC C/ Jordi Girona, 1-3 08034 - Barcelona