updating this, i did some testing on the sh file and i found where the issue is coming from.
There is two for loops (at least two that concerns me) and the code inside is never executed.
Condition is :
for dir in [23].*;do
[ -d $dir/kernel/fs ] || continue
I'm a bit lost here, what is this 23 number? it cannot be fedora number as this driver is the open source version of the fedora 17 driver.
Pretty sure if i modify the condition with a correct one everything should work properly
There is two for loops (at least two that concerns me) and the code inside is never executed.
Condition is :
for dir in [23].*;do
[ -d $dir/kernel/fs ] || continue
I'm a bit lost here, what is this 23 number? it cannot be fedora number as this driver is the open source version of the fedora 17 driver.
Pretty sure if i modify the condition with a correct one everything should work properly
2016-01-21 12:21 GMT+01:00 thibaut noah <thibaut.noah@xxxxxxxxx>:
Hello guys, got this weird error trying to install my raid driver :
Start to install the driver rr272x_1x.ko of rr272x_1x.
Finish installing the kernel module rr272x_1x.ko.
Loading rr272x_1x driver module rr272x_1x
modprobe: FATAL: Module rr272x_1x not found.
Checked with lsmod driver does not appear tough the installation is finished (checked the sh file, modprobe is running at the end).
After a little read of the sh file i can confirm that the driver is in /etc/rc.modules (it appears to be with sd_mod and that's all).
chmod on rc.modules in the sh file is successfull (chmod 755).
The failing part seems to be this :elif [ "${MODULE}" = "rr272x_1x" -o "${MODULE}" = "rr274x_3x" -o "${MODULE}" = "rr276x" -o "${MODULE}" = "rr278x" ] ; then( cd /lib/modules/for dir in [23].*; do[ -d $dir/kernel/fs ] || continueif [ -f /boot/initrd-$dir.img ]; thenmv /boot/initrd-$dir.img /boot/initrd-$dir.img.bak# do not include mvsas in initrd, as the udev and so will load the drivermkinitrd --builtin=mvsas /boot/initrd-$dir.img $direlif [ -f /boot/initramfs-$dir.img ]; thenmv /boot/initramfs-$dir.img /boot/initramfs-$dir.img.bak# do not include mvsas in initramfs, as the udev and so will load the driverdracut /boot/initramfs-$dir.img $dirfidone
Can someone give me a hint on how to do what needs to be done? I'm not familiar with drivers on unix systems so i'm a bit lost, full sh file is attached if needed, thanks.
-- users mailing list users@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org