If a scsi device reports less than 36 bytes of standard inquiry data, scsi core logs a KERN_INFO printk indicating this. It was observed that this results in lots of clutter in the log on systems with devices that respond to a SCSI Inquiry with PQ=3 or PQ=1 with less than 36 bytes of inquiry data, such as ibmvscsi. Disable this log by default. Signed-off-by: Brian King <brking@xxxxxxxxxxxxxxxxxx> --- drivers/scsi/scsi_scan.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff -puN drivers/scsi/scsi_scan.c~scsi_scan_short_inq_log drivers/scsi/scsi_scan.c --- linux-2.6/drivers/scsi/scsi_scan.c~scsi_scan_short_inq_log 2007-04-02 15:10:46.000000000 -0500 +++ linux-2.6-bjking1/drivers/scsi/scsi_scan.c 2007-04-02 15:13:39.000000000 -0500 @@ -662,8 +662,8 @@ static int scsi_probe_lun(struct scsi_de * strings. */ if (sdev->inquiry_len < 36) { - printk(KERN_INFO "scsi scan: INQUIRY result too short (%d)," - " using 36\n", sdev->inquiry_len); + SCSI_LOG_SCAN_BUS(1, printk(KERN_INFO "scsi scan: INQUIRY result too" + " short (%d), using 36\n", sdev->inquiry_len)); sdev->inquiry_len = 36; } _ - 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