From owner-freebsd-current Sat Sep 19 19:11:38 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id TAA08994 for freebsd-current-outgoing; Sat, 19 Sep 1998 19:11:38 -0700 (PDT) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from gneiss.eps.nagoya-u.ac.jp (gneiss.eps.nagoya-u.ac.jp [133.6.124.148]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id TAA08984 for ; Sat, 19 Sep 1998 19:11:29 -0700 (PDT) (envelope-from kato@ganko.eps.nagoya-u.ac.jp) Received: from localhost (localhost [127.0.0.1]) by gneiss.eps.nagoya-u.ac.jp (8.9.1/3.7W) with ESMTP id LAA01206 for ; Sun, 20 Sep 1998 11:11:01 +0900 (JST) To: FreeBSD-current@FreeBSD.ORG Subject: [CAM] Broken tagged queuing drive? From: KATO Takenori X-Mailer: Mew version 1.92.4 on Emacs 19.28 / Mule 2.3 (SUETSUMUHANA) X-PGP-Fingerprint: 03 72 85 36 62 46 23 03 52 B1 10 22 44 10 0D 9E Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-Id: <19980920111101H.kato@gneiss.eps.nagoya-u.ac.jp> Date: Sun, 20 Sep 1998 11:11:01 +0900 X-Dispatcher: imput version 971024 Lines: 59 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG My PC-98 box with AHA-2940UW + da2 at ahc0 bus 0 target 2 lun 0 da2: 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 | 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