Re: Panic when starting X with Intel KMS

From: Neel Natu <neelnatu_at_gmail.com>
Date: Mon, 22 Jul 2013 14:27:38 -0700
Hi Gustau,

On Mon, Jul 22, 2013 at 12:38 PM, Gustau Pérez i Querol
<gperez_at_entel.upc.edu> 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
>> _at__at_ -547,6 +547,8 _at__at_ 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
>

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ç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
>
> _______________________________________________
> freebsd-current_at_freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe_at_freebsd.org"
Received on Mon Jul 22 2013 - 19:27:39 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:39 UTC