Red Hat Bugzilla – Bug 460195
Need SCSI transport and LLD netlink support.
Last modified: 2009-06-20 01:18:18 EDT
Created attachment 315023 [details]
Patch to give transport and LLDs access to SCSI netlink.
Description of problem:
The SCSI LLDs need to have access to the SCSI netlink socket. The LLDs need this support to be able to send and receive messages to applications running in user space for management purposes. The specific use case is for the lpfc driver to add DH-CHAP authentication support. The lpfc driver uses a user mode application to perform the authentication calculations.
Access the proposed patch to the fc_transport here: http://marc.info/?l=linux-scsi&m=121831854713677&w=2
Emulex will update https://bugzilla.redhat.com/show_bug.cgi?id=441746 with changes to use this patch.
The scsi netlink patch set (not fc_transport) that was referenced really needs the associated bugfix for scsi_host_lookup. See
This has been pulled into Bottomley's scsi-misc-2.6 tree.
Do you have any idea on when James might merge the netlink code into scsi-misc?
Nope. Given Q, the original requester/poster sees it as workable, I don't think there's any issue. I'll ping him.
Neither of these patches applies properly to RHEL 5.2. Please port them to 5.2 and post them here. Thanks.
I've recut the patches for the 5.2 kernel. We're busy testing them now, but as it's late in the day, we may not have results until Tuesday. I can post the un-tested patches if desired.
Yes, please post them.
Created attachment 315394 [details]
Reworked version of scsi_host_lookup() patch
Created attachment 315395 [details]
Reworked version of scsi_netlink patch
Any status on testing of the patches, Emulex?
Testing has shown that the patch is working as expected. I was able to get the lpfc driver loaded and communicating across the SCSI netlink socket without any changes to the submitted patch.
Both of the patches, corresponding to comments #11 and #12, have been pulled by James Bottomley into the scsi-misc-2.6 git tree.
You can download this test kernel from http://people.redhat.com/dzickus/el5
~~ Snapshot 3 is now available ~~
Snapshot 3 is now available for Partner Testing, which should contain a fix that resolves this bug. ISO's available as usual at ftp://partners.redhat.com. Your testing feedback is vital! Please let us know if you encounter any NEW issues (file a new bug) or if you have VERIFIED the fix is present and functioning as expected (add PartnerVerified Keyword).
Ping your Partner Manager with any additional questions. Thanks!
~~ Attention ~~ Snapshot 4 is now available for testing @ partners.redhat.com ~~
Partners, it is vital that we get your testing feedback on this important bug fix / feature request. If you are unable to test, please clearly indicate this in a comment to this bug or directly with your partner manager. If we do not receive your test feedback, this bug is at risk from being dropped from the release.
If you have VERIFIED the fix, please add PartnerVerified to the Bugzilla Keywords field, along with a description of the test results.
If you encounter a new bug, CLONE this bug and request from your Partner manager to review. We are no longer excepting new bugs into the release, bar critical regressions.
Emulex, what is the current status of this bug fix? The fix should be present in the latest RHEL5.3 Snapshot. Please test and send feedback ASAP.
Yes, it looks good.
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.