Rusty Russell wrote: > On Friday 25 January 2008 09:02:53 Sam Ravnborg wrote: >> From: Tejun Heo <htejun@xxxxxxxxx> >> >> When driver modules are loaded by udev, what comes first in >> modules.alias file is selected. > > Actually, I had occasion to look at this the other day, and in the modprobe > version here every match is selected. What do you mean by "every match is selected"? > And they'll be loaded in reverse order of the module.alias file. What do you mean by 'loaded'? > Looks like Jon's latest git tree does the same. > > So, what does this patch actually fix? This patch makes kbuild generate modules.order and another patch makes depmod generate modules.alias or whatever else according to the order specified in modules.order, so that modprobe prefer modules which is earlier in the linking order. So, are you saying that modprobe chooses modules in the reverse order of modules.alias file? -- tejun - To unsubscribe from this list: send the line "unsubscribe linux-kbuild" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html