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: Andreas Gustafsson <gson%gson.org@localhost>
To: christos%zoulas.com@localhost (Christos Zoulas), gnats-bugs%NetBSD.org@localhost
Cc: 
Subject: Re: kern/50060: kernel crash with i915drmksm on Intel 965Q
Date: Mon, 12 Oct 2015 15:24:30 +0300

 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);
 
 -- 
 Andreas Gustafsson, gson%gson.org@localhost
 


Home | Main Index | Thread Index | Old Index