Hide Forgot
qlcnic driver is showing as UNSIGNED driver on RHEL 6 & RHEL 6.1 kernel version: 2.6.32-71.el6.x86_64 it reproduces every time steps to reproduce: 1.Unatar the src of Driver hp-qlcnic-src-5.0.22.tgz (use Dell & QLOGIC pkg for respective v5.0.22) 2. Under the src pkg of rhel6 or rhel6.1 3. execute the below command make -C /lib/modules/$(uname -r)/build M=$(pwd) modules CONFIG_QLCNIC=m make: Entering directory `/usr/src/kernels/2.6.32-71.el6.x86_64' CC [M] /builds/HP-DDKIT/qlcnic-5.0.22-HP/qlcnic-5.0.22-src/qlcnic-5.0.22/qlcnic_hw.o CC [M] /builds/HP-DDKIT/qlcnic-5.0.22-HP/qlcnic-5.0.22-src/qlcnic-5.0.22/qlcnic_main.o CC [M] /builds/HP-DDKIT/qlcnic-5.0.22-HP/qlcnic-5.0.22-src/qlcnic-5.0.22/qlcnic_init.o CC [M] /builds/HP-DDKIT/qlcnic-5.0.22-HP/qlcnic-5.0.22-src/qlcnic-5.0.22/qlcnic_ethtool.o CC [M] /builds/HP-DDKIT/qlcnic-5.0.22-HP/qlcnic-5.0.22-src/qlcnic-5.0.22/qlcnic_ctx.o LD [M] /builds/HP-DDKIT/qlcnic-5.0.22-HP/qlcnic-5.0.22-src/qlcnic-5.0.22/qlcnic.o Building modules, stage 2. MODPOST 1 modules CC /builds/HP-DDKIT/qlcnic-5.0.22-HP/qlcnic-5.0.22-src/qlcnic-5.0.22/qlcnic.mod.o LD [M] /builds/HP-DDKIT/qlcnic-5.0.22-HP/qlcnic-5.0.22-src/qlcnic-5.0.22/qlcnic.ko.unsigned NO SIGN [M] /builds/HP-DDKIT/qlcnic-5.0.22-HP/qlcnic-5.0.22-src/qlcnic-5.0.22/qlcnic.ko Observe that in second last line qlcnic.ko is showing as unsigned. Observation:- Same issue seen on RHEL 6 also. Additional info: driver is getting loaded but on compilation it is showing unsigned
That's because Red Hat only signs drivers built by Red Hat. The code is doing exactly what it should be doing and indicating that you are loading a non-Red Hat driver. P.
hi pratit, So is there any way to load external driver ? thanx Manish > That's because Red Hat only signs drivers built by Red Hat. The code is doing > exactly what it should be doing and indicating that you are loading a non-Red > Hat driver. > > P.
I mean this similar problem has also seen with rhel5.7 kernel version - 2.6.18-274 on x86_64 where driver is not loading due to unsigned module. so can we have a proper way to insert a external module in the kernel? thanx Manish
modprobe or insmod should work. [root@amd-dinar-06 ~]# uname -a Linux amd-dinar-06.lab.bos.redhat.com 2.6.32-202.el6.x86_64 #1 SMP Wed Sep 21 15:27:03 EDT 2011 x86_64 x86_64 x86_64 GNU/Linux [root@amd-dinar-06 ~]# cd /home/prarit_modules/ [root@amd-dinar-06 prarit_modules]# modinfo prarit.ko filename: prarit.ko license: GPL srcversion: A6D8D824058745E3066802B depends: vermagic: 2.6.32 SMP mod_unload modversions parm: prarit_arg:An argument for this module (int) [root@amd-dinar-06 prarit_modules]# insmod prarit.ko This module has loaded. [root@amd-dinar-06 prarit_modules]#