Panic when starting X with Intel KMS
Konstantin Belousov
kostikbel at gmail.com
Mon Jul 22 11:19:48 UTC 2013
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
?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 834 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-current/attachments/20130722/5b151cef/attachment.sig>
More information about the freebsd-current
mailing list