[Openchrome-devel] general protection fault on rmmod via
James Simmons
jsimmons at infradead.org
Sun Apr 7 13:41:00 PDT 2013
> Hi,
>
> As I asked previously on irc - could calling ttm_bo_device_release twice in via_driver_unload be the reason of general protection fault?
>
> Full stack trace is below but what I see (and what hints me) is a double call of ttm_bo_device_release
> First in via_driver_unload
> drivers/gpu/drm/via/via_drv.c:309: ttm_bo_device_release(&dev_priv->bdev);
>
> and then in next line, ttm_global_fini is again calling ttm_bo_device_release
>
> drivers/gpu/drm/via/init_ttm.c:58: ttm_bo_device_release(bdev);
Yep you are right. I removed the extra ttm_bo_device_release call. I need
to sit down and test all the error paths as well soon. Give it a try now.
More information about the Openchrome-devel
mailing list