Red Hat Bugzilla – Bug 121059
[PATCH] LTC7645-ipr driver should be using request_bufflen instead of bufflen in queuecommand
Last modified: 2007-11-30 17:07:01 EST
The following has be reported by IBM LTC:
ipr driver should be using request_bufflen instead of bufflen in
RHEL 3 QU2 Beta
The ipr driver is currently using scsi_cmd->bufflen in its
The correct field to use is request_bufflen. Usually these values are
but if the eh thread gets invoked due to errors, test unit readies
would be sent
to the driver in which these are not the same and request_buffer is NULL,
resulting in the ipr driver calling pci_map_single will a NULL vaddr
and a stale
bufflen.Glen, please mirror this bug to Red Hat immediately. We would
like to get this
into U2. Thanks.Created an attachment (id=3285)
Patch against current 2.4 ames bk
The attached patch fixes this bug.
Created attachment 99484 [details]
Patch to the IPR driver
The patch in comment #1 has just been committed to the RHEL3 U3
patch pool this evening (in kernel version 2.4.21-15.3.EL).
Patch confirmed in kernel-2.4.21-19.EL. Closing out.
An errata 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 the 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.