On 09/09/17(Sat) 17:49, Markus Lude wrote:
> On Sun, Aug 13, 2017 at 08:01:06PM +0200, Markus Lude wrote:
> > Hello,
> > 
> > I tried to upgrade to the recent i386 snapshot from august 12th.
> > The notebook crashed right after displaying the login prompt and
> > probably while starting X.
> > 
> > dmesg from old kernel (from june 26th) attached
> 
> > 
> > following typed in by hand:
> > 
> > uvm_fault(0xd0c54390, 0xd2f13000, 0, 1) -> e
> > kernel: page fault trap, code=0
> > Stopped at      i915_gem_pwrite_ioctl+0x621:    movl    0x34(%eax),%eax

That means that `page' is NULL in the following code:

1033:           page_do_bit17_swizzling = obj_do_bit17_swizzling &&
1034:                   (page_to_phys(page) & (1 << 17)) != 0;

And `page' is set in the loop:

1007:   for_each_sg_page(obj->pages->sgl, &sg_iter, obj->pages->nents,
1008:                    offset >> PAGE_SHIFT) {
1009:           struct vm_page *page = sg_page_iter_page(&sg_iter);


sg_page_iter_page() calls PHYS_TO_VM_PAGE() which returns NULL.

At that point I can't tell if it's an off-by-one or a VM problem. 

Reply via email to