James Bottomley wrote: > On Fri, 2009-01-23 at 09:17 -0800, Wayne Boyer wrote: >> Adds a message to the error table for an error that wasn't previously handled. >> >> Signed-off-by: Wayne Boyer <wayneb@xxxxxxxxxxxxxxxxxx> >> --- >> >> drivers/scsi/ipr.c | 2 ++ >> 1 file changed, 2 insertions(+) >> >> Index: linux-2.6/drivers/scsi/ipr.c >> =================================================================== >> --- linux-2.6.orig/drivers/scsi/ipr.c 2009-01-22 15:50:59.000000000 -0800 >> +++ linux-2.6/drivers/scsi/ipr.c 2009-01-23 08:55:23.000000000 -0800 >> @@ -354,6 +354,8 @@ >> "9076: Configuration error, missing remote IOA"}, >> {0x06679100, 0, IPR_DEFAULT_LOG_LEVEL, >> "4050: Enclosure does not support a required multipath function"}, >> + {0x06690000, 0, IPR_DEFAULT_LOG_LEVEL, >> + "4070: Logically bad written to device"}, > > Neither from the change log nor from the actual text can I tell what the > problem is ... is there a word missing (like block or sector)? > After some discussion, I've come up with a more descriptive message and better change log. Updated patch below... > James > Adds a message to the error table for an error that wasn't previously handled. In some cases the I/O Adapter will detect an error condition and mark a block as "logically bad". Signed-off-by: Wayne Boyer <wayneb@xxxxxxxxxxxxxxxxxx> --- drivers/scsi/ipr.c | 2 ++ 1 file changed, 2 insertions(+) Index: linux-2.6/drivers/scsi/ipr.c =================================================================== --- linux-2.6.orig/drivers/scsi/ipr.c 2009-01-26 12:29:01.000000000 -0800 +++ linux-2.6/drivers/scsi/ipr.c 2009-01-27 14:32:08.000000000 -0800 @@ -354,6 +354,8 @@ "9076: Configuration error, missing remote IOA"}, {0x06679100, 0, IPR_DEFAULT_LOG_LEVEL, "4050: Enclosure does not support a required multipath function"}, + {0x06690000, 0, IPR_DEFAULT_LOG_LEVEL, + "4070: Logically bad block written on device"}, {0x06690200, 0, IPR_DEFAULT_LOG_LEVEL, "9041: Array protection temporarily suspended"}, {0x06698200, 0, IPR_DEFAULT_LOG_LEVEL, -- Wayne Boyer IBM - Beaverton, Oregon LTC S/W Development - eServerIO (503) 578-5236, T/L 775-5236 -- To unsubscribe from this list: send the line "unsubscribe linux-scsi" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html