Skip to content

Troubleshooting

Petros Koutoupis edited this page Nov 3, 2016 · 3 revisions

I am unable to remove an RPM package.

If for some reason you attempt to remove a RapidDisk RPM package and are given a scriplet execution error. Please submit a ticket in the project’s Issue Tracker detailing the RapidDisk version, exact error as it appears on the command line and Linux distribution/release.

Once you have done this, manually remove the RapidDisk RPM as showcased in the following example:

$ sudo rpm -e --noscripts rapiddisk-3.2-1.x86_64

After installing from the distro specific repository, the driver was not appropriately installed under /lib/modules.

If this occurs, you may need to manually rerun the following command (modify where appropriate):

$ sudo dkms install rapiddisk/4.0

If you are still experiencing issues, you can automate this during boot up, that is, to check if the module has been built/installed after a recent kernel update. Just append to /etc/rc.local (and before an “exit 0”, if it exists):

ls -R /lib/modules/$(uname -r)/|grep -q rapiddisk
if [ $? -ne 0 ]; then
    dkms build -m rapiddisk -v `ls /usr/src|grep rapiddisk|cut -d"-" -f2`
    dkms install -m rapiddisk -v `ls /usr/src|grep rapiddisk|cut -d"-" -f2`
    modprobe rapiddisk
    modprobe rapiddisk-cache
fi