Drivers installed correctly and working but not loading again after reboot

General support questions
Post Reply
Eri
Posts: 2
Joined: 2017/09/24 19:35:07

Drivers installed correctly and working but not loading again after reboot

Post by Eri » 2017/09/24 19:48:10

Using CentOS 7 - I have downloaded and installed ATTO Linux OS driver for ExpressSAS RAID adapter (here), the installation finished without any problems and the disks appeared as they should which means that the driver works.

Now to the problem: The driver is not loaded again after a reboot, the manual says
"Loading the driver, Type the following to manually load the module:"
$ modprobe esas2raid
This returns "modprobe: FATAL: module esas2raid not found". Furthermore, the documentation also say:
"On some Linux distributions, the driver may not load automatically when the system is booted. To enable this behavior, try the following suggestions:

Recommended for Red Hat 5 & 6:

Add the following line to /etc/modprobe.conf after installing the driver:

alias scsi_hostadapterX esas2raid
But there is no such config file in CentOS 7. I have tried to create one, naming it modprobe.conf and put it in /etc/modprobe.d but that is most probably the wrong way to do it.

I had a look in /lib/modules/kernel_version/kernel/drivers/scsi/ and there I could find esas2raid.ko - everything seems to be on place but clearly I am missing something to make the driver load everytime I reboot.

Output from dracut -f -v:

Executing: /sbin/dracut -f -v
dracut module 'busybox' will not be installed, because command 'busybox' could not be found!
dracut module 'busybox' will not be installed, because command 'busybox' could not be found!
*** Including module: bash ***
*** Including module: nss-softokn ***
*** Including module: i18n ***
*** Including module: network ***
*** Including module: ifcfg ***
*** Including module: drm ***
*** Including module: plymouth ***
*** Including module: dm ***
Skipping udev rule: 64-device-mapper.rules
Skipping udev rule: 60-persistent-storage-dm.rules
Skipping udev rule: 55-dm.rules
*** Including module: kernel-modules ***
*** Including module: lvm ***
Skipping udev rule: 64-device-mapper.rules
Skipping udev rule: 56-lvm.rules
Skipping udev rule: 60-persistent-storage-lvm.rules
*** Including module: resume ***
*** Including module: rootfs-block ***
*** Including module: terminfo ***
*** Including module: udev-rules ***
Skipping udev rule: 40-redhat-cpu-hotplug.rules
Skipping udev rule: 91-permissions.rules
*** Including module: biosdevname ***
*** Including module: systemd ***
*** Including module: usrmount ***
*** Including module: base ***
*** Including module: fs-lib ***
*** Including module: shutdown ***
*** Including modules done ***
*** Installing kernel module dependencies and firmware ***
*** Installing kernel module dependencies and firmware done ***
*** Resolving executable dependencies ***
*** Resolving executable dependencies done***
*** Hardlinking files ***
*** Hardlinking files done ***
*** Stripping files ***
*** Stripping files done ***
*** Generating early-microcode cpio image contents ***
*** Constructing GenuineIntel.bin ****
*** Store current command line parameters ***
*** Creating image file ***
*** Creating microcode section ***
*** Created microcode section ***
*** Creating image file done ***
*** Creating initramfs image file '/boot/initramfs-3.10.0-693.2.2.el7.x86_64.img' done ***

I'll guess I have to manually add them to so they load on every reboot, but how? Any help is very appreciated!

tunk
Posts: 1205
Joined: 2017/02/22 15:08:17

Re: Drivers installed correctly and working but not loading again after reboot

Post by tunk » 2017/09/25 09:17:38

Does this help: https://access.redhat.com/documentation ... ading.html
Or maybe put it in /etc/rc.d/rc.local.

Eri
Posts: 2
Joined: 2017/09/24 19:35:07

Re: Drivers installed correctly and working but not loading again after reboot

Post by Eri » 2017/10/02 19:44:39

tunk wrote:Does this help: https://access.redhat.com/documentation ... ading.html
Or maybe put it in /etc/rc.d/rc.local.
Tried both ot this without any success, the driver is still not loading on reboot. Tried to reinstall it and it indeed worked fine until next reboot where the disks are not visible anymore due to the driver not loading.

I can see it in /lib/modules/3.10.0-514.el7.x86_65/kernel/drivers/scsi/esas2raid.ko

Also tried insmod it but it returns "insmod could not insert module invalid parameters".

Post Reply