PROBLEM: nouveau & ttm module crashes
From: Lars Callenbach
Date: Sun Jan 22 2012 - 08:13:19 EST
Hello,
I have had some problems with nouveau on my box. Loading the module
crashes Linux 3.2.1 (modprobe hangs with kernel trace). The following two
code fragments are relevant and should be changed:
1) drivers/gpu/drm/ttm/ttm_bo.c - line 1529
you should comment BUG_ON; this validation will be done two lines later
in drm_mm_takedown more gracefully. On my box this line is triggered
and results in a hang of modprobe.
2) drivers/gpu/drm/nouveau/nouveau_hw.c - line 1024
dev!=NULL but dev->vblank_enabled == NULL (is not catched and results in
Null pointer reference)
With both changes it is possible to load nouveau without kernel crashes on
my box.
Regards,
Lars
--
Empfehlen Sie GMX DSL Ihren Freunden und Bekannten und wir
belohnen Sie mit bis zu 50,- Euro! https://freundschaftswerbung.gmx.de
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/