Re: [PATCH 12/77] kbuild: implement modules.order

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

[Index of Archives]     [Linux&nblp;USB Development]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite Secrets]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux