NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: kern/50060: kernel crash with i915drmksm on Intel 965Q



The following reply was made to PR kern/50060; it has been noted by GNATS.

From: christos%zoulas.com@localhost (Christos Zoulas)
To: Andreas Gustafsson <gson%gson.org@localhost>, gnats-bugs%NetBSD.org@localhost
Cc: 
Subject: Re: kern/50060: kernel crash with i915drmksm on Intel 965Q
Date: Mon, 12 Oct 2015 09:17:22 -0400

 On Oct 12,  3:24pm, gson%gson.org@localhost (Andreas Gustafsson) wrote:
 -- Subject: Re: kern/50060: kernel crash with i915drmksm on Intel 965Q
 
 | I added another bunch of printfs to track down where the
 | bus_space_unmap() call happens.
 | 
 | i915_driver_load() calls i915_gem_gtt_init(), which
 | returns a nonzero value via this return statement:
 | 
 |         ret = gtt->gtt_probe(dev, &gtt->base.total, &gtt->stolen_size,
 |                              &gtt->mappable_base, &gtt->mappable_end);
 |         if (ret)
 |                 return ret;
 | 
 | i915_driver_load() then takes the goto:
 | 
 |         if (ret)
 |                 goto out_regs;
 | 
 | And the panic happens in the inline function pci_iounmap(), which
 | calls bus_space_unmap():
 | 
 | out_regs:
 |         intel_uncore_fini(dev);
 |         intel_uncore_destroy(dev);
 |         pci_iounmap(dev->pdev, dev_priv->regs);
 
 Thanks, this is very helpful...
 
 christos
 


Home | Main Index | Thread Index | Old Index