[PATCH] sym53c8xx phase change log suppression

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I get a huge number of these phase change entries in syslog, just about
with ever SCSI transfer. That's with a scanner anyway, on AMD64. As they
seem to be harmless, this patch allows to prevent syslog being filled
by using verb=0. Perhaps verb=1 should also suppress it?

Thanks,

Volker


--- linux-2.6.13-15.7/drivers/scsi/sym53c8xx_2/sym_hipd.c.orig	2005-08-29 11:41:01.000000000 +1200
+++ linux-2.6.13-15.7/drivers/scsi/sym53c8xx_2/sym_hipd.c	2006-01-12 22:46:15.000000000 +1300
@@ -2556,6 +2556,11 @@ static void sym_int_ma (struct sym_hcb *
 	 *  if old phase not dataphase, leave here.
 	 */
 	if (cmd & 2) {
+		/* Huge number of these phase changes logged in normal use
+		   (at least with a scanner).
+		   Allow to suppress with verb=0.
+		   Volker Kuhlmann, VolkerKuhlmann@xxxxxx 12 Jan 2006 */
+		if (sym_verbose >= 1)
 		sym_print_addr(cp->cmd,
 			"phase change %x-%x %d@%08x resid=%d.\n",
 			cmd&7, INB(np, nc_sbcl)&7, (unsigned)olen,

-- 
Volker Kuhlmann			is possibly list0570 with the domain in header
http://volker.dnsalias.net/		Please do not CC list postings to me.
-
: 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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]
  Powered by Linux