On Thu, Nov 15, 2007 at 11:35:10PM -0800, Tobin Davis wrote:

> Isn't that what depmod -a does?  Have you tried this?
> It worked fine for me a few weeks ago, but I'll try it again with a newer
> image, just to be sure.

Depmod will generate the symbol dependencies, but it'll do so by looking 
at the exported symbols. If two modules provide the same symbols it has 
no way of knowing which is the correct one to load for the module which 
requires them. The order of preference ends up being dependent on the 
order that the modules are copied into a directory, so I suspect what 
ended up happening in your test is that psb correctly loaded the new drm 
module. However, I suspect that attempting to load (say) i915 would also 
result in the new drm module being loaded, potentially along with the 
old one. The result would probably not be pretty. To avoid this 
scenario, the exported symbols in the two modules need to have different 
names and the psb driver needs modifying to reference the new names.

-- 
Matthew Garrett | [EMAIL PROTECTED]

-- 
Ubuntu-mobile mailing list
[email protected]
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-mobile

Reply via email to