Bug 742122 - qlcnic driver is showing as UNSIGNED driver on RHEL 6 & RHEL 6.1
Summary: qlcnic driver is showing as UNSIGNED driver on RHEL 6 & RHEL 6.1
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: kernel
Version: 6.1
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: rc
: ---
Assignee: Red Hat Kernel Manager
QA Contact: Red Hat Kernel QE team
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-09-29 06:59 UTC by manish
Modified: 2011-10-03 12:47 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-09-30 13:20:09 UTC
Target Upstream Version:


Attachments (Terms of Use)

Description manish 2011-09-29 06:59:17 UTC
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

Comment 2 Prarit Bhargava 2011-09-30 13:20:09 UTC
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.

Comment 3 manish 2011-09-30 16:27:19 UTC
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.

Comment 4 manish 2011-09-30 16:35:37 UTC
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

Comment 5 Prarit Bhargava 2011-10-03 12:47:30 UTC
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]#


Note You need to log in before you can comment on or make changes to this bug.