Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 20 Sep 1998 11:11:01 +0900
From:      KATO Takenori <kato@ganko.eps.nagoya-u.ac.jp>
To:        FreeBSD-current@FreeBSD.ORG
Subject:   [CAM] Broken tagged queuing drive?
Message-ID:  <19980920111101H.kato@gneiss.eps.nagoya-u.ac.jp>

next in thread | raw e-mail | index | archive | help
My PC-98 box with AHA-2940UW +

  da2 at ahc0 bus 0 target 2 lun 0
  da2: <SAMSUNG WN321010S 1224> Fixed Direct Access SCSI2 device 
  da2: 10.0MB/s transfers (10.0MHz, offset 15)
  da2: 2059MB (4218750 512 byte sectors: 8H 32S/T 16478C)

dies with following message:

(da2:ahc0:0:2:0) tagged openings now 32
(da2:ahc0:0:2:0): SCB 0xe - timed out while idle, LASTPHASE == 0x1, SCSISIGI == 0x0
SEQADDR == 0x9
SSTAT1 == 0xa
(da2:ahc0:0:2:0): Queuing a BDR SCB
(da2:ahc0:0:2:0): Bus Device Reset Message Sent
(da2:ahc0:0:2:0): no longer in timeout, status = 34c
ahc_intr: AWAITING_MSG for an SCB that does not have a waiting messagepanic:: SCB = 14, SCB Control = 0, MSG_OUT = ff SCB flags = 0
Debugger("panic")
Stooped at      _Debugger+0x35: movb    $0,_in_Debugger.98
db> trace
_Debugger(f013c88b) at _Debugger+0x35
_panic(f0117ff2,e,0,ff,0) at _panic+0x6f
_ahc_handle_seqint(f07df000,a1) at _ahc_handle_seqint+0xdf6
_ahc_intr(f07df000,80000000,10,f07d0010,f26bab93) at _ahc_intr+0x1ef
Xresume6() at Xresume6+0x2b
--- interrupt, eip = 0xf01dd09d, esp = 0xf4587dac, ebp = 0xf4587de0 ---
_generic_copyin(f26ba93,5d,f457f30,e,f45902e0) at _generic_copyin+0x29
_ffs_write(f4587eac,74,0,f4567600,f4587f7c) at _ffs_write+0x503
_vn_write(f0832b40,f4587f30,f07d5880,f4567600,f0207118) at _vn_write+0xef
_writev(f4567600,f4587f84,7,efbfd338,15cd7) at _writev+0x15b
_syscall(20090027,efbf0027,15cd7,efbfd338,efbfd340) at _syscall+0x187
_Xsyscall() at _Xsyscall++0x35
--- syscall 0x79, eip = 0x20064e21, esp = 0xefbfcdb0, ebp = 0xefbfd340 ---

Does the SAMSUNG WN321010S drive have broken tagged queuing?  I
applied following patch and it seems to work for me:

*** cam_xpt.c.orig	Sat Sep 19 22:40:59 1998
--- cam_xpt.c	Sat Sep 19 22:41:41 1998
***************
*** 260,265 ****
--- 260,270 ----
  		/*quirks*/0, /*mintags*/0, /*maxtags*/0
          },
          {
+ 		/* Broken tagged queuing drive */
+                 { T_DIRECT, SIP_MEDIA_FIXED, "SAMSUNG", "WN321010S*", "*" },
+ 		/*quirks*/0, /*mintags*/0, /*maxtags*/0
+         },
+         {
  		/* Doesn't understand EVP Serial Requests */
  		{
  			T_CDROM, SIP_MEDIA_REMOVABLE,

-----------------------------------------------+--------------------------+
Kato Takenori <kato@ganko.eps.nagoya-u.ac.jp>  |        FreeBSD           |
Dept. Earth Planet. Sci, Nagoya Univ.          |    The power to serve!   |
Nagoya, 464-8602, Japan                        |  http://www.FreeBSD.org/ |
++++ FreeBSD(98) 2.2.7: Rev. 01 available!     +==========================+

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message



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