Red Hat Bugzilla – Bug 450645
[QLogic 4.7 bug] qla2xxx- several fixes: ioctl module and slab corruption (8.02.09-d0-rhel4.7-04)
Last modified: 2009-06-20 00:14:06 EDT
A set of patches to provide various fixes for management thru the ioctl module.
They apply cleanly to kernel-2.6.9-72.EL and have been tested at the factory.
The bulk of the changes are in the ioctl module, with minor changes for FCoE
in the driver, for instance comments or identifying speed.
FCoE usage is confined to the large OEM's at the moment, who are developing products and the
management applications support is considered critical by them.
Created attachment 308785 [details]
85xx ioctl handling.
Correct ISP84XX IOCTL handling.
- Properly handle nested data buffers in the EXT_IOCTL ReqestAdr
- Do not allocate DMA buffers for write type commands that do not
require DSDs like change configuration.
Created attachment 308786 [details]
struct size fix
Correct ISP84XX structure-size mismatch with API.
Due to size-inconsistencies and 'union' usage used within the
84XX API interface with EXIOCT, 84XX structures must be compiled
with the 'packed' pragma in order to maintain member consistency.
Created attachment 308787 [details]
84xx fw_ready fix
Correct ISP84XX logic operations in qla2x00_fw_ready().
Created attachment 308788 [details]
85xx opt rom table
Add ISP84XX to the list of supported OptionRom layout IDs.
Created attachment 308789 [details]
85xx chip verify
Correct ISP84XX verify-chip response handling.
Earlier code could trigger an infinite-retry if 1st invocation
returned a non-CS_COMPLETE status.
Created attachment 308790 [details]
85xx alloc. dump
Use IS_QLA24XX_TYPE to allocated firmware dump space.
Created attachment 308791 [details]
fix debug messages
Fixed undefined routine names in debug messages.
Created attachment 308792 [details]
84xx flash,nvram fixes
Include ISP85xx in some ioctl paths for nvram and flash handling.
Created attachment 308793 [details]
port speed reporting
Add support for supported-port-speed and actual-port-speed for 4G and 8G
In the qla2x00_query_hba_port call currently the supported port
speed is set as either 1Gb or 2Gb. This fix would set the
supported port speed for 4G and 8G HBAs.
Also modified case 4: to set port speed as 8G instead of 10G.
Created attachment 308794 [details]
Correct SRB usage-after-completion/free issues resulting in SLAB
The driver is incorrectly assuming that the 'sp' reference held
in qla2[x00|4xx]_abort_command() is valid after the mailbox
command is issued to abort the exchange. It is *not*, as the
command may be completed during interrupt context before control
is returned to the mailbox caller. This issue was seen with the
upstream driver, where 'Slab corruptions' were being detected by
the SLAB debug-allocator.
Created attachment 308795 [details]
update version: 8.02.09-d0-rhel4.7-04
Committed in 73.EL . RPMS are available at http://people.redhat.com/vgoyal/rhel4/
~ Attention: ~ Immediate attention required for this ***High Priority*** bug.
A fix for this issue should be included in the latest packages contained in
**RHEL4.7-Snapshot2**, accessible now on http://partners.redhat.com.
After you (Red Hat Partner) have verified that this issue has been addressed,
submit a comment describing the results of your test in appropriate detail,
along with which snapshot and package version tested. The bugzilla will be
updated by Red Hat Quality Engineering for you when this information has been
If this issue has not been properly fixed or you are unable to verify the issue
for any reason, please add a comment describing the most recent issues you are
experiencing, along with which snapshot and package version tested. If you are
sure the bug has not been fixed, change the status of the bug to ASSIGNED.
For IssueTracker users, submit verification results as usual; Bugzilla will be
updated by Red Hat Quality Engineering for you.
For additional information, contact your Partner Manager.
Red Hat QE Partner Management
This bug was not included in Snapshot 2 on partners.redhat.com, but is scheduled
to be included in a later Snapshot. Stay tuned for more information. Sorry.
All of these fixes verified present in kernel-2.6.9-73.EL
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.
Partners, I would like to thank you all for your participation in assuring the
quality of this RHEL 4.7 Update Release. My hat's off to you all. Thanks.