Hello,
i tried to use a tape library atached to an Adaptec 39160 for tape-out backup of my community Edition at home.
While the SCSI- Controller is shown at bootup i cant find any devices. Tape library is working fine and tested with an old Linux Server.
lsmod shows me , there is no aic7xxx driver anymore.
I found the needed kmod driver and tried to install with rpm
rpm -i kmod-aic7xxx-7.0-1.el7.elrepo.x86_64.rpm
warning: kmod-aic7xxx-7.0-1.el7.elrepo.x86_64.rpm: Header V4 DSA/SHA1 Signature, key ID baadae52: NOKEY
error: Failed dependencies:
kernel(dev_printk) = 0x18abe2e5 is needed by kmod-aic7xxx-7.0-1.el7.elrepo.x86_64
How could i install and use aic7xxx with my system?
is there a HOW-TO for installing additional drivers?
thx and greetings
i tried to use a tape library atached to an Adaptec 39160 for tape-out backup of my community Edition at home.
While the SCSI- Controller is shown at bootup i cant find any devices. Tape library is working fine and tested with an old Linux Server.
lsmod shows me , there is no aic7xxx driver anymore.
I found the needed kmod driver and tried to install with rpm
rpm -i kmod-aic7xxx-7.0-1.el7.elrepo.x86_64.rpm
warning: kmod-aic7xxx-7.0-1.el7.elrepo.x86_64.rpm: Header V4 DSA/SHA1 Signature, key ID baadae52: NOKEY
error: Failed dependencies:
kernel(dev_printk) = 0x18abe2e5 is needed by kmod-aic7xxx-7.0-1.el7.elrepo.x86_64
How could i install and use aic7xxx with my system?
is there a HOW-TO for installing additional drivers?
thx and greetings
In Hardware
Share this post:
Responses (10)
-
Accepted Answer
-
Accepted Answer
Nick Howitt wrote:
When you upgrade the kernel it is meant to go to weak-updates on any kernel it was not compiled against. It generally won't go to weak updates if it is no longer compatible. When I get home later I can try to recompile it under 7.4. If it won't compile I'd need to ask the guys at ElRepo to update the driver. In the meanwhile, during the boot up, a screen pops up where you can select the kernel. Choose an older one (not with 693 in the numbering) and it should boot to a 7.3 kernel rather than the 7.4 one.
Thanks for your fast support.
I use an older boot entry an that works with 3.10.0-514.21.2.v7.x86_64.
I plan to migrate to 7.4 in the future. So it would be nice if there is still a driver for aic7899 (Adaptec 39160)
Meanwhile I found a thread where you linked to your HOW-TO kmod build. I was able to create a virtual maschine with ClearOs 7.4 and developer envirenment. I used your script and build a driver. When I will back at home, I will try, but I think it looks good -
Accepted Answer
When you upgrade the kernel it is meant to go to weak-updates on any kernel it was not compiled against. It generally won't go to weak updates if it is no longer compatible. When I get home later I can try to recompile it under 7.4. If it won't compile I'd need to ask the guys at ElRepo to update the driver. In the meanwhile, during the boot up, a screen pops up where you can select the kernel. Choose an older one (not with 693 in the numbering) and it should boot to a 7.3 kernel rather than the 7.4 one. -
Accepted Answer
Nick Howitt wrote:
I've compiled the driver for ClearOS 7 here.
Hello Nick,
i have trouble with this kmod for aic7xxx since there was an update to ClearOs 7.3 and newer. Since then the aic7xxx.ko went to /weak-update and wont work anymore.
Now I would like to bring up my system up to date but my tape library wont work anymore.
I searched for compiling the kmod driver by myself, but im sorry, im not able to finally solve it
I would like to learn how to compile kmod drivers for ClearOs. Could you please help me?
Best Regards
syned -
Accepted Answer
The good thing about kmod drivers is that they should be independent of minor kernel upgrades, so you should be OK on all 3.10 kernels. I say should as occasionally a kernel update will break backwards compatibility. I've only seen that a couple of times with two Intel drivers. That is a good reason for others to learn to compile them as well. There there is not a single point of failure. -
Accepted Answer
-
Accepted Answer
You cannot use pre-compiled centos or el kernel modules as the ClearOS kernel is incompatible with them. You will need to compile your own from the srpm. I have a couple of generic scripts here, but see the following post for the build environment and stop before you install an editor as that is all you need. Ultimately it is the rpmbuild line which you need to execute. I may be able to build it when I get home tonight, but the more people who can build these kmod packages, the better. -
Accepted Answer
i tried to install via yum:
Install 1 Package (+1 Dependent package)
Total size: 34 M
Total download size: 34 M
Installed size: 139 M
Is this ok [y/d/N]: y
Downloading packages:
kernel-plus-3.10.0-327.4.5.el7.centos.plus.x86_64.rpm | 34 MB 00:10
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Installing : kernel-plus-3.10.0-327.4.5.el7.centos.plus.x86_64 1/2
Installing : kmod-aic7xxx-7.0-1.el7.elrepo.x86_64 2/2
Working. This may take some time ...
Done.
depmod: WARNING: /lib/modules/3.10.0-327.4.5.el7.centos.plus.x86_64/weak-updates/nvpair/znvpair/znvpair.ko needs unknown symbol spl_kmem_free
depmod: WARNING: /lib/modules/3.10.0-327.4.5.el7.centos.plus.x86_64/weak-updates/nvpair/znvpair/znvpair.ko needs unknown symbol xdrmem_create
depmod: WARNING: /lib/modules/3.10.0-327.4.5.el7.centos.plus.x86_64/weak-updates/nvpair/znvpair/znvpair.ko needs unknown symbol ddi_strtol
depmod: WARNING: /lib/modules/3.10.0-327.4.5.el7.centos.plus.x86_64/weak-updates/nvpair/znvpair/znvpair.ko needs unknown symbol spl_vmem_alloc
depmod: WARNING: /lib/modules/3.10.0-327.4.5.el7.centos.plus.x86_64/weak-updates/nvpair/znvpair/znvpair.ko needs unknown symbol spl_panic
depmod: WARNING: /lib/modules/3.10.0-327.4.5.el7.centos.plus.x86_64/weak-updates/nvpair/znvpair/znvpair.ko needs unknown symbol spl_kmem_alloc
depmod: WARNING: /lib/modules/3.10.0-327.4.5.el7.centos.plus.x86_64/weak-updates/zcommon/zcommon/zcommon.ko needs unknown symbol spl_kmem_free
depmod: WARNING: /lib/modules/3.10.0-327.4.5.el7.centos.plus.x86_64/weak-updates/zcommon/zcommon/zcommon.ko needs unknown symbol cmn_err
depmod: WARNING: /lib/modules/3.10.0-327.4.5.el7.centos.plus.x86_64/weak-updates/zcommon/zcommon/zcommon.ko needs unknown symbol spl_kmem_alloc
depmod: WARNING: /lib/modules/3.10.0-327.4.5.el7.centos.plus.x86_64/weak-updates/nvpair/znvpair/znvpair.ko needs unknown symbol spl_kmem_free
depmod: WARNING: /lib/modules/3.10.0-327.4.5.el7.centos.plus.x86_64/weak-updates/nvpair/znvpair/znvpair.ko needs unknown symbol xdrmem_create
depmod: WARNING: /lib/modules/3.10.0-327.4.5.el7.centos.plus.x86_64/weak-updates/nvpair/znvpair/znvpair.ko needs unknown symbol ddi_strtol
depmod: WARNING: /lib/modules/3.10.0-327.4.5.el7.centos.plus.x86_64/weak-updates/nvpair/znvpair/znvpair.ko needs unknown symbol spl_vmem_alloc
depmod: WARNING: /lib/modules/3.10.0-327.4.5.el7.centos.plus.x86_64/weak-updates/nvpair/znvpair/znvpair.ko needs unknown symbol spl_panic
depmod: WARNING: /lib/modules/3.10.0-327.4.5.el7.centos.plus.x86_64/weak-updates/nvpair/znvpair/znvpair.ko needs unknown symbol spl_kmem_alloc
depmod: WARNING: /lib/modules/3.10.0-327.4.5.el7.centos.plus.x86_64/weak-updates/zcommon/zcommon/zcommon.ko needs unknown symbol spl_kmem_free
depmod: WARNING: /lib/modules/3.10.0-327.4.5.el7.centos.plus.x86_64/weak-updates/zcommon/zcommon/zcommon.ko needs unknown symbol cmn_err
depmod: WARNING: /lib/modules/3.10.0-327.4.5.el7.centos.plus.x86_64/weak-updates/zcommon/zcommon/zcommon.ko needs unknown symbol spl_kmem_alloc
Error! echo
Your kernel headers for kernel 3.10.0-327.4.5.el7.centos.plus.x86_64 cannot be found at
/lib/modules/3.10.0-327.4.5.el7.centos.plus.x86_64/build or /lib/modules/3.10.0-327.4.5.el7.centos.plus.x86_64/source.
Error! echo
Your kernel headers for kernel 3.10.0-327.4.5.el7.centos.plus.x86_64 cannot be found at
/lib/modules/3.10.0-327.4.5.el7.centos.plus.x86_64/build or /lib/modules/3.10.0-327.4.5.el7.centos.plus.x86_64/source.
Verifying : kernel-plus-3.10.0-327.4.5.el7.centos.plus.x86_64 1/2
Verifying : kmod-aic7xxx-7.0-1.el7.elrepo.x86_64 2/2
Installed:
kmod-aic7xxx.x86_64 0:7.0-1.el7.elrepo
Dependency Installed:
kernel-plus.x86_64 0:3.10.0-327.4.5.el7.centos.plus
Complete!
[root@clearos ~]# modprobe aic7xxx
modprobe: FATAL: Module aic7xxx not found.
any idea how to solve ?
Please login to post a reply
You will need to be logged in to be able to post a reply. Login using the form on the right or register an account if you are new here.
Register Here »