From owner-freebsd-scsi Thu Oct 31 17:20: 1 2002 Delivered-To: freebsd-scsi@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2DBAB37B401 for ; Thu, 31 Oct 2002 17:19:55 -0800 (PST) Received: from kashmir.etowns.net (dsl-65-184-96-65.telocity.com [65.184.96.65]) by mx1.FreeBSD.org (Postfix) with ESMTP id E2D4A43E6E for ; Thu, 31 Oct 2002 17:19:48 -0800 (PST) (envelope-from somebody@kashmir.etowns.net) Received: from hurd1.kashmir.etowns.net (hurd1 [192.168.0.41]) by kashmir.etowns.net (8.12.6/8.12.6) with ESMTP id gA11JlaW009885 for ; Thu, 31 Oct 2002 17:19:47 -0800 (PST) (envelope-from somebody@kashmir.etowns.net) Received: (from somebody@localhost) by hurd1.kashmir.etowns.net (8.12.6/8.12.6/Submit) id gA11JjAd057491 for scsi@freebsd.org; Thu, 31 Oct 2002 17:19:45 -0800 (PST) Date: Thu, 31 Oct 2002 17:19:45 -0800 From: ANYBODY To: scsi@freebsd.org Subject: adaptec ahc : seagate da : current Message-ID: <20021101011945.GA56589@hurd1.kashmir.etowns.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.1i Sender: owner-freebsd-scsi@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org I posted this message on freebsd-current a couple of days back forgot to post it here just realised so am doing it now. -----------------original message ------------------------------ Hi, I am running current cvsuped within this week. I have an adaptec builtin scsi controller and a seagate drive attached to it and after every bootup as soon as there is heavy disk activity the drive gets disabled for 1 or 2 minutes and meanwhile all functionality RELATED to disk I/O freezes for this time duration eventually I see the following messages on console and every thing is hunky dorry again. Have had this problem ever since I upgraded to current. Stable never had any problem. neither did netbsd which ran on this machine for a little while. Can anyone familiar with this device driver comment. Is it also coincidentally possible that the disk starts showing its age right when I switched to current .... nah too much of coincidence. anyway here are the messages: (da0:ahc0:0:3:0): SCB 0x1c - timed out ahc0: Dumping Card State while idle, at SEQADDR 0x9 ACCUM = 0x0, SINDEX = 0x21, DINDEX = 0xe4, ARG_2 = 0x0 HCNT = 0x0 SCBPTR = 0x10 SCSISEQ = 0x12, SBLKCTL = 0x6 DFCNTRL = 0x0, DFSTATUS = 0x89 LASTPHASE = 0x1, SCSISIGI = 0x0, SXFRCTL0 = 0x80 SSTAT0 = 0x0, SSTAT1 = 0xa STACK == 0x0, 0x165, 0x10d, 0x3 SCB count = 70 Kernel NEXTQSCB = 26 Card NEXTQSCB = 26 QINFIFO entries: Waiting Queue entries: Disconnected Queue entries: 31:66 17:28 27:3 5:48 7:15 24:9 8:35 10:49 9:56 28:0 3:32 29:39 6:24 21:2 18:53 13:7 20:12 25:42 0:47 26:51 30:18 11:45 22:30 2:5 23 :13 19:25 14:11 15:52 4:40 1:46 12:34 QOUTFIFO entries: Sequencer Free SCB List: 16 Sequencer SCB Info: 0(c 0x64, s 0x37, l 0, t 0x2f) 1(c 0x64, s 0x37, l 0, t 0x2e ) 2(c 0x64, s 0x37, l 0, t 0x5) 3(c 0x64, s 0x37, l 0, t 0x20) 4(c 0x64, s 0x37, l 0, t 0x28) 5(c 0x64, s 0x37, l 0, t 0x30) 6(c 0x64, s 0x37, l 0, t 0x18) 7(c 0x64, s 0x37, l 0, t 0xf) 8(c 0x64, s 0x37, l 0, t 0x23) 9(c 0x64, s 0x37, l 0, t 0x38) 10(c 0x64, s 0x37, l 0, t 0x31) 11(c 0x64, s 0x37, l 0, t 0x2d) 12(c 0x6 4, s 0x37, l 0, t 0x22) 13(c 0x64, s 0x37, l 0, t 0x7) 14(c 0x64, s 0x37, l 0, t 0xb) 15(c 0x64, s 0x37, l 0, t 0x34) 16(c 0x60, s 0x37, l 0, t 0xff) 17(c 0x64, s 0x37, l 0, t 0x1c) 18(c 0x64, s 0x37, l 0, t 0x35) 19(c 0x64, s 0x37, l 0, t 0x19) 20(c 0x64, s 0x37, l 0, t 0xc) 21(c 0x64, s 0x37, l 0, t 0x2) 22(c 0x64, s 0x37, l 0, t 0x1e) 23(c 0x64, s 0x37, l 0, t 0xd) 24(c 0x64, s 0x37, l 0, t 0x9 ) 25(c 0x64, s 0x37, l 0, t 0x2a) 26(c 0x64, s 0x37, l 0, t 0x33) 27(c 0x64, s 0 x37, l 0, t 0x3) 28(c 0x64, s 0x37, l 0, t 0x0) 29(c 0x64, s 0x37, l 0, t 0x27) 30(c 0x64, s 0x37, l 0, t 0x12) 31(c 0x64, s 0x37, l 0, t 0x42) Pending list: 66(c 0x60, s 0x37, l 0), 3(c 0x60, s 0x37, l 0), 36(c 0x64, s 0x37 , l 0), 48(c 0x60, s 0x37, l 0), 69(c 0x64, s 0x37, l 0), 58(c 0x64, s 0x37, l 0 ), 20(c 0x64, s 0x37, l 0), 15(c 0x60, s 0x37, l 0), 9(c 0x60, s 0x37, l 0), 21( c 0x64, s 0x37, l 0), 35(c 0x60, s 0x37, l 0), 17(c 0x64, s 0x37, l 0), 14(c 0x6 4, s 0x37, l 0), 57(c 0x64, s 0x37, l 0), 16(c 0x64, s 0x37, l 0), 10(c 0x64, s 0x37, l 0), 54(c 0x64, s 0x37, l 0), 8(c 0x64, s 0x37, l 0), 49(c 0x60, s 0x37, l 0), 37(c 0x64, s 0x37, l 0), 6(c 0x64, s 0x37, l 0), 27(c 0x64, s 0x37, l 0), 59(c 0x64, s 0x37, l 0), 67(c 0x64, s 0x37, l 0), 44(c 0x64, s 0x37, l 0), 19(c 0x64, s 0x37, l 0), 22(c 0x64, s 0x37, l 0), 29(c 0x64, s 0x37, l 0), 4(c 0x64, s 0x37, l 0), 43(c 0x64, s 0x37, l 0), 38(c 0x64, s 0x37, l 0), 41(c 0x64, s 0x3 7, l 0), 1(c 0x64, s 0x37, l 0), 50(c 0x64, s 0x37, l 0), 23(c 0x64, s 0x37, l 0 ), 56(c 0x60, s 0x37, l 0), 0(c 0x60, s 0x37, l 0), 32(c 0x60, s 0x37, l 0), 31( c 0x64, s 0x37, l 0), 55(c 0x64, s 0x37, l 0), 68(c 0x64, s 0x37, l 0), 39(c 0x6 0, s 0x37, l 0), 24(c 0x60, s 0x37, l 0), 2(c 0x60, s 0x37, l 0), 53(c 0x60, s 0 x37, l 0), 7(c 0x60, s 0x37, l 0), 12(c 0x60, s 0x37, l 0), 42(c 0x60, s 0x37, l 0), 47(c 0x60, s 0x37, l 0), 51(c 0x60, s 0x37, l 0), 18(c 0x60, s 0x37, l 0), 45(c 0x60, s 0x37, l 0), 30(c 0x60, s 0x37, l 0), 5(c 0x60, s 0x37, l 0), 13(c 0 x60, s 0x37, l 0), 25(c 0x60, s 0x37, l 0), 11(c 0x60, s 0x37, l 0), 52(c 0x60, s 0x37, l 0), 40(c 0x60, s 0x37, l 0), 46(c 0x60, s 0x37, l 0), 34(c 0x60, s 0x3 7, l 0), 28(c 0x60, s 0x37, l 0) Kernel Free SCB list: 33 63 65 64 62 61 60 sg[0] - Addr 0x780c000 : Length 4096 sg[1] - Addr 0x87ad000 : Length 4096 sg[2] - Addr 0x764e000 : Length 4096 sg[3] - Addr 0x7b0f000 : Length 4096 sg[4] - Addr 0x71b0000 : Length 4096 sg[5] - Addr 0x87d1000 : Length 4096 sg[6] - Addr 0x7572000 : Length 4096 sg[7] - Addr 0x75b3000 : Length 4096 sg[8] - Addr 0x7754000 : Length 4096 sg[9] - Addr 0x8655000 : Length 4096 (da0:ahc0:0:3:0): Queuing a BDR SCB (da0:ahc0:0:3:0): Bus Device Reset Message Sent (da0:ahc0:0:3:0): no longer in timeout, status = 34b ahc0: Bus Device Reset on A:3. 62 SCBs aborted (da0:ahc0:0:3:0): WRITE(10). CDB: 2a 0 0 95 c9 3f 0 0 50 0 (da0:ahc0:0:3:0): CAM Status: SCSI Status Error (da0:ahc0:0:3:0): SCSI Status: Check Condition (da0:ahc0:0:3:0): UNIT ATTENTION asc:29,0 (da0:ahc0:0:3:0): Power on, reset, or bus device reset occurred field replaceabl e unit: 2 (da0:ahc0:0:3:0): Retrying Command (per Sense Data) Oct 25 14:36:33 hurd1 login: login_getclass: unknown class 'des_users' Oct 25 14:36:48 hurd1 last message repeated 2 times Oct 25 14:41:55 hurd1 login: login_getclass: unknown class 'des_users' Oct 25 14:43:51 hurd1 last message repeated 8 times (da0:ahc0:0:3:0): SCB 0x8 - timed out ahc0: Dumping Card State while idle, at SEQADDR 0x9 ACCUM = 0x0, SINDEX = 0x2c, DINDEX = 0xe4, ARG_2 = 0x0 HCNT = 0x0 SCBPTR = 0x14 SCSISEQ = 0x12, SBLKCTL = 0x6 DFCNTRL = 0x0, DFSTATUS = 0x89 LASTPHASE = 0x1, SCSISIGI = 0x0, SXFRCTL0 = 0x80 SSTAT0 = 0x0, SSTAT1 = 0xa STACK == 0xec, 0x165, 0x10d, 0x3 SCB count = 70 Kernel NEXTQSCB = 24 Card NEXTQSCB = 24 QINFIFO entries: Waiting Queue entries: Disconnected Queue entries: 15:25 17:23 26:27 12:9 31:3 14:66 29:68 1:5 13:15 5: 49 6:43 23:22 27:18 4:14 7:16 3:57 22:4 28:28 10:2 19:6 18:29 8:7 9:20 21:30 30: 39 11:38 16:55 24:10 2:37 0:13 25:8 QOUTFIFO entries: Sequencer Free SCB List: 20 Sequencer SCB Info: 0(c 0x64, s 0x37, l 0, t 0xd) 1(c 0x64, s 0x37, l 0, t 0x5) 2(c 0x64, s 0x37, l 0, t 0x25) 3(c 0x64, s 0x37, l 0, t 0x39) 4(c 0x64, s 0x37, l 0, t 0xe) 5(c 0x64, s 0x37, l 0, t 0x31) 6(c 0x64, s 0x37, l 0, t 0x2b) 7(c 0x 64, s 0x37, l 0, t 0x10) 8(c 0x64, s 0x37, l 0, t 0x7) 9(c 0x64, s 0x37, l 0, t 0x14) 10(c 0x64, s 0x37, l 0, t 0x2) 11(c 0x64, s 0x37, l 0, t 0x26) 12(c 0x64, s 0x37, l 0, t 0x9) 13(c 0x64, s 0x37, l 0, t 0xf) 14(c 0x64, s 0x37, l 0, t 0x4 2) 15(c 0x64, s 0x37, l 0, t 0x19) 16(c 0x64, s 0x37, l 0, t 0x37) 17(c 0x64, s 0x37, l 0, t 0x17) 18(c 0x64, s 0x37, l 0, t 0x1d) 19(c 0x64, s 0x37, l 0, t 0x6 ) 20(c 0x60, s 0x37, l 0, t 0xff) 21(c 0x64, s 0x37, l 0, t 0x1e) 22(c 0x64, s 0 x37, l 0, t 0x4) 23(c 0x64, s 0x37, l 0, t 0x16) 24(c 0x64, s 0x37, l 0, t 0xa) 25(c 0x64, s 0x37, l 0, t 0x8) 26(c 0x64, s 0x37, l 0, t 0x1b) 27(c 0x64, s 0x37 , l 0, t 0x12) 28(c 0x64, s 0x37, l 0, t 0x1c) 29(c 0x64, s 0x37, l 0, t 0x44) 3 0(c 0x64, s 0x37, l 0, t 0x27) 31(c 0x64, s 0x37, l 0, t 0x3) Pending list: 31(c 0x64, s 0x37, l 0), 1(c 0x64, s 0x37, l 0), 19(c 0x64, s 0x37 , l 0), 26(c 0x64, s 0x37, l 0), 42(c 0x64, s 0x37, l 0), 50(c 0x64, s 0x37, l 0 ), 40(c 0x64, s 0x37, l 0), 56(c 0x64, s 0x37, l 0), 59(c 0x64, s 0x37, l 0), 52 (c 0x64, s 0x37, l 0), 46(c 0x64, s 0x37, l 0), 45(c 0x64, s 0x37, l 0), 25(c 0x 60, s 0x37, l 0), 23(c 0x60, s 0x37, l 0), 27(c 0x60, s 0x37, l 0), 9(c 0x60, s 0x37, l 0), 69(c 0x64, s 0x37, l 0), 0(c 0x64, s 0x37, l 0), 21(c 0x64, s 0x37, l 0), 48(c 0x64, s 0x37, l 0), 54(c 0x64, s 0x37, l 0), 34(c 0x64, s 0x37, l 0), 66(c 0x60, s 0x37, l 0), 67(c 0x64, s 0x37, l 0), 68(c 0x60, s 0x37, l 0), 36(c 0x64, s 0x37, l 0), 5(c 0x60, s 0x37, l 0), 15(c 0x60, s 0x37, l 0), 49(c 0x60, s 0x37, l 0), 51(c 0x64, s 0x37, l 0), 11(c 0x64, s 0x37, l 0), 58(c 0x64, s 0x 37, l 0), 41(c 0x64, s 0x37, l 0), 32(c 0x64, s 0x37, l 0), 35(c 0x64, s 0x37, l 0), 47(c 0x64, s 0x37, l 0), 12(c 0x64, s 0x37, l 0), 17(c 0x64, s 0x37, l 0), 53(c 0x64, s 0x37, l 0), 3(c 0x60, s 0x37, l 0), 43(c 0x60, s 0x37, l 0), 22(c 0 x60, s 0x37, l 0), 18(c 0x60, s 0x37, l 0), 14(c 0x60, s 0x37, l 0), 16(c 0x60, s 0x37, l 0), 57(c 0x60, s 0x37, l 0), 4(c 0x60, s 0x37, l 0), 28(c 0x60, s 0x37 , l 0), 2(c 0x60, s 0x37, l 0), 6(c 0x60, s 0x37, l 0), 29(c 0x60, s 0x37, l 0), 7(c 0x60, s 0x37, l 0), 20(c 0x60, s 0x37, l 0), 30(c 0x60, s 0x37, l 0), 39(c 0x60, s 0x37, l 0), 38(c 0x60, s 0x37, l 0), 55(c 0x60, s 0x37, l 0), 10(c 0x60, s 0x37, l 0), 37(c 0x60, s 0x37, l 0), 13(c 0x60, s 0x37, l 0), 8(c 0x60, s 0x3 7, l 0) Kernel Free SCB list: 44 33 63 65 64 62 61 60 sg[0] - Addr 0x16fd000 : Length 4096 sg[1] - Addr 0x67fe000 : Length 4096 (da0:ahc0:0:3:0): Queuing a BDR SCB (da0:ahc0:0:3:0): Bus Device Reset Message Sent (da0:ahc0:0:3:0): no longer in timeout, status = 34b ahc0: Bus Device Reset on A:3. 61 SCBs aborted (da0:ahc0:0:3:0): WRITE(10). CDB: 2a 0 0 96 44 7f 0 0 10 0 (da0:ahc0:0:3:0): CAM Status: SCSI Status Error (da0:ahc0:0:3:0): SCSI Status: Check Condition (da0:ahc0:0:3:0): UNIT ATTENTION asc:29,0 (da0:ahc0:0:3:0): Power on, reset, or bus device reset occurred field replaceabl e unit: 2 (da0:ahc0:0:3:0): Retrying Command (per Sense Data) --------------------end original message---------------------------- following is a response from Justin T. Gibbs and a counter response: it is also in freebsd-current just adding here for completeness... --------------------------------start------------ On Wed, Oct 30, 2002 at 10:00:29AM -0700, Justin T. Gibbs wrote: > > Can you provide the model number and firmware revision for > this drive? According to the controller, the drive is failing > to respond to a whole slew of commands that we have queued to > it. You might have better luck if you reduce the tag depth > to the disk via camcontrol. > Here is more from the dmesg about the scsi adapter and the drive . ahc0: port 0xa400-0xa4ff mem 0xe4100000 -0xe4100fff irq 10 at device 8.0 on pci2 aic7890/91: Ultra2 Wide Channel A, SCSI Id=7, 32/253 SCBs da0 at ahc0 bus 0 target 3 lun 0 da0: Fixed Direct Access SCSI-2 device da0: 10.000MB/s transfers (10.000MHz, offset 15), Tagged Queueing Enabled da0: 8669MB (17755614 512 byte sectors: 255H 63S/T 1105C) strangely the model number printed on the drive is ST410800N as opposed to what da lists above. the scsi bios also recognizes it as SX910800N always has been only I never noticed.... I have no idea how to get the firmware!! nothing to that effect is printed on the drive there are a whole bunch of other numbers on it tho: part number : 9A7001-035 lot number : K-01-9718-4 serial no. : SH410798 download code revision : 8511 finally a separate sticker with a number and a barcode without any mention of what it is (__may__ be this is the firmware revision) 70768238 --------------------------end------------------------- thanks in advance any help will be greatly appreciated. regards, Saurabh Gupta To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message