[CentOS] Where to put the kernel driver for a Fibre Channel HBA card.

Ned Slider ned at unixmail.co.uk
Mon Dec 2 19:27:14 UTC 2013


On 02/12/13 18:53, Arun Khan wrote:
> On Mon, Dec 2, 2013 at 11:09 PM, Ned Slider <ned at unixmail.co.uk> wrote:
>>
>> BTW, you should use modprobe and modprobe -r to load and unload modules
>> rather than insmod as modprobe understands module dependencies whereas
>> insmod doesn't.
>>
>
> I tried modprobe first to insert the driver but it kept saying module
> not found.  insmod ./<driver_file_name> worked.
>
> I believe, modprobe will work if the driver is in the
> /lib/modules/$(uname -r)/  tree and the depmod has been done.
>

Correct.

> Gracias,
>
> -- Arun Khan




More information about the CentOS mailing list