Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 742122

Summary: qlcnic driver is showing as UNSIGNED driver on RHEL 6 & RHEL 6.1
Product: Red Hat Enterprise Linux 6 Reporter: manish <manish.chopra>
Component: kernelAssignee: Red Hat Kernel Manager <kernel-mgr>
Status: CLOSED NOTABUG QA Contact: Red Hat Kernel QE team <kernel-qe>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.1CC: cdupuis, GR-Linux-NIC-Dev
Target Milestone: rc   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-09-30 13:20:09 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

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]#