Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 23 Jun 1995 21:18:12 +1000 (EST)
From:      David Dawes <dawes@physics.usyd.edu.au>
To:        hackers@freebsd.org
Subject:   "in getcc reselect by t0" message from ncr.c
Message-ID:  <199506231118.AA16511@physics.su.oz.au>

next in thread | raw e-mail | index | archive | help
Today I noticed a few:

  in getcc reselect by t0.

messages in the dmesg output on my PCI with NCR scsi machine running
2.0.5R.  I had a look at pci/ncr.c, and it seems like this is part of
a debugging message that is incorrectly being printed out when debugging
is not enabled.  However, does this indicate any sort of problem?
I added a second SCSI disk last night, and I don't recall seeing this
message prior to then.  Everything appears to be working fine though
(I'm one of the silent majority who is highly appreciative of Stefan
and Wolfgang's work on the NCR SCSI driver).

If it helps any, this is what ncrcontrol reports:

T:L  Vendor   Device           Rev  Speed   Max Wide Tags
0:0  SEAGATE  ST31200N         9410  10.0  10.0   8    4
2:0  CONNER   CP30540 545MB3.5 B0BC  10.0  10.0   8    4
4:0  HP       HP35470A         9 09   5.0  10.0   8    -
5:0  PIONEER  CD-ROM DR-124X   1.00   4.4  10.0   8    -

BTW, I've just noticed that 'scsi -f /dev/rsd0.ctl -m 8' no longer
interprets/formats the output.  It used to work OK (a week or two
ago).  I've checked that /usr/share/misc/scsi_modes exists.  When
adding the extra disk, I modified the kernel to wire down the disks
(target 0 -> sd0, target 2 -> sd2).  I don't know if this is related or
not.  When I have a chance to reboot the old kernel I'll check that.

The following patch does what I think is intended regarding this
debugging message.

Index: src/sys/pci/ncr.c
*** 1.1.1.4	1995/06/13 12:59:32
--- ncr.c	1995/06/23 10:41:32
***************
*** 5453,5462 ****
  		**	a target reselected us.
  		**-------------------------------------------
  		*/
! 		if (DEBUG_FLAGS & DEBUG_RESTART)
  			PRINT_ADDR(cp->xfer);
  			printf ("in getcc reselect by t%d.\n",
  				INB(nc_ssid)&7);
  
  		/*
  		**	Mark this job
--- 5453,5463 ----
  		**	a target reselected us.
  		**-------------------------------------------
  		*/
! 		if (DEBUG_FLAGS & DEBUG_RESTART) {
  			PRINT_ADDR(cp->xfer);
  			printf ("in getcc reselect by t%d.\n",
  				INB(nc_ssid)&7);
+ 		}
  
  		/*
  		**	Mark this job


David



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199506231118.AA16511>