Re: Megaraid abort errors
- From: Mark Lord <lkml@xxxxxx>
- Date: Wed, 14 Dec 2005 18:41:36 -0500
Well, there's this bug (patch below) in the megaraid driver,
but it only affects certain architectures.
* * *
The SCSI megaraid drive goes to great effort to kmap
the scatterlist buffer (if used), but then uses the
wrong pointer when copying to it afterward.
Signed-off-by: Mark Lord <lkml@xxxxxx>
--- linux-2.6.15-rc5/drivers/scsi/megaraid.c.orig 2005-12-04 00:10:42.000000000 -0500
+++ linux/drivers/scsi/megaraid.c 2005-12-07 17:41:30.000000000 -0500
@@ -664,7 +664,7 @@
sg->offset;
} else
buf = cmd->request_buffer;
- memset(cmd->request_buffer, 0, cmd->cmnd[4]);
+ memset(buf, 0, cmd->cmnd[4]);
if (cmd->use_sg) {
struct scatterlist *sg;
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Relevant Pages
- Re: PATCH: EDAC - clean up atomic stuff
... > There is a much more serious bug there as well. ... > exists is flatly impossible on x86_64 and some other architectures ... All platforms have kmap. ... send the line "unsubscribe linux-kernel" in ... (Linux-Kernel) - Re: [PATCH] Remove some divide instructions
... >other architectures may want to do other things, ... due to the assignment to __base, the shift / mask optimization does not ... optimizations do not propagate through the assignment. ... send the line "unsubscribe linux-kernel" in ... (Linux-Kernel) - Re: [bugfix] try_to_unmap_cluster() passes out-of-bounds pte to pte_unmap()
... It may be more of an issue with architectures that actually *do* do ... I don't see anyone getting motivated enough to rewrite the ... send the line "unsubscribe linux-kernel" in ... More majordomo info at http://vger.kernel.org/majordomo-info.html ... (Linux-Kernel) - Re: [Discuss][i386] Platform SMIs and their interferance with tsc based delay calibration
... We increase the delay calibration time and also identify any ... From a maintainability POV it's not good that x86 is no longer using the ... architectures must implement arch_calibrate_delay, then provide stubs for ... send the line "unsubscribe linux-kernel" in ... (Linux-Kernel) - Re: [2.6 patch] kill include/linux/platform.h
... present on all architectures or whether it's an architecture-specific ... required by cleaning up warnings with the -Wmissing-prototypes compiler ... There had been need of rain for many days. ... send the line "unsubscribe linux-kernel" in ... (Linux-Kernel) |
|